/andOTP-decrypt

Primary LanguagePythonMIT LicenseMIT

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

Requirements:

  • andotp_decrypt.py: Python 3 and pycrypto
  • generate_qr_codes.py + generate_code.py: pyqrcode and pyotp

On debian/ubuntu this should work:

  • sudo apt-get install python3-crypto python3-pyotp python3-qrcode

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