[PATCH gnupg] sm: Fix a wrong key parameter in an exported private key file
wk at gnupg.org
Wed Feb 14 14:56:47 CET 2018
On Wed, 7 Feb 2018 10:46, uenobk at gmail.com said:
> * sm/export.c (sexp_to_kparms): Fix the computation of array,
> which must be 'd mod (q-1)' but was 'p mod (q-1)'.
Very good catch. Thanks. I added this comment:
This bug was introduced with
right at the start of GnuPG 2.1 in July 2010. Before that (in 2.0) we
used gpg-protect-tool which got it right. We probably never noticed
this because gpgsm, and maybe other tools too, fix things up during
Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 227 bytes
Desc: not available
More information about the Gnupg-devel