Re: Comments on draft-ietf-kitten-krb5-gssapi-prf-03.txt

Sam Hartman <hartmans-ietf@mit.edu> Wed, 01 June 2005 20:28 UTC

Received: from localhost.localdomain ([127.0.0.1] helo=megatron.ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1DdZpP-0005P8-9k; Wed, 01 Jun 2005 16:28:39 -0400
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by megatron.ietf.org with esmtp (Exim 4.32) id 1DdZpM-0005Nc-Rk for kitten@megatron.ietf.org; Wed, 01 Jun 2005 16:28:37 -0400
Received: from ietf-mx.ietf.org (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id QAA04760 for <kitten@ietf.org>; Wed, 1 Jun 2005 16:28:34 -0400 (EDT)
Received: from stratton-three-sixty-nine.mit.edu ([18.187.6.114] helo=carter-zimmerman.mit.edu) by ietf-mx.ietf.org with esmtp (Exim 4.33) id 1Dda9D-00046M-NA for kitten@ietf.org; Wed, 01 Jun 2005 16:49:10 -0400
Received: by carter-zimmerman.mit.edu (Postfix, from userid 8042) id 2A710E0063; Wed, 1 Jun 2005 16:28:25 -0400 (EDT)
To: "Blumenthal, Uri" <uri.blumenthal@intel.com>
References: <3DEC199BD7489643817ECA151F7C5929012EB35C@pysmsx401.amr.corp.intel.com> <20050523184637.GE27516@binky.Central.Sun.COM>
From: Sam Hartman <hartmans-ietf@mit.edu>
Date: Wed, 01 Jun 2005 16:28:25 -0400
In-Reply-To: <20050523184637.GE27516@binky.Central.Sun.COM> (Nicolas Williams's message of "Mon, 23 May 2005 13:46:37 -0500")
Message-ID: <tslll5t95zq.fsf@cz.mit.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 52e1467c2184c31006318542db5614d5
Cc: kitten@ietf.org
Subject: Re: Comments on draft-ietf-kitten-krb5-gssapi-prf-03.txt
X-BeenThere: kitten@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Common Authentication Technologies - Next Generation <kitten.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/kitten>
List-Post: <mailto:kitten@lists.ietf.org>
List-Help: <mailto:kitten-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/kitten>, <mailto:kitten-request@lists.ietf.org?subject=subscribe>
Sender: kitten-bounces@lists.ietf.org
Errors-To: kitten-bounces@lists.ietf.org

>>>>> "Nicolas" == Nicolas Williams <Nicolas.Williams@sun.com> writes:

    Nicolas> On Mon, May 23, 2005 at 02:13:55PM -0400, Blumenthal, Uri
    Nicolas> wrote:
    >> Sounds fine. Do we want to elaborate, like explain that since
    >> PRF is a PSEUDO-random function, it does have a [usually rather
    >> long] cycle after which the values start repeating, and we're
    >> trying to avoid it?

    Nicolas> I don't care -- as long as we get done with this pair of
    Nicolas> I-Ds :)

    Nicolas> Also, I'm not sure that the period is the issue here --
    Nicolas> for each call the periodicity issue is handled already in
    Nicolas> section 2.  The issue is that at some point a PRF can
    Nicolas> start leaking data.  I imagine GSS_Pseudo_random() being
    Nicolas> used to make an XOR encryption pad, for example -- after
    Nicolas> a while but well before the underlying PRG/PRF's period
    Nicolas> is reached we may have other weaknesses in it leak
    Nicolas> information through the pad, parts of which might be
    Nicolas> recoverable by attackers that know any of the plaintext
    Nicolas> being encrypted.  IANAC, but this seems difficult to
    Nicolas> explain, particularly in the generic function definition,
    Nicolas> rather than in the mechanims'.

Hmm, I'd consider using a PRF to construct a stream cipher a fine use
of a PRF if a bit odd in GSS.  I'd certainly expect reasonable crypto
to deal appropriately in this case.

    Nicolas> So I think vague text is the best I can do here, though I
    Nicolas> welcome suggestions -- I'm sure others can do better than
    Nicolas> :)

I agree vague text is the answer.  I'd recommend avoiding specific
numbers.


_______________________________________________
Kitten mailing list
Kitten@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/kitten