A generator for TOTP based on RFC-6238.
Set OTP_TOKEN environment property to your desired otp token than run:
./bin/totpTo immediately put the generated token on the clipboard, run:
./bin/totp | pbcopyThis generator is in full compliance to the RFC described here: RFC-6238.
Note: With the expection that right now times, and methods are not configurable. That is in the ROADMAP.
export OPENSSL_INCLUDE_DIR=/usr/local/Cellar/openssl/1.0.2j/include
export OPENSSL_LIB_DIR=/usr/local/Cellar/openssl/1.0.2j/libAlternatively:
cmake -DOPENSSL_INCLUDE_DIR=/usr/local/Cellar/openssl/1.0.2j/include -DOPENSSL_ROOT_DIR=/usr/local/Cellar/openssl/1.0.2j/ ..cd build
cmake .. && cmake --build .