Curve25519 key support
There's a new GnuPG modern out. See https://lists.gnupg.org/pipermail/gnupg-announce/2015q3/000371.html
Noteworthy changes in version 2.1.7:
- gpg: Support encryption with Curve25519 if Libgcrypt 1.7 is used.
Currently, the keys are not supported.
Example:
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: ed25519 / cv25519
Version: requires GnuPG >=2.1.7 and libgcrypt >=1.7.0
mDMEVcxoAhYJKwYBBAHaRw8BAQdAF2SOaWvRyYFFjldmtyLMjcdv0lvCI9jGG8x3
XuHXh120KURvbWluaWMgUy4gUGVhcnNvbiA8ZHNwQHRlY2hub2FuaW1hbC5uZXQ+
iH8EExYIACcFAlXMaAICGwMFCRLMAwAFCwkIBwIGFQgJCgsCBBYCAwECHgECF4AA
CgkQg4/P6Ag8oqdKcQEAiAdVRV9EsTfJ7vCjBLrcFVC8D2XsSHZVaxpRgnxQyesB
AMj1wdViMbTvabBjOFQ206kox8dn/mNCVJUf6LkUoBwFuDgEVcxoAhIKKwYBBAGX
VQEFAQEHQBOdoYUDj/FRam2X5YrKpxU0Fk/IGAAlm0XZsjSo7KRSAwEIB4hnBBgW
CAAPBQJVzGgCAhsMBQkSzAMAAAoJEIOPz+gIPKKnVuUBAMNEr84TwlszbtXjjWBc
KV87g9kFKsNuPbz5MvvIFpaCAP9PVL+G+8x10ALtw+m4c7SPQ2wBdTAYFt6p68F1
AwGSDw==
=sF64
-----END PGP PUBLIC KEY BLOCK-----
I just added support for EdDSA but couldn't easily access Curve25519 support. I'll try to get to it now that it's available. Thanks for the heads-up.
Is there a way to be kept informed when Curve25519 support will be added? There are no release notes per say to watch, correct?
install libgcrypt 1.7 which supports it
With libgcrypt 1.7 and GnuPG >=2.1.7 you get Curve25519 support for gpg itself and everything that uses gpg, like Enigmail, git, ...
For keybase this is not true since it uses independent implementations in Go and Node.js as pointed out by @maxtaco here:
In general, these implementations are simple once we have a reference implementation to base ours off of. We'll need one for https://github.com/keybase/kbpgp and one for https://github.com/keybase/go-crypto
Is this viable in the near future?
Would love to but don't have the bandwidth on the team and it's not very often requested. We're looking for volunteers to help us in either JS/IcedCoffeeScript or Golang
What's left to do in JS and Go? I see upstream golang/crypto has support for ed25519. Does that just need to be pulled into keybase/go-crypto? And then ported to JS?
I'm not very familiar with ECC or Keybase's code, but if there's something I can do to help let me know. I'd love to be able to use my ed25519 key.
Eddsa is fully supported. We don't yet have support for encryption with curve 25519 in pgp. We have some work underway. Thanks.
On Thursday, October 13, 2016, Michael Bradshaw [email protected] wrote:
What's left to do in JS and Go? I see upstream golang/crypto has support for ed25519 https://github.com/golang/crypto/tree/master/ed25519. Does that just need to be pulled into keybase/go-crypto? And then ported to JS?
I'm not very familiar with ECC or Keybase's code, but if there's something I can do to help let me know. I'd love to be able to use my ed25519 key.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/keybase/keybase-issues/issues/1738#issuecomment-253703607, or mute the thread https://github.com/notifications/unsubscribe-auth/AA05_xETT2I34n0DLevmsdS4QxtoZ3oLks5qzv0AgaJpZM4FrqMx .
So I can start updating my profile with eddsa CSA keys?
It should work but might be a little bit bumpy.
nice
If you like to live dangerously, feel free to test my branch with full cv25519/ed25519 support (expect for keygen) in it: https://github.com/zapu/kbpgp/tree/curve25519
Just pinging people who might be interested in this - support for EDDSA+ECDH (along with Curve25519) keys in kbpgp has landed in master.
Excuse my ignorance. Will this allow me to upload a Curve 25519 generated key? I still get an error when I try to upload through the web interface.
We still have some more integration work to do, and we need Go support to.
Ah ok. Thanks.
Ah, sorry for the confusion, I didn't realize this is keybase-issues (not kbpgp repo) when I first posted my comment today.
@maxtaco, please ping me on any testing work and when gui and cli support is fully there for uploads of cv/ed keys. I really rather upload my ed25519 key not the rsa4096 there now:)
@linux-modder Support for cv25519/ed25519 landed a while ago, for both website and go client. I see that you some EC keys already. Let me know if you have any troubles.
@zapu I might be doing something wrong, but I still can't import my key on Arch Linux (keybase 1.0.20):
lesderid@elsa ~> keybase pgp select
▶ INFO Forking background server with pid=28728
# Algo Key Id Created UserId
= ==== ====== ======= ======
1 256? 5EC132DFA85DB372 Les De Ridder <[email protected]>, Les De Ridder <[email protected]>
Choose a key: 1
▶ ERROR ImportKey error: openpgp: unsupported feature: unsupported oid: 2b060104019755010501