Network Working Group J. Altman
Request for Comments: 2948 Columbia University
Category: Standards Track September 2000
Telnet Encryption: DES3 64 bit Output Feedback
1. Command Names and Codes
Encryption Type
2. Command Meanings
IAC SB ENCRYPT IS DES3_OFB64 OFB64_IV <initial vector> IAC SE
Altman Standards Track [Page 1]
RFC 2948 DES3 64 bit Output Feedback September 2000
The sender of these commands either accepts or rejects the initial vector received in a OFB64_IV command. Only the side of the connection that is DO ENCRYPT may send the OFB64_IV_OK and OFB64_IV_BAD commands. The OFB64_IV_OK command MUST be sent for backwards compatibility with existing implementations; there really isn't any reason why a sender would need to send the OFB64_IV_BAD command except in the case of a protocol violation where the IV sent was not of the correct length (i.e., 8 bytes).
3. Implementation Rules
Once a OFB64_IV_OK command has been received, the WILL ENCRYPT side of the connection should do keyid negotiation using the ENC_KEYID command. Once the keyid negotiation has successfully identified a common keyid, then START and END commands may be sent by the side of the connection that is WILL ENCRYPT. Data will be encrypted using the DES3 64 bit Output Feedback algorithm.
Altman Standards Track [Page 2]
RFC 2948 DES3 64 bit Output Feedback September 2000 4. AlgorithmDES3 64 bit Output Feedback
key1 key2 key3
| | |
v v v
+-------+ +-------+ +-------+
+->| DES-e |->| DES-d |->| DES-e |-- +
| +-------+ +-------+ +-------+ |
+------------------------------------+
v
INPUT ------------------------------------->(+) ----> DATA
Given:
5. Integration with the AUTHENTICATION telnet option
As noted in the telnet ENCRYPTION option specifications, a keyid value of zero indicates the default encryption key, as might be derived from the telnet AUTHENTICATION option. If the default encryption key negotiated as a result of the telnet AUTHENTICATION option contains less than 16 bytes, then the DES3_OFB64 option must not be offered or used as a valid telnet encryption option.
Altman Standards Track [Page 3]
RFC 2948 DES3 64 bit Output Feedback September 2000
. data sent from the client is encrypted with key2, decrypted with
Altman Standards Track [Page 4]
RFC 2948 DES3 64 bit Output Feedback September 2000 6. Security ConsiderationsEncryption using Output Feedback does not ensure data integrity; an active attacker may be able to substitute text, if he can predict the clear-text that was being transmitted.
7. Acknowledgments
This document was based on the "Telnet Encryption: DES 64 bit Output Feedback" document originally written by Dave Borman of Cray Research with the assistance of the IETF Telnet Working Group.
Altman Standards Track [Page 5]
RFC 2948 DES3 64 bit Output Feedback September 2000
Full Copyright Statement