Skip to content

Commit

Permalink
chore: update to latest edge-adapter
Browse files Browse the repository at this point in the history
Signed-off-by: Filip Burlacu <[email protected]>
  • Loading branch information
Filip Burlacu committed Mar 5, 2021
1 parent 2635ce0 commit bed83d2
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
4 changes: 4 additions & 0 deletions scripts/generate_test_keys.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ mkdir -p test/bdd/fixtures/keys/recover-org3
mkdir -p test/bdd/fixtures/keys/update-org3
mkdir -p test/bdd/fixtures/keys/update2-org3
mkdir -p test/bdd/fixtures/keys/session_cookies
mkdir -p test/bdd/fixtures/keys/issuer-stores

localhostSSLConf=$(mktemp)
echo "subjectKeyIdentifier=hash
Expand Down Expand Up @@ -101,6 +102,9 @@ openssl ec -in test/bdd/fixtures/keys/update2-org3/key.pem -pubout -out test/bdd
openssl rand -out test/bdd/fixtures/keys/session_cookies/auth.key 32
openssl rand -out test/bdd/fixtures/keys/session_cookies/enc.key 32

# create issuer store key
openssl rand -out test/bdd/fixtures/keys/issuer-stores/oidc-enc.key 32

# create secrete lock key
openssl rand 32 | base64 | sed 's/+/-/g; s/\//_/g' > test/bdd/fixtures/keys/tls/secret-lock.key

Expand Down
4 changes: 2 additions & 2 deletions test/bdd/fixtures/demo/.env
Original file line number Diff line number Diff line change
Expand Up @@ -87,14 +87,14 @@ DIDCOMM_ROUTER_API_PORT=9084

# Issuer adapter
ISSUER_ADAPTER_REST_IMAGE=ghcr.io/trustbloc-cicd/issuer-adapter
ISSUER_ADAPTER_REST_IMAGE_TAG=0.1.6-snapshot-9e4322a
ISSUER_ADAPTER_REST_IMAGE_TAG=0.1.6-snapshot-00eed3d
ISSUER_ADAPTER_HOST=0.0.0.0
ISSUER_ADAPTER_PORT=10061
ISSUER_ADAPTER_DIDCOMM_PORT=10062

# RP Adapter
RP_ADAPTER_REST_IMAGE=ghcr.io/trustbloc-cicd/rp-adapter
RP_ADAPTER_REST_IMAGE_TAG=0.1.6-snapshot-9e4322a
RP_ADAPTER_REST_IMAGE_TAG=0.1.6-snapshot-00eed3d
RP_ADAPTER_HOST=0.0.0.0
RP_ADAPTER_PORT=10161
RP_ADAPTER_DIDCOMM_PORT=10162
Expand Down
2 changes: 2 additions & 0 deletions test/bdd/fixtures/demo/docker-compose-adapter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,15 @@ services:
- ADAPTER_REST_DSN_TIMEOUT=120
- ADAPTER_REST_GOVERNANCE_VCS_URL=https://governance-vcs.trustbloc.local
- ADAPTER_REST_REQUEST_TOKENS=vcs_governance=vcs_governance_rw_token
- OIDC_STORE_KEY=/etc/store-keys/oidc-enc.key
ports:
- ${ISSUER_ADAPTER_PORT}:${ISSUER_ADAPTER_PORT}
- ${ISSUER_ADAPTER_DIDCOMM_PORT}:${ISSUER_ADAPTER_DIDCOMM_PORT}
entrypoint: ""
command: /bin/sh -c "/tmp/scripts/didcomm/issuer_adapter_configure.sh& adapter-rest start"
volumes:
- ../keys/tls:/etc/tls
- ../keys/issuer-stores:/etc/store-keys
- ../scripts/:/tmp/scripts
networks:
- demo_demo-net
Expand Down

0 comments on commit bed83d2

Please sign in to comment.