XMPP M. Miller
Internet-Draft Cisco Systems, Inc.
Intended status: Standards Track June 13, 2013
Expires: December 15, 2013
End-to-End Object Encryption and Signatures for the Extensible Messaging
and Presence Protocol (XMPP)
draft-miller-xmpp-e2e-06
Abstract
This document defines two methods for securing objects (often
referred to as stanzas) for the Extensible Messaging and Presence
Protocol (XMPP), which allows for efficient asynchronous
communication between two entities, each with might have multiple
devices operating simultaneously. One is a method to encrypt stanzas
to provide confidentiality protection; another is a method to sign
stanzas to provide authentication and integrity protection. This
document also defines a related protocol for entities to request the
ephemeral session keys in use.
Status of This Memo
This Internet-Draft is submitted in full conformance with the
provisions of BCP 78 and BCP 79.
Internet-Drafts are working documents of the Internet Engineering
Task Force (IETF). Note that other groups may also distribute
working documents as Internet-Drafts. The list of current Internet-
Drafts is at http://datatracker.ietf.org/drafts/current/.
Internet-Drafts are draft documents valid for a maximum of six months
and may be updated, replaced, or obsoleted by other documents at any
time. It is inappropriate to use Internet-Drafts as reference
material or to cite them other than as "work in progress."
This Internet-Draft will expire on December 15, 2013.
Copyright Notice
Copyright (c) 2013 IETF Trust and the persons identified as the
document authors. All rights reserved.
This document is subject to BCP 78 and the IETF Trust's Legal
Provisions Relating to IETF Documents
(http://trustee.ietf.org/license-info) in effect on the date of
publication of this document. Please review these documents
Miller Expires December 15, 2013 [Page 1]
Internet-Draft XMPP E2E June 2013
carefully, as they describe your rights and restrictions with respect
to this document. Code Components extracted from this document must
include Simplified BSD License text as described in Section 4.e of
the Trust Legal Provisions and are provided without warranty as
described in the Simplified BSD License.
Table of Contents
1. Introduction . . . . . . . . . . . . . . . . . . . . . . . . 3
2. Terminology . . . . . . . . . . . . . . . . . . . . . . . . . 3
3. Encryption . . . . . . . . . . . . . . . . . . . . . . . . . 3
3.1. Determining Support . . . . . . . . . . . . . . . . . . . 4
3.2. Encrypting XMPP Stanzas . . . . . . . . . . . . . . . . . 4
3.2.1. Prerequisites . . . . . . . . . . . . . . . . . . . . 4
3.2.2. Process . . . . . . . . . . . . . . . . . . . . . . . 5
3.3. Decrypting XMPP Stanzas . . . . . . . . . . . . . . . . . 7
3.3.1. Protocol Not Understood . . . . . . . . . . . . . . . 7
3.3.2. Process . . . . . . . . . . . . . . . . . . . . . . . 7
3.3.3. Insufficient Information . . . . . . . . . . . . . . 8
3.3.4. Failed Decryption . . . . . . . . . . . . . . . . . . 9
3.3.5. Timestamp Not Acceptable . . . . . . . . . . . . . . 10
3.3.6. Successful Decryption . . . . . . . . . . . . . . . . 11
3.4. Example - Securing a Message . . . . . . . . . . . . . . 11
4. Signatures . . . . . . . . . . . . . . . . . . . . . . . . . 14
4.1. Determining Support . . . . . . . . . . . . . . . . . . . 14
4.2. Signing XMPP Stanzas . . . . . . . . . . . . . . . . . . 15
4.2.1. Process . . . . . . . . . . . . . . . . . . . . . . . 15
4.3. Verifying Signed XMPP Stanzas . . . . . . . . . . . . . . 17
4.3.1. Protocol Not Understood . . . . . . . . . . . . . . . 17
4.3.2. Process . . . . . . . . . . . . . . . . . . . . . . . 17
4.3.3. Insufficient Information . . . . . . . . . . . . . . 18
4.3.4. Failed Verification . . . . . . . . . . . . . . . . . 18
4.3.5. Timestamp Not Acceptable . . . . . . . . . . . . . . 19
4.3.6. Successful Verification . . . . . . . . . . . . . . . 20
4.4. Example - Signing a Message . . . . . . . . . . . . . . . 20
5. Requesting Session Keys . . . . . . . . . . . . . . . . . . . 23
5.1. Request Process . . . . . . . . . . . . . . . . . . . . . 23
5.2. Accept Process . . . . . . . . . . . . . . . . . . . . . 24
5.3. Error Conditions . . . . . . . . . . . . . . . . . . . . 25