Binds a FreeOTP+ backup to oathtool.
docker run -ti -v /path/to/freeotp-backup.txt:/opt/otp/freeotp-backup.txt vidiben/otpauth2oath
- Node.js 12+
- oathtool
git clone https://github.com/benoitvidis/otpauth2oath.git
cd otpauth2oath
npm install
- Export a backup from FreeOTP+ in URI format
node path/to/otpauth2oath/index.js [/path/to/freeotp-backup.txt]
. The script will by default look for afreeotp-backup.txt
file in the repository directory.
Example usage with nvm:
alias fotp='nvm run 12 /path/to/otpauth2oath/index.js'