OTPW
OTPW is a one-time password system developed for authentication in Unix-like operating systems by Markus Kuhn.[src] A user's real password is not directly transmitted across the network.[src] Rather, a series of one-time passwords is created from a short set of characters (constant secret) and a set of one-time tokens.[src] As each single-use password can only be used once, passwords intercepted by a password sniffer or key logger are not useful to an attacker.[src] OTPW is supported in Unix and Linux (via pluggable authentication modules), OpenBSD, NetBSD, and FreeBSD, and a generic open source implementation can be used to enable its use on other systems.[src] OTPW, like the other one-time password systems, is sensitive to a man in the middle attack if used by itself.[src] This could for example be solved by putting SSL, SPKM or similar security protocol "under it" which authenticates the server and gives point-to-point security between the client and server.[src]
OTPW is a one-time password system developed for authentication in Unix-like operating systems by Markus Kuhn.[src] A user's real password is not directly transmitted across the network.[src] Rather, a series of one-time passwords is created from a short set of characters (constant secret) and a set of one-time tokens.[src] As each single-use password can only be used once, passwords intercepted by a password sniffer or key logger are not useful to an attacker.[src] OTPW is supported in Unix and Linux (via pluggable authentication modules), OpenBSD, NetBSD, and FreeBSD, and a generic open source implementation can be used to enable its use on other systems.[src] OTPW, like the other one-time password systems, is sensitive to a man in the middle attack if used by itself.[src] This could for example be solved by putting SSL, SPKM or similar security protocol "under it" which authenticates the server and gives point-to-point security between the client and server.[src] In many fonts, the characters 0 and O or 1 and l and I are difficult to distinguish, therefore the modified base64 encoding replaces the three characters 01l by corresponding :, = and %.[src] If for instance a zero is confused with a capital O by the user, the password verification routine will automatically correct for this.[src] S/KEY uses sequences of short English words as passwords.[src] OTPW uses by default a base64 encoding instead, because that allows more passwords to be printed on a single page, with the same password entropy.[src] In addition, an average human spy needs over 30 seconds to write a 12-character random string into short-term memory, which provides a good protection against brief looks that an attacker might have on a password list.[src] Lists of short words on the other hand are much faster to memorize.[src] OTPW can handle arbitrary password generation algorithms, as long as the length of the password is fixed.[src] In the current version, the otpw-gen program can generate both base-64 encoded (option -p) and 4-letter-word encoded (option -p1) passwords with a user-specified entropy (option -e).[src] The prefix password ensures that neither stealing the password list nor eavesdropping the line alone can provide unauthorized access.[src] Admittedly, the security obtained by OTPW is not comparable with that of a challenge–response system in which the user has a PIN-protected special calculator that generates the response.[src] On the other hand, a piece of paper is much more portable, much more robust, and much cheaper than a special calculator.[src] OTPW was designed for the large user base, for which an extra battery-powered device is inconvenient or not cost effective and who therefore still use normal Unix passwords everywhere.[src] In contrast to the suggestion made in RFC 1938, OTPW does not lock more than one one-time password at a time.[src] If it did this, an attacker could easily exhaust its list of unlocked passwords and force it to either not login at all or use the normal Unix login password.[src] Therefore, OTPW locks only one single password and for all further logins a triple-challenge is issued.[src] If more than 100 unused passwords remain available, then there are over a million different challenges and an attacker has very little chance to perform a successful race attack while the authorized user finishes password entry.[src] Password 022/000/004: geHeimQ=XK4I7wIZdBbqyHA5z9japt[src]
31 sentences · 31 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"OTPW." encyclopegia.org, 2024, https://encyclopegia.org/wiki/otpw. Accessed 01 December 2026.
Chicago
"OTPW." encyclopegia.org. Accessed December 1, 2026. https://encyclopegia.org/wiki/otpw.
APA
encyclopegia.org. (2024). OTPW. Retrieved December 1, 2026, from https://encyclopegia.org/wiki/otpw
Accessed December 1, 2026 · CC BY-SA 4.0 · citation page · JSON