Yubico.rbThe Yubico Ruby class enables use of the Yubikey device in Ruby. This simple class lets you authenticate and manage keys through Ruby.
More information on the Yubikey can be found at Yubico.com.
ImplementationUsage and implementation are extremely simple. The documentation has a fuller description in place, but here's a quick-start:
require 'ruby-yubico/yubico'
api_key = "" # optionally use this to verify responsesyubi_key = Yubico.new(3, api_key)otp = "" ## The OTP from the YubiKey goes here.
没有任何数据可供显示