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!
Click to show internal directories.
Click to hide internal directories.