example

command
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2023 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Overview

Program codes generates a sequence of 20 OTP codes from a --secret. This code was written to investigate issue #1.

The --then argument can be used to regenerate codes for some time period. In the case of issue #1, I had copied out of Google Authenticator a set of codes for this same secret at the times listed in that issue and they didn't all match.

Program main is an HTML web server that renders a Google Authenticator enrollment QR code on a command line modifiable address.

The purpose of this program is to demonstrate how to use the otp package. It is not recommended that you use this program without modification!

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL