Re: [Uri-review] Requesting review for 'dvx' provisional registration draft

Ted Hardie <ted.ietf@gmail.com> Mon, 05 July 2021 08:27 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 C559A3A0877 for <uri-review@ietfa.amsl.com>; Mon, 5 Jul 2021 01:27:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 9tyyhexSV_Sk for <uri-review@ietfa.amsl.com>; Mon, 5 Jul 2021 01:27:46 -0700 (PDT)
Received: from mail-ot1-x32b.google.com (mail-ot1-x32b.google.com [IPv6:2607:f8b0:4864:20::32b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 114413A0875 for <uri-review@ietf.org>; Mon, 5 Jul 2021 01:27:45 -0700 (PDT)
Received: by mail-ot1-x32b.google.com with SMTP id l17-20020a9d6a910000b029048a51f0bc3cso5792363otq.13 for <uri-review@ietf.org>; Mon, 05 Jul 2021 01:27:45 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=l3TuM/Nw4FEGo2jReQQUvfj96AcBvG+OzcGZmQ1OHOo=; b=oIBEKyIs/otslI/k7QClKCCfBKSoH62kxvkPtD1VPEHiAlf5Mu22R79RnSgy6ocOie FUVCov+jSXHzMkHT/Vgwsdau39obbysbRYYrcr158zz+MqzSobgn42TU4V+PLZbzYUH0 UxsO87Epl/2gaQEf7mo67GClZOmAzEO75CICAeodgHv31phFjmHYprDYqhFEJrIy5FWW 70TRbLIrfNyaseM8JGAjMQu54k9Y5jY5qboxBESdcoJUZKl9j2fRzMVbN3MrOsEKv2sL S4xDgCw041fZBaGu4bT0tnr66S+EkGXptn8dI5Rx21c6AnQFK89fnsJc+EGg5V/mPnsk 7+aw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=l3TuM/Nw4FEGo2jReQQUvfj96AcBvG+OzcGZmQ1OHOo=; b=cZEdVQLdRuuqnfRSR5PzghAmD+DvzPidmfoy/kqWqHrATIYX+iMhFP6bc3YdgspG50 fZeg4Vyg1JV/LRGt8IUcLD/7MtQ00+AOVGMQ6SrjGTd1wrUD2lNLHhVoL+0SYCqb/iC+ IvlknxhtJaqFGZUlpMJ4y4SsxkonMxBBkgZUG0Dnol8YhzWPO6l3WMmRxKrm7Su54RNG /zXqaR+O6FBKRwTrvlPzm8aAz2bM+HOjVZhnYrxA3t0gbli+prqi3d8jEx7dxaZYjkZc do6CtqfJKDTjdAP0JHzk3RWRn5qvTw/Mk+L9CvRjlFq6Wi+cPB70Sm1KBqntCVU8wEQ0 Phhg==
X-Gm-Message-State: AOAM533TUkZGYdw+gh8Ke57PHtSYOePjPNmljpZcMPklh6r4Ua2lpNmt fTcLxWF8fM3ifIRKY8Hbi58dTY7wA+znVT6j2ypcIRYcmHQ=
X-Google-Smtp-Source: ABdhPJzgycQzcqg4/8qm6kJnKAb+a8L7+Gt3yLPLe6eLO4uKLFvERJRyb13mMC9+J/rJlmEntfple4epVOLCBpHBZqw=
X-Received: by 2002:a05:6830:1e83:: with SMTP id n3mr9788675otr.49.1625473664300; Mon, 05 Jul 2021 01:27:44 -0700 (PDT)
MIME-Version: 1.0
References: <CAD2stPT7+5s_+7BC8Xrv-phQj40+oOomT3f3bVarX=AuJXGJ8w@mail.gmail.com> <CA+9kkMBv2PP9J=ntZqOOMoxtcQ9afo-RuCvoF+_3-29+N55zwA@mail.gmail.com> <CAD2stPR+0OvBRnO9Ac36hcxYh+fRQbYFWzaq5DSR+xXqKGpMSA@mail.gmail.com> <CA+9kkMArHaE=vtP3TGgMzePtLuRvwoHAVKjL0-qAzkxz5ZQR5g@mail.gmail.com> <CAD2stPSNaeFE4twsFA9-waG55wNz1N4r48uCihJYzRR6U=1m_A@mail.gmail.com> <CAHBU6ituw0SYuOhiXtptqwo25CurjcYaS5bNN6_4xip6Cj7m8w@mail.gmail.com>
In-Reply-To: <CAHBU6ituw0SYuOhiXtptqwo25CurjcYaS5bNN6_4xip6Cj7m8w@mail.gmail.com>
From: Ted Hardie <ted.ietf@gmail.com>
Date: Mon, 05 Jul 2021 09:27:18 +0100
Message-ID: <CA+9kkMD-9uMLjvbJx9P_hi9mJWjRW_iFT-GYh=Bd=bTT2SV4vg@mail.gmail.com>
To: Tim Bray <tbray@textuality.com>
Cc: "C. Bastian | ORGAPLAN" <clemens.bastian@orgaplan.org>, uri-review@ietf.org
Content-Type: multipart/alternative; boundary="0000000000005a3a7a05c65c1408"
Archived-At: <https://mailarchive.ietf.org/arch/msg/uri-review/sliA1otdNCZkWwmnfryc35AHjQ8>
Subject: Re: [Uri-review] Requesting review for 'dvx' provisional registration draft
X-BeenThere: uri-review@ietf.org
X-Mailman-Version: 2.1.29
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: <https://mailarchive.ietf.org/arch/browse/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: Mon, 05 Jul 2021 08:27:51 -0000

Hi Tim,

Remember that this is an application for a provisional, and that some
aspects of the system Clemens is describing are still under development.
Our primary purpose at this stage is to make sure that there are no
collisions and that the syntax fits within the general URI syntax.  If we
can help beyond that, it is of course good.

regards,

Ted


On Fri, Jul 2, 2021 at 6:40 PM Tim Bray <tbray@textuality.com> wrote:

> Hi, thanks for the drafts. A few comments:
>
> Normally when you register a URI scheme, since the I in URI stands for
> "Identifier", you say what resource is being identified and (if applicable)
> how it is represented, i.e.  what bytes you get back if you do a GET and
> what you should send with a POST or PUT.
>
> I think that this flavor of URI is simply an encoding of a DVX command.  I
> get the feeling that what's being addressed here is "The DVX software on
> the local machine"?  Is that correct?  If it's correct, did you consider
> adding an IP address or domain name? E.g.
>
> dvx:my-dvx-box.example.com:open?key1=val1&key2=val2 or
> dvx:192.168.0.33:open?key1=val1&key2=val2
>
> Then for the local machine you'd just say dvx::open?key=val, etc
>
> But if just representing a command on the local machine meets your needs,
> OK I guess.  It seems a little weird in a protocol element designed for the
> Internet.  And a URI whose effect depends in an unpredictable way on the
> state of the local machine also is odd.  What happens if my software
> encounters a dvx: URI but there's no DVX software installed?  Maybe you
> should say?
>
> In any case, I believe there's no intent to use this to exchange resource
> representations?  If true, I think you should probably say that explicitly.
>
>
>
>
> On Fri, Jul 2, 2021 at 9:54 AM C. Bastian | ORGAPLAN <
> clemens.bastian@orgaplan.org> wrote:
>
>> Hello Ted,
>>
>> thanks again. Your thoughts are very appreciated and helpful.
>> Here's our third version of the draft:
>>
>> Regarding the obligations for "key=value" pairs your idea helped us to
>> shrink our specification and make more use of existing documentation.
>> It now says:
>>     * value MUST consist of unreserved and pct-encoded characters
>> defined in RFC3986 (see the RFC3986 Appendix A. for the collected
>> ABNF)
>>     * The unreserved characters MAY be pct-encoded, but SHOULD NOT be
>> encoded
>>     * The reserved characters MUST be encoded using pct-encoding
>>     * value MAY be empty, but it's not recommended
>>
>> And the updated security considerations:
>>     A full security analysis and considerations are not yet available
>> since the application which this scheme is part of is still under
>> development. At the current state the scheme inherits the general
>> security considerations of RFC 3986 Section 7.. We highly recommend:
>>     Sensitive data SHOULD NOT be used in key=value pairs in forms
>> accessible to observers
>>     Implementations of this scheme SHOULD NOT trust a dvx-URI from an
>> untrusted source
>>     Security considerations will be updated as soon as the threat
>> model becomes clearer.
>>
>> Published as the versions before at
>> https://api.orgaplan.org/articles/uri-dvx-scheme-specification.html
>>
>> Looking forward on your feedback, Clemens
>>
>> Mit freundlichen Gruessen | Best regards
>>
>>
>> Clemens Bastian | Technical Development & Integrations
>>
>> ORGAPLAN business solutions GmbH
>>
>>
>> clemens.bastian@orgaplan.org
>> T (Global) +49 | 511 | 999 71 0 73
>>
>>
>> Office UK: HG4 Ripon (Harrogate, Northern Yorkshire)
>>
>> Office DE: 30926 Seelze / Velber (Hannover)
>>
>> Office DE: 06618 Naumburg (Saale)
>>
>>
>> Firmensitz (nur: Verwaltung)
>>
>> bisher: Hanomaghof 2 | 30449 Hannover
>>
>> seit 15. Juni 2021: Gustav-Bratke-Str. 71 | DE - 30629 Hannover
>>
>> www.orgaplan.org
>>
>>
>> ORGAPLAN business solutions entwickelt funktionsstarke Software für
>> die kaufmännische und betriebliche Organisation und Information.
>>
>>
>>
>> Seit über 30 Jahren vertrauen namhafte Unternehmen im technischen
>> Großhandel, der Fertigungs- und Lebensmittelindustrie sowie dem
>> Sondermaschinenbau unseren Softwarelösungen.
>>
>>
>>
>>
>> Bitte prüfen Sie, ob diese Mail wirklich ausgedruckt werden muss...
>>
>>
>>
>> Am Fr., 2. Juli 2021 um 11:30 Uhr schrieb Ted Hardie <ted.ietf@gmail.com
>> >:
>> >
>> > Hi Bastian,
>> >
>> > Thanks for your message.  I've read the updated document, and I have a
>> few comments, but I believe I understand more fully your intent than with
>> the initial version.  Thanks for the update.
>> >
>> > In the text on data within values, you say:
>> >
>> > The characters allowed in a value are either reserved or unreserved (or
>> a percent character as part of a percent-encoding, see RFC3986 "Uniform
>> Resource Identifier (URI): Generic Syntax" Section 2.1). Reserved
>> characters are those characters that sometimes have special meaning, while
>> unreserved characters have no such meaning. Using percent-encoding,
>> characters which otherwise would not be allowed are represented using
>> allowed characters
>> >
>> > If I understand you correctly, your intent could also be expressed by
>> saying that "value" permits the unreserved and pct-encoded  productions
>> from RFC 3986 (see the Appendix for the collected ABNF).  If you also
>> wanted to permit the sub-delims, ":" , and "@", you could simply reuse the
>> pchar production, which seems fairly close to your intent.  Since those are
>> part of the base spec, either approach would be well understood by
>> implementers.
>> >
>> > On the question of security considerations, BCP35 requires either a
>> security consideration section or a statement of why one cannot be made
>> available:
>> >
>> >       The scheme definition SHOULD include clear security considerations
>> >       (Section 3.7) or explain why a full security analysis is not
>> >       available (e.g., in a third-party scheme registration).
>> >
>> > I'd suggest updating the template to note that the system of which this
>> is a part is a work in progress and that a full security consideration is
>> thus not yet available, but that the scheme inherits the general security
>> considerations of RFC 3986 and that sensitive data SHOULD NOT be used in
>> key value pairs in forms accessible to observers.  That would seem to cover
>> the threats you're already aware of, and you can update the security
>> considerations as the threat model becomes clearer.
>> >
>> > best regards,
>> >
>> > Ted Hardie
>> >
>> > On Thu, Jul 1, 2021 at 5:44 PM C. Bastian | ORGAPLAN <
>> clemens.bastian@orgaplan.org> wrote:
>> >>
>> >> Hello Ted,
>> >>
>> >> first of all: Let me thank you for the precious feedback and all the
>> >> effort going through my draft.
>> >>
>> >> You're absolutely right in terms of the extensible <command> section.
>> >> To be honest, and as the title indicates, this is a draft and changes
>> >> can still be made. The scheme design is WiP and your feedback is
>> >> appreciated. Now there are some more obligations and recommendations
>> >> regarding the <command>:
>> >>     * MUST start with a letter (a-z)
>> >>     * MUST end with a letter (a-z) or a number (0-9)
>> >>     * MUST have a minimum length of 3 characters and a maximum length
>> >> of 200 characters
>> >>     * SHOULD HAVE at least 3 alphanumeric characters between two
>> >> special characters (`.`,`+`,`-`)
>> >>
>> >>
>> >> The section about encoding of the key=value pairs has been updated as
>> >> well to make it clearer (hopefully):
>> >>     All `key=value` pairs MUST use the UTF-8
>> >> ([RFC3629](https://datatracker.ietf.org/doc/html/rfc3629)) character
>> >> set. `key` and `value` MUST be separated by an equal sign (`=`).
>> >>
>> >>     Naming of `key` has following obligations:
>> >>     * MUST start with a letter (a-z)
>> >>     * MUST have a minimum length of 1 character and a maximum length
>> >> of 200 characters
>> >>     * MUST consist of alphanumeric characters (a-zA-Z0-9) (lowercase
>> >> alphabet a-z, uppercase alphabet A-Z, numbers 0-9)
>> >>     * SHOULD be written in _camelCase_ annotation
>> >>
>> >>     Data within `value` has following obligations:
>> >>     The characters allowed in a `value` are either reserved or
>> >> unreserved (or a percent character as part of a percent-encoding
>> >>     [RFC3986 "Uniform Resource Identifier (URI): Generic Syntax"
>> >> Section 2.1](
>> https://datatracker.ietf.org/doc/html/rfc3986#section-2.1)).
>> >>     Reserved characters are those characters that sometimes have
>> >> special meaning, while unreserved characters have no such meaning.
>> >>     Using percent-encoding, characters which otherwise would not be
>> >> allowed are represented using allowed characters.
>> >>
>> >>     The unreserved characters can be encoded, but SHOULD NOT be
>> >> encoded. The reserved characters MUST be encoded using
>> >> percent-encoding.
>> >>     List of reserved characters: `!*'();:@&=+$,/?%#[] ` (last
>> >> character is a whitespace).
>> >>
>> >>
>> >> We also updated the interoperability considerations as follows (thanks
>> >> for the hint):
>> >>     Currently the only one known context of use is within the software
>> >> application stack and it's ecosystem provided by ORGAPLAN business
>> >> solutions. Uses outside of context should be handled with care.
>> >>
>> >> Last but not least we updated the security considerations. Since this
>> >> is a provisional registration and the uri is still WiP we do not have
>> >> a well qualified security consideration yet. Is this required for a
>> >> provisional registration?
>> >>
>> >> Thanks again for your time Ted, the updated specification is available
>> >> at https://api.orgaplan.org/articles/uri-dvx-scheme-specification.html
>> >>
>> >> Looking forward hearing your thoughts and possible improvements!
>> >>
>> >>
>> >>
>> >> Am Do., 1. Juli 2021 um 14:24 Uhr schrieb Ted Hardie <
>> ted.ietf@gmail.com>:
>> >> >
>> >> > Hi Clemens,
>> >> >
>> >> > Thanks for your note.  There appears to be no collision with an
>> existing registered scheme, so that's good news.  In going through the
>> syntax, I did have some questions, if you don't mind.
>> >> >
>> >> > My reading is that there are two current commands, open and close,
>> but that you intend for the syntax to be extensible.  The permitted
>> characters for new commands are a-z0-9.+-, and there is no restriction on
>> their ordering.  That would mean 99open, +-7a, even + as a bare operator
>> would be valid; is that your intent, or did you also want to have minimum
>> lengths and require certain patterns?
>> >> >
>> >> > For "the interoperability considerations", you might simply mention
>> that there is currently only one known context of use (the ORGAPLAN
>> context, listed below), and that uses of this outside that context may or
>> may not conform.
>> >> >
>> >> > For security considerations, I could not quite parse what you meant:
>> >> >
>> >> > For security reasons it's prohibited to include sensitive or private
>> information in the uri. This applies in particular to the key=value pairs.
>> The restrictions on a requested resource or command need to be checked by
>> the application which evaluates the uri
>> >> >
>> >> > For example, are you indicating that the URI might be carried in a
>> plain text protocol, and thus be observable to an attacker with access to
>> the path?  If that's the threat model, it would appear  the application
>> that evaluates the URI (on receipt), might be acting too late to prevent
>> observation.   In general you might want to reference rFC 3552 for text on
>> how security considerations text is constructed.
>> >> >
>> >> > Thanks again for sending this note,
>> >> >
>> >> > regards,
>> >> >
>> >> > Ted Hardie
>> >> >
>> >> >
>> >> > Your document says "The encoding of the key=value pairs follow the
>> rules defined in RFC3986 "Uniform Resource Identifier (URI): Generic
>> Syntax" Section 2" .  It's not entirely clear to me which part of that
>> section you wish to draw the reader's attention to.  Is it possible you
>> meant section 3.4, which describes path elements and mentions key value
>> pairs?
>> >> >
>> >> >
>> >> >
>> >> >
>> >> > On Thu, Jul 1, 2021 at 5:54 AM C. Bastian | ORGAPLAN <
>> clemens.bastian@orgaplan.org> wrote:
>> >> >>
>> >> >> Hello! I hope you can provide me some feedback on this draft for a
>> >> >> provisional registration of the scheme 'dvx'.
>> >> >> Here's my current draft, any feedback and hints are appreciated.
>> Best
>> >> >> greetings Clemens
>> >> >>
>> >> >> Scheme name:
>> >> >>       dvx
>> >> >>
>> >> >> Status:
>> >> >>      Provisional
>> >> >>
>> >> >> Applications/protocols that use this scheme name:
>> >> >>      The ERP software solution named "DVX" by ORGAPLAN business
>> >> >> solutions (www.orgaplan.org)
>> >> >>
>> >> >> Contact:
>> >> >>      Registration applicant: Clemens Bastian <
>> clemens.bastian@orgaplan.org>
>> >> >>      Scheme creator: ORGAPLAN business solutions GmbH <
>> info@orgaplan.org>
>> >> >>
>> >> >> Change controller:
>> >> >>      Someone who is verified to represent ORGAPLAN business
>> solutions
>> >> >> GmbH (see 'Contact')
>> >> >>
>> >> >> References:
>> >> >>      Specification:
>> >> >> https://api.orgaplan.org/articles/uri-dvx-scheme-specification.html
>> >> >>
>> >> >> _______________________________________________
>> >> >> Uri-review mailing list
>> >> >> Uri-review@ietf.org
>> >> >> https://www.ietf.org/mailman/listinfo/uri-review
>>
>> _______________________________________________
>> Uri-review mailing list
>> Uri-review@ietf.org
>> https://www.ietf.org/mailman/listinfo/uri-review
>>
>