aboutsummaryrefslogtreecommitdiffstats
path: root/g10/keygen.c
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2017-10-30 02:59:11 +0000
committerNIIBE Yutaka <[email protected]>2017-10-30 02:59:11 +0000
commitd63b7966cdd72548c60466c620de5cd6104a779e (patch)
treea67df8ed3ecc8b06959ac4afaae762726db8acda /g10/keygen.c
parentMerge branch 'STABLE-BRANCH-2-2' into master (diff)
downloadgnupg-d63b7966cdd72548c60466c620de5cd6104a779e.tar.gz
gnupg-d63b7966cdd72548c60466c620de5cd6104a779e.zip
g10: Simplify "factory-reset" procedure.
* g10/card-util.c (factory_reset): Simplify. -- In this summer, I got report about old code before this change didn't work with newer Yubikey. I got another report test version of OpenPGP card V3.3 implementation didn't work, either. Then, I confirmed that according to the OpenPGP card specification, the procedure of old code is not expected by its author. This change simplify "factory-reset" as simple. Only versions of Gnuk 1.2.2, 1.2.3, 1.2.4, won't work with this change. That's because the factory-reset feature of Gnuk was introduced by reading the implementation of GnuPG, instead of reading the specification. Gnuk 1.2.5 and later works well. All OpenPGPcard implementations I have work well (2.0, 2.1, 2.2, test version of 3). GnuPG-bug-id: 3286 Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'g10/keygen.c')
0 files changed, 0 insertions, 0 deletions