Network Working Group C. Newman
Request for Comments: 2444 Innosoft
Updates: 2222 October 1998
Category: Standards Track
The One-Time-Password SASL Mechanism
1. How to Read This Document
The key words "MUST", "MUST NOT", "REQUIRED", "SHOULD", "SHOULD NOT", "RECOMMENDED" and "MAY" in this document are to be interpreted as defined in "Key words for use in RFCs to Indicate Requirement Levels" [KEYWORDS].
2. Intended Use
The OTP SASL mechanism replaces the SKEY SASL mechanism [SASL]. OTP is a good choice for usage scenarios where the client is untrusted (e.g., a kiosk client), as a one-time password will only give the client a single opportunity to act on behalf of the user. OTP is also a good choice for situations where interactive logins are permitted to the server, as a compromised OTP authentication database is only subject to dictionary attacks, unlike authentication databases for other simple mechanisms such as CRAM-MD5 [CRAM-MD5]. It is important to note that each use of the OTP mechanism causes the authentication database entry for a user to be updated.
Newman Standards Track [Page 1]
RFC 2444 OTP SASL Mechanism October 1998
This SASL mechanism provides a formal way to integrate OTP into SASL-enabled protocols including IMAP [IMAP4], ACAP [ACAP], POP3 [POP-AUTH] and LDAPv3 [LDAPv3].
3. Profiling OTP for SASL
OTP [OTP] and OTP extended responses [OTP-EXT] offer a number of options. However, for authentication to succeed, the client and server need compatible option sets. This specification defines a single SASL mechanism: OTP. The following rules apply to this mechanism:
4. OTP Authentication Mechanism
The mechanism does not provide any security layer.
Newman Standards Track [Page 2]
RFC 2444 OTP SASL Mechanism October 1998
(2) An authentication identity. The identity whose pass phrase will be used. This field may be up to 255 octets. US-ASCII printable characters are preferred, although UTF-8 [UTF-8] printable characters are permitted to support international names. Use of character sets other than US-ASCII and UTF-8 is forbidden.
5. Examples
In these example, "C:" represents lines sent from the client to the server and "S:" represents lines sent from the server to the client. The user name is "tim" and no authorization identity is provided. The "<NUL>" below represents an ASCII NUL octet.
Newman Standards Track [Page 3]
RFC 2444 OTP SASL Mechanism October 1998
Here is the same example using the six-words response:
6. Security Considerations
This specification introduces no security considerations beyond those those described in SASL [SASL], OTP [OTP] and OTP extended responses [OTP-EXT]. A brief summary of these considerations follows:
Newman Standards Track [Page 4]
RFC 2444 OTP SASL Mechanism October 1998
The server authentication database necessary for use with OTP need not be plaintext-equivalent.
7. Multinational Considerations
As remote access is a crucial service, users are encouraged to restrict user names and pass phrases to the US-ASCII character set. However, if characters outside the US-ASCII chracter set are used in user names and pass phrases, then they are interpreted according to UTF-8 [UTF-8].
8. IANA Considerations
Here is the registration template for the OTP SASL mechanism:
9. References
[ACAP] Newman, C. and J. Myers, "ACAP -- Application
Newman Standards Track [Page 5]
RFC 2444 OTP SASL Mechanism October 1998
[LDAPv3] Wahl, M., Howes, T. and S. Kille, "Lightweight Directory
10. Author's Address
Chris Newman Innosoft International, Inc. 1050 Lakes Drive West Covina, CA 91790 USA
Newman Standards Track [Page 6]
RFC 2444 OTP SASL Mechanism October 1998 11. Full Copyright StatementCopyright (C) The Internet Society (1998). All Rights Reserved.