gpg: KEYTOCARD failed: Unusable secret key

Felix E. Klee felix.klee at inka.de
Tue Jul 26 14:11:06 CEST 2016


On Tue, Jul 26, 2016 at 1:22 PM, Andrew Gallagher <andrewg at andrewg.com>
wrote:
> What does it say when you run "gpg --list-secret-keys" on your local
> machine now?

*Without* the smart card reader connected, it says:

    # gpg –list-secret-keys
    /ramdisk/pubring.kbx
    --------------------
    sec>  rsa4096 2016-07-26 [SC] [expires: …]
          AFADB5A…
          Card serial no. = …
    uid           [ultimate] Felix …
    ssb>  rsa4096 2016-07-26 [E] [expires: …]

Also I can export the private key:

    # gpg --armor --export-secret-keys | wc -l
    53

So it seems to be still there, no?



More information about the Gnupg-users mailing list