otpauth-recovery

0.0.3 • Public • Published

otpauth-recovery

Generate QR codes for otpauth URLs.

Installation

    npm install -g otpauth-recovery

Usage

Create a json file containing an array of one or more entries, e.g.,

    [ 
      { "url": "otpauth://totp/issuer:accountName?secret=ABCDEFGHIJKLMNOPQRSTUVXYZ234567" }
    ]

The url property of each entry must conform to the OTPauth URI format.

Now run:

    % otpauth-recovery input.json > /Volumes/NO\ Name/output.html

The output file should be saved to a "secure USB" stick for initializing your OTP device and providing a recovery mechanism.

The output html file contains a QR code that corresponds to the url property, e.g.,

The ideal set-up is to then store the OTP credentials on a hardware device (e.g., a YubiKey 4 or YubiKey 4C, using a program (e.g., Yubico Authenticator).

Readme

Keywords

none

Package Sidebar

Install

npm i otpauth-recovery

Weekly Downloads

0

Version

0.0.3

License

MPL-2.0

Last publish

Collaborators

  • brave.com