chiark / gitweb /
gpg: Allow creating keys using an existing ECC key.
authorWerner Koch <wk@gnupg.org>
Wed, 1 Mar 2017 12:36:01 +0000 (13:36 +0100)
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>
Mon, 18 Sep 2017 20:41:12 +0000 (21:41 +0100)
commitcb41c4b4d456f8f20a3b09a3345a7b5462c17cd3
tree281a268fa96bb46acbf683c13fe88472564d618c
parentedf5c3de1fb48d22ce38f56d6ac7a8b896d44196
gpg: Allow creating keys using an existing ECC key.

* common/sexputil.c (get_pk_algo_from_canon_sexp): Remove arg R_ALGO.
Change to return the algo id.  Reimplement using get_pk_algo_from_key.
* g10/keygen.c (check_keygrip): Adjust for change.
* sm/certreqgen-ui.c (check_keygrip): Ditto.
--

GnuPG-bug-id: 2976
Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit 2bbdeb8ee87a6c7ec211be16391a11b7c6030bed)

Gbp-Pq: Name 0043-gpg-Allow-creating-keys-using-an-existing-ECC-key.patch
common/sexputil.c
common/util.h
g10/keygen.c
sm/certreqgen-ui.c