Re: Private Keys on Card Not Loaded

2018-12-16 Thread Robert Gabriel
Hi,

I deleted ~/.gnupg and imported the public key as you asked.

All is working, thank you Dirk.

I apologise for not checking this sooner and I'm not sure what broke as I tried 
a clean import previously.

PS I also picked up a few good tips just by watching this list (thank you 
Werner for "echo foo | gpg --clearsign -v --debug ipc").

On Sat Dec 15 00:12, Dirk Gottschalk wrote:
> Hi.
> 
> Am Freitag, den 14.12.2018, 13:26 +0200 schrieb Robert Gabriel:
> > Hi,
> > 
> > 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 no private keys are visible.
> > 
> > What have I missed? I read online the stubs are generated
> > automatically with the above command.
> 
> Did you import the public keys? Are they in the key-Ring? If not, than
> you should do it, or the keys won't be recocnized.
> 
> Regards,
> Dirk
> 
> -- 
> Dirk Gottschalk
> Paulusstrasse 6-8
> 52064 Aachen, Germany
> 
> GPG: DDCB AF8E 0132 AA54 20AB  B864 4081 0B18 1ED8 E838
> Keybase.io: https://keybase.io/dgottschalk
> GitHub: https://github.com/Dirk1980ac
> 




signature.asc
Description: PGP signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Private Keys on Card Not Loaded

2018-12-14 Thread Dirk Gottschalk via Gnupg-users
Hi.

Am Freitag, den 14.12.2018, 13:26 +0200 schrieb Robert Gabriel:
> Hi,
> 
> 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 no private keys are visible.
> 
> What have I missed? I read online the stubs are generated
> automatically with the above command.

Did you import the public keys? Are they in the key-Ring? If not, than
you should do it, or the keys won't be recocnized.

Regards,
Dirk

-- 
Dirk Gottschalk
Paulusstrasse 6-8
52064 Aachen, Germany

GPG: DDCB AF8E 0132 AA54 20AB  B864 4081 0B18 1ED8 E838
Keybase.io: https://keybase.io/dgottschalk
GitHub: https://github.com/Dirk1980ac



signature.asc
Description: This is a digitally signed message part
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Private Keys on Card Not Loaded

2018-12-14 Thread Robert Gabriel
Hi,

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) 
uid [ultimate] Robert Gabriel (SLOB) 
uid [ultimate] Robert Gabriel (Net) 
uid [ultimate] Robert Gabriel (GSOC) 
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:6F45:0
Application ID ...: D27600012401030300056F45
Version ..: 3.3
Manufacturer .: ZeitControl
Serial number : 6F45
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) 

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.


signature.asc
Description: PGP signature
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users