Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/jovijovi/two-fa

A two-factor authentication(2FA) based on HOTP & TOTP written in Go.
https://github.com/jovijovi/two-fa

2fa hotp totp two-fa two-factor-authentication

Last synced: about 2 months ago
JSON representation

A two-factor authentication(2FA) based on HOTP & TOTP written in Go.

Awesome Lists containing this project

README

        

# Two-FA

A two-factor authentication(2FA) based on [HOTP](https://datatracker.ietf.org/doc/html/rfc4226)
& [TOTP](https://datatracker.ietf.org/doc/html/rfc6238) written in Go.

## Features

- Based on HOTP/TOTP algorithm
- Get code by encoded key
- Encode/Decode key
- Encode key for iOS
- Encode key with hash
- Gen random key
- Print QR for Google Authenticator in terminal

## Install

```
go get github.com/jovijovi/two-fa
```

## Example Usage

- [Samples](2fa_test.go)

## Roadmap

- Documents

## License

This project is licensed under the BSD 3-Clause License.