-
Configurable Parameters: The Verifier now supports the following configuration options:
iurls
: OOBI URLs.durls
: Schema OOBI URLs.trustedLeis
: A list of trusted LE identifiers.allowedEcrRoles
: Roles permitted for ECR credential authorization.allowedOorRoles
: Roles permitted for OOR credential authorization.allowedSchemas
: A list of schemas allowed for authorization.
-
Environment Variables:
VERIFIER_ENV
: Sets the environment mode (e.g.,dev
orproduction
). Defaults toproduction
. Inproduction
mode, the/root_of_trust
endpoint is disabled.VERIFY_ROOT_OF_TRUST
: Enables or disables root of trust validation logic. Defaults toTrue
.KERI_BASER_MAP_SIZE
: Defines the maximum size of the LMDB database. Defaults to104857600
(100 MB).FILER_CHUNK_SIZE
: Defines the size of the chunks used for file processing. This allows fine-tuning of memory usage when handling large files.
-
Automatic LMDB Cleanup:
- Processed reports are now automatically removed from the LMDB database after verification, preventing database size issues.
- Resolved an issue where uploading multiple reports caused the Verifier to crash with the error:
lmdb.MapFullError: mdb_put: MDB_MAP_FULL: Environment mapsize limit reached
.
To run the Verifier service, specify the configuration file as follows:
verifier server start --config-dir scripts --config-file verifier-config-rootsid.json
This release improves the usability and reliability of the Verifier service by introducing support for configurable parameters, environment variables, and automatic cleanup of processed reports in the LMDB database.