mirror of
https://github.com/scito/extract_otp_secrets.git
synced 2025-12-15 11:21:43 +01:00
improve steps in README.md
This commit is contained in:
17
README.md
17
README.md
@@ -3,7 +3,7 @@
|
|||||||
[](https://github.com/scito/extract_otp_secret_keys/actions/workflows/ci.yml)
|
[](https://github.com/scito/extract_otp_secret_keys/actions/workflows/ci.yml)
|
||||||

|

|
||||||
[](https://github.com/scito/extract_otp_secret_keys/blob/master/Pipfile.lock)
|
[](https://github.com/scito/extract_otp_secret_keys/blob/master/Pipfile.lock)
|
||||||

|

|
||||||
[](https://github.com/scito/extract_otp_secret_keys/blob/master/LICENSE)
|
[](https://github.com/scito/extract_otp_secret_keys/blob/master/LICENSE)
|
||||||
[](https://github.com/scito/extract_otp_secret_keys/tags)
|
[](https://github.com/scito/extract_otp_secret_keys/tags)
|
||||||
[](https://stand-with-ukraine.pp.ua)
|
[](https://stand-with-ukraine.pp.ua)
|
||||||
@@ -15,10 +15,12 @@ The secret and otp values can be printed and exported to json or csv. The QR cod
|
|||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
1. Export the QR codes from "Google Authenticator" app
|
1. Open "Google Authenticator" app on the mobile phone
|
||||||
2. Read QR codes with QR code reader
|
2. Export the QR codes from "Google Authenticator" app
|
||||||
3. Save the captured QR codes in a text file. Save each QR code on a new line. (The captured QR codes look like `otpauth-migration://offline?data=...`)
|
3. Read QR codes with a QR code reader (e.g. from another phone)
|
||||||
4. Call this script with the file as input:
|
4. Save the captured QR codes in the QR code reader to a text file, e.g. example_export.txt. Save each QR code on a new line. (The captured QR codes look like `otpauth-migration://offline?data=...`)
|
||||||
|
5. Transfer the file to the computer where his script is installed.
|
||||||
|
6. Call this script with the file as input:
|
||||||
|
|
||||||
python extract_otp_secret_keys.py example_export.txt
|
python extract_otp_secret_keys.py example_export.txt
|
||||||
|
|
||||||
@@ -44,7 +46,8 @@ options:
|
|||||||
|
|
||||||
Known to work with
|
Known to work with
|
||||||
|
|
||||||
* Python 3.10.7, protobuf 4.21.8, qrcode 7.3.1, and pillow 9.2
|
* Python 3.10.8, protobuf 4.21.9, qrcode 7.3.1, and pillow 9.2
|
||||||
|
* Python 3.11.0, protobuf 4.21.9, qrcode 7.3.1, and pillow 9.2
|
||||||
|
|
||||||
For protobuf versions 3.14.0 or similar or Python 3.6, use the extract_otp_secret_keys version 1.4.0.
|
For protobuf versions 3.14.0 or similar or Python 3.6, use the extract_otp_secret_keys version 1.4.0.
|
||||||
|
|
||||||
@@ -63,7 +66,7 @@ Command for regeneration of Python code from proto3 message definition file (onl
|
|||||||
|
|
||||||
protoc --python_out=protobuf_generated_python google_auth.proto
|
protoc --python_out=protobuf_generated_python google_auth.proto
|
||||||
|
|
||||||
The generated protobuf Python code was generated by protoc 21.8 (https://github.com/protocolbuffers/protobuf/releases/tag/v21.8).
|
The generated protobuf Python code was generated by protoc 21.9 (https://github.com/protocolbuffers/protobuf/releases/tag/v21.9).
|
||||||
|
|
||||||
## References
|
## References
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user