Re: [Anima] BRSKI#43, serial-number

Michael Richardson <mcr+ietf@sandelman.ca> Thu, 03 September 2020 19:34 UTC

Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: anima@ietfa.amsl.com
Delivered-To: anima@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4200F3A0D17 for <anima@ietfa.amsl.com>; Thu, 3 Sep 2020 12:34:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 HJPCERja2Gjy for <anima@ietfa.amsl.com>; Thu, 3 Sep 2020 12:34:37 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [209.87.249.19]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id EF2D53A08C3 for <anima@ietf.org>; Thu, 3 Sep 2020 12:34:36 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by tuna.sandelman.ca (Postfix) with ESMTP id E9A24389C2; Thu, 3 Sep 2020 15:13:29 -0400 (EDT)
Received: from tuna.sandelman.ca ([127.0.0.1]) by localhost (localhost [127.0.0.1]) (amavisd-new, port 10024) with LMTP id SfGCp3iy4uut; Thu, 3 Sep 2020 15:13:29 -0400 (EDT)
Received: from sandelman.ca (obiwan.sandelman.ca [209.87.249.21]) by tuna.sandelman.ca (Postfix) with ESMTP id 03F62389AA; Thu, 3 Sep 2020 15:13:29 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 6535B1CB; Thu, 3 Sep 2020 15:34:34 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Toerless Eckert <tte@cs.fau.de>, "anima@ietf.org" <anima@ietf.org>
In-Reply-To: <20200903170059.GA21861@faui48f.informatik.uni-erlangen.de>
References: <20200901112112.GA15609@faui48f.informatik.uni-erlangen.de> <21905.1599011029@localhost> <20200903170059.GA21861@faui48f.informatik.uni-erlangen.de>
X-Mailer: MH-E 8.6+git; nmh 1.7+dev; GNU Emacs 26.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha512"; protocol="application/pgp-signature"
Date: Thu, 03 Sep 2020 15:34:34 -0400
Message-ID: <1070.1599161674@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima/3---qcBw83tn0FMtp1wn5dAy5zY>
Subject: Re: [Anima] BRSKI#43, serial-number
X-BeenThere: anima@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Autonomic Networking Integrated Model and Approach <anima.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima>, <mailto:anima-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima/>
List-Post: <mailto:anima@ietf.org>
List-Help: <mailto:anima-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima>, <mailto:anima-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 03 Sep 2020 19:34:39 -0000

Toerless Eckert <tte@cs.fau.de> wrote:
    > a) Wrt. X.520: From ITU's page:

distraction deleted.

    > b) I am confused about your text up to the diff -24 to -43. Is there an executive
    > summary how this relates to the issue i brought up ?

The serial number originally came from a variety of places, but at:
   https://mailarchive.ietf.org/arch/msg/anima/vpItLADnu-2Ea-uB0A9fHjia4hw/

We agreed to remove that and just go for the X520SerialNumber DN.
But, I goofed and cited the wrong section.

    > c) Of course, you are welcome trying to avoid X.520 and instead step into X520SerialNumber,
    > so your diff is fine to me.

    > [ The fixes i am proposing to Ben re serialNumber in ACP
    > will attempt to avoid X520SerialNumber because i don't even understand how this
    > explicit tagging works and no CLI/document has ever used these terms
    > (except for the ASN.1 rfcs about them].

Yup.  Because it's the DN "serialNumber", not the X520SerialNumber.
RFC5280 is no so clear about that.  Maybe X520 has more detail, I don't know.
But, the OID has been around for a long time:

%cat reach/spec/files/product/00-D0-E5-F2-00-02/device.crt
Certificate:
    Data:
        Version: 3 (0x2)
        Serial Number: 226876461 (0xd85dc2d)
        Signature Algorithm: ecdsa-with-SHA256
        Issuer: C = Canada, ST = Ontario, OU = Sandelman, CN = highway-test.example.com CA
        Validity
            Not Before: Feb  3 06:47:20 2020 GMT
            Not After : Dec 31 00:00:00 2999 GMT
        Subject: serialNumber = 00-D0-E5-F2-00-02
        ...

Yes, my testing serialNumber is a mac address based upon a dead company's OUI allocaiton)
My *Certificate Serial Number* is: 226876461 which is a PRNG result.

    > d) I am mostly wondering if/how changes like this would go into the final BRSKI RFC
    > given its state in RFC editor queue. I don't understand what type of text
    > fixes will be accepted as just editorial, not requiring the whole shebang of
    > IETF process steps we're just doing for the other BRSKI fix....

This probably a reasonable AUTH48 fix that would require AD approval.
The AD could approve it beforehand.
As a process, once the rename occurs (or does not), I will post a document
with the changes, and ask the AD to approve those changes.
Whether we have to "physically" slip them in at AUTH48, or can give them to
the RFC-editor beforehand, is probably unimportant.

If this WG are okay with my proposed text, I'll ask Sean Turner+LAMPS to review
it, and tell me what was imprecise.

--
]               Never tell me the odds!                 | ipv6 mesh networks [
]   Michael Richardson, Sandelman Software Works        |    IoT architect   [
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [


--
Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT consulting )
           Sandelman Software Works Inc, Ottawa and Worldwide