OTP(1)

πŸ‘‘ OTP(1) β€” General Commands Manual energy ✨

okay bestie, so this is the manual for otpprint, which lives in the OTP(1) corner of the man-page universe πŸ’–


🌸 NAME 🌸

otpprint β€” print lists of one-time passwords. yes, that's the whole job. it prints OTPs. she's simple, she's iconic, she does one thing πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

otp [-n count] [-e] [-h] [-f algorithm] sequence-number seed

like. look at her. a whole little command. πŸŽ€


πŸ’œ DESCRIPTION πŸ’œ

so the otpprint program prints lists of OTPs. that's it, that's the vibe.

you'd use this when you need to print out a series of one-time passwords. you gotta hand over the sequence-number and the seed as arguments, and then the program is gonna prompt you for your pass-phrase β€” so have that ready, bestie, don't get caught lacking 😭

there are several different print formats, because variety is the spice of life ✨ the default is to print each password with six short english words. six! short! english! words! that's the default. periodt.

and now, the options πŸ‘‘

✨ OPTIONS ✨

  • -e β€” print the passwords in "extended" format. in this format a prefix that says hex: or word: gets included. so like, she tells you what she's giving you before she gives it to you. communication queen 🫢
  • -f β€” use this to choose a different algorithm from the default md5. pick any of: md4, md5, and sha. three choices. pick your fighter ⭐
  • -h β€” print the passwords in hex. hex girl era πŸ’š
  • -n β€” print count one-time passwords, starting at sequence-number and going backwards. the default is 10. so yes she counts down, she's dramatic like that πŸ’€
ngl, the default of 10 is doing a lot of heavy lifting here β€” if you don't pass -n you're getting ten of these whether you planned for it or not πŸ™ˆ

🌈 SEE ALSO 🌈

otp(1) β€” go read that one too, bestie, they're a matched set πŸŽ€


and that's the whole page! this one's from the KTH-KRB girlies, dated November 17, 1996 β€” vintage, lowkey a classic, we love a retro moment πŸ’–βœ¨πŸ¦‹

πŸ“¦ where this page comes from