Skip to content

stuarthicks/otp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

otp

Just because I wanted a simple cli tool to generate totp codes.

deps

Written in Rust.

building

Start trying to add an MFA device somewhere. Keep a safe record of the secret you're given and any backup codes (password managers like Lastpass/Keepass/1Password are great for this). Then run the following:

SECRET=hunter2 cargo build --release

This will produce the executable target/release/otp. Use it however you want.

Put it on your path, rename it, compile a separate one for separate services (don't share the same secret between services). I make no guarantees on the usefullness nor security of this code.

Releases

No releases published

Packages

No packages published

Languages