Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/jovijovi/two-fa
- Owner: jovijovi
- License: bsd-3-clause
- Created: 2021-07-23T08:43:50.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-14T12:50:41.000Z (over 2 years ago)
- Last Synced: 2024-06-20T22:35:47.942Z (7 months ago)
- Topics: 2fa, hotp, totp, two-fa, two-factor-authentication
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.