I second this opinion. :-)

and just one more question:
for KEM keys, why not directly reuse rfc8555 processes, the server encrypt the 
challenges token by pk, and the client decrypt first  then compute the 
keyAuthorization.


Best regards,
Gengfeng



---Original---
From: "Ilari Liusvaara"<[email protected]&gt;
Date: Fri, Apr 24, 2026 14:56 PM
To: "IETF ACME"<[email protected]&gt;;
Subject: [Acme] Re: Update: draft-geng-acme-public-key-05


On&nbsp;Thu,&nbsp;Apr&nbsp;23,&nbsp;2026&nbsp;at&nbsp;06:41:05PM&nbsp;-0500,&nbsp;Mike&nbsp;Ounsworth&nbsp;wrote:
&gt;&nbsp;Hi,
&gt;&nbsp;
&gt;&nbsp;&gt;&nbsp;We&nbsp;have&nbsp;considered&nbsp;adding&nbsp;a&nbsp;"direct"&nbsp;delivery&nbsp;mode&nbsp;where&nbsp;the&nbsp;client
&gt;&nbsp;includes&nbsp;the&nbsp;proof&nbsp;inline&nbsp;in&nbsp;the&nbsp;challenge&nbsp;response&nbsp;POST&nbsp;body.&nbsp;This&nbsp;is
&gt;&nbsp;technically&nbsp;straightforward&nbsp;and&nbsp;we&nbsp;agree&nbsp;it&nbsp;would&nbsp;simplify&nbsp;both&nbsp;client&nbsp;and
&gt;&nbsp;server&nbsp;implementations.&nbsp;However,&nbsp;it&nbsp;comes&nbsp;with&nbsp;an&nbsp;important&nbsp;security
&gt;&nbsp;trade-off:&nbsp;direct&nbsp;delivery&nbsp;only&nbsp;proves&nbsp;key&nbsp;possession&nbsp;—&nbsp;it&nbsp;provides&nbsp;no
&gt;&nbsp;evidence&nbsp;that&nbsp;the&nbsp;submitting&nbsp;party&nbsp;controls&nbsp;the&nbsp;named&nbsp;domain.&nbsp;We&nbsp;believe
&gt;&nbsp;this&nbsp;distinction&nbsp;is&nbsp;significant&nbsp;enough&nbsp;to&nbsp;warrant&nbsp;explicit&nbsp;treatment&nbsp;in&nbsp;the
&gt;&nbsp;draft&nbsp;rather&nbsp;than&nbsp;leaving&nbsp;it&nbsp;implicit.
&gt;&nbsp;
&gt;&nbsp;I&nbsp;have&nbsp;not&nbsp;yet&nbsp;reviewed&nbsp;the&nbsp;new&nbsp;draft&nbsp;version,&nbsp;but&nbsp;just&nbsp;based&nbsp;on&nbsp;this
&gt;&nbsp;comment,&nbsp;this&nbsp;design&nbsp;seems&nbsp;anti-modular&nbsp;design.&nbsp;The&nbsp;ACME&nbsp;protocol&nbsp;already
&gt;&nbsp;has&nbsp;robust&nbsp;mechanisms&nbsp;for&nbsp;proving&nbsp;domain&nbsp;control.

What&nbsp;I&nbsp;think&nbsp;is&nbsp;much&nbsp;simpler&nbsp;way&nbsp;to&nbsp;do&nbsp;the&nbsp;verification:

-&nbsp;For&nbsp;signature&nbsp;keys:
&nbsp;&nbsp;*&nbsp;The&nbsp;challenge&nbsp;object&nbsp;in&nbsp;pk&nbsp;authorization&nbsp;contains&nbsp;nonce.
&nbsp;&nbsp;*&nbsp;The&nbsp;ACME&nbsp;client&nbsp;POSTs&nbsp;TLS&nbsp;1.3&nbsp;signature&nbsp;for&nbsp;the&nbsp;nonce&nbsp;and
&nbsp;&nbsp;&nbsp;&nbsp;sha256&nbsp;hash&nbsp;of&nbsp;raw&nbsp;new&nbsp;order&nbsp;payload.
&nbsp;&nbsp;*&nbsp;The&nbsp;ACME&nbsp;server&nbsp;verifies&nbsp;the&nbsp;signature.

-&nbsp;For&nbsp;KEM&nbsp;keys:
&nbsp;&nbsp;*&nbsp;The&nbsp;challenge&nbsp;object&nbsp;in&nbsp;pk&nbsp;authorization&nbsp;contains&nbsp;challenge
&nbsp;&nbsp;&nbsp;&nbsp;ciphertext.
&nbsp;&nbsp;*&nbsp;The&nbsp;ACME&nbsp;client&nbsp;decapsulates&nbsp;the&nbsp;challenge&nbsp;ciphertext&nbsp;and&nbsp;POSTs
&nbsp;&nbsp;&nbsp;&nbsp;MAC&nbsp;of&nbsp;context&nbsp;and&nbsp;sha256&nbsp;of&nbsp;the&nbsp;raw&nbsp;new&nbsp;order&nbsp;payload&nbsp;made&nbsp;using
&nbsp;&nbsp;&nbsp;&nbsp;the&nbsp;shared&nbsp;key.
&nbsp;&nbsp;*&nbsp;The&nbsp;ACME&nbsp;server&nbsp;verifies&nbsp;the&nbsp;MAC&nbsp;using&nbsp;the&nbsp;shared&nbsp;key.


Using&nbsp;raw&nbsp;newOrder&nbsp;payload&nbsp;avoids&nbsp;any&nbsp;C16N&nbsp;and&nbsp;also&nbsp;includes&nbsp;things
like&nbsp;ACME&nbsp;profiles&nbsp;or&nbsp;future&nbsp;extensions.

A&nbsp;proxy&nbsp;can&nbsp;still&nbsp;sign&nbsp;the&nbsp;newOrder&nbsp;request,&nbsp;since&nbsp;the&nbsp;needed&nbsp;fields
(kid,&nbsp;nonce,&nbsp;url,&nbsp;etc.)&nbsp;are&nbsp;in&nbsp;the&nbsp;header,&nbsp;not&nbsp;in&nbsp;the&nbsp;payload.

If&nbsp;a&nbsp;proxy&nbsp;tries&nbsp;to&nbsp;change&nbsp;the&nbsp;newOrder&nbsp;request,&nbsp;the&nbsp;signature&nbsp;or&nbsp;MAC
will&nbsp;be&nbsp;wrong,&nbsp;and&nbsp;the&nbsp;validation&nbsp;fails.

A&nbsp;proxy&nbsp;can&nbsp;not&nbsp;replay&nbsp;challenge&nbsp;responses&nbsp;across&nbsp;orders,&nbsp;since&nbsp;each
order&nbsp;has&nbsp;unique&nbsp;pk&nbsp;authorization&nbsp;(the&nbsp;whole&nbsp;thing&nbsp;will&nbsp;not&nbsp;work
otherwise!),&nbsp;and&nbsp;each&nbsp;pk&nbsp;authorization&nbsp;has&nbsp;unique&nbsp;nonce&nbsp;or&nbsp;challenge
ciphertext.




-Ilari

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

Reply via email to