richfelker / totp.sh

Shell script implementation of TOTP (RFC 6238) using openssl command line tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

totp.sh

This is a simple shell script implementation of TOTP (RFC 6238). It depends only on a base32 utility, date command supporting %s format, and openssl command line utility.

Usage

totp.sh < secretfile

where secretfile contains the base32-encoded secret.

About

Shell script implementation of TOTP (RFC 6238) using openssl command line tool

License:MIT License


Languages

Language:Shell 100.0%