openwallet-foundation / acapy

ACA-Py is a foundation for building decentralized identity applications and services running in non-mobile environments.
https://aca-py.org
Apache License 2.0
412 stars 512 forks source link

aca-py start: error: argument --seed: expected one argument #1243

Closed Nabil-oussa closed 3 years ago

Nabil-oussa commented 3 years ago

Hello,

I got an issue when I launch agents Aries verifier, and the error is the following : verifier_1 | usage: aca-py start [-h] [--admin ] [--admin-api-key ] verifier_1 | [--admin-insecure-mode] [--no-receive-invites] verifier_1 | [--help-link ] [--webhook-url <url#api_key>] verifier_1 | [--debug] [--debug-seed ] verifier_1 | [--debug-connections] [--debug-credentials] verifier_1 | [--debug-presentations] [--invite] [--connections-invite] verifier_1 | [--invite-label

Thanks for your help,

ianco commented 3 years ago

You need to provide a 32-char seed value, for example --seed 12345678901234567890123456789012

Nabil-oussa commented 3 years ago

Thanks for your response. This is what i did SEED="000000000000000000000001SomeSeed"

Nabil-oussa commented 3 years ago

The config file is as follows:

Verifier Provisioning

export SEED="000000000000000000000001SomeSeed" export AGENT_ENDPOINT="http://localhost:9000" export WALLET_KEY="5UVlxFfX041L" export ADMIN_API_KEY="secret"

export GENESIS="http://greenlight.bcovrin.vonx.io/genesis"

export AGENT_INBOUND_PORT=9000 export ADMIN_API_PORT=4000

aca-py start --inbound-transport http 0.0.0.0 $AGENT_INBOUND_PORT \ --outbound-transport http \ --admin 0.0.0.0 $ADMIN_API_PORT \ --seed $SEED \ --endpoint $AGENT_ENDPOINT \ --wallet-key $WALLET_KEY \ --wallet-name VaxCertVerifier \ --wallet-type indy \ --label Verifier \ --admin-api-key $ADMIN_API_KEY \ --auto-accept-invites \ --auto-accept-requests \ --auto-respond-messages \ --auto-respond-credential-proposal \ --auto-respond-credential-offer \ --auto-respond-credential-request \ --auto-respond-presentation-proposal \ --auto-respond-presentation-request \ --auto-store-credential \ --enable-undelivered-queue \ --genesis-url $GENESIS

esune commented 3 years ago

@Nabil-oussa were you able to solve the issue? Your startup command appear to be to start the agent natively, not in Docker - your question is about using Docker so not sure what to suggest other than checking your configuration and that all the environment variables you are using are being correctly injected into the container.

esune commented 3 years ago

Closing due to inactivity. Please reopen if deemed necessary.