GPG4Win for OpenPGP Card 2 ?

Olav Seyfarth olav at mozilla-enigmail.org
Fri Jan 8 23:26:35 CET 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: RIPEMD160

Hi Stefan,

> gpg: Prüfung der erstellten Unterschrift ist fehlgeschlagen: Bad signature
> gpg: Beglaubigung fehlgeschlagen: Bad signature
> gpg: make_keysig_packet failed: Bad signature
> Schlüsselerzeugung fehlgeschlagen: Bad signature

No, I don't know what's causing it. But before examining further, I recommend
to follow these steps to avoid any user settings to influence the test:

Backup and/or move your GnuPG settings aside (homedir: keyrings, gpg.conf etc.)
Uninstall all GnuPG and GPG4Win versions and wipe what's left in the program
  directory. Make *sure* you only have one gpg.exe on your system. Check by
  searching your system drive / PATH.
Install GPG4Win
Reset your card* to factory presets
Retry using CLI to create a card key using defaults and an empty keyring

If that doesn't succeed, try to provide a more detailled error description (-v).


===============================================================

* How to reset a OpenPGP Card v2:

1. Create a FILE with this content:
_______________________________________________________________

/hex
scd serialno
scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40
scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40
scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40
scd apdu 00 20 00 81 08 40 40 40 40 40 40 40 40
scd apdu 00 20 00 83 08 40 40 40 40 40 40 40 40
scd apdu 00 20 00 83 08 40 40 40 40 40 40 40 40
scd apdu 00 20 00 83 08 40 40 40 40 40 40 40 40
scd apdu 00 20 00 83 08 40 40 40 40 40 40 40 40
scd apdu 00 e6 00 00
scd apdu 00 44 00 00
/echo card has been reset to factory defaults
_______________________________________________________________

2. Issue the command

gpg-connect-agent < FILE

===============================================================

Olav
- -- 
The Enigmail Project - OpenPGP Email Security For Mozilla Applications
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.12 (MingW32)
Comment: Diese Email ist digital signiert/verschlüsselt
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQGcBAEBAwAGBQJLR7EYAAoJEKGX32tq4e9WqCML/22Gw30qNPTYjJ4fxRDEmNYt
+HZ0mdpYnECwZ6VxNuYU8arDgUUIAsE/iVRotBZZUvVWvpebmf+4+h1V3S17FV17
OIkqnDg+2GQEZZUOYtzhMGhh222o5W70l8E7K1KmnpScejRrV1yNJ7Fmp2/XufXG
WPiiPJkrxlwhNxtrXtcJwieH0XSw2IAnY3optPnEEcvtHRIAk5ONoPtw81nritzY
s301TWuj9uE7jedLmifKe74w1tGC3MAqIWmNfjefZeI1q3a3yZqoE1lbAMcqj4lq
C21UVMdqw0KZRDpPeiAf4HlvaFkYJnqUlzhYFAQFsIfJB8jA2R1fDiTE3/HiisH/
XZWtWeRAaGLBRn4kCB0vg/MFWjt9L98YxDFmGEIxkLBaZXcfmKNFxAxZlYacKY79
wfLiHrPv0owpKKtEniuJK7oCPJ+sbcokVi5PGjF4CRXaXdHoMJJqzzPinZwtWcr4
y8kZzduzjz8D/u1vAyk5aDfLIY3Ssp53Tb+dC7/vkw==
=h5Ld
-----END PGP SIGNATURE-----



More information about the Gnupg-users mailing list