Yubico Forum

...visit our web-store at store.yubico.com
It is currently Tue Jan 30, 2018 10:53 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
PostPosted: Wed Mar 27, 2013 5:37 pm 
Offline

Joined: Thu Mar 14, 2013 12:21 pm
Posts: 7
Klas,

I will be sending to your e-mail.

Regards

André


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Tue Apr 02, 2013 7:55 am 
Offline
Site Admin
Site Admin

Joined: Thu Apr 19, 2012 1:45 pm
Posts: 148
Very good, now let's solve this..

On your screenshot it looks like your computer thinks it has several smart card readers, that' probably why it gets confused, so I want you to:

* Create a file called scdaemon.conf in your gnupg home directory (for me that is at c:\Users\UserName\AppData\Roaming\gnupg\) the directory should already exist.
* Add the line: reader-port Yubikey Neo OTP+CCID
* Make sure there is no process running namned scdaemon
* Run gpg --card-status

/klas


Top
 Profile  
Reply with quote  
PostPosted: Tue Apr 02, 2013 12:38 pm 
Offline

Joined: Thu Mar 14, 2013 12:21 pm
Posts: 7
Klas,

It didn´t work. I am still receiving this message:

gpg:Selecting openpgp failed: Card error

gpg:openPGP card not available : card error.

Any new idea?

tks


Top
 Profile  
Reply with quote  
PostPosted: Wed Apr 03, 2013 7:42 am 
Offline
Site Admin
Site Admin

Joined: Thu Apr 19, 2012 1:45 pm
Posts: 148
Unfortunately I get much the same results. It seems difficult to specify the reader to use under windows, your best bet is probably disabling the other smartcard readers from the device manager. Having done that the YubiKey NEO should be the only smartcard reader in the system and thus the one selected.

/klas


Top
 Profile  
Reply with quote  
PostPosted: Wed Apr 03, 2013 11:05 am 
Offline

Joined: Wed Apr 03, 2013 11:01 am
Posts: 5
I'm also getting:

gpg: selecting openpgp failed: Card error
gpg: OpenPGP card not available: Card error

I'm in mode 82 and my device manager looks like attached.

I'm Windows 8 x64.

My Neo version is 3.1.0.

I do have another card reader which you can see I've disabled.

Cheers

Marc


Attachments:
Dev Manager.PNG
Dev Manager.PNG [ 25.97 KiB | Viewed 9460 times ]
Top
 Profile  
Reply with quote  
PostPosted: Wed Apr 03, 2013 12:30 pm 
Offline
Site Admin
Site Admin

Joined: Thu Apr 19, 2012 1:45 pm
Posts: 148
After you've disabled the other card reader:
* unplug the neo
* kill the processes scdaemon and gpg-agent
* replug the neo

That works for me on a windows 7 machine with another card reader.

/klas


Top
 Profile  
Reply with quote  
PostPosted: Wed Apr 03, 2013 2:24 pm 
Offline

Joined: Wed Apr 03, 2013 11:01 am
Posts: 5
Thanks Klas,

I had to physically remove the other reader and reboot, but it's working now.

One thing I'm a little confused about... The instructions say that it's impossible to backup the secret key, but Kleopatra says it's available and lets me export it?

Cheers

Marc

*Edit*
NVM, I think I get it all now. Ta for help :)


Top
 Profile  
Reply with quote  
PostPosted: Fri Sep 27, 2013 3:03 pm 
Offline

Joined: Fri Sep 27, 2013 2:58 pm
Posts: 1
Same problem here:

Disabled all other smartcards and killed processes. Still card not recognized by win7 64b

Maarten


Top
 Profile  
Reply with quote  
PostPosted: Mon Sep 30, 2013 3:25 am 
Offline

Joined: Tue Sep 24, 2013 4:13 am
Posts: 2
MarcRoberts wrote:
Thanks Klas,
One thing I'm a little confused about... The instructions say that it's impossible to backup the secret key, but Kleopatra says it's available and lets me export it?

I think it's just exporting a stub that says "go look for the smartcard with this serial number" so that you can reference it on other computers. Note that all YubiKey NEOs present a serial number of 000000000001, so beware of relying on that.

This is what gpg --export-secret-key does, anyway.


Top
 Profile  
Reply with quote  
PostPosted: Fri Nov 15, 2013 7:39 pm 
Offline

Joined: Fri Nov 15, 2013 7:05 pm
Posts: 1
Hi,

I just had the same problem with a build-in smartcard reader. The approach of Klas was right.
But you have to add this line to your scdaemon.conf:
Code:
reader-port Yubico Yubikey NEO OTP+CCID 0

That's the name scdaemon recognizes the Yubikey with the corresponding Port "0".

Regards,
bober


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 23 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 12 guests


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