Skip to content
This repository has been archived by the owner on Aug 5, 2023. It is now read-only.

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

License

Notifications You must be signed in to change notification settings

adiov/authplus-to-andotp-magiculator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Archive notice: This repository is archived because andOTP, while being a great app, was similarly abandoned by its maintainers. This is the reality of unsupported single-contributor open source software; people have their own lives and families and eventually some side projects end up beign de-prioritised. You're welcome to still use andOTP and use this script to help you, but the script no longer needs any future updates.

My advice? Start enabling passkeys wherever you can. For everything else, switch to a paid or a free cross-platform password manager with OTP support.

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.

Topics

Resources

License

Stars

Watchers

Forks