Re: [TLS] Unifying tickets and sessions

Hubert Kario <hkario@redhat.com> Fri, 24 October 2014 10:50 UTC

Return-Path: <hkario@redhat.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B22C21A8993 for <tls@ietfa.amsl.com>; Fri, 24 Oct 2014 03:50:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.911
X-Spam-Level:
X-Spam-Status: No, score=-6.911 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, SPF_HELO_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=ham
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 XUouHMfuWnof for <tls@ietfa.amsl.com>; Fri, 24 Oct 2014 03:50:46 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 124AF1A1B14 for <tls@ietf.org>; Fri, 24 Oct 2014 03:50:46 -0700 (PDT)
Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id s9OAoaIl014639 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Fri, 24 Oct 2014 06:50:36 -0400
Received: from pintsize.usersys.redhat.com (dhcp-0-150.brq.redhat.com [10.34.0.150]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id s9OAoXU1025268 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO); Fri, 24 Oct 2014 06:50:35 -0400
From: Hubert Kario <hkario@redhat.com>
To: tls@ietf.org
Date: Fri, 24 Oct 2014 12:50:33 +0200
Message-ID: <1730049.IgUL0REWQP@pintsize.usersys.redhat.com>
User-Agent: KMail/4.14.1 (Linux/3.16.6-200.fc20.x86_64; KDE/4.14.1; x86_64; ; )
In-Reply-To: <54493904.7010807@fussenegger.info>
References: <2A0EFB9C05D0164E98F19BB0AF3708C71D3A8C48AF@USMBX1.msg.corp.akamai.com> <11886639.VyNDkQ3oKj@pintsize.usersys.redhat.com> <54493904.7010807@fussenegger.info>
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
Archived-At: http://mailarchive.ietf.org/arch/msg/tls/LqOBY87pKZyGBP4LfCDVU8rixRc
Subject: Re: [TLS] Unifying tickets and sessions
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 24 Oct 2014 10:50:47 -0000

On Thursday 23 October 2014 19:21:08 Richard Fussenegger wrote:
> On 10/23/2014 4:03 PM, Hubert Kario wrote:
> > While it may negotiate AES-256 (because it wants to interoperate with
> > clients that are configured to not to present weaker ciphers), doesn't
> > mean that it as a whole is configured to the 256 bit level of
> > security. With TLS1.2 it may sign the (EC)DHE parameters using SHA-1,
> > it may use RSA key exchange using only 2048 bit keys, it may be just a
> > local proxy server that is hard coded to connect using AES-128 with
> > the backed servers over open Internet. Yes, server should encrypt the
> > tickets with as strong algorithm as its most secure cipher, but there
> > are many situations where it's not necessary. "MUST" is certainly not
> > applicable.
> 
> Those are good and valid arguments for a RECOMMENDED regarding session
> ticket/token key algorithms or simply dropping one word and uppercasing
> another does the trick (?):

yes, I agree.

> 
> https://tools.ietf.org/html/rfc5077#section-5.5
> 
> >    o  The keys and cryptographic protection algorithms should be at
> >    
> >       least 128 bits in strength.  Some ciphersuites and applications
> > 
> > -     may require cryptographic protection greater than 128 bits in
> > +     REQUIRE cryptographic protection greater than 128 bits in
> > 
> >       strength.
> 
> But the MUST regarding key rotation, key discarding, and key count hard
> limits is still appropriate in my opinion because PFS is a MUST in TLS
> 1.3 (unless this has changed and I didn't read about it).

Yes, while a large key size is recommended ("SHOULD"), a frequent key rotation 
(in order of days) is a "MUST" with shorter time scales recommended, given 
other parts of TLS 1.3.

-- 
Regards,
Hubert Kario