Skip to content

A Hubot script to generate and save totp secret encrypted

License

Notifications You must be signed in to change notification settings

Drivetech/hubot-totp

Repository files navigation

hubot-totp

npm version npm downloads Build Status Coverage Status Code Climate dependency Status devDependency Status

A Hubot script to generate and save totp secret encrypted

Installation

npm i -S hubot-totp

Set environment variable TOTP_SECRET to encrypt secret.

add ["hubot-totp"] to external-scripts.json.

Examples

hubot totp new <name> -> Generate a new totp secret

hubot totp qr <name> -> Get qr image of totp secret

hubot totp hex <name> -> Convert totp secret to hex

hubot totp insert <name> <secret> -> Insert a totp secret

hubot totp secret <name> -> Get totp secret

hubot totp get <name> -> Get totp secret, hex and qr

License

MIT

About

A Hubot script to generate and save totp secret encrypted

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published