keytocard: bad secret key

Roman ml-gpg at m-privacy.de
Wed Jul 11 12:15:58 CEST 2012


Am 10.07.2012 21:22, schrieb boson at z1p.biz:
> I'm trying to save a 4096 bit RSA key to my OpenPGP smartcard v2.0 but I get an error about a "bad secret key".
> 
> I use Ubuntu 10.04 with a self-compiled GnuPG 2.0.19
> 
> Verbose-mode doesn't tell more details and according to Google I am the only one with that problem...

You should check if your smartcard reader can handle "extended APDU" as
described here: http://pcsclite.alioth.debian.org/ccid.html

I had only success with extended APDU readers with 4096bit keys.

Roman



More information about the Gnupg-users mailing list