Skip to content

Shell-script (Bash) with functions relevant to 2FA. Compatible with Google Authenticator.

License

Notifications You must be signed in to change notification settings

SomajitDey/2FA-HOTP-TOTP-Bash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

2FA toolkit for Bash scripting

Features

  • HMAC
  • HOTP
  • TOTP
  • QR-code

Requirements

  • bash
  • openssl
  • python3 (only if URI / QR-code is required)
  • qrencode (only if QR-code is required. For Ubuntu, sudo apt install qrencode would install it)

Manual

Source the library in Bash with source 2fa.bash to avail the functions defined therein. The API definitions can be found within the script.

License

GNU GPL v3 or later

Copyright (C) Somajit Dey 2021

About

Shell-script (Bash) with functions relevant to 2FA. Compatible with Google Authenticator.

Topics

Resources

License

Stars

Watchers

Forks

Languages