GENOTPURL(1)
okay so bestie, this is GENOTPURL(1) from the General Commands Manual β the page for a tiny utility that makes Google Authenticator URLs. Itβs giving small-command-big-secure-token-energy, fr fr. β¨
π NAME π
genotpurl β Generate Google Authenticator URLs π
π¦ SYNOPSIS π¦
genotpurl -I issuer -L label [-k key] [-K keylen] [-i] [-c counter]
[-d num-digits] [-p period]
β¨ DESCRIPTION β¨
genotpurl is a utility for generating URLs for the Google Authenticator cell phone app, which generates one-time passwords compatible with the HOTP/OATH algorithm defined by RFC 4226. When an URL is processed by the Google Authenticator app, the corresponding secure token is automatically installed into the app. Literally magic, but make it RFC. π₯
The issuer and label are required; these strings are displayed in the app along with the current token value. Main character energy for your token labels, periodt. π
The key is the tokenβs binary secret key and is specified as a hexadecimal string. If no key is given, genotpurl generates a random key and prints it to standard error; this key must then be installed into the server application that verifies the one-time passwords and associated with the user who will be using the secure token. Do not lose that key, bestie. π
The -i, -c, -d, and -p flags allow creation of non-standard tokens, but these may not be supported by Google Authenticator. So like, cute experimental vibes, but check your app first. π
πΈ OPTIONS πΈ
-cβ Specify the starting target counter value for the one-time password generation. This flag is incompatible with the-tflag.-dβ Specify the number of digits in the one-time password. The default value is six.-hβ Print the usage message and exit successfully.-Iβ Specify token issuer (e.g.,"Example Industries, Inc.").-iβ Create an interval-based token instead of a time-based token.-kβ Specify the token binary secret key as a hexadecimal string. If no key is given,genotpurlgenerates a random key and prints it to standard output.-Kβ Specify generated key length. Ignored if-kis also specified.-Lβ Specify token label (e.g.,"user@example.com").-pβ Specify the length of a single time interval in seconds. The default value is 30 seconds. Ignored if-iis given.
π EXAMPLES π
To generate a new secure token and generate the corresponding QR code:
genotpurl -I "Acme, Inc" -L user@acme.com | qrencode -s 6 -o qrcode.png
Obsessed with a one-liner that pipes straight into qrencode. π§
π SEE ALSO π
qrencode(1)mod_authn_otpβ Apache module for one-time password authentication,https://github.com/archiecobbs/mod-authn-otp.- Google Authenticator (iOS) β
https://itunes.apple.com/us/app/google-authenticator/id388497605?mt=8. - Google Authenticator (Android) β
https://play.google.com/store/apps/details?id=com.google.android.apps.authenticator2&hl=en_US.
π AUTHOR π
Archie L. Cobbs <archie.cobbs@gmail.com>
This page is from Debian, dated July 21, 2018, and itβs GENOTPURL(1). Bye bestie β go make some secure tokens and keep that key safe! π«Άβ¨π
π¦ where this page comes from
- opensuse-leap 16.0: apache2-mod_authn_otp 1.1.11-bp160.1.12 Β· Apache-2.0
- opensuse-leap 16.0: apache2-mod_authn_otp 1.1.11-bp160.1.12 Β· Apache-2.0
- opensuse-leap 16.0: apache2-mod_authn_otp 1.1.11-bp160.1.12 Β· Apache-2.0
- opensuse-leap 16.0: apache2-mod_authn_otp 1.1.11-bp160.1.12 Β· Apache-2.0
- Copyright 2009 Archie L. Cobbs <archie.cobbs@gmail.com>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms