Skip to content

Latest commit

 

History

History
23 lines (19 loc) · 978 Bytes

README.md

File metadata and controls

23 lines (19 loc) · 978 Bytes

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