Skip to content

Support P256 keys & did:keys#3442

Merged
dbluhm merged 16 commits intoopenwallet-foundation:mainfrom
anonyome:gm/p256-w3c
Jan 15, 2025
Merged

Support P256 keys & did:keys#3442
dbluhm merged 16 commits intoopenwallet-foundation:mainfrom
anonyome:gm/p256-w3c

Conversation

@gmulhearn
Copy link
Contributor

@gmulhearn gmulhearn commented Jan 14, 2025

  • adds p256 did:key resolution (using Multikey VM type)
  • update askarwallet to support sign & verify with p256
  • update JWT signing to get the DID key's JWS Alg rather than hardcode to EdDSA
  • update parts of acapy_agent/wallet/keys/manager.py, removing some hardcoded ed25519 key types

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>
Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>
Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>
Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>
Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>
Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>
Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>
Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>
Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>
Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>
@gmulhearn gmulhearn marked this pull request as ready for review January 14, 2025 10:18
Copy link
Contributor

@jamshale jamshale left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks well done to me 👍 Will let others get a chance to review.

Copy link
Member

@ff137 ff137 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall pretty neat 👍
Just some recommendations for maintainability

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>
Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>
@gmulhearn gmulhearn requested a review from ff137 January 15, 2025 12:15
ff137
ff137 previously approved these changes Jan 15, 2025
Copy link
Member

@ff137 ff137 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice, looks good to me 👍

Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>
ff137
ff137 previously approved these changes Jan 15, 2025
Signed-off-by: George Mulhearn <gmulhearn@anonyome.com>
@sonarqubecloud
Copy link

@dbluhm dbluhm merged commit cd3a623 into openwallet-foundation:main Jan 15, 2025
11 checks passed
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

Successfully merging this pull request may close these issues.

5 participants