Skip to content

CooperRS/decrypt-otpauth-files

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
December 24, 2017 01:18
December 24, 2017 01:18
November 9, 2019 17:41
November 9, 2019 17:41
November 9, 2019 17:42
December 23, 2017 22:41

decrypt-otpauth-files

This tool allows for decrypting the encrypted backups/account files created by OTP Auth for iOS.

If you find problems with the file format (in particular security related issues), do not hesitate and file an issue.

Requirements

Usage

  1. Clone repository
git clone https://github.com/CooperRS/decrypt-otpauth-files.git
cd decrypt-otpauth-files
  1. Install dependencies
pipenv install
  1. Decrypt your OTP Auth file
# Decrypt a full backup file
pipenv run python decrypt_otpauth.py decrypt_backup --encrypted-otpauth-backup <path to your OTP Auth backup>
# Decrypt a single account export
pipenv run python decrypt_otpauth.py decrypt_account --encrypted-otpauth-account <path to your OTP Auth account>

Demo

The project contains two OTP Auth exports for demo purposes:

  • backup.otpauthdb: A complete OTP Auth backup
  • account.otpauth: One account exported by OTP Auth

The password for both files is abc123.

example gif

Credits

Inspired by ewdurbin and his evacuate_2STP repo.