Yubico Forum

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

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Oct 29, 2014 7:51 pm 
Offline

Joined: Thu Aug 28, 2014 9:24 pm
Posts: 23
Location: California
Is there a way to change the user PIN on the NEO smartcard in batch mode?

I would like to write a script that reads the new PIN from user input, and then goes ahead and changes it on the NEO, along with a few other things. In order to avoid entering the PIN twice, I need to be able to change it on the NEO in batch mode. I looked at GnuPG but --batch is not compatible with --change-pin.

I guess I could always use Expect and build a wrapper around the interactive mode of gpg, but I wonder if there's a more elegant solution than that.

Thanks!

_________________
Florin Andrei
http://florin.myip.org/


Top
 Profile  
Reply with quote  

Share On:

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

PostPosted: Thu Oct 30, 2014 10:54 am 
Offline
Site Admin
Site Admin

Joined: Wed Nov 14, 2012 2:59 pm
Posts: 666
Hello,

check this document:
https://github.com/Yubico/ykneo-openpgp ... Applet.txt

at the bottom there are some gpg-agent script that maybe can help you

_________________
-Tom


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

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