Skip to content

benoitvidis/otpauth2oath

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

otpauth2oath

Binds a FreeOTP+ backup to oathtool.

Usage

From Docker

docker run -ti -v /path/to/freeotp-backup.txt:/opt/otp/freeotp-backup.txt vidiben/otpauth2oath

Manual

Prerequisites

Install

git clone https://github.com/benoitvidis/otpauth2oath.git
cd otpauth2oath
npm install

Run

  1. Export a backup from FreeOTP+ in URI format
  2. node path/to/otpauth2oath/index.js [/path/to/freeotp-backup.txt]. The script will by default look for a freeotp-backup.txt file in the repository directory.

Example usage with nvm:

alias fotp='nvm run 12 /path/to/otpauth2oath/index.js'

About

Binds an FreeOTP+ backup to oathtool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published