Skip to content

Commit

Permalink
docs: add improved default configuration in example files (#123)
Browse files Browse the repository at this point in the history
* docs: update example configuration

* fix: disable eddsa
  • Loading branch information
nanderstabel authored Sep 27, 2024
1 parent 837870c commit 1a1045d
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
2 changes: 1 addition & 1 deletion agent_application/docker/.env.example
Original file line number Diff line number Diff line change
@@ -1 +1 @@
UNICORE__URL=http://192.168.1.100:3033
UNICORE__URL=${UNICORE__URL}
12 changes: 6 additions & 6 deletions agent_application/docker/compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ services:
depends_on:
- cqrs-postgres-db
ssi-agent:
# image: impiercetechnologies/ssi-agent:476360a
build:
context: ../..
dockerfile: ./agent_application/docker/Dockerfile
image: impiercetechnologies/ssi-agent:837870c
# build:
# context: ../..
# dockerfile: ./agent_application/docker/Dockerfile
ports:
- 3033:3033
environment:
Expand All @@ -48,7 +48,7 @@ services:
volumes:
- ../../agent_application/config.yaml:/app/agent_application/config.yaml
# - ../../agent_secret_manager/tests/res/test.stronghold:/app/res/stronghold
- ../../agent_verification/presentation_definitions:/app/agent_verification/presentation_definitions
# - ../../agent_verification/presentation_definitions:/app/agent_verification/presentation_definitions
# TODO: Remove this. This is a workaround that ensures that the `agent_verification/presentation_definitions`
# folder can be accessed by the agent from the `fn authorization_requests` endpoint.
- ./tmp:/app/agent_api_rest
# - ./tmp:/app/agent_api_rest
14 changes: 7 additions & 7 deletions agent_application/example.config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ did_methods:
did_key:
enabled: true
did_iota_rms:
enabled: true
enabled: false
did_web:
enabled: true
enabled: false

domain_linkage_enabled: false

signing_algorithms_supported:
eddsa:
enabled: true
preferred: true
es256:
preferred: true
enabled: true
eddsa:
enabled: false

# TODO: required to be stated explicitly?
vp_formats:
Expand Down Expand Up @@ -64,7 +64,7 @@ credential_configurations:
type:
- VerifiableCredential
display:
- name: Verifiable Credential
- name: Impierce Credential
locale: en
logo:
uri: https://www.impierce.com/external/impierce-logo.png
Expand All @@ -80,6 +80,6 @@ secret_manager:
# stronghold_password: "" <== Should be injected through the env variable `UNICORE__SECRET_MANAGER__STRONGHOLD_PASSWORD`
# stronghold_password_file: ""
# issuer_eddsa_key_id: "ed25519-0"
# issuer_es256_key_id: "es256-0"
issuer_es256_key_id: "es256-0"
# issuer_did: "did:iota:rms:0x0000000000000000000000000000000000000000000000000000000000000000"
# issuer_fragment: "key-0"

0 comments on commit 1a1045d

Please sign in to comment.