Yubico Forum
https://forum.yubico.com/

change NEO smartcard PIN in batch mode
https://forum.yubico.com/viewtopic.php?f=26&t=1561
Page 1 of 1

Author:  FlorinAndrei [ Wed Oct 29, 2014 7:51 pm ]
Post subject:  change NEO smartcard PIN in batch mode

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!

Author:  Tom [ Thu Oct 30, 2014 10:54 am ]
Post subject:  Re: change NEO smartcard PIN in batch mode

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

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/