GitXplorerGitXplorer
e

node-yubikey

public
2 stars
2 forks
0 issues

Commits

List of commits on branch master.
Unverified
e829f28ca3dd79007650777401a2f48899666ac4

blank key/value pair breaks signature validation

committed 13 years ago
Unverified
ac8f65793e9d7d29f2a6cfe1f6be466e53e64c13

Update wants string or buffer

committed 13 years ago
Unverified
c59fcdb3d1411e22950397abdfb26339e34a2e05

missed updating http to https

committed 13 years ago
Unverified
abdbbe91208dce18036a359e84baa187b803fbb5

Updated client requests for node 0.6.3 support

committed 13 years ago
Unverified
0b9182d2331aeb6e06426da1028edc535551206f

apiKey made optional, signature generation and checking will skip if not set.

mmonobit committed 14 years ago
Unverified
5948f67433e029e72ab343b9d0d7a9e4ea15da77

apiKey made optional, signature generation and checking will skip if not set.

mmonobit committed 14 years ago

README

The README file for this repository.

Yubikey Web Service Client Module for NodeJS

Validate Yubikeys via Yubico Web Services API. (http://yubico.com)

Yubikey tokens can be purchased from https://store.yubico.com/ Yubico API id and signature key can be requested from https://upgrade.yubico.com/getapikey/

Example usage:

  var yubikey = require(./yubikey.js);

  // Replace with your Yubico API Id and Key
  yubikey.apiId = 1234; // Required
  yubikey.apiKey = 'asdfasdf'; // Optional, will add HMAC-SHA-1 signature in requests and verify signature in response when set

  var otp = 'ccccccceabcrkjftthlbkgnhnugvbhidjleuddbghhnl'; // OTP generated by Yubikey

  yubikey.verify(otp, function(isValid) {
        console.log(isValid ? 'Yubikey is valid' : 'Yubikey is not valid');
  })

More Info:

http://yubico.com
http://code.google.com/p/yubikey-val-server-php/wiki/ValidationProtocolV20