tonyskapunk / hot-oat

🔥🥣 hot oat

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hot-oat

Check Shell Scripts Release License

Logo of a bowl with oats, steam going out with a red circle in the back representing the sun

🔥🥣

A wrapper script to setup and run HOTP (Hash-based message authentication code One Time Password).

Requirements and Optional Packages

Required packages

Optional packages

Red Hat based

oathtool is available in EPEL follow the instructions there to install EPEL depending on your version and distribution

Required:

dnf install -y oathtool

Optional:

dnf install -y qrencode 

Debian based

Required:

apt update
apt install -y oathtool

Optional:

apt update
apt install -y qrencode

Arch Linux

Required:

pacman -Sy --noconfirm oath-toolkit

Optional:

pacman -Sy --noconfirm qrencode

Install

Copy the script hot-oat to a directory in your path, e.g. ~/.local/bin

Overriding defaults

These variables should be used to override the default values. Also, a config file can be placed under ~/.config/hot-oat.conf to define custom values. See the example file hot-oat.conf

Environment Name Default Description
HOT_OAT_COPY_TOOL wl-copy The command to use to copy the password to the clipboard
HOT_OAT_COPY_OPTIONS -n -o The options to pass to the copy command
HOT_OAT_DIR ~/.config/hot-oat The directory where the key and counter are stored

Examples

Demo setting up a HOTP and generating OTPs

Acknowledgments

About

🔥🥣 hot oat

License:MIT License


Languages

Language:Shell 100.0%