An open API service indexing awesome lists of open source software.

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!

Awesome Lists containing this project

README

          

# Two Factor Authentication (2FA)

[![Build Status](https://travis-ci.com/amarlearning/two-factor-auth.svg?token=FhxpAG7TK2kc9cTmNv5p&branch=master)](https://travis-ci.com/amarlearning/two-factor-auth)
[![Issues](https://camo.githubusercontent.com/926d8ca67df15de5bd1abac234c0603d94f66c00/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f636f6e747269627574696f6e732d77656c636f6d652d627269676874677265656e2e7376673f7374796c653d666c6174)](https://github.com/amarlearning/two-factor-auth/issues)
[![MIT LICENSE](https://img.shields.io/pypi/l/pyzipcode-cli.svg)](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/