janmosigitemis / yubiset Goto Github PK
View Code? Open in Web Editor NEWA collection of scripts to make OpenPGP key generation and YubiKey manipulation easy.
License: Apache License 2.0
A collection of scripts to make OpenPGP key generation and YubiKey manipulation easy.
License: Apache License 2.0
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
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
Hi Jan,
can you confirm if your scripts will work with other security keys, e.g. Nitrokey?
Regards
Thomas
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.