Private Keys on Card Not Loaded

Robert Gabriel robert at
Fri Dec 14 12:26:34 CET 2018


I have created a master key along with a subkey for authenticating and a subkey for signing.

I copied the subkeys to my smartcard (Nitrokey Pro 2) using gpg2 --edit-key 93DA8C1D and did not enter save thereafter, but deleted them manually using gpg2 --card-edit.

I deleted the master private key.

gpg2 -k 93DA8C1D

pub   rsa4096/93DA8C1D 2018-07-23 [SC] [expires: 2028-07-20]
uid         [ultimate] Robert Gabriel (Mitigate) <robert.gabriel at>
uid         [ultimate] Robert Gabriel (SLOB) <robert at>
uid         [ultimate] Robert Gabriel (Net) <robert at>
uid         [ultimate] Robert Gabriel (GSOC) <robert.gabriel at>
sub   rsa4096/1314AB17 2018-07-23 [E] [expires: 2028-07-20]
sub   rsa4096/DB545B92 2018-07-23 [S] [expires: 2028-07-20]

gpg2 --card-status

Reader ...........: 20A0:4108:000000000000000000006F45:0
Application ID ...: D276000124010303000500006F450000
Version ..........: 3.3
Manufacturer .....: ZeitControl
Serial number ....: 00006F45
Name of cardholder: Robert Gabriel
Language prefs ...: en
Sex ..............: male
URL of public key : [not set]
Login data .......: robert
Signature PIN ....: not forced
Key attributes ...: rsa4096 rsa4096 rsa4096
Max. PIN lengths .: 64 64 64
PIN retry counter : 3 0 3
Signature counter : 0
Signature key ....: C78B 8DEA 8BFC A3F8 FE02  01B2 25BB 65A3 DB54 5B92
      created ....: 2018-07-23 15:05:07
Encryption key....: 96D3 A550 23CD 70C6 B299  9D8A DC14 1A1E 1314 AB17
      created ....: 2018-07-23 14:43:10
Authentication key: B903 8DB5 0E48 9465 172F  45D2 7E9B 41FE 36CF 0D3F
      created ....: 2018-11-27 18:08:06
General key info..: sub  rsa4096/DB545B92 2018-07-23 Robert Gabriel (Mitigate) <robert.gabriel at>
sec   rsa4096/93DA8C1D  created: 2018-07-23  expires: 2028-07-20
ssb   rsa4096/1314AB17  created: 2018-07-23  expires: 2028-07-20
ssb   rsa4096/DB545B92  created: 2018-07-23  expires: 2028-07-20

gpg2 -K no private keys are visible.

What have I missed? I read online the stubs are generated automatically with the above command.

Thank you.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <>

More information about the Gnupg-users mailing list