Sha256: a28877f3a1bb4f26d1aaf1799859bae0ec2fb80e58bb9f2cd39fb53ac7702f93
Contents?: true
Size: 957 Bytes
Versions: 5
Compression:
Stored size: 957 Bytes
Contents
= yubikey == Description A library to decode, decrypt and parse Yubikey[http://www.yubico.com/home/index/] one-time passwords. == Usage key = 'ecde18dbe76fbd0c33330f1c354871db' otp = 'dteffujehknhfjbrjnlnldnhcujvddbikngjrtgh' token = Yubikey::OTP.new(otp, key) p "Device public id: #{token.public_id}" #=> 'dteffuje' p "Device secret id: #{token.secret_id}" #=> '8792ebfe26cc' p "Device insertions: #{token.insert_counter}" #=> 19 p "Session activation counter: #{token.session_counter}" #=> 17 p "Session timestamp: #{token.timestamp}" #=> 49712 p "OTP random data: #{token.random_number}" #=> 40904 == Install sudo gem install yubikey == Copyright === Ruby library Written by Jonathan Rudenberg <jon335@gmail.com> Copyright (c) 2009 Jonathan Rudenberg The MIT License. See LICENSE. === AES, ModHex, and CRC code Written by Simon Josefsson <simon@josefsson.org> Copyright (c) 2006, 2007, 2008, 2009 Yubico AB
Version data entries
5 entries across 5 versions & 2 rubygems
Version | Path |
---|---|
titanous-yubikey-1.0.0 | README.rdoc |
titanous-yubikey-1.0.1 | README.rdoc |
titanous-yubikey-1.0.2 | README.rdoc |
yubikey-1.0.0 | README.rdoc |
yubikey-1.0.2 | README.rdoc |