Re: [Trans] Angle brackets in the PRIVATE option (Ticket #1)

Peter Bowen <pzbowen@gmail.com> Sat, 29 March 2014 03:25 UTC

Return-Path: <pzbowen@gmail.com>
X-Original-To: trans@ietfa.amsl.com
Delivered-To: trans@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DAD0A1A0431 for <trans@ietfa.amsl.com>; Fri, 28 Mar 2014 20:25:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.878
X-Spam-Level:
X-Spam-Status: No, score=-2.878 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, GB_I_LETTER=-2, SPF_PASS=-0.001, URI_HEX=1.122] 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 cQG_xC2peBi7 for <trans@ietfa.amsl.com>; Fri, 28 Mar 2014 20:24:59 -0700 (PDT)
Received: from mail-pb0-x233.google.com (mail-pb0-x233.google.com [IPv6:2607:f8b0:400e:c01::233]) by ietfa.amsl.com (Postfix) with ESMTP id 666711A0425 for <trans@ietf.org>; Fri, 28 Mar 2014 20:24:59 -0700 (PDT)
Received: by mail-pb0-f51.google.com with SMTP id uo5so5823124pbc.38 for <trans@ietf.org>; Fri, 28 Mar 2014 20:24:57 -0700 (PDT)
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:content-transfer-encoding; bh=/adu8iOng5wA4Bl2qu6EnL64r/pW7G37CKCJPNgEXNU=; b=a9jM0R5iWq8iPrngVa15vlQcUazLoF4+4gL6qMQGmN6oJ+LuUch8bUNjcrgpMvJTzM SwiGDJuoyCzpto913jPcg6z5ge6m+cXxyntLUtSvQtWLe9HHM8G92sUdzCioAprP+HJ2 vD1tIRr9uitMPEKVV2dqtH53ixzSvkPRAr50fIwOoTncyBq2yPw/w1hJDJpIzC2YXfxm d5VcPoETdpRyIJHRVDXaFEfe7CRS9wWWe7LXr2TFryhdefGstrMFn/83kiR5I1MhJACo CexkuIUL/N9QLG8Lp7ynWsOdgFMpsGuEKll1XW5IvJGHqyxEbX4SWM7VG7z5azt8gCth oQmA==
MIME-Version: 1.0
X-Received: by 10.69.19.203 with SMTP id gw11mr12427126pbd.40.1396063497202; Fri, 28 Mar 2014 20:24:57 -0700 (PDT)
Received: by 10.70.131.16 with HTTP; Fri, 28 Mar 2014 20:24:57 -0700 (PDT)
In-Reply-To: <544B0DD62A64C1448B2DA253C011414607C85F3902@TUS1XCHEVSPIN33.SYMC.SYMANTEC.COM>
References: <544B0DD62A64C1448B2DA253C011414607C85F3902@TUS1XCHEVSPIN33.SYMC.SYMANTEC.COM>
Date: Fri, 28 Mar 2014 20:24:57 -0700
Message-ID: <CAK6vND-NToUO3FgC-Tp-nykj-LYpDQE0AewJeF5oUHow6XSLSQ@mail.gmail.com>
From: Peter Bowen <pzbowen@gmail.com>
To: Rick Andrews <Rick_Andrews@symantec.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/trans/pbooERCZ9hAn8GmVVkWLKaDzq9Y
Cc: "Rob Stradling (rob.stradling@comodo.com)" <rob.stradling@comodo.com>, "trans@ietf.org" <trans@ietf.org>
Subject: Re: [Trans] Angle brackets in the PRIVATE option (Ticket #1)
X-BeenThere: trans@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Public Notary Transparency working group discussion list <trans.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/trans>, <mailto:trans-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/trans/>
List-Post: <mailto:trans@ietf.org>
List-Help: <mailto:trans-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/trans>, <mailto:trans-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 29 Mar 2014 03:25:01 -0000

On Fri, Mar 28, 2014 at 9:46 AM, Rick Andrews <Rick_Andrews@symantec.com> wrote:
> We see another potential issue with the proposed PRIVATE option. Rob’s
> current proposal would have us replace a domain label with the literal
> string “<PRIVATE>” (without the quotes). However, we try to encode DN
> components as PrintableString where possible, and angle brackets are not
> part of the PrintableString set (the lowercase letters 'a' through 'z',
> uppercase letters 'A' through 'Z', the digits '0' through '9', eleven
> special characters ' = ( ) + , - . / : ? and space).
>
> As a result, the type of the DN component would be PrintableString in the
> real cert but utf8String in the pre-certificate, and that would cause
> problems. I suggest using parentheses instead of angle brackets.

Instead of having "<PRIVATE>", what about replacing the redacted
string with a prefixed checksum of the part?

Assuming we specify CRC-32 with "+" as the prefix,
"mail.corp.example.com" would become "+6f993bb2.example.com".  This
could also allow redacting only some labels:
"mail.secret.example.gov.xx" could become
"mail.+734313b7.example.gov.xx".  This has the benefit of providing
privacy while allowing stronger matching of the certificate.

Thanks,
Peter