A backup decryptor for the andOTP Android app
Project description
andOTP-decrypt
A backup decryptor for the andOTP Android app.
The tools in this package support the password based backup files of andOTP in both the current (0.6.3) old (0.6.2 and before) format.
Tools:
andotp_decrypt.py
: A decryption tool for password-secured backups of the andOTP two-factor android app.- Output is written to stdout
generate_qr_codes.py
: A tool to generate new, scanable QR code images for every entry of a dump- Images are saved to the current working directory
generate_code.py
: A tool to generate a TOTP token for an account in the backup
Installation
pip install andotp-decrypt
The tools will be installed as:
andotp_decrypt
andotp_gencode
andotp_qrcode
Development Setup
Poetry install (recommended)
- Install poetry
pip install poetry
(or use the recommended way from the website)
- Install everything else
poetry install
- Launch the virtualenv
poetry shell
Pip install
sudo pip3 install -r requirements.txt
On debian/ubuntu this should work:
sudo apt-get install python3-pycryptodome python3-pyotp python3-pyqrcode python3-pillow python3-docopt
Usage
- Dump JSON to the console:
./andotp_decrypt.py /path/to/otp_accounts.json.aes
- Generate new QR codes:
./generate_qr_codes.py /path/to/otp_accounts.json.aes
- Generate a TOTP code for your google account:
./generate_code.py /path/to/otp_accounts.json.aes google
Thanks
Thank you for contributing!
- @alkuzad
- @ant9000
- @anthonycicc
- @erik-h
- @romed
- @rubenvdham
- @wornt
- @naums
- @marcopaganini
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
andotp-decrypt-0.1.7.tar.gz
(5.6 kB
view details)
Built Distribution
File details
Details for the file andotp-decrypt-0.1.7.tar.gz
.
File metadata
- Download URL: andotp-decrypt-0.1.7.tar.gz
- Upload date:
- Size: 5.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.6 Linux/5.8.0-45-lowlatency
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c08b427e70dd28fe3369feebc90774a22809834ac83fe8cccd506334ff9b2976 |
|
MD5 | 2b35a5af3a316f523b3259c2f365a1d8 |
|
BLAKE2b-256 | acb8cdf134fce456a6fff0e74b6c45505a89bbb243b1560774fbb1611802ef98 |
File details
Details for the file andotp_decrypt-0.1.7-py3-none-any.whl
.
File metadata
- Download URL: andotp_decrypt-0.1.7-py3-none-any.whl
- Upload date:
- Size: 6.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.4 CPython/3.8.6 Linux/5.8.0-45-lowlatency
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98c381d631eaa596ef9667ae40772ef494307b6f573649b60396e872ce3bc174 |
|
MD5 | f65f165773f567cbd2a3bfe38f1640ad |
|
BLAKE2b-256 | b625fd174d0bda80dbfcc19baa3a5ff0db67f798f7e01faff25e9e3ba130db7e |