I tried to generate RSA-4096 on my Nitrokey 3C NFC with
$ gpg2 --card-edit
In the admin menue I did:
Make off-card backup of encryption key? (Y/n)
Please note that the factory settings of the PINs are
PIN = ‘123456’ Admin PIN = ‘12345678’
You should change them using the command --change-pin
Please specify how long the key should be valid.
0 = key does not expire
= key expires in n days
w = key expires in n weeks
m = key expires in n months
y = key expires in n years
Key is valid for? (0)
Key does not expire at all
Is this correct? (y/N) y
GnuPG needs to construct a user ID to identify your key.
Real name: John Doe
Email address: firstname.lastname@example.org
You selected this USER-ID:
“John Doe email@example.com”
Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? o
gpg: key generation failed: Card error
Key generation failed: Card error
My Nitrokey:$ nitropy nk3 version
Command line tool to interact with Nitrokey devices 0.4.27
`$ gpg2 --version
gpg (GnuPG) 2.2.27
Copyright (C) 2021 Free Software Foundation, Inc.
License GNU GPL-3.0-or-later https://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Pubkey: RSA, ELG, DSA, ECDH, ECDSA, EDDSA
Cipher: IDEA, 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH,
CAMELLIA128, CAMELLIA192, CAMELLIA256
Hash: SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2`