Skip to content

did:web:localhost is not suitable because RSA keys are not supported #41

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

Open
t4trust opened this issue Jan 30, 2025 · 1 comment
Open

Comments

@t4trust
Copy link

t4trust commented Jan 30, 2025

Hi,

I run docker wallet agent full but I get the below error in Full container

Error('Could not find a suitable default did identifier. (did:web:localhost is not suitable because RSA keys are not supported)'),
Error: Could not find a suitable default did identifier. (did:web:localhost is not suitable because RSA keys are not supported)

Image

@HfgEviden
Copy link

Hi, I'm not from Sphereon team but I may give you a return on my experiments with the docker compose wallet agent.
Currently compose .env file does not specify a default did and no did import strategy (resulting in what you can see in your logs : didManagerFind:result [])

Therefore I modified the .env file to include variable that are located in the agent .env.example (cf : https://github.com/Sphereon-Opensource/web-wallet/blob/bootcamp/packages/agent/.env.example)

The variable that i used from the file were :

CONF_PATH="./conf/examples" (the current one ./conf/demos/iata seems deprecated)
DEFAULT_DID=did:jwk:eyJhb.......zM4In0 (did located in packages/agent/conf/examples/dids/jwk-es256.json)
DEFAULT_KID=sphereon-auth (i believe it is used as key id in Veramo Agent when the did is imported?)
DID_IMPORT_MODE=environment,filesystem (import from FS the did:jwk)

With this conf it worked for me so i hope it will help you as well !

Best of luck

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants