Skip to content

Commit

Permalink
more updates to readme and moves demo.png
Browse files Browse the repository at this point in the history
  • Loading branch information
sts10 committed May 15, 2019
1 parent c582eab commit b7de05b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
**/*.rs.bk
/qr-codes/
/qr-codes/*
*.png
/*.png
11 changes: 4 additions & 7 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -30,18 +30,15 @@ Know that [KeePassXC version 2.4.0 and above](https://keepassxc.org/) can genera
- To **encode** a secret and create a QR code, run `cargo run`
- To **decode** a secret from an existing QR code image, run `cargo run -- <qr_code_image_file_path.png>`

![Demo](demo.png)
![Demo](demo/demo.png)


## Notes


Before I wrote this code, I wrote [a blog post](https://sts10.github.io/2018/11/26/totp-uris-qr-codes-2-factor.html) that might help you understand the problems I'm interested in here.

## To Do

Add ability to generate a few 6-digit codes, allowing users to confirm everything went right. See [this function](https://github.com/Skarlso/totp/blob/master/src/generator.rs#L9) for clues on how to do this.

### Testing?

Not sure how to go about testing the functionality of this script as is. If you have ideas, create a PR or issue!
- [x] Add ability to generate a few 6-digit codes, allowing users to confirm everything went right. See [this function](https://github.com/Skarlso/totp/blob/master/src/generator.rs#L9) for clues on how to do this.
- [ ] Big refactor of the reading image code
- [ ] Make this a real CLI using structopt or Clap
File renamed without changes

0 comments on commit b7de05b

Please sign in to comment.