start:public:generating_hashes_from_a_string_with_a_yubikey
This is an old revision of the document!
Generating hashes from a string with a Yubikey
Use Yubikey authenticator to set up a challenge-response algorithm in slot 2 of your Yubikey. Then, make sure you have the command line tool ykchalresp installed. It usually comes packaged with the Yubikey personalization tool, e.g. on macOS via Homebrew:
brew install ykpers
Then, use the command to read a string from stdin and hash it with the challenge-response credential in slot 2 of your Yubikey:
ykchalresp -2 -i-
After entering your string, press ENTER, then CTRL-D, and touch your Yubikey. This will generate the hash.
start/public/generating_hashes_from_a_string_with_a_yubikey.1734040366.txt.gz · Last modified: by thomas
