Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 2:22 pm

All times are UTC + 1 hour




Post new topic Reply to topic  [ 8 posts ] 
Author Message
PostPosted: Fri Feb 19, 2016 8:30 am 
Offline

Joined: Fri Feb 19, 2016 7:52 am
Posts: 5
Hello

My new Yubikey 4 has a firmware 4.2.7.

Under Windows 10, it is well detected with the GUI version 3.1.23 of the personalization tool (library version 1.7.2).

With the CLI personalization tools version 1.7.2 or 1.7.3, I only get a:
Yubikey core error: no yubikey present

May I have missed some prerequisite? How should I troubleshoot?

Thank you for your help


Last edited by pbreau on Fri Feb 19, 2016 11:21 pm, edited 1 time in total.

Top
 Profile  
Reply with quote  

Share On:

Share on Facebook FacebookShare on Twitter TwitterShare on Tumblr TumblrShare on Google+ Google+

PostPosted: Fri Feb 19, 2016 5:17 pm 
Offline
Yubico Team
Yubico Team

Joined: Thu Oct 16, 2014 3:44 pm
Posts: 349
How is the YubiKey 4 identified in Devices and Printers? It should look like this:

Image

How about the YubiKey NEO Manager? You just need to make sure OTP mode isn't disabled, as this is required to use the Personalization Tool (both GUI and CLI). If no mode switches have occurred, the YubiKey NEO Manager should look like this:

Image

If you confirm OTP is enabled, either through the YubiKey NEO Manager or Devices and Printers, you may need to run the Personalization Tool GUI as Administrator (or Command Prompt as Administrator, if you're using the CLI).


Top
 Profile  
Reply with quote  
PostPosted: Fri Feb 19, 2016 5:55 pm 
Offline

Joined: Fri Feb 19, 2016 7:52 am
Posts: 5
Hello Chris

Thanks a lot for your answer.

I can see the Yubikey in Devices and Printers as you describe it:
Attachment:
yubi2.png
yubi2.png [ 18.35 KiB | Viewed 2468 times ]


I have checked successfully with Neo Manager that the connection mode was OTP+U2F+CCID. I can confirm that OTP is enabled:
Attachment:
neoman_2016-02-19_17-48-29.png
neoman_2016-02-19_17-48-29.png [ 10.97 KiB | Viewed 2468 times ]


And I run the command lines from an Administrator's Powershell Window.

If fact, I tried both, Administrator and non-Adminitrator, without success.
Attachment:
yubi3.png
yubi3.png [ 5.87 KiB | Viewed 2468 times ]


I also detect no card with the last version of gpg4win.

Would I have a way to generate some log files?

Best regards


Top
 Profile  
Reply with quote  
PostPosted: Fri Feb 19, 2016 11:20 pm 
Offline

Joined: Fri Feb 19, 2016 7:52 am
Posts: 5
:oops: :roll:

I have found the reason if my issue: The version 1.16.0 of the CLI tools were in the PATH. It works fine now that I really run the 1.17.3 version.

Now I have to investigate on why gpg4win detects no card...

Thank you for your help!


Top
 Profile  
Reply with quote  
PostPosted: Sat Feb 20, 2016 2:47 am 
Offline
Yubico Team
Yubico Team

Joined: Thu Oct 16, 2014 3:44 pm
Posts: 349
Do you have any screenshots of the issue with GPG4Win? Version number? Are you trying to run commands like "gpg --card-status", etc?

I'm using Windows 10 and GPG4Win version 2.3.0 (note - card is loaded with an authentication key for testing only)

Image


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 24, 2016 12:26 am 
Offline

Joined: Fri Feb 19, 2016 7:52 am
Posts: 5
Thank you Chris for your support.

I have tried so far to find by myself. Here are constantly the outputs I get:
Attachment:
powershell_2016-02-22_02-03-11.png
powershell_2016-02-22_02-03-11.png [ 18.08 KiB | Viewed 2395 times ]


I have successfully generated some RSA keys with the PIV manager...

Have missed something obvious?

Best regards


Top
 Profile  
Reply with quote  
PostPosted: Wed Feb 24, 2016 2:30 am 
Offline
Yubico Team
Yubico Team

Joined: Thu Oct 16, 2014 3:44 pm
Posts: 349
There are a few things you can try:

(1) Terminate the GnuPG private key daemon and GnuPG smartcard daemon processes in Task Manager

(2) Try the OpenPGP reset procedure (viewtopic.php?f=35&t=2193&p=8245&hilit=openpgp+applet+reset#p8245)

I've received the "not supported" message a couple of times in Windows, but terminating the GnuPG processes and trying again using resolves it for me.


Top
 Profile  
Reply with quote  
PostPosted: Thu Feb 25, 2016 2:46 am 
Offline

Joined: Fri Feb 19, 2016 7:52 am
Posts: 5
I have finally solved the issue: My laptop is provided with a smartcard reader that I have never cared about. I had to disable it and all finally works as expected.

It is not a problem to keep it disabled but would you know of a way to make GPG select the right device?

Thank you again for your support.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group