File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -19,20 +19,21 @@ Type `i` to get some instruction. Otherwise just enter `cotp --help`.
1919In the first run you will be prompted to insert a password to initialize the database.
2020
2121## TL;DR
22+
2223``` bash
23- # Display all the OTP codes in the interactivee dashboard
24+ # Display all the OTP codes in the interactive dashboard
2425cotp
2526
2627# Add a new TOTP code from a BASE32 secret key
2728cotp add -l < label> -i < optional_issuer>
2829
29- # Add a new HOTP code with custom algorithm and digits
30- cotp add --type hotp --algorithm SHA256 -d 8 --counter 10
30+ # Add a new HOTP code with custom algorithm, digits and counter
31+ cotp add --type hotp --algorithm SHA256 --digits 8 --counter 10
3132
3233# Edit the digits of the 4th code
33- cotp edit -i 4 --digits 8
34+ cotp edit --index 4 --digits 8
3435
35- # List all the codes in json format passing password through stdin
36+ # List all the codes in JSON format passing password through stdin
3637echo " mysecretpassword" | cotp --password-stdin list --json
3738
3839# Import an encrypted Aegis Database backup
You can’t perform that action at this time.
0 commit comments