Skip to content

Instantly share code, notes, and snippets.

@jacobian
Created August 18, 2014 14:22
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacobian/175099a0b2c2b04c5b1b to your computer and use it in GitHub Desktop.
Save jacobian/175099a0b2c2b04c5b1b to your computer and use it in GitHub Desktop.
#!/bin/bash
read -p "Enter yubikey: " key
echo
curl "http://api.yubico.com/wsapi/2.0/verify?id=87&timeout=8&sl=50&nonce=askjdnkajsndjkasndkjsnad&timestamp=1&otp=$key"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment