Page MenuHome GnuPG

win4gpg not seeing GPG keys on yubikey
Closed, ResolvedPublic

Description

I have a Yubikey that I've been using under Arch Linux for both GPG encryption/decryption and SSH authentication.

I'm trying to use the same key for the same purposes under Windows 10.

So far, I've managed to get the key seen and SSH authentication to work. However, the GPG key(s) on the Yubikey do not appear to be seen under Windows.

gpg --card-status output from Linux:

Reader ...........: Yubico YubiKey OTP CCID 00 00
Application ID ...: D2760001240102010006054786970000
Application type .: OpenPGP
Version ..........: 2.1
Manufacturer .....: Yubico
Serial number ....: 05478697
Name of cardholder: Jamin Collins
Language prefs ...: en
Salutation .......: 
URL of public key : [not set]
Login data .......: ---------------------------- (intentionally blanked)
Signature PIN ....: not forced
Key attributes ...: rsa4096 rsa4096 rsa4096
Max. PIN lengths .: 127 127 127
PIN retry counter : 3 0 2
Signature counter : 0
Signature key ....: 790F 93AF 9EA2 094C F6C6  639A B34D D2DB 3C6D 23DD
      created ....: 2019-02-27 16:14:08
Encryption key....: 79E4 5861 023A 856A D307  CE30 B026 F8C8 AE5E B440
      created ....: 2019-02-27 16:15:11
Authentication key: 3391 EA2F DE57 62B9 23C5  2E40 1FD0 9EC3 44DC 158A
      created ....: 2019-02-27 16:15:54
General key info..: sub  rsa4096/0xB34DD2DB3C6D23DD 2019-02-27 Jamin Collins <------------------>(intentionally blanked)
sec#  rsa4096/0xF8E527C6A59B0834  created: 2019-02-27  expires: never     
ssb>  rsa4096/0xB34DD2DB3C6D23DD  created: 2019-02-27  expires: 2020-02-27
                                  card-no: 0006 05478697
ssb>  rsa4096/0xB026F8C8AE5EB440  created: 2019-02-27  expires: 2020-02-27
                                  card-no: 0006 05478697
ssb>  rsa4096/0x1FD09EC344DC158A  created: 2019-02-27  expires: 2020-02-27
                                  card-no: 0006 05478697

gpg --card-status output from Windows 10:

Reader ...........: Yubico Yubikey 4 OTP CCID 0
Application ID ...: D2760001240102010006054786970000
Application type .: OpenPGP
Version ..........: 2.1
Manufacturer .....: Yubico
Serial number ....: 05478697
Name of cardholder: Jamin Collins
Language prefs ...: en
Salutation .......:
URL of public key : [not set]
Login data .......: ---------------------------- (intentionally blanked)
Signature PIN ....: not forced
Key attributes ...: rsa4096 rsa4096 rsa4096
Max. PIN lengths .: 127 127 127
PIN retry counter : 3 0 2
Signature counter : 0
Signature key ....: 790F 93AF 9EA2 094C F6C6  639A B34D D2DB 3C6D 23DD
      created ....: 2019-02-27 16:14:08
Encryption key....: 79E4 5861 023A 856A D307  CE30 B026 F8C8 AE5E B440
      created ....: 2019-02-27 16:15:11
Authentication key: 3391 EA2F DE57 62B9 23C5  2E40 1FD0 9EC3 44DC 158A
      created ....: 2019-02-27 16:15:54
General key info..: [none]

Any help would be most appreciated.

Event Timeline

JaminCollins claimed this task.

Seems that the public key needed to be exported from the Linux side and imported on the Windows side. Once this was done, the rest of the key information is displayed under Windows for the gpg --card-status.