1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-23 10:29:58 +01:00
Werner Koch f5d3b982e4
gpg: Stop early when trying to create a primary Elgamal key.
* g10/misc.c (openpgp_pk_test_algo2): Add extra check.
--

The problem is that --key-gen --batch with a parameter file didn't
detect that Elgamal is not capable of signing and so an error was only
triggered at the time the self-signature was created.  See the code
comment for details.

GnuPG-bug-id: 4329
Signed-off-by: Werner Koch <wk@gnupg.org>
(cherry picked from commit f97dc55ff1b041071bc3cbe98aa761bf77bb7ac8)
2019-01-22 10:08:06 +01:00
..
2018-05-31 12:08:22 +02:00
2017-03-07 20:25:54 +09:00
2017-11-22 20:54:47 +01:00
2017-03-07 20:25:54 +09:00
2018-05-31 12:08:22 +02:00
2017-03-07 20:25:54 +09:00
2015-02-04 09:15:34 +01:00
2018-03-08 14:08:51 +09:00
2015-02-04 09:15:34 +01:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2018-09-07 13:05:17 +09:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2018-08-29 09:36:44 +02:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-03-07 20:25:54 +09:00
2017-01-23 19:16:55 +01:00
2017-02-21 13:11:46 -05:00
2017-03-07 20:32:09 +09:00
2017-03-07 20:25:54 +09:00
2017-04-28 10:06:33 +09:00
2018-07-03 09:21:12 +09:00
2016-03-08 14:08:49 +01:00
2017-03-07 20:25:54 +09:00
2016-12-06 12:16:56 +01:00
2017-04-28 10:06:33 +09:00