Re: [TLS] Comments on

Watson Ladd <watsonbladd@gmail.com> Tue, 18 February 2014 05:39 UTC

Return-Path: <watsonbladd@gmail.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 17F4E1A00D3 for <tls@ietfa.amsl.com>; Mon, 17 Feb 2014 21:39:02 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] 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 1ox_KqhhbNtL for <tls@ietfa.amsl.com>; Mon, 17 Feb 2014 21:39:00 -0800 (PST)
Received: from mail-yh0-x22b.google.com (mail-yh0-x22b.google.com [IPv6:2607:f8b0:4002:c01::22b]) by ietfa.amsl.com (Postfix) with ESMTP id 208EC1A02EE for <tls@ietf.org>; Mon, 17 Feb 2014 21:39:00 -0800 (PST)
Received: by mail-yh0-f43.google.com with SMTP id z6so15033653yhz.30 for <tls@ietf.org>; Mon, 17 Feb 2014 21:38:57 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=fdE3TQ+bIoG/xcJ6TBqNbTLgCmvqZ7FtwUDL2dIGJBA=; b=NMthWmbCVFRrTSRKtk67LUBTJXxaSik1Obeoa9c2ZdpqRwpv72PN01Mqg27kJjsEpe YJ4rDdpznhUTUag65f5wXNUipOB/P/OVsogt28zEIvDrutqZTKsDL7LOBYFOzKotepPQ 7ioJsrYViTHjT+DHICqd4lhM4/daXftjOWuBhzjR+jpzqxNAuXfCvTUmiIkmClrnlVeQ Ua7lKil8hJgH0Mj2MmOcajoJN3VPCLNrU6QZWIidz/OUycIFFxM9mT74k+IdKKEiKFPE OQNaYJBj01YN4xS5Rt6wTVVtcMrJQf9OMCbr7lreMjTr/keUQtx0KZS5jMT2eAVb7cly OXfw==
MIME-Version: 1.0
X-Received: by 10.236.137.14 with SMTP id x14mr31053282yhi.4.1392701937229; Mon, 17 Feb 2014 21:38:57 -0800 (PST)
Received: by 10.170.92.85 with HTTP; Mon, 17 Feb 2014 21:38:57 -0800 (PST)
In-Reply-To: <r422Ps-1075i-A68EDE4CAE99437382B43641D45C2AAD@Williams-MacBook-Pro.local>
References: <CACsn0c=-HfmgzZ=d=kRkQJ1UtS3xPFEJa3vASjwakDUpbGpLsg@mail.gmail.com> <r422Ps-1075i-A68EDE4CAE99437382B43641D45C2AAD@Williams-MacBook-Pro.local>
Date: Mon, 17 Feb 2014 21:38:57 -0800
Message-ID: <CACsn0c=Xe1Z6X0NTYQ7q6=SgGCVvQAXfFde=-aZ=xmXhr8_Qdw@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
To: Bill Frantz <frantz@pwpconsult.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: http://mailarchive.ietf.org/arch/msg/tls/uRja7ZF0N3i3cMDnwrl5YMpodGM
Cc: Adam Langley <agl@imperialviolet.org>, Niels Möller <nisse@lysator.liu.se>, "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] Comments on
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: Tue, 18 Feb 2014 05:39:02 -0000

On Mon, Feb 17, 2014 at 9:19 PM, Bill Frantz <frantz@pwpconsult.com> wrote:
> On 2/17/14 at 9:00 PM, watsonbladd@gmail.com (Watson Ladd) wrote:
>
>> I don't think there is any way around that. If I want to ensure all
>> read data has property P, and P depends on every byte of input, I need
>> to look at all the input bytes before revealing any data.
>
>
> Well, you can work on sub-blocks of the whole chunk of data. Either a MAC or
> digital signature on each sub-block would do. Verify the sub-block and it
> can be released to the relying application. If we are using a 32 byte MAC,
> then 3200 byte blocks would only have 1% overhead for checking. There are
> very few systems where a buffer size the order of 3200 would cause a serious
> problem.
>

The application has to be ready to accept truncations on arbitrary
subblock boundaries for this to work out.
That's not the same as semantics indicating the entire file is fine if
you can read from it.
Sincerely,
Watson Ladd

> Cheers - Bill
>
> -----------------------------------------------------------------------
> Bill Frantz        |The nice thing about standards| Periwinkle
> (408)356-8506      |is there are so many to choose| 16345 Englewood Ave
> www.pwpconsult.com |from.   - Andrew Tanenbaum    | Los Gatos, CA 95032
>



-- 
"Those who would give up Essential Liberty to purchase a little
Temporary Safety deserve neither  Liberty nor Safety."
-- Benjamin Franklin