1 unstable release
0.1.0 | Aug 1, 2023 |
---|
#20 in #migrate
65KB
190 lines
One Time Password Tool
Simple tool to help you migrate your OTP secrets from Google Authenticator to another app. It supports the following formats:
- QR code
- Link (
otpauth-migration://
)
Install
To install CLI
cargo install otptool
To install as a library:
cargo add otptool
Usage
otptool --image ./path/to/qr.jpg
> name: SVC#1, issuer: -, secret: XXXXXXXXXXXXXX
> name: d@emailsvc.com, issuer: BLA, secret: XXXXXXXXXXXXXX
> name: SVC#2, issuer: Atlassian, secret: XXXXXXXXXXXXXX
otptool --link otpauth-migration://...
Thx
Dependencies
~9–12MB
~182K SLoC