[git] GnuPG - branch, STABLE-BRANCH-2-2, updated. gnupg-2.2.12-17-g31d2a1e
by Werner Koch
cvs at cvs.gnupg.org
Wed Jan 30 11:29:15 CET 2019
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The GNU Privacy Guard".
The branch, STABLE-BRANCH-2-2 has been updated
via 31d2a1eecaee766919b18bc42b918d9168f601f8 (commit)
from 5e5f3ca0c2e08185a236b4d04b318f81004e3223 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 31d2a1eecaee766919b18bc42b918d9168f601f8
Author: Werner Koch <wk at gnupg.org>
Date: Wed Jan 30 11:28:14 2019 +0100
gpg: Allow generating Ed25519 key from an existing key.
* g10/misc.c (map_pk_gcry_to_openpgp): Add EdDSA mapping.
--
Due to this missing mapping a "gpg --export --full-gen-key" with
selection "13 - Existing key" did not worked for an ed25519 key.
Signed-off-by: Werner Koch <wk at gnupg.org>
(cherry picked from commit 346a98fabe03adf2e202e36fc2aa24b1c2571154)
diff --git a/g10/misc.c b/g10/misc.c
index 7acf469..6d525a8 100644
--- a/g10/misc.c
+++ b/g10/misc.c
@@ -508,6 +508,7 @@ map_pk_gcry_to_openpgp (enum gcry_pk_algos algo)
{
switch (algo)
{
+ case GCRY_PK_EDDSA: return PUBKEY_ALGO_EDDSA;
case GCRY_PK_ECDSA: return PUBKEY_ALGO_ECDSA;
case GCRY_PK_ECDH: return PUBKEY_ALGO_ECDH;
default: return algo < 110 ? (pubkey_algo_t)algo : 0;
-----------------------------------------------------------------------
Summary of changes:
g10/misc.c | 1 +
1 file changed, 1 insertion(+)
hooks/post-receive
--
The GNU Privacy Guard
http://git.gnupg.org
More information about the Gnupg-commits
mailing list