commit fc447ca7ce1a15a6d454f83fb334b3257c881109 from: Omar Polo date: Mon Jan 23 11:02:31 2023 UTC totp.1: make clear the format of the secret commit - 847f206c43d0f251c78dc7a3682047a640dd16a9 commit + fc447ca7ce1a15a6d454f83fb334b3257c881109 blob - bd76790a065310929666c45bb458a7987ca1cacd blob + e24409d03588d456b1e69e8616692a5d9b20bc62 --- totp.1 +++ totp.1 @@ -11,7 +11,7 @@ .\" WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN .\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF .\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -.Dd October 20, 2022 +.Dd January 23, 2023 .Dt TOTP 1 .Os .Sh NAME @@ -27,7 +27,10 @@ is a time-based one time password generator It reads a secret from standard input and prints the generated password, a numeric code, to standard output. The secret is usually provided by the authenticator -.Pq for e.g.\& a website . +.Pq for e.g.\& a website +and is either a base32-encoded string or a +.Sq otpauth:// +URL. Blanks in the secret string are ignored, but only one line is read. .Pp .Nm