Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add improved default configuration in example files #123

Merged
merged 2 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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"