https://github.com/errbotio/err-otp
OTP 2 factor auth for errbot
https://github.com/errbotio/err-otp
Last synced: 10 months ago
JSON representation
OTP 2 factor auth for errbot
- Host: GitHub
- URL: https://github.com/errbotio/err-otp
- Owner: errbotio
- License: gpl-3.0
- Created: 2015-08-23T05:59:50.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2017-06-22T22:17:30.000Z (almost 9 years ago)
- Last Synced: 2025-06-09T12:11:24.999Z (11 months ago)
- Language: Python
- Homepage:
- Size: 15.6 KB
- Stars: 7
- Watchers: 4
- Forks: 3
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: COPYING
Awesome Lists containing this project
README
# OTP 2 factor auth for Errbot (errbot.net)
The goal is to implement OTP compatible flow for Google Authenticator and OpenOTP.
This is working including the qrcode exchange.
### How to install it:
```
!repos install https://github.com/gbin/err-otp.git
```
### How to use it in a nutshell:
Flag a command to require an OTP (as an admin):
```
!otp_addcmd [command_name] # to protect a command by OTP
```
Send a secret to a user:
This will send a qrcode to someone so they can scan it with their [freeOTP app](https://play.google.com/store/apps/details?id=org.fedorahosted.freeotp&hl=en) or [google authenticator](https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2&hl=en).
```
!otp_secret [somebody]
```
Then when this somebody tries the command, the bot will block it, ask for an OTP and once it is entered by the somebody it should unlock and execute it.