Skip to main content

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

Metadata

Release files for andotp-decrypt 0.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for andotp-decrypt 0.1.7
File Size Uploaded Provenance Actions
andotp-decrypt-0.1.7.tar.gz 5.6 kB Without provenance Details for andotp-decrypt-0.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for andotp-decrypt 0.1.7
File Interpreter ABI Platform Actions
andotp_decrypt-0.1.7-py3-none-any.whl Python 3 none any Details for andotp_decrypt-0.1.7-py3-none-any.whl

Total release size: 12.2 kB

Release files / andotp-decrypt-0.1.7.tar.gz

Download URL andotp-decrypt-0.1.7.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
c08b427e70dd28fe3369feebc90774a22809834ac83fe8cccd506334ff9b2976
BLAKE2b-256 checksum
How to use checksums
acb8cdf134fce456a6fff0e74b6c45505a89bbb243b1560774fbb1611802ef98
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.8.6 Linux/5.8.0-45-lowlatency

Release files / andotp_decrypt-0.1.7-py3-none-any.whl

Download URL andotp_decrypt-0.1.7-py3-none-any.whl
Size 6.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
98c381d631eaa596ef9667ae40772ef494307b6f573649b60396e872ce3bc174
BLAKE2b-256 checksum
How to use checksums
b625fd174d0bda80dbfcc19baa3a5ff0db67f798f7e01faff25e9e3ba130db7e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.1.4 CPython/3.8.6 Linux/5.8.0-45-lowlatency

Security for andotp-decrypt 0.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page