Thank you for all of the background detail. I've been mulling this
over a bit more. In this case, have you considered adding this step
during order creation? Client fetches a nonce from the nonce endpoint
(or maybe a new proof endpoint if you don't want to re-use the
existing nonce endpoint / may want different amounts of entropy for
it) for the keyPopNonce and then in the new order post forms something
like:
clientkey: {
nonce: xxx....
proof: yyy...
}
Server validates the nonce hasn't been used and then verifies the
proof is correct before creating the order which is then only valid
for the proof that was provided at creation. I suupose this could even
be flexible to allow additional posts to the order with "proof" to
either add more keys or replace the existing key (but that may stray
from the design goals you mentioned).
Greg
On Sat, Aug 29, 2026 at 9:08 AM 皮皮猪 <[email protected]> wrote:
Hi Greg,
To come back specifically to your question.
Thank you for reading the draft carefully and for articulating the
alternative approach so concretely. "Why not use finalize?" is
exactly the question that generated the most discussion in the WG.
The keyPopNonce scheme you describe is essentially option (b) that
Ilari outlined in his mail: "Order-level PoP verified at
finalization." We evaluated it carefully and rejected it for
reasons that touch on the core semantics of the ACME protocol
architecture. Let me explain our thinking across several dimensions.
1. The Semantic Integrity of the ready State
In the CSR flow today, the CSR self-signature — the proof of
possession — is verified only at finalize, after the order is
already ready. So ready does not, in the standard flow, attest
that the certificate public key is committed or that possession
has been proven. Our design goal is precisely to remove this: with
the pop authorization, every verification that gates issuance
completes before ready, so the order object is the complete
specification of the certificate at the moment the client is
allowed to finalize.
Under the keyPopNonce proposal (assuming the certificate public
key is still declared on the order, as in our popKey), the order
would reach ready without the server having verified possession —
the PoP proof is submitted at finalize, after ready. ready would
then retain today's weaker meaning: the client cannot tell from
the order state whether possession has been verified ("all
verifications except PoP are complete"), and the public key would
remain uncommitted until finalize. That is precisely the semantic
gap our design removes.
2. The Late-Binding Security Window
In the traditional CSR flow, the public key is declared at
finalize, after all authorizations are complete; the order becomes
ready based on authorizations that validate identifiers, while the
certificate public key is not committed until the finalize
request. An attacker who can intercept or influence the
finalization step could, in principle, substitute a CSR containing
a different public key, because the CSR is not cryptographically
bound to the order at creation time.
This may not be an exploitable vulnerability under the standard
ACME threat model (account key uncompromised, client environment
trusted), but it is a semantic window: ready does not mean the
complete specification of the certificate is finalized. Specifying
the protocol to prevent public-key replacement at finalize (e.g.,
by locking the key at order creation) does not eliminate the
underlying architectural weakness if possession is still only
verified at finalize. The value of the pop design is that the
order is the complete specification of the certificate at the time
it becomes ready.
In deployments where an untrusted proxy component sits between the
ACME client and server and can substitute messages, the pop
authorization design eliminates the possibility of substituting
the public key at finalize. This deployment-specific risk is not
part of the standard ACME threat model, but may be relevant to
environments where proxies handle certificate requests.
3. The Design: A Declarative-Composable Trust Model
This design reflects a shift from a CSR-centric "request-response"
model to a declarative-composable trust model. In the traditional
model, the CSR serves as a self-contained request that bundles
identifier claims, public key material, and proof of possession
into a single object submitted at finalization.
The pop authorization design decomposes these concerns:
*
Identifiers are declared and validated through existing ACME
authorizations
*
Public key is declared in the Order
*
Proof of possession is validated through a dedicated authorization
The Order becomes the single authoritative source of the
client-declared certificate parameters. The CA composes these
independently verified claims with its own policy and applicable
profiles at issuance time. This decomposition improves modularity,
enables reuse of individual verification components (e.g., device
attestation alongside PoP), and accommodates issuance models where
the certificate is constructed from order and profile data rather
than a client-generated CSR.
This model maintains security parity with the traditional CSR
flow: both approaches require the client to demonstrate control
over identifiers and possession of the private key before
issuance. The composable structure merely decomposes the
monolithic CSR into independently verifiable claims, each
validated by its own authorization, with the Order as the single
binding context. This decomposition does not weaken any security
property; it eliminates the CSR substitution attack surface and
improves modularity.
4. Performance Considerations
Related work by Giron et al. [IACR ePrint 2023/1921] evaluated the
cost of migrating ACME to PQC. Notably, their measurements show
PQC issuance time with the standard HTTP-01 flow stays close to
the classical baseline (~7.5 s on average), i.e., network latency
dominates and the PQC algorithms themselves do not significantly
change issuance time. Their proposed /pq-order challenge — using
an existing certificate to demonstrate domain control and skip the
challenge round trips — achieves 4.22x faster average issuance and
up to 35% smaller communication (35.39% for Dilithium2).
The CSR-less flow is complementary to this in two respects: (1) a
CSR carrying a PQC signature is large — a Dilithium2 instantiation
puts ~64 KiB of total ACME payload on the wire across the flow —
and removing the CSR removes that signature payload; (2) for KEM
certificate keys, no PQC signature exists to put in a CSR in the
first place, which is exactly the case the pop authorization
targets; combining with STAR also removes the bootstrap CSR. We
believe this can further reduce ACME overhead in PQC scenarios and
plan to validate it experimentally; the figures above are from
Giron et al. and do not yet include this extension.
Summary
Modeling PoP as a dedicated authorization — rather than an
Order-level condition verified at finalization — is a deliberate
design decision based on:
1. ready state semantic integrity — all verifications complete
before the Order becomes ready
2. Elimination of late-binding window — public key locked at order
creation, no substitution opportunity
3. Uniform client experience — all verifications represented as
authorizations, no special-case logic
4. Consistency with ACME architecture — reuse of authorization
state machine, no new state introduced
5. PQC performance advantages — elimination of CSR signature
overhead, complementary to Giron et al.'s optimizations
These five points together form the foundation of our design
decision. In short: we deliberately chose not to have PoP verified
at finalization, because doing so would weaken the semantics of
ready and leave an architectural window that could potentially be
exploited, and Performance Considerations.
Happy to discuss further in the WG.
Best regards,
Feng Geng
on behalf of the authors
原始邮件
------------------------------------------------------------------------
发件人:皮皮猪 <[email protected]>
发件时间:2026年8月29日 17:32
收件人:greg <[email protected]>, acme <[email protected]>
抄送:alexandre.a.giron <[email protected]>
主题:[Acme] 回复:Re: 回复:Re: 回复:Re: 回复:Re: I-D Action:
draft-geng-acme-public-key-07.txt
Hi Greg,
This has always been a very interesting topic. There is an ancient
saying in China: learn from the past to forsee the future.
See more insightful discussions in the past, please refer to the
discussion on "[Acme] Internet-Draft: PQC Algorithm negotiation in
ACME"
(https://mailarchive.ietf.org/arch/msg/acme/FEZYTUfhSeur-wKQI6H2xytSkvY/).
The lesson I've learned from this is that when have newcomers take
on historical topic (as I previously mail pointed out, we authors
were guided into this meaningful work), it's best for them to
spend more time understanding the past. :-)
I also like Alexandre Augusto Giron's draft and paper eprint
2023/1921.
So let's just do it, bring this work to a conclusion.
Best regards,
Feng
---原始邮件---
*发件人:* "Greg T. Wallace"<[email protected]>
*发送时间:* 2026年8月23日(周日) 凌晨3:51
*收件人:* "acme"<[email protected]>;
*主题:* [Acme] Re: 回复:Re: 回复:Re: 回复:Re: I-D Action:
draft-geng-acme-public-key-07.txt
Why not use finalize?
If a server supports this non-csr method and you want a
requirement that the client prove current possession, add a
keyPopNonce field to all orders. The added field would indicate to
clients that the server supports this extension and the client can
adjust automatically.
e.g.,
{
... [order] ...
" keyPopNonce": "Kz3mVpQeRd9fLwYbN5hXuT6oJsIc0vAg2nEp1yMrFqZ"
}
Client sees there is a keyPopNonce and knows it can use the
non-csr method to finalize. Then in the finalize post payload, the
client instead posts 'proof' and is required to omit the csr:
{ "proof": "<base64url signature>" }
State machine remains, finalize is used in a way that makes sense,
and no weird shoe horning stuff into auths or challenges.
Greg
---
Greg T. Wallace
Sent via Webmail
On Thu, Aug 20, 2026 at 11:15 AM 皮皮猪
<[email protected]> wrote:
Thanks for the thoughtful follow-up.
On option (a) vs (b): We chose (a) because it reuses the
existing authorization state machine rather than introducing a
new order-level wait condition. The multiplicity issue
(identifiers are *, PK is ?) is real, but we think it's
acceptable — the pop identifier is explicitly auxiliary,
cardinality one per order, following acme-rats precedent. It
also gives OPAQUE-01 a clean reuse path.
On MTC: You're right that MTC itself can use CSRs. I think I
initially misunderstood the concern. We've reframed the
tertiary motivation accordingly.
On proxy-swapping: Exactly. By moving PoP proof into the order
via pop authorization, we eliminate the window where a proxy
could swap out the CSR after authorizations complete. Because
the certificate key is declared and proven at order creation
time, there is no CSR left to swap at finalization. We'll
highlight this in Security Considerations.
On autofinalization: We agree it's more aggressive. We opted
for pop authorization because it's less invasive — it keeps
the order state machine closer to RFC 8555 semantics.
Feng
原始邮件
------------------------------------------------------------------------
发件人:Ilari Liusvaara<[email protected]>
发件时间:2026年8月20日 22:03
收件人:acme<[email protected]>
主题:[Acme] Re: 回复:Re: 回复:Re: I-D Action:
draft-geng-acme-public-key-07.txt
On Thu, Aug 20, 2026 at 09:09:01PM +0800, 皮皮猪 wrote:
>
> In next -08, we aim to first answer a foundational question: where
> should an independent proof-of-possession live in the ACME protocol?
> Is it a separate protocol layer? An order-level condition? Or an
> authorization disguised as an identifier?
I see two ways to do this:
a) Have new identifier type for a public key. Then have authorization
for it, and hang the PoP challenge as challenge off that authorization.
This has issue that the natural multiplicity class for identifiers is
*, but PK has multiplicity class ?. Another issue is representing the
no-confirmation case (tho I suppose one could use valid PoP challenge).
b) Have public key be a new field in order. Then return the PoP
challenge and URL to submit it to as another new field in order object.
This has issue that it alters the order processing state machine: The
order needs to wait for something that is not an authorization. However,
there is no way this can be used if either side is unaware of the new
semantics (so this is not a serious problem).
The no-confirmation case is represented by reflecting the public key
but not having a challenge.
> Building on Ilari's insight that "such a device doesn't want to use
> CSR because the order should fully specify the generated
> certificate," we're also adding a tertiary motivation in -08:
> Alignment with issuance models where the order fully specifies the
> certificate. In deployments involving Merkle Tree Certificates (MTCs)
> [I-D.ietf-plants-merkle-tree-certs] or other batch-oriented issuance
> models, the certificate is allocated by the CA based on the order's
> identifiers and policy, not constructed by the client via CSR.
I was thinking about messes like proxy swapping CSR between orders
(the PK PoP binds the order, but not CSR).
I do not see how MTC is relevant for this. MTC can use CSRs like X.509.
Altough there are cases where the ACME client definitely does not want
an MTC.
One way of elminating the CSR is via "autofinalization": Alter the order
state machine, so that any transition to ready goes to processing
instead. This obviously requires the public key in order.
> The CSR is inherently redundant -- the order already contains all
> information needed. Requiring a CSR forces the client to duplicate
> information or fabricate one for a certificate whose attributes
> aren't known at request time. The CSR-less flow enables ACME to
> support such models natively.
Yes, most of the stuff in CSR is redundant. And redundant information is
a legendary source of security problems.
The ACME client I have written emulates CSR-up-front: It takes a CSR
up front, and extracts the order parameters (e.g., identifiers) off
that.
-Ilari
_______________________________________________
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]
_______________________________________________
Acme mailing list [email protected]
To unsubscribe send an email [email protected]