Skip to content

Conversation

@KendallWeihe
Copy link
Contributor

Although Ed25519 private keys are 32 bytes, I've come to learn some implementations (namely the golang crypto/ed25519, but perhaps the JS implementation too?) build private keys as composite keys which contain the public key as well. This PR add supports for cases wherein the key material is a composite key.

@KendallWeihe
Copy link
Contributor Author

I'm not entirely sure I want to merge this. This would enable interop for keys generated in golang, but we don't strictly have a need for that right now, and there's an argument to be made that golang shouldn't be producing Ed25519 JWK's w/ 64 byte d values.

@KendallWeihe KendallWeihe marked this pull request as draft July 11, 2024 14:40
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.

2 participants