My shiny openpgp v2 smartcard fails to generate any keys and aborts with a
`general error'. I'm using gnupg 2.0.12 on FreeBSD/amd64, with a cmx(4) reader
(OMNIKEY CardMan 4040). I've also tried the svn version, but it doesn't even get
this far.
Relevant part from gnupg 2.0.12 output (with --debug-all):
gpg: generating new key
gpg: please wait while key is being generated ...
gpg: DBG: send apdu: c=00 i=47 p0=80 p1=00 lc=2 le=256
gpg: DBG: PCSC_data: 00 47 80 00 02 B6 00 00
gpg: DBG: response: sw=6700 datalen=0
gpg: generating key failed
gpg: key generation failed: general error
Key generation failed: general error