Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Mar 11, 2015 1:04 pm 
Offline

Joined: Wed Mar 11, 2015 12:57 pm
Posts: 2
Hello, I have a Yubikey Neo with firmware v3.3.0 configured with -m82 (OTP and CCID), and I want to use some code which utilizes the PKCS#11 interface to the smart card.

When I attempt to do so, I get an error as shown here:

Code:
pkcs11-tool --module=/usr/lib/x86_64-linux-gnu/opensc-pkcs11.so --pin 123456 --keypairgen --key-type rsa:1024 --label 'jp1' --id 1
Using slot 2 with a present token (0x5)
error: PKCS11 function C_GenerateKeyPair failed: rv = CKR_FUNCTION_NOT_SUPPORTED (0x54)


What do I have to set on the Neo to be able to accomplish this?

Thanks.


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Thu Mar 12, 2015 10:04 pm 
Offline

Joined: Mon Mar 02, 2015 9:39 pm
Posts: 27
I would probably start with generating keys via yubico-piv-tool rather than pkcs11-tool.


Top
 Profile  
Reply with quote  
PostPosted: Sat Mar 14, 2015 12:46 pm 
Offline

Joined: Wed Mar 11, 2015 12:57 pm
Posts: 2
That wouldn't help, as the software I want to use needs to generate it's keys via the PKCS#11 interface.
The question I'm basically asking is: is this at all possible with the Yubikey Neo?

(FWIW, using the piv-tool works.)


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

All times are UTC + 1 hour


Who is online

Users browsing this forum: Google [Bot] and 7 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:  
cron
Powered by phpBB® Forum Software © phpBB Group