[kitten] New enctypes for just RFC4121

Nico Williams <nico@cryptonector.com> Thu, 02 October 2014 23:40 UTC

Return-Path: <nico@cryptonector.com>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 422031ACF9C for <kitten@ietfa.amsl.com>; Thu, 2 Oct 2014 16:40:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.666
X-Spam-Level:
X-Spam-Status: No, score=-1.666 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, IP_NOT_FRIENDLY=0.334, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id PetM0T9va5z1 for <kitten@ietfa.amsl.com>; Thu, 2 Oct 2014 16:40:15 -0700 (PDT)
Received: from homiemail-a27.g.dreamhost.com (sub4.mail.dreamhost.com [69.163.253.135]) by ietfa.amsl.com (Postfix) with ESMTP id ACF031A87DE for <kitten@ietf.org>; Thu, 2 Oct 2014 16:40:15 -0700 (PDT)
Received: from homiemail-a27.g.dreamhost.com (localhost [127.0.0.1]) by homiemail-a27.g.dreamhost.com (Postfix) with ESMTP id 2FBDA59805F for <kitten@ietf.org>; Thu, 2 Oct 2014 16:40:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=cryptonector.com; h=date :from:to:subject:message-id:mime-version:content-type; s= cryptonector.com; bh=dDC23m6WHrcGCd/YqOj6w0vdCwM=; b=RocM14SE4I6 buQFtB1vnO13mEn/E3kKdTCsga7XsGnq5y6H8hmhMBYcYf86Mau41/tmnXDeBRPA +HQOQUzGRSDs+3srkTn5cFOpEou+iEmE5dl2lqLbvXfFEAFCkbqvJJwPMcjrKaYJ JnUq8XefU7vN08GO6imf0p46W51RiqPM=
Received: from localhost (108-207-244-174.lightspeed.austtx.sbcglobal.net [108.207.244.174]) (Authenticated sender: nico@cryptonector.com) by homiemail-a27.g.dreamhost.com (Postfix) with ESMTPA id 0C6FF598058 for <kitten@ietf.org>; Thu, 2 Oct 2014 16:40:14 -0700 (PDT)
Date: Thu, 02 Oct 2014 18:40:14 -0500
From: Nico Williams <nico@cryptonector.com>
To: kitten@ietf.org
Message-ID: <20141002234012.GD412@localhost>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
User-Agent: Mutt/1.5.21 (2010-09-15)
Archived-At: http://mailarchive.ietf.org/arch/msg/kitten/beFJATlVHc1ht6jVLALja4RQZ3o
Subject: [kitten] New enctypes for just RFC4121
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/kitten>, <mailto:kitten-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/kitten/>
List-Post: <mailto:kitten@ietf.org>
List-Help: <mailto:kitten-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 02 Oct 2014 23:40:16 -0000

We have bulk data GSS apps that could use faster enctypes.

We've discussed and rejected [as unsafe for use with long-term secret
keys] modern AEAD cipher modes for Kerberos.

Maybe we could have RFC4121-only enctypes?

We could extend RFC3961 to support AEAD enctypes not to be used in
Kerberos *except* as a sub-key in AP-REPs (EncAPRepPart).  Or we could
have a completely new entype framework (very close to RFC3961 perhaps)
with distinct enctype number namespace and a new negotiation extension
for RFC4121.

Extending RFC3961 seems like a simpler way to go.

My preference is to extend RFC3961 but declare some enctypes to be only
for use in RFC4121 per-message tokens, KRB-{SAFE,PRIV,CRED}, and similar
applications, and not for use in any other RFC4120 PDUs.

Possible enctypes would include:

 - {AES, Camellia} x {GCM, OCB, Poly1305}
 - {Salsa20, Chacha} x {Poly1305}

AES-OCB with AES-NI is particularly appealing.  The need to not encrypt
more than 2^48 blocks (4PB) probably argues for synchronous re-keying
(derive new keys for a per-msg token with the Nth block, for some N <=
2^48).

I'm curious about WG participants' reactions.

Nico
--