Re: [kitten] CAMMAC open issues

Jeffrey Hutzelman <jhutz@cmu.edu> Tue, 12 November 2013 06:06 UTC

Return-Path: <jhutz@cmu.edu>
X-Original-To: kitten@ietfa.amsl.com
Delivered-To: kitten@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B555011E8189 for <kitten@ietfa.amsl.com>; Mon, 11 Nov 2013 22:06:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.599
X-Spam-Level:
X-Spam-Status: No, score=-106.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ZZ-pIb6rE8gh for <kitten@ietfa.amsl.com>; Mon, 11 Nov 2013 22:06:02 -0800 (PST)
Received: from smtp02.srv.cs.cmu.edu (SMTP02.SRV.CS.CMU.EDU [128.2.217.197]) by ietfa.amsl.com (Postfix) with ESMTP id 8F86621E8088 for <kitten@ietf.org>; Mon, 11 Nov 2013 22:05:29 -0800 (PST)
Received: from [192.168.202.142] (pool-108-39-146-104.pitbpa.fios.verizon.net [108.39.146.104]) (authenticated bits=0) by smtp02.srv.cs.cmu.edu (8.13.6/8.13.6) with ESMTP id rAC65Ocg015784 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 12 Nov 2013 01:05:26 -0500 (EST)
Message-ID: <1384236324.3011.26.camel@destiny.pc.cs.cmu.edu>
From: Jeffrey Hutzelman <jhutz@cmu.edu>
To: Benjamin Kaduk <kaduk@MIT.EDU>
Date: Tue, 12 Nov 2013 01:05:24 -0500
In-Reply-To: <31380_1384229493_rAC4BWR9031659_alpine.GSO.1.10.1311112304380.4934@multics.mit.edu>
References: <3952_1383839837_rA7FvGqv007407_ldvd2mcdx2s.fsf@cathode-dark-space.mit.edu> <1384206692.31412.2.camel@minbar.fac.cs.cmu.edu> <10051_1384210008_rABMklPw010752_52815E37.9020109@mit.edu> <1384212058.31412.41.camel@minbar.fac.cs.cmu.edu> <31380_1384229493_rAC4BWR9031659_alpine.GSO.1.10.1311112304380.4934@multics.mit.edu>
Content-Type: text/plain; charset="UTF-8"
X-Mailer: Evolution 3.8.4-0ubuntu1
Mime-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Scanned-By: mimedefang-cmuscs on 128.2.217.197
Cc: kitten@ietf.org, jhutz@cmu.edu
Subject: Re: [kitten] CAMMAC open issues
X-BeenThere: kitten@ietf.org
X-Mailman-Version: 2.1.12
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: Tue, 12 Nov 2013 06:06:10 -0000

On Mon, 2013-11-11 at 23:11 -0500, Benjamin Kaduk wrote:

> > IMHO, we should simply note that most already-deployed services will not
> > understand AD-CAMMAC, and specify that it SHOULD be enclosed in
> > AD-IF-RELEVANT unless it contains authorization data which is critical
> > with respect to the service or some principal named in other-verifiers.
> 
> Do we anticipate there ever being such critical data?  It seems like it 
> would be simpler if we could specify that it is always AD-IF-RELEVANT.

We're designing a generic container that allows the KDC to send
authenticated authorization data.  It seems to me that limiting that
container to supporting only non-critical authorization data is both
short-sighted and unnecessary.  As I recall, we got here because
AD-KDCissued turned out to not be sufficient for our needs, and we
decided to build a generic signed-AD container rather than another
narrowly-scoped hard-to-reuse one. 


> > Probably we should also indicate that AD-CAMMAC-BINDING SHOULD be
> > enclosed in AD-IF-RELEVANT unless the containing AD-CAMMAC is already so
> > wrapped, and modify the text so that an AD-CAMMAC whose first element is
> > an AD-IF-RELEVANT wrapping AD-CAMMAC-BINDING is permissible.
> 
> It's not immediately clear to me why, if the contents are just an OCTET 
> STRING.

The current definition of AD-CAMMAC-BINDING requires that it be the
first element of an AD-CAMMAC, if it is present at all.  Wrapping it in
an AD-IF-RELEVANT violates that.  However, this is moot -- on further
reflection, I realize there is no reason for
AD-CAMMAC(AD-IF-RELEVANT(AD-CAMMAC-BINDING)), since any implementation
that understands AD-CAMMAC must necessarily also recognize
AD-CAMMAC-BINDING, even though non-KDCs will never make use of it.  So,
I withdraw this comment.