Created
February 23, 2018 10:23
-
-
Save Che4ter/61134da856301cdb20a99e51aa8511d7 to your computer and use it in GitHub Desktop.
Set up yubikey neo to ccid eject mode
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ ykneomgr -M 1 | |
# Re-plug the device | |
$ opensc-tool -s '00 a4 04 00 08 a0 00 00 05 27 20 01 01' \ | |
-s '00 01 11 00 04 81 0f 02 00' | |
#81 = mode 1 = CCID only (other modes not working togheter with ejcet on my neo) | |
#02 = timeout | |
#script to restore | |
until ykneomgr -M0 2&> /dev/null ; do sleep 0.1 ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment