Re: [Uri-review] PKCS#11 URI registration request review

Ted Hardie <ted.ietf@gmail.com> Wed, 13 February 2013 17:38 UTC

Return-Path: <ted.ietf@gmail.com>
X-Original-To: uri-review@ietfa.amsl.com
Delivered-To: uri-review@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A116221F8877 for <uri-review@ietfa.amsl.com>; Wed, 13 Feb 2013 09:38:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.54
X-Spam-Level:
X-Spam-Status: No, score=-2.54 tagged_above=-999 required=5 tests=[AWL=0.060, BAYES_00=-2.599, NO_RELAYS=-0.001]
Received: from mail.ietf.org ([64.170.98.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ov6-hv3yBNCP for <uri-review@ietfa.amsl.com>; Wed, 13 Feb 2013 09:38:40 -0800 (PST)
Received: from mail-ia0-x22e.google.com (ia-in-x022e.1e100.net [IPv6:2607:f8b0:4001:c02::22e]) by ietfa.amsl.com (Postfix) with ESMTP id BBA3D21F8530 for <uri-review@ietf.org>; Wed, 13 Feb 2013 09:38:40 -0800 (PST)
Received: by mail-ia0-f174.google.com with SMTP id o25so1432338iad.33 for <uri-review@ietf.org>; Wed, 13 Feb 2013 09:38:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:cc:content-type; bh=nreMlstsm2hzTM+b8pREhys6W+MD+yEOhklhcPNUOCg=; b=P32XUuSNOtmFkJN+p37bt6BE8zOWHJyQGW+EcKUX1eaRM2dldiR5NdjwFanBy4wxCO KKEWrT7i0sCs2o8jaEON39r/vjcAiQE5TEbGn2HKY1i/SgGrCgNMEJ+Ego0zjshqtzLf NkSUQOzFOWfw7ouo7tYDnWvXO6N59KXlbldlS6QCM4JWnD3F+hyWyrkUzPBynzMONOxE 5F/1uReTqS3ZgUn71UxvjVjocuCEFxe1dFOPcoS2Ilhauod1klylntD3cVMEbONkigTs 4Irj1GL0rs4a+m1hDtj39otwWR6OwXflb/tT+ev8aw5iGrXp1+f+dyvz1sv+ysAWKcq9 096Q==
MIME-Version: 1.0
X-Received: by 10.50.187.225 with SMTP id fv1mr12559033igc.96.1360777120380; Wed, 13 Feb 2013 09:38:40 -0800 (PST)
Received: by 10.43.135.202 with HTTP; Wed, 13 Feb 2013 09:38:40 -0800 (PST)
In-Reply-To: <alpine.GSO.2.00.1302122349180.14210@rejewski>
References: <alpine.GSO.2.00.1301261430001.28908@rejewski> <alpine.GSO.2.00.1302081722560.7401@rejewski> <CA+9kkMB2W9zZBuWvZmPE0aNf6NX_fbG6Fzx0R71QDQB9YNPamA@mail.gmail.com> <alpine.GSO.2.00.1302122349180.14210@rejewski>
Date: Wed, 13 Feb 2013 09:38:40 -0800
Message-ID: <CA+9kkMADpWzDk5gnRLoq6+_pHwJSjyOUsOgpJa9D6t73_45eyw@mail.gmail.com>
From: Ted Hardie <ted.ietf@gmail.com>
To: Jan Pechanec <jan.pechanec@oracle.com>
Content-Type: text/plain; charset=ISO-8859-1
Cc: Darren.Moffat@oracle.com, uri-review@ietf.org
Subject: Re: [Uri-review] PKCS#11 URI registration request review
X-BeenThere: uri-review@ietf.org
X-Mailman-Version: 2.1.12
Precedence: list
List-Id: Proposed URI Schemes <uri-review.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/uri-review>, <mailto:uri-review-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/uri-review>
List-Post: <mailto:uri-review@ietf.org>
List-Help: <mailto:uri-review-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/uri-review>, <mailto:uri-review-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Feb 2013 17:38:41 -0000

On Wed, Feb 13, 2013 at 12:01 AM, Jan Pechanec <jan.pechanec@oracle.com>; wrote:
Howdy,
>         hi Ted, I agree it is confusing, thanks for bringing it up. I'd
> like to change it to:
>
>    This section contains some examples of how PKCS#11 token objects,
>    PKCS#11 tokens, and PKCS#11 libraries can be identified using the
>    PKCS#11 URI scheme.  Note that in some of the following examples,
>    newlines and spaces were inserted for better readability.  As
>    specified in Appendix C of [RFC3986], whitespace should be ignored
>    when extracting the URI.  Also note that all spaces as part of the
>    URI are percent-encoded, as specified in Appendix A of [RFC3986].
>

This looks much better, thanks.

>>I also believe you may wish to make explicit statements about where on
>>the 3986 ladder of comparison you intend for these attribute-value
>>pairs to fall.  As it stands, some of the text about Library version
>>indicates that you expect a semantic comparison, but it is usual in
>>cryptographic contexts to require something that has much less wiggle
>>room.  Explicit text on this would help the reader understand what it
>>is expected
>
>         it sounds very reasonable and I'd like to add a new paragraph at
> the end of Section 3:
>
>    As ordering of attributes in the PKCS#11 URI is not significant,
>    comparison of URIs should be performed on a per-attribute basis after
>    the URI itself is normalized as explained in Section 6 of [RFC3986].
>    Caution should excercised when comparing the "id" attributes as their
>    values may not be fully percent-encoded.  Library version ".N" should
>    be interpreted as "0" for the major and "N" for the minor version of
>    the library.  Library version "M" should be interpreted as "M" for
>    the major and "0" for the minor version of the library.
>
So, I think you are mixing the comparison of the values encoded in the
URI with the comparison of the URI itself.  If the typical mode of
employment is to deconstruct the URI into a set of attribute/value
pairs, it's fine for the using application to treat the result as
unordered.  But this may mean that there is no reasonable comparison
to be done here at the URI level.  You can be sure that two URIs match
if they are bit-for-bit identical, but there are lots of other
conditions in which they *may* be equivalent.

Do you expect people to actually compare at the URI level at all?

Ted

>
>         does it look OK to you?
>
>         thanks a lot for your feedback.
>
>         regards, Jan.
>
>>
>>regards,
>>
>>Ted Hardie
>>
>>On Fri, Feb 8, 2013 at 5:28 PM, Jan Pechanec <jan.pechanec@oracle.com>; wrote:
>>> On Sat, 26 Jan 2013, Jan Pechanec wrote:
>>>
>>>         hi, the section 5.2 of RFC 4395 notes "Allow a reasonable time
>>> for discussion and comments. Four weeks is reasonable for a permanent
>>> registration requests."
>>>
>>>         I will wait for two more weeks if there is any feedback (which
>>> would be greatly appreciated) to make it 4 weeks in total, and if there
>>> is none I will continue with the next step, which is the submission to
>>> iana@iana.org.
>>>
>>>         regards, Jan.
>>>
>>>>       hello,
>>>>
>>>>       in accordance with section "5.2. Registration Procedures" of RFC
>>>>4395 "Guidelines and Registration Procedures for New URI Schemes", I
>>>>respectfully request a review for our planned permanent registration
>>>>request of the PKCS#11 URI as specified in the following I-D:
>>>>
>>>>       http://tools.ietf.org/html/draft-pechanec-pkcs11uri-08
>>>>
>>>>       the registration template is attached.
>>>>
>>>>       best regards, Jan Pechanec
>>>>
>>>>
>>>
>>> --
>>> Jan Pechanec
>>> http://blogs.oracle.com/janp
>>> _______________________________________________
>>> Uri-review mailing list
>>> Uri-review@ietf.org
>>> https://www.ietf.org/mailman/listinfo/uri-review
>>
>
> --
> Jan Pechanec <jan.pechanec@oracle.com>;