aboutsummaryrefslogtreecommitdiffstats
path: root/scd/app-openpgp.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2019-01-22 09:06:15 +0000
committerWerner Koch <[email protected]>2019-01-22 09:06:15 +0000
commitf97dc55ff1b041071bc3cbe98aa761bf77bb7ac8 (patch)
treec654e35ec3047853ffea2edcacd94578ad0f388b /scd/app-openpgp.c
parentcard-tool: Add skeleton for new tool (diff)
downloadgnupg-f97dc55ff1b041071bc3cbe98aa761bf77bb7ac8.tar.gz
gnupg-f97dc55ff1b041071bc3cbe98aa761bf77bb7ac8.zip
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 <[email protected]>
Diffstat (limited to 'scd/app-openpgp.c')
0 files changed, 0 insertions, 0 deletions