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

Decide on key management approach for did:dht #124

Open
jiyoonie9 opened this issue Mar 9, 2024 · 2 comments
Open

Decide on key management approach for did:dht #124

jiyoonie9 opened this issue Mar 9, 2024 · 2 comments
Labels
did related to decentralized identifiers enhancement New feature or request

Comments

@jiyoonie9
Copy link
Contributor

jiyoonie9 commented Mar 9, 2024

slack convo summary:

  • In all web5 sdks, AwsKeyManager does not support Ed25519 algorithm (because AWS KMS does not support this algo)
  • Using the only accepted alternative secp256k1 algo works for did:jwk, but this is not a viable approach fordid:dht as it requires an Ed25519 key.
  • Several approaches to enable key access from AWS for did:dht includes
    • Wrap the key (use a symmetric key, supported by the KMS (like AES), to encrypt the asymmetric key (Ed25519)) and store in AWS KMS
    • Storing the Ed25519 key in AWS Secrets Manager (may be more favorable despite having key material in in-memory process?)
    • Create and store ed25519 identity key and store in cold storage, generate secp256k1 signing key and store in AWS KMS

TODOs

  • discuss on the "recommended" route for key management for did:dht when using non-local (enterprise?) key manager - get expert opinions from security eng
  • update key management documentation for devrel docs
@jiyoonie9 jiyoonie9 added the blocker needs a decision label Mar 9, 2024
@angiejones
Copy link

thank you for opening this @jiyoontbd 🙏🏾
cc @acekyd

@acekyd
Copy link

acekyd commented Mar 11, 2024

Thank you! @jiyoontbd @angiejones

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
did related to decentralized identifiers enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants