Re: [sidr] base64 line breaks and draft-ietf-sidr-rfc6490-bis-04.txt

Richard Hansen <rhansen@bbn.com> Wed, 05 August 2015 04:40 UTC

Return-Path: <rhansen@bbn.com>
X-Original-To: sidr@ietfa.amsl.com
Delivered-To: sidr@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F201B1ACE2E for <sidr@ietfa.amsl.com>; Tue, 4 Aug 2015 21:40:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.712
X-Spam-Level:
X-Spam-Status: No, score=-1.712 tagged_above=-999 required=5 tests=[BAYES_20=-0.001, J_CHICKENPOX_71=0.6, RCVD_IN_DNSWL_MED=-2.3, SPF_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 vitBkB3TS9Z5 for <sidr@ietfa.amsl.com>; Tue, 4 Aug 2015 21:40:03 -0700 (PDT)
Received: from smtp.bbn.com (smtp.bbn.com [128.33.0.80]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 838FF1ACDEE for <sidr@ietf.org>; Tue, 4 Aug 2015 21:40:03 -0700 (PDT)
Received: from socket.bbn.com ([192.1.120.102]:41377) by smtp.bbn.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <rhansen@bbn.com>) id 1ZMqUj-00058t-Ob; Wed, 05 Aug 2015 00:40:01 -0400
X-Submitted: to socket.bbn.com (Postfix) with ESMTPSA id 5E363401A8
Message-ID: <55C19391.6000302@bbn.com>
Date: Wed, 05 Aug 2015 00:39:45 -0400
From: Richard Hansen <rhansen@bbn.com>
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0
MIME-Version: 1.0
To: Rob Austein <sra@hactrn.net>, sidr@ietf.org
References: <44C6D623-C513-41FA-9B20-09FFAF0CEED7@tislabs.com> <20150804134855.6347819EBD3A@minas-ithil.hactrn.net>
In-Reply-To: <20150804134855.6347819EBD3A@minas-ithil.hactrn.net>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
Archived-At: <http://mailarchive.ietf.org/arch/msg/sidr/tU59iMNZiHgDLloCTnHJKI262EA>
Subject: Re: [sidr] base64 line breaks and draft-ietf-sidr-rfc6490-bis-04.txt
X-BeenThere: sidr@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Secure Interdomain Routing <sidr.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/sidr>, <mailto:sidr-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/sidr/>
List-Post: <mailto:sidr@ietf.org>
List-Help: <mailto:sidr-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/sidr>, <mailto:sidr-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 05 Aug 2015 04:40:05 -0000

On 2015-08-04 09:48, Rob Austein wrote:
> At Tue, 4 Aug 2015 07:06:22 -0400, Sandra Murphy wrote:
>> Preferences for Richard?s option #2 (allow but do not mandate line
>> breaks) or for Richard?s option #3 (mandate line breaks)?  Note that
>> option #3 means we have to settle on a max line length.
> 
> Option #2 matches the running code.
> 
> Absent some pressing need to make TALs fit on punch cards, the only
> benefit that option #3 brings is the opportunity to declare running
> code retroactively out of spec for trivial reasons.

I'm confused by your "out of spec" comment.  In what way would option #3
render existing code out of spec where option #2 wouldn't?

The advantage to option #3 is compatibility with OpenSSL's lame base64
implementation.

My stated preference for option #3 should not be taken as a strong
preference.  I am OK with option #2:  it's not much harder for people to
implement (working around OpenSSL's problems is annoying but not
difficult), it puts a tiny bit of pressure on OpenSSL to improve their
implementation, and it avoids the need to decide on a specific maximum
line length.

-Richard