datatracker.ietf.org
Sign in
Version 5.7.4, 2014-11-12
Report a bug

End-to-End Object Encryption and Signatures for the Extensible Messaging and Presence Protocol (XMPP)
draft-miller-xmpp-e2e-07

Document type: Active Internet-Draft (individual)
Document stream: No stream defined
Last updated: 2014-07-04
Intended RFC status: Unknown
Other versions: plain text, xml, pdf, html

Stream State:No stream defined
Document shepherd: No shepherd assigned

IESG State: I-D Exists
Responsible AD: (None)
Send notices to: No addresses provided

XMPP                                                           M. Miller
Internet-Draft                                       Cisco Systems, Inc.
Intended status: Standards Track                              C. Wallace
Expires: January 5, 2015                        Red Hound Software, Inc.
                                                            July 4, 2014

End-to-End Object Encryption and Signatures for the Extensible Messaging
                      and Presence Protocol (XMPP)
                        draft-miller-xmpp-e2e-07

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 January 5, 2015.

Copyright Notice

   Copyright (c) 2014 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

Miller & Wallace         Expires January 5, 2015                [Page 1]
Internet-Draft                  XMPP E2E                       July 2014

   publication of this document.  Please review these documents
   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 . . . . . . . . . . . . . . . . . . . . . . . . .   4
   3.  Changes to existing clients . . . . . . . . . . . . . . . . .   4
     3.1.  End-point procedures  . . . . . . . . . . . . . . . . . .   4
     3.2.  End-point state . . . . . . . . . . . . . . . . . . . . .   5
   4.  Key distribution  . . . . . . . . . . . . . . . . . . . . . .   6
   5.  Key table . . . . . . . . . . . . . . . . . . . . . . . . . .   8
   6.  Encryption  . . . . . . . . . . . . . . . . . . . . . . . . .  10
     6.1.  Determining Support . . . . . . . . . . . . . . . . . . .  10
     6.2.  Encrypting XMPP Stanzas . . . . . . . . . . . . . . . . .  10
       6.2.1.  Prerequisites . . . . . . . . . . . . . . . . . . . .  10
       6.2.2.  Process . . . . . . . . . . . . . . . . . . . . . . .  11
     6.3.  Decrypting XMPP Stanzas . . . . . . . . . . . . . . . . .  13
       6.3.1.  Protocol Not Understood . . . . . . . . . . . . . . .  13
       6.3.2.  Process . . . . . . . . . . . . . . . . . . . . . . .  13
       6.3.3.  Insufficient Information  . . . . . . . . . . . . . .  15
       6.3.4.  Failed Decryption . . . . . . . . . . . . . . . . . .  15
       6.3.5.  Timestamp Not Acceptable  . . . . . . . . . . . . . .  16
       6.3.6.  Successful Decryption . . . . . . . . . . . . . . . .  17
     6.4.  Example - Securing a Message  . . . . . . . . . . . . . .  17
   7.  Signatures  . . . . . . . . . . . . . . . . . . . . . . . . .  21
     7.1.  Determining Support . . . . . . . . . . . . . . . . . . .  21
     7.2.  Signing XMPP Stanzas  . . . . . . . . . . . . . . . . . .  22
       7.2.1.  Process . . . . . . . . . . . . . . . . . . . . . . .  22
     7.3.  Verifying Signed XMPP Stanzas . . . . . . . . . . . . . .  24
       7.3.1.  Protocol Not Understood . . . . . . . . . . . . . . .  24
       7.3.2.  Process . . . . . . . . . . . . . . . . . . . . . . .  24
       7.3.3.  Insufficient Information  . . . . . . . . . . . . . .  25
       7.3.4.  Failed Verification . . . . . . . . . . . . . . . . .  26

[include full document text]