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

Add support for compressed keys #280

Open
jiyoontbd opened this issue Mar 27, 2024 · 1 comment
Open

Add support for compressed keys #280

jiyoontbd opened this issue Mar 27, 2024 · 1 comment

Comments

@jiyoontbd
Copy link
Contributor

would like more input from @decentralgabe wrt this comment #262 (comment)

@decentralgabe
Copy link
Member

DID DHT advocates for using compressed key representations when possible. Here's some more information on compression of elliptic curve keys also here.

Notably compression only matters with binary (or non-JWK) representations of keys, as JWKs do not support compressed key representations.

As a reference the ssi-sdk supports an open during conversion to/from public/private keys and their byte representations for compression and there's common library support for compressed key representations.

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