Mohamed Boucadair has entered the following ballot position for
draft-ietf-acme-device-attest-07: Discuss

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to 
https://www.ietf.org/about/groups/iesg/statements/handling-ballot-positions/ 
for more information about how to handle DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-acme-device-attest/



----------------------------------------------------------------------
DISCUSS:
----------------------------------------------------------------------

Hi Brandon, Ganesh, Sven, Corey, and Ryan,

Thank you for the effort put into this document. Appreciate, in particular, the
detailed operational guidance in the document.

Please find below some points for discussion:

# IANA registry

CURRENT:
   The webauthn payload MAY contain any identifiers registered in
   "WebAuthn Attestation Statement Format Identifiers" and any
   extensions registered in "WebAuthn Extension Identifiers"
   [IANA-Webauthn], [RFC8809].

Although this is an optional feature, [IANA-Webauthn] is normative as the
values are taken from that registry.

As I’m there, I don’t think [RFC8809] citation is needed here (that would also
remove the downref).

# I don’t understand the practicalities of the following. What does that
concretely mean?

CURRENT:
      The Server MUST consult format-specific
      documentation to determine which construction applies and MUST
      verify accordingly.

# Strengthen the guidance

CURRENT:
   Implementers operating ACME Clients SHOULD be aware that the
   attestation format selected may expose more device state than is
   necessary to satisfy the server's authorization policy.

Given the risk to reveal more information that needed, the requirement should
be stronger here. s/SHOULD/MUST or “must” or “have to” would be more
appropriate here.


----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

# Speculative?

CURRENT:
   Using ACME and device attestation to issue client certificates for
   enterprise PKI will be a common use case.

Do we really need to include this in an a RFC?

# Redundant behavior

The exclusion of of “/” is covered twice.

Section 3:
   Although [RFC4043] permits any valid UTF-8 string to be used as the
   identifier, this specification mandates that identifiers MUST NOT
   contain the forward-slash "/" (UTF-8: U+002F) character.

Vs.

Section 3.1
   In addition to the value being a
   valid UTF-8 string, the value MUST match the permanent-identifier-
   value production rule as defined in this ABNF [RFC5234] syntax:

   assigner-value = first-and-second-components *("." component)
   first-and-second-components = (("0" / "1") "." (*1(%x31-33) %x30-39))) /
   ("2" "." component) component = "0" / (%x31-39 *%x30-39)
   device-identifier-value = 1*(%x00-2E / %x30-FF)

The MUST for the ABNF is sufficient in my opinion and would change “MUST NOT”
to “must not” in the first excerpt.

The same comment apply for a similar construct in Section 4.

# Valid examples

I suggest to make these changes:

OLD:
   Example identifier without an assigner:
   …
   Example identifier with an assigner:

NEW:
   Example of a valid identifier without an assigner:
   …
   Example of a valid identifier with an assigner:

and

OLD:
   Example identifier with the type of the hardware module represented
   …
   Example of identifier with no type specified and a serial number of

NEW:
   Example of a valid identifier with the type of the hardware module
   represented …. Example of a valid identifier with no type specified and a
   serial number of

# Valid JSON Example

OLD:
     "type": `hardware-module`,

NEW:
     "type": “hardware-module”,

# Section 5: Clients vs The client

OLD:
  The Client can prove control over a permanent identifier of a device

I suggest to change that to

NEW:
  A Client can prove control over a permanent identifier of a device

Or

NEW2:
 Clients can prove control over a permanent identifier of a device

# Missing narrative text

OLD:
   The device-attest-01 ACME challenge object has the following format:

   type (required, string):  The string "device-attest-01".

   token (required, string):  A random value that uniquely identifies
      the challenge.

   {
     "type": "device-attest-01",
     "url": "https://example.com/acme/chall/Rg5dV14Gh1Q";,
     "status": "pending",
     "token": "evaGxfADs6pSRb2LAv9IZf17Dt3juxGJ-PCt92wr-oA"
   }

NEW:
   The device-attest-01 ACME challenge object has the following format:

   type (required, string):  The string "device-attest-01".

   token (required, string):  A random value that uniquely identifies
      the challenge.

   An example message with a device-attest-01 challenge is provided below:

   {
     "type": "device-attest-01",
     "url": "https://example.com/acme/chall/Rg5dV14Gh1Q";,
     "status": "pending",
     "token": "evaGxfADs6pSRb2LAv9IZf17Dt3juxGJ-PCt92wr-oA"
   }

# Display format: mismatch type vs. payload

CURRENT:
   Content-Type: application/jose+json

   {
     "protected": base64url({
       "alg": "ES256",
       "kid": "https://example.com/acme/acct/evOfKhNU60wg";,
       "nonce": "SS2sSl1PtspvFZ08kNtzKd",
       "url": "https://example.com/acme/chall/Rg5dV14Gh1Q";
     }),
     "payload": base64url({
       "attObj": base64url(/* WebAuthn attestation object */),
     }),
     "signature": "Q1bURgJoEslbD1c5...3pYdSMLio57mQNN4"
   }

Can we please add some text to explain how the displayed payload should be
interpreted.

Better, maybe update the example to follow the convention used in the examples
in RFC7515.

# Rationale

It is not clear to me the rationale followed in Section 7 for the use of
normative language. That section uses key words to call out some guidance to
implementers/operators, but there are some aspects that seem (at least to me)
to be important as well but for which key words are not used such as the
following:

CURRENT:
   Implementers operating servers must clearly
   define and document the purposes for which attestation data is
   processed and must not process attestation data for purposes
   materially different from authorization of the certificate request
   without explicit policy disclosure to the device owner or operator.

Or

   Implementers should treat this privacy-preserving mode as the default
   posture unless there is a specific operational requirement for the
   identifier to appear in the certificate.

Or

   Implementers
   should also define and enforce retention limits on historical
   account-to-certificate linkage records.

Cheers,
Med



_______________________________________________
Acme mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to