Keytocard fails (card error)


Nitrokey Storage 2 - 16 GB
Trisquel 8.0
GPG 2.1.11
Nitrokey App 1.2
Firmware Version 0.53

The app works fine and the base functionality of the stick seems to be working. The app runs, the green light on the stick blinks, and I can access the password safe/storage.

However, when I try to move my PGP key to the card, I get an error:

gpg> keytocard
Really move the primary key? (y/N) y
gpg: selecting openpgp failed: Card error
gpg: key operation not possible: Card error

–card-status doesn’t yield anything helpful:

~$ gpg2 --card-status
gpg: selecting openpgp failed: Card error
gpg: OpenPGP card not available: Card error

Any help would be appreciated.




what key algorithm and type are you using? Furthermore, you GnuPG version is rather old. Is it possible for you to get an 2.2.x version?

Kind regards