|
1 | 1 | # cotp - command line totp authenticator |
2 | | -[](https://github.com/replydev/cotp/actions) |
3 | | -[](https://aur.archlinux.org/packages/cotp/) |
4 | | -[](https://crates.io/crates/cotp) |
5 | | -[](https://crates.io/crates/cotp) |
| 2 | +[](https://github.com/replydev/cotp/actions) [](https://aur.archlinux.org/packages/cotp/) [](https://crates.io/crates/cotp) [](https://crates.io/crates/cotp) |
6 | 3 |
|
7 | 4 | I believe that security is of paramount importance, especially in this digital world. I created cotp because I needed a minimalist, secure, desktop accessible software to manage my two-factor authentication codes. |
8 | 5 |
|
@@ -121,14 +118,16 @@ Note that in the `--edit` command if you type . instead of argument you are spec |
121 | 118 | To import Authy or Google Authenticator databases you need first to obtain the respective files in your phone in the paths: |
122 | 119 | - **Authy**: `/data/data/com.authy.authy/shared_prefs/com.authy.storage.tokens.authenticator.xml` |
123 | 120 | - **Google Authenticator**: `/data/data/com.google.android.apps.authenticator2/databases/databases` |
124 | | - You may need root privileges to access these folders. |
125 | | - After that run the correct python script located in the converters/ folder in this source code: |
| 121 | + |
| 122 | +You may need root privileges to access these folders. |
| 123 | +Once you got those files run the correct python script located in the converters/ folder in this source code: |
126 | 124 |
|
127 | 125 | `python authy.py path/to/database.xml converted.json` |
128 | 126 |
|
129 | 127 | It will convert the database in a json format readable by cotp. |
| 128 | +To finish import the database: |
130 | 129 |
|
131 | | -To finish import the database: `cotp -i authy path/to/database.json` |
| 130 | +`cotp -i authy path/to/database.json` |
132 | 131 |
|
133 | 132 | ## Planned features |
134 | 133 |
|
|
0 commit comments