Re: [TLS] Resuming a session as part of a renegotiation.

Fabrice Gautier <> Thu, 19 September 2013 20:01 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id B101F21F866E for <>; Thu, 19 Sep 2013 13:01:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -2.6
X-Spam-Status: No, score=-2.6 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, NO_RELAYS=-0.001]
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id 1VZAZD8DYgGz for <>; Thu, 19 Sep 2013 13:01:56 -0700 (PDT)
Received: from ( [IPv6:2a00:1450:400c:c00::236]) by (Postfix) with ESMTP id EA8AA21F864D for <>; Thu, 19 Sep 2013 13:01:54 -0700 (PDT)
Received: by with SMTP id m15so8673712wgh.9 for <>; Thu, 19 Sep 2013 13:01:54 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=JAPPI3vAfH5czzb0vvcx4dHZqbsnItSjXMasVVlnQfw=; b=ULMkf5DeGesL88d75vdtUUTAakpa5lfeGqvsdOBTrkTGjcjwi1QKSeFhxWqnqM6xgv jfnbNj8jAB5UgOBbYMhVXiLAaQ9ws3yNX0SLl/Z3Lt0l56cHIsvV5Jr1v6AEfT3s1hFl XNM7lv92wZHpM+fre3iUh3D2oNdkziQoMyFO4HKVEioD5kDmjoSyz2j/V12c9wb7AZpH MD3mc9h4KJlroerLJ6iGZBtWaLpNaiT3uCTUUM8og65jwq14eJd9PwmGld2ysXAnugLo XZgx4Xo4UN1ug1iKd7Vdgn9YtVtfH0/VvKqcDY1OgN8mJOvaAj7+B+YT7kGAOmTpbd3A K6PQ==
X-Received: by with SMTP id j4mr2922576wjs.34.1379620914124; Thu, 19 Sep 2013 13:01:54 -0700 (PDT)
MIME-Version: 1.0
Received: by with HTTP; Thu, 19 Sep 2013 13:01:34 -0700 (PDT)
In-Reply-To: <>
References: <> <> <> <>
From: Fabrice Gautier <>
Date: Thu, 19 Sep 2013 13:01:34 -0700
Message-ID: <>
To: Yoav Nir <>
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Cc: "<>" <>
Subject: Re: [TLS] Resuming a session as part of a renegotiation.
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Thu, 19 Sep 2013 20:01:56 -0000

On Thu, Sep 19, 2013 at 11:50 AM, Yoav Nir <> wrote:
> On Sep 19, 2013, at 9:29 PM, Fabrice Gautier <> wrote:
>>> One possible use case: if you negotiated a block cipher with a
>>> small internal state and are sending large quantities of data,
>>> security might be improved by periodically renegotiating.
>> Thats only benefit a full handshake renegotiation.
>> The way I understand it, renegotiation allows you to have several
>> session in the same connection, and session resumption allows you to
>> have the same session across multiple connections.
> Renegotiation just means doing the handshake again. The end result is new keys. So if you believe that 3DES keys should not be used for more than 0.5GB of data, just doing a renegotiation gives you fresh keys (because they are mixed with the new nonces). If you resume the session, you don't get new client and/or server identities, you don't get re-authentication, and you don't get a new master key, so someone who has managed to get your old master key can figure out both your old and new encryption keys. But if the only reason you're renegotiating is that you need fresh keys, that's good enough.
> So renegotiation+resumption gives you the same session, but new keys. Sort of like "phase II" in IKE.

Oh I see... Same master secret but refreshed cipher keys.


-- Fabrice