https://github.com/amarlearning/two-factor-auth
:lock_with_ink_pen: CLI tool to generate two-factor authentication (2FA) tokens!
https://github.com/amarlearning/two-factor-auth
2fa cli cross-platform desktop hmac hotp oath python totp two-factor-auth
Last synced: 11 months ago
JSON representation
:lock_with_ink_pen: CLI tool to generate two-factor authentication (2FA) tokens!
- Host: GitHub
- URL: https://github.com/amarlearning/two-factor-auth
- Owner: amarlearning
- License: mit
- Created: 2017-06-17T21:30:31.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-07-01T12:37:22.000Z (over 4 years ago)
- Last Synced: 2025-03-25T12:05:57.004Z (11 months ago)
- Topics: 2fa, cli, cross-platform, desktop, hmac, hotp, oath, python, totp, two-factor-auth
- Language: Python
- Homepage:
- Size: 19.5 KB
- Stars: 5
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Two Factor Authentication (2FA)
[](https://travis-ci.com/amarlearning/two-factor-auth)
[](https://github.com/amarlearning/two-factor-auth/issues)
[](http://amarlearning.mit-license.org/)
> CLI tool to generate two-factor authentication (2FA) tokens!
Reference Links:
- [TOTP: Time-Based One-Time Password Algorithm](https://tools.ietf.org/pdf/rfc6238.pdf)
- [HOTP: An HMAC-Based One-Time Password Algorithm](https://tools.ietf.org/pdf/rfc4226.pdf)
## Install
```
git clone https://github.com/amarlearning/two-factor-auth.git
cd two-factor-auth
```
## Usage
### Commands available
```
$ python twoFactorAuth.py
Example:
$ python twoFactorAuth.py h3nr2nsfytkmhnxz
```
## Issues
You can report the bugs at the [issue tracker](https://github.com/amarlearning/two-factor-auth/issues)
**OR**
You can [tweet me](https://twitter.com/iamarpandey) if you can't get it to work. In fact, you should tweet me anyway.
## License
Built with ♥ by Amar Prakash Pandey([@amarlearning](http://github.com/amarlearning)) under [MIT License](http://amarlearning.mit-license.org/)
You can find a copy of the License at http://amarlearning.mit-license.org/