Hi Mike,
Thanks for the thorough review of -07. This is exactly the kind of detailed
feedback the draft needs.
I agree with Ilari that repeating pk-01 per identifier is inefficient. MCR also
point out the need to maintain the integrity of the ACME state machine. So far,
I personally lean toward the latter. But as you said, that's a design
discussion for post-adoption. For the adoption call, the core mechanism is
sound.
On your specific comments:
1. Abstract + Section 1.7: Agreed, secondary motivation belongs in the
abstract, and Section 1.7 should move out of Introduction.
2. RFC 2119 language: You're right that some SHOULD/SHOULD NOT uses describe
operational advice rather than protocol behavior. We'll rephrase those.
3. popKey encoding: The SPKI vs JWK tension is real. We'll keep SPKI for now to
maintain X.509 compatibility and note JWK as a future extension.
4. Algorithm table: Strongly agree that ACME should not maintain
algorithm list. We'll turn Section 5 into informative examples with a
crypto-agility principle.
5. popNotSupported: good catch! the legacy server won't know this error type.
we'll make it MAY and rely on popKeyAccepted for detection.
6. empty finalize: the JWS signature form the account key remains, but we need
to state this explicitly.
7. Security sections: Your notes are all helpful. we'll incorporate these.
8. Key usage / Application support paragraphs: Agreed, these belong in LAMPS,
not here.
We'll post a -08 with these revisions after IETF 126.
I support adoption of this draft as a WG document. The core motivation is real
and well-scoped. The mechanism is clean - attach pk-01 to existing
authorizations, validate PoP, issue CSR-less. The feedback above is refinement,
not fundamental rework.
I'd encourage the WG to adopt at IETF 126, so we can work through the remaining
design discussions (dummy identifier efficiency,SPKI vs JWK) with full WG
attention.
Thanks again Mike for the thorough review, this is very encouraging for us
authors.
Best regards,
Gengfeng
(on behalf of the authors of draft-geng-acme-public-key)
原始邮件
发件人:Mike Ounsworth <[email protected]>
发件时间:2026年7月4日 11:51
收件人:acme <[email protected]>
抄送:i-d-announce <[email protected]>
主题:[Acme] Re: I-D Action: draft-geng-acme-public-key-07.txt
Hello Feng Geng and fellow authors,
Draft reviewed: draft-geng-acme-public-key-07
I appreciate the large amount of work that the authors have put into this
complete re-write of the draft to make pk-01 a completely standalone challenge
type. Excellent work.
I find this version to be extremely complete and a very nice reflection of the
requests of the working group for a standalone PoP mechanism applicable to both
signature and KEM key types. There is an impressive level of technical detail
and implementation guidance.
I note that this document has already had a Call-for-Adoption in May that did
not achieve enough consensus [1]. I am hoping that we can gain that consensus
during IETF 126.
I generally agree with Ilari that repeating the pk-01 challenge multiple times
per order feels extremely inefficient. I would suggest that you investigate a
similar approach to the one we are taking in draft-ietf-acme-rats where we
create a "dummy" identifier to present the new challenge under. Though
this is very much design discussion that is well beyond the scope of a
call-for-adoption, so I would suggest that discussion of these details wait
until the document is adopted.
[1]: https://datatracker.ietf.org/doc/draft-geng-acme-public-key/history/
Specific comments:
(the comments I make below are either editorial, or design discussions that go
well beyond the scope of an adoption call. I would be perfectly happy if the
authors focus on gaining support for adoption of the current version before
spending more effort on additional changes)
Abstract:
You mention “The primary motivation is to support key types that cannot
generate CSR self-signatures, notably post-quantum Key Encapsulation Mechanism
(KEM) keys.”
I would also mention the secondary motivation in the abstract because I think
it is also very important.
I find the Introduction to be particularly complete and well-explained.
Section 1.7 feels like it is the beginning of the normative specification and
no longer the Introduction. I would move it out of Section 1 either into a
different section, or make it its own section.
This is a nit-pick, but:
“Clients SHOULD NOT assume that a server advertising popSupported: true fully
implements this specification. … it SHOULD report the incompatibility to the
server operator and fall back to standard CSR-based ACME.”
I feel like these uses of SHOULD NOT / SHOULD are not really things that you
can implement in software. I would love a second opinion from another veteran
IETFer about whether these sentences should avoid using RFC 2119 language.
Section 2:
“popKey: … The value MUST NOT contain any whitespace or non-Base64URL
characters.”
I would avoid putting a normative requirement in a definitions section.
I also think that a requirement like this is better phrased as a parsing
requirement with the error handling specified.
“If the value contains any whitespace or non-Base64URL characters, the Server
MUST reject it with <ErrorCode>”
“KEM key: An asymmetric key capable of Key Encapsulation Mechanism operations
(e.g., ML-KEM).”
In theory an ECDH key would also be compatible with this through a DHKEM
construction like the one specified in RFC9180 or
draft-ietf-lamps-pq-composite-kem. But maybe it is better to leave this out of
scope for this document since the DHKEM construction would need to be
specified, and if somebody needs to use ECDH keys with pk-01, then they can
write that additional specification.
Section 3
Nitpick:
“Clients SHOULD use the popKey/pk-01 flow when they possess key types that
cannot produce CSR self-signatures (e.g., KEM keys).”
I am not sure that this needs a normative SHOULD.
I think this sentence would say the same thing if it was instead:
“The popKey/pk-01 flow is intended for use with key types that cannot produce
CSR self-signatures (e.g., KEM keys)”
… or cases where the client does not contain an ASN.1 / DER encoder.
I might suggest renaming the field “popKey” to “subjectKey” to better line up
with the naming of the SubjectPublicKeyInfo of the issued certificate. I am
also not sure about the design choice that “popKey” is the Base64URL encoding
of a SubjectPublicKeyInfo … if the secondary goal of this draft is to avoid
ASN.1 / DER, then using the ASN.1 SubjectPublicKeyInfo field seems like a weird
choice. What are the other design options here? Is it reasonable to require
this key to be in the appropriate JWK encoding for the given algorithm?
Although, then you will create a problem in 3.2 step 2 that the Server needs to
map between JWA Algorithm “alg” types and X.509 OIDs. Maybe you should specify
the direct JSON equivalent of SPKI, containing all the same fields? I don’t
know if this is a good idea or not, I am just thinking out loud.
{
“algorithm”: {
“algorithm”: “str(oid)”,
“Parameters”: ?? maybe Base64URL encoded binary (here, allow
ASN.1/DER as per 5280?
},
“subjectPublicKey”: <Base64URL encoded public key>
}
“The popKey field is not an identifier. … It is purely a declaration of the
public key for which the client intends to prove possession.”
I would say instead “... of the public key for which the client is requesting a
certificate”.
4.2.1 / 4.2.1
Since these are structurally different for signing vs KEM keys, I wonder if you
want a different “type”: “pk-01-signature” vs “pk-01-kem” or something like
that?
kdf_version (OPTIONAL, integer)
I do not see this in the sample JSON object in 4.2.2.
This also seems somewhat at odds with the description in Section 5.7. I wonder
if this text is left-over from an alternative design option that was explored?
The KEMPoP mechanism proposed in section 5.2 is novel cryptography for the ACME
protocol. At first inspection, it seems like a straightforward and robust
application of HKDF to derive a MAC key from the KEM shared secret, and then
using this to MAC the newOrder_hash. This seems robust and provides both key
confirmation and confirmation of the newOrder_hash, but this should be a point
for further analysis once this document has been adopted by the WG.
Section 5
I know that it is common in RFCs to make a list of allowed algorithms like
this, but my personal view is that tables like these inhibit future crypto
agility – protocols like ACME should really accept anything that is allowed by
the underlying protocols (in this case JWS + X.509) in a way that if those
protocols add a new algorithm in the future then that should be automatically
also allowed here without needing the ACME WG to publish a new RFC to update
this table. So although tables like this are common in RFCs, I actually think
we should stop doing it and the specification of the pk-01 mechanism should be
independent of the choice of signature or KEM algorithm. Doing this would
dramatically reduce the amount that you need to say in Section 5. I am open to
other opinions though.
“If the server does not support "pk-01", it MUST reject the request with a new
error type urn:ietf:params:acme:error:popNotSupported”
I suspect this is going to be difficult to achieve in practice because ACME
servers that don’t support pk-01 are going to be the ones that were developed
before this specification existed, and therefore are not going to know about
the urn:ietf:params:acme:error:popNotSupported error type.
I suggest instead that this be a RECOMMENDED / SHOULD, and that you recommend
that an ACME server handle this situation exactly is it would today if given an
unknown field in newOrder.
(I see that you have some discussion of the legacy server point lower down in
3.3. I think this point needs a bit more thought.)
I wonder if you want to say somewhere that an ACME server MAY require pk-01 pop
challenge in addition to a CSR in order to prove freshness of the PoP … which I
believe was one of your original goals when you presented this work at IETF
124. Although perhaps this complicates the ACME protocol state machine too much.
6.2 Finalize Request
Yes, it is true that the 8555 finalize payload contains only the CSR: but it
also contains something else: a signature from the Client's ACME account key
which authenticates and authorizes the finalize message. Without that
signature, I think this finalize could be vulnerable to various kinds of DoS
attacks (for example, an attacker sending a finalize early to break the order).
I suggest that this finalize still carry a signature, but over a fixed payload,
such as
"payload": "Empty finalize message",
6.3
The paragraph beginning "The signature algorithm used by the CA when signing
the issued certificate" seems unnecessary and ultimately says that nothing is
specified here, so maybe it would be better to say nothing (ie remove this
paragraph)?
7.1
I appreciate the robust analysis of the security value (or non-value) of a PoP.
This is good work.
In the context of a certificate request with many SANs, it does seem rather
inefficient to have to do the pk-01 challenge for each identifier. But maybe
this is a necessary inefficiency. This can be a point of discussion after
adoption.
7.3
"an attacker who obtains the popNonce before the legitimate client submits its
proof could potentially pre-compute a valid signature."
I am not sure I follow this logic. In order to do this, the attacker would need
the private key, right? My intuition is that the worst an attacker with passive
access to the nonce can achieve is DoS by submitting an invalid finalize
against this nonce and therefore breaking this order. But this needs deeper
analysis.
7.5
I think you could design a KEM revocation mechanism if you wanted. The KEMPoP
mechanism that you define in section 5.2 is essentially turning the KEM into a
signing algorithm via a MAC. You could use the same construction to MAC the
revoke-cert payload from RFC8555 section 7.6.
The paragraph "Key Usage for KEM certificates:" seems redundant with the X.509
LAMPS documents that will specify each KEM algorithm, and could become a source
of contradiction. Could this be removed? Similarly, the paragraph "Application
support for KEM certificates:" will likely become stale within a couple of
years.
7.7 could also reference CMPv3, which includes a KEMPoP mechanism (although it
is structurally different from this one since it re-uses the CMS EnvelopedData
via AES instead of your use of HMAC.
7.8 "Reused key across orders": another reason that people will commonly reuse
keys across multiple certificates is if the public key (but not necessarily its
certificate) is pinned in clients and so you want to get fresh certificates
without breaking clients that have directly pinned the public key. Whether this
is a good idea is up for debate, but I believe that it is fairly common.
On Sun, 14 Jun 2026 at 08:14, <[email protected]> wrote:
Internet-Draft draft-geng-acme-public-key-07.txt is now available. It is a
work item of the Automated Certificate Management Environment (ACME) WG of the
IETF.
Title: Automated Certificate Management Environment
(ACME) Extension for Public Key Challenges
Authors: Feng Geng
Panyu Wu
Liang Xia
Xin Chen
Name: draft-geng-acme-public-key-07.txt
Pages: 56
Dates: 2026-06-14
Abstract:
The Automatic Certificate Management Environment (ACME) [RFC8555]
requires a PKCS#10 Certificate Signing Request (CSR) at the
finalization stage. This document defines a new ACME
challenge type,
"pk-01", that allows a client to prove possession of a private key
directly, without constructing a CSR. The primary
motivation is to
support key types that cannot generate CSR self-signatures,
notably
post-quantum Key Encapsulation Mechanism (KEM) keys. The
client
declares the public key via a popKey field in the "newOrder"
request;
the server attaches the "pk-01" challenge to existing identifier
authorizations. When all required authorizations are
satisfied, the
ACME server issues a certificate using the validated public key
and
the authorized identifiers, eliminating the need for a CSR in the
finalization stage.
The IETF datatracker status page for this Internet-Draft is:
https://datatracker.ietf.org/doc/draft-geng-acme-public-key/
There is also an HTML version available at:
https://www.ietf.org/archive/id/draft-geng-acme-public-key-07.html
A diff from the previous version is available at:
https://author-tools.ietf.org/iddiff?url2=draft-geng-acme-public-key-07
Internet-Drafts are also available by rsync at:
rsync.ietf.org::internet-drafts
_______________________________________________
Acme mailing list -- [email protected]
To unsubscribe send an email to [email protected]_______________________________________________
Acme mailing list -- [email protected]
To unsubscribe send an email to [email protected]