[CFRG] Re: Comment on draft-vos-cfrg-pqpake

Jelle Vos <jelle_v_vos@apple.com> Mon, 05 October 2026 12:54 UTC

Received: from vib-mx01.apple.com (vib-mx01.apple.com [17.132.96.0]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx.ietf.org (Postfix) with ESMTPS id 05AC04B for <cfrg@irtf.org>; Mon, 05 Oct 2026 12:54:30 +0000 (UTC)
Authentication-Results: mx.ietf.org; dkim=pass header.d=apple.com header.s=20180706 header.b=gs7u1CVV; spf=pass (mx.ietf.org: domain of jelle_v_vos@apple.com designates 17.132.96.0 as permitted sender) smtp.mailfrom=jelle_v_vos@apple.com; dmarc=pass (policy=quarantine) header.from=apple.com
Received: from am11p01nt-mtap02.apple.com (am11p01nt-mtap02.ise.apple.com [100.85.69.166]) by vb11p01nt-mxp01.apple.com (Oracle Communications Messaging Server 8.1.0.28.20250821 64bit (built Aug 21 2025)) with ESMTPS id <0TMF1JK5ZQIS5P10@vb11p01nt-mxp01.apple.com> for cfrg@irtf.org; Mon, 05 Oct 2026 12:54:29 +0000 (GMT)
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-10-05_03,2026-10-05_01,2025-10-01_01
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=apple.com; h=cc :content-type:date:from:in-reply-to:message-id:mime-version :references:subject:to; s=20180706; bh=ujyl6dtvjZvZG/npWhaptzukK nrog9fWwpZ/tEfrlRc=; b=gs7u1CVV9uf5iOuQivOsY+Z/RVxsxp708bPi/at1x HE3m/DQjii0LRrUDZwjA4TC8wzm3vwx+fqvOcLS1isdOSeNyFu8pOljY7CJULfHI M1Jpn+9I818jf9lYTUp8GOwQqNN5u10IANCsDvdG99iJxey5coKqI7CGH1KgPMRq 8Mj+s/PBp8IpmjHLkUuv2HUETC3uEA+hScXmidBBG5bAvj1J3DGFkYKgOkloBI5Z j+9CcwHFk3cMO5815i8HXrvy5g796Z+G994QNocmpG0t47qeuhan0lCOWquttEI2 G87J0vTqz/J942YuNQMTwhB5EJ5VHBkt30tAQCpsPwp5w==
Received: from am11p01nt-mmpp02.apple.com (am11p01nt-mmpp02.ise.apple.com [100.85.69.164]) by am11p01nt-mtap02.apple.com (Oracle Communications Messaging Server 8.1.0.28.20250821 64bit (built Aug 21 2025)) with ESMTPS id <0TMF0C7K2QISJW20@am11p01nt-mtap02.apple.com>; Mon, 05 Oct 2026 12:54:28 +0000 (GMT)
Received: from process_milters-daemon.am11p01nt-mmpp02.apple.com by am11p01nt-mmpp02.apple.com (Oracle Communications Messaging Server 8.1.0.28.20260513 64bit (built May 13 2026)) id <0TMF02S00Q8MSU00@am11p01nt-mmpp02.apple.com>; Mon, 05 Oct 2026 12:54:28 +0000 (GMT)
X-Va-A:
X-Va-T-CD: d4e94f6f1af8c90315acaa792de4ebb3
X-Va-E-CD: 1c74e14187346e4e117f929ca0b987e0
X-Va-R-CD: 263635638a1a8303dd986eb5bd890592
X-Va-ID: 520c3d42-dfcb-4025-8859-dfd3bb599c76
X-Va-CD: 0
X-V-A:
X-V-T-CD: d4e94f6f1af8c90315acaa792de4ebb3
X-V-E-CD: 1c74e14187346e4e117f929ca0b987e0
X-V-R-CD: 263635638a1a8303dd986eb5bd890592
X-V-ID: 3d4e1696-1c82-441d-9448-785a17f0c806
X-V-CD: 0
X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1176,Hydra:6.1.134,FMLib:17.12.100.49 definitions=2026-10-05_03,2026-10-05_01,2025-10-01_01
Received: from smtpclient.apple (unknown [10.106.42.222]) by am11p01nt-mmpp02.apple.com (Oracle Communications Messaging Server 8.1.0.28.20260513 64bit (built May 13 2026)) with ESMTPSA id <0TMF03205QIR6A00@am11p01nt-mmpp02.apple.com>; Mon, 05 Oct 2026 12:54:28 +0000 (GMT)
From: Jelle Vos <jelle_v_vos@apple.com>
Message-id: <214D473E-19C8-4860-A93C-06B4ED404CF2@apple.com>
Content-type: multipart/alternative; boundary="Apple-Mail=_3E62E7FE-8CFB-4051-8ED6-29B6B8E1EA92"
MIME-version: 1.0 (Mac OS X Mail 16.0 \(3864.600.51.1.1\))
Date: Mon, 05 Oct 2026 14:54:24 +0200
In-reply-to: <f541b79f19ba4886bac4ab00226396e4@h-partners.com>
To: "wujiawei (E)" <wujiawei51@h-partners.com>
References: <f541b79f19ba4886bac4ab00226396e4@h-partners.com>
X-Mailer: Apple Mail (2.3864.600.51.1.1)
X-Spamd-Bar: --------
Message-ID-Hash: ECDTRMPRKZI44ELDR36XHORT24B5RUG2
X-Message-ID-Hash: ECDTRMPRKZI44ELDR36XHORT24B5RUG2
X-MailFrom: jelle_v_vos@apple.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-cfrg.irtf.org-0; header-match-cfrg.irtf.org-1; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "draft-vos-cfrg-pqpake@ietf.org" <draft-vos-cfrg-pqpake@ietf.org>, "cfrg@irtf.org" <cfrg@irtf.org>, "liufei (E)" <liufei19@huawei.com>
X-Mailman-Version: 3.3.10
Precedence: list
Subject: [CFRG] Re: Comment on draft-vos-cfrg-pqpake
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/XdDQblAGo2EqEfRdMaopDvAZGKM>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Owner: <mailto:cfrg-owner@irtf.org>
List-Post: <mailto:cfrg@irtf.org>
List-Subscribe: <mailto:cfrg-join@irtf.org>
List-Unsubscribe: <mailto:cfrg-leave@irtf.org>

Hi Jiawei,

Thanks for your email!

I would like to clarify two things:
- The aPAKE has only been analyzed in two cases: either the adversary obtains no parts of the verifier or it obtains the full verifier. We do not expect the protocol to remain secure against adversaries that obtain a part of the verifier.
- We do not claim that the protocol achieves mutual key confirmation: it is only the server who explicitly learns whether the client indeed knows the password.

As such, this attack does not demonstrate a weakness in the protocol. In fact, you could perform such an attack in a simpler way: the attacker could run the protocol as usual and send a random enc_c with a correct client_confirm; the client just accepts the key.

While this attack does not expose a weakness, it did make me wonder if there is an easy way to achieve mutual key confirmation (without increasing the protocol’s complexity). It looks like your suggestion to include k as part of the client_confirm derivation would work! Let me discuss with my coauthors before deciding to incorporate this in the protocol.

Thanks for this good suggestion!

Kind regards,

Jelle


> On Sep 30, 2026, at 11:15 AM, wujiawei (E) <wujiawei51=40h-partners.com@dmarc.ietf.org> wrote:
> 
> Hi CFRG, 
>  
> https://datatracker.ietf.org/doc/html/draft-vos-cfrg-pqpake-02
>  
> I have a few comments on the authentication semantics of CPaceOQUAKE+ under verifier-only compromise in draft-vos-cfrg-pqpake-02
>  
> What happens when part of registered credentials is compromised
>  
> Section 9 refers to verifier and the registered KEM public key, denoted here by pk, as “the verifiers”. Both are registered over a secure channel and stored by the server.
>  
> Consider an attacker who obtains verifier but not pk. The following two-session attack appears possible:
>  
> (a) The attacker impersonates the client to the honest server. Knowing verifier, it completes the CPace exchanges and obtains SK_1 and pad r_1. After receiving OQUAKE+ msg 2, it recovers the server’s KEM ciphertext using r_1:
>  
>     c_1 = XOR(enc_c_1, r_1)
>  
> The attacker thus obtains a valid ciphertext c_1.
>  
> (b) The attacker impersonates the server to the honest client in a fresh session. Using verifier, it obtains SK_2, derives r_2, and pads c_1:
>  
>     enc_c_2 = XOR(c_1, r_2)
>  
> It can generate a valid client_confirm for this session because its derivation does not include k.
>  
> (c) The client decapsulates c_1, verifies client_confirm. The client then believes the authentication is successful.
>  
> The attacker does not learn the final session key, so this attack does not by itself establish a direct practical exploit. However, it exposes a gap in the authentication semantics under verifier-only compromise: the client successfully authenticates the attacker who does not know the pk.
>  
> Possible fix
>  
> Maybe the Security Considerations should distinguish the security roles of verifier and pk and clarify whether client-side authentication is intended to hold when only verifier is compromised.
>  
> This can also be fixed by binding k into client_confirm in both OQUAKE+.Respond and OQUAKE+.Finish:
>  
>     prk_k_h1 = KDF.Extract(SK, DST || "h1" || confirm_input || k)
>  
> This would prevent the attacker from generating a valid client_confirm without knowing pk.
>  
> Best,
> Jiawei