-
Notifications
You must be signed in to change notification settings - Fork 18k
x/crypto/openpgp: add ECC support #22015
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
Comments
@emersion Can you be more specific? The package already supports ECDSA/ECDH using the NIST curves. There is an open issue to implement EdDSA at #18576. ISTM that this should either be duped against that latter ticket, or is already done. Unless I'm missing something obvious :) Can you provide a use-case not covered yet (e.g. a key that isn't usable)? |
I have a key that is not usable.
my version of
|
Yes, that's an Ed25519 key, so this is a duplicate of #18576 |
Honestly I don't remember the exact key that made me open this issue. Let's assume it was a duplicate of #18576. |
@Merovius , when you say the package supports ECDH using the NIST curves, can you point to where this is implemented and how can it be used? I'm asking because this was raised in #30388 and I can't find out how to encrypt to a ECDH public key.
EDIT: Just to add, you can successfully encrypt to this with gpg and also the github.com/keybase/go-crypto/openpgp fork. |
@antong You are correct :) I was oblivious to the fact that there is a standard to use ECDSA keys for encryption (in combination with ECDH) - I was only considering their use for signatures. |
It's supported in GnuPG 2.2.x and standardized in https://tools.ietf.org/html/rfc6637
The text was updated successfully, but these errors were encountered: