Skip to main content

A backup decryptor for the andOTP Android app

Project description

andOTP-decrypt

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

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for andotp-decrypt, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size andotp_decrypt-0.1.1-py3-none-any.whl (6.0 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size andotp-decrypt-0.1.1.tar.gz (4.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page