A Node.js client for verifying YubiKey OTPs
A Node.js client library for verifying OTPs with the Yubikey api servers.
npm install yubikey
Or fork this repo and help improve it.
var Yubikey = require'yubikey';var yubikey = client_id secret_key;// client_id and secret_key can also be discovered from env// if err is null, you're goodyubikeyverify'vvvvvvcurikvhjcvnlnbecbkubjvuittbifhndhn' onVerify;
Plug your YubiKey in, and run
./test.js. Try entering the same token twice.