You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Actual Behavior
Even if gpg-connect-agent runs into errors while executing the reset script, the resetyubi.bat script reports success, probably due to gpg-connect-agent not handling the errorlevel correctly.
Expected Behavior
Recognize error and stop script. Return errorlevel 1
Log
.....| Yubikey reset script
.....| Version: 0.1.0
About to reset your YubiKey's OpenPGP module. Continue (y/[n])? y
Now resetting..
Yubikey reset input comes from https://gist.github.com/pkirkovsky/c3d703633effbdfcb48c
S SERIALNO D2760001240102000006063538460000
OK
ERR 65547 Bad passphrase <Unspecified source>
ERR 65547 Bad passphrase <Unspecified source>
ERR 65547 Bad passphrase <Unspecified source>
ERR 65547 Bad passphrase <Unspecified source>
ERR 65547 Bad passphrase <Unspecified source>
ERR 65547 Bad passphrase <Unspecified source>
ERR 65547 Bad passphrase <Unspecified source>
ERR 65547 Bad passphrase <Unspecified source>
ERR 65547 Bad passphrase <Unspecified source>
ERR 65547 Bad passphrase <Unspecified source>
Yubikey has been successfully reset.
The factory default PINs are 123456 (user) and 12345678 (admin).
..Success
The text was updated successfully, but these errors were encountered:
Actual Behavior
Even if gpg-connect-agent runs into errors while executing the reset script, the resetyubi.bat script reports success, probably due to gpg-connect-agent not handling the errorlevel correctly.
Expected Behavior
Recognize error and stop script. Return errorlevel 1
Log
The text was updated successfully, but these errors were encountered: