lita-rotp
Copyright 2014 PagerDuty, Inc.
Lita handler for TOTP & HOTP token generation; uses Ruby One-Time Password (ROTP) library
INSTALLATION
Add lita-rotp
to your Lita instance's Gemfile:
gem 'lita-rotp', '~> 0.1'
LICENSE
lita-rotp is released under the
Apache License 2.0.
The full text of the license can be found in the LICENSE
file. The summary
can be found here courtesy
of tldrlegal.
CONFIGURATION
lita-rotp
uses a Hash of key pairs to get the secrets:
config.handlers.rotp.secret_pairs = { tim: '4QGNYPZ7OSBHCWWL', heckman: 'IR5IYN4G5HB66BOA' }
You then use the name heckman
to use the secret for heckman.
USAGE
> totp heckman
596049
# or
> hotp tim 42
368274
# or
> token heckman
386015
> token tim 42
549634