A reimplementation of elnardu/local-boilerkey for fun in Rust.
Run cargo build
.
- Run the built binary.
- Add a new Duo Mobile BoilerKey from the BoilerKey Self-Serve page.
- Enter the activation code. This is the sequence of letters and numbers in the
"Visit this URL with your smartphone" section.
- When the URL is
https://m-1b9bef70.duosecurity.com/activate/ABCXYZ
, the activation code is ABCXYZ.
- When the URL is
- Enter your BoilerKey PIN.
- Done! Every time you run
boilerkey-rs
, a new code will be generated inpin,code
format.- Data for
boilerkey-rs
is stored inhotp_data.json
in the working directory.
- Data for
First execution:
$ target/release/boilerkey-rs
Enter activation code: ABCXYZ
Requesting activation data...
Response: <snip>
Enter BoilerKey PIN: pin
pin,123456
Subsequent executions:
$ target/release/boilerkey-rs
Reading hotp_data.json...
pin,654321