You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# List all the codes in JSON format passing password through stdin
37
+
echo"mysecretpassword"| cotp --password-stdin list --json
38
+
39
+
# Extract the first matching OTP code with "google" issuer and copy it into the clipboard
40
+
echo"mysecretpassword"| cotp extract --issuer google --copy-clipboard
41
+
42
+
# Import an encrypted Aegis Database backup
43
+
cotp import --path my_db.json --aegis-encrypted
44
+
45
+
# Export the cotp database
46
+
cotp export
47
+
```
48
+
49
+
## Compatibility
50
+
51
+
cotp can generate both **TOTP** and **HOTP** codes, compliant with **rfc6238** and **rfc4226** specifications. Also, it is possible to customize settings like **HMAC algorithm** and **digits**, to provide compatibility to other two-factor authentication systems.
52
+
53
+
Latest releases also include support for **Steam**, **Yandex**, **MOTP** codes.
24
54
25
55
## Encryption
26
56
@@ -30,13 +60,6 @@ and [Argon2id](https://en.wikipedia.org/wiki/Argon2) for key derivation.
30
60
31
61
It also uses [AES-GCM](https://docs.rs/aes-gcm/latest/aes_gcm/) to import from encrypted Aegis backups.
32
62
33
-
## Compatibility
34
-
35
-
cotp can generate both **TOTP** and **HOTP** codes, compliant with **rfc6238** and **rfc4226** specifications. Also, it
36
-
is possible to customize settings like **HMAC algorithm** and **digits**, to provide compatibility to other two-factor
37
-
authentication systems.
38
-
39
-
Latest releases also include support for Steam, Yandex, MOTP codes and code copying from SSH Remote Shell.
0 commit comments