Skip to content

Convert and migrate from Authenticator Plus backup database into andOTP backup database.

License

Notifications You must be signed in to change notification settings

VinceHillier/authplus-to-andotp-magiculator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Authenticator Plus to andOTP Magiculator

The Authenticator Plus app seems to have been abandoned by the developer. andOTP is a decent, open source, alternative.

This converts the Authenticator Plus backup database into andOTP-compatible backup database that can be directly important into andOTP.

Installation

With Docker

Install Docker.

Without Docker

The only dependency is pysqlcipher3. On my machine, I installed it like this:

$ sudo apt install -y libsqlcipher-dev
$ git clone https://github.com/rigglemania/pysqlcipher3
$ cd pysqlcipher3
$ python3 setup.py build
$ sudo python3 setup.py install

Usage

With Docker:

$ git clone https://github.com/adiov/authplus-to-andotp-magiculator.git
$ cd authplus-to-andotp-magiculator
$ docker run -v ${PWD}:/authplus-to-andotp -it adiov/authplus-to-andotp-magiculator --database authplus.db
Authenticator Plus master password:
andotp.json is now ready.

Alternatively, you can also build the image locally.

$ git clone https://github.com/adiov/authplus-to-andotp-magiculator.git
$ cd authplus-to-andotp-magiculator
$ docker build -t authplus-to-andotp-magiculator .
$ docker run -v ${PWD}:/authplus-to-andotp -it authplus-to-andotp-magiculator --database authplus.db

Without Docker:

$ ./authplus-to-andotp.py --database authplus.db
Authenticator Plus master password:
andotp.json is now ready.

Notes

  • This will decrypt the Authenticator Plus backup database and output the andOTP backup database in decrypted plain-text. Be careful how you handle that.
  • This attempts to preserve the entries' icons/thumbnails by using the Issuer field as thumbnail, which doesn't have a 100% success rate, but should work most of the time.
  • As far as I can tell, Authenticator Plus doesn't handle checksum algorithms other than SHA-1 or OTP digits other than 6. The output file will use those values by default. The only exception seems to be Battle.net TOTP with which Authenticator Plus uses 8 digits; this script attempts to preserve this info and pass it to andOTP.

About

Convert and migrate from Authenticator Plus backup database into andOTP backup database.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 76.0%
  • Dockerfile 24.0%