Giter Site home page Giter Site logo

yubiset's People

Contributors

iandstanley avatar janmosigitemis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

yubiset's Issues

Error on Linux: Could not cleanup temporary directory. Exiting.

Hello Jan,

I want to run script yubiset.sh on Linux (Arch Linux) as normal user w/o root.

[thomas@pc7-cubi3 bash]$ sh yubiset.sh 
ERROR: Could not cleanup temporary directory. Exiting.

I assume (and hope) that the script can run w/o root permission.

How can I proceed from here?
Please advise.

Regards
Thomas

resetyubi.bat does not properly recognize failed reset

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.