gpg: KEYTOCARD failed: Unusable secret key

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

On Tue, Jul 26, 2016 at 1:22 PM, Andrew Gallagher <andrewg at>
> 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
    sec>  rsa4096 2016-07-26 [SC] [expires: …]
          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

So it seems to be still there, no?

More information about the Gnupg-users mailing list