Skip to content

nitro2/TOTP_Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OTP Generator (Time-based)

Build

Run make:

make

Run

./genotp [YOUR SECRET KEY]

Example output:

./genotp GU3TGMZUMRRGE
232470

Best practice

MacOS

Store your YOUR SECRET KEY into system:

security add-generic-password -a username -s yoursecret -w      

Retrieve the pass and pipe to OTP:

security find-generic-password -s yoursecret -w | xargs genotp

About

Generate 6-digit TOTP based on base32 secret key

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published