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

"wujiawei (E)" <wujiawei51@h-partners.com> Wed, 30 September 2026 09:15 UTC

Received: from sinmsgout01.his.huawei.com (sinmsgout01.his.huawei.com [119.8.177.36]) (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 3D1D550 for <cfrg@irtf.org>; Wed, 30 Sep 2026 09:15:57 +0000 (UTC)
Authentication-Results: mx.ietf.org; dkim=pass header.d=h-partners.com header.s=dkim header.b=gzFO2ykW; dmarc=pass (policy=quarantine) header.from=h-partners.com; spf=pass (mx.ietf.org: domain of wujiawei51@h-partners.com designates 119.8.177.36 as permitted sender) smtp.mailfrom=wujiawei51@h-partners.com
dkim-signature: v=1; a=rsa-sha256; d=h-partners.com; s=dkim; c=relaxed/relaxed; q=dns/txt; h=From; bh=+XjUiSc9UN08NwknJQcz0Y1/yJ9vMX37t3WLob3KG6M=; b=gzFO2ykWf1PPaWbj8BTXE51xp+n25aV8F74rGYor1/51h1j5JL03MqXtcyVPQ1APUhY/jfhnp SmpwhmnjvltDMWmVAOgtAHBaTK+QSzqK2ZARnf2w1dqqu52cYaf49KwJ7kOuOhtwvtidXbJyotA N1R0UbxJSvC9CLAHpg23SIw=
Received: from mail.maildlp.com (unknown [172.18.94.16]) by sinmsgout01.his.huawei.com (SkyGuard) with ESMTPS id 4hvq0Y0zY4z1P7MY for <cfrg@irtf.org>; Wed, 30 Sep 2026 17:06:21 +0800 (CST)
Received: from sinpeml500012.china.huawei.com (unknown [7.188.195.244]) by mail.maildlp.com (Postfix) with ESMTPS id 2C89F40559 for <cfrg@irtf.org>; Wed, 30 Sep 2026 17:15:47 +0800 (CST)
Received: from sinpeml500014.china.huawei.com (7.188.195.162) by sinpeml500012.china.huawei.com (7.188.195.244) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.2562.46; Wed, 30 Sep 2026 17:15:46 +0800
Received: from sinpeml500014.china.huawei.com ([7.188.195.162]) by sinpeml500014.china.huawei.com ([7.188.195.162]) with mapi id 15.02.2562.046; Wed, 30 Sep 2026 17:15:46 +0800
From: "wujiawei (E)" <wujiawei51@h-partners.com>
To: "draft-vos-cfrg-pqpake@ietf.org" <draft-vos-cfrg-pqpake@ietf.org>, "cfrg@irtf.org" <cfrg@irtf.org>
Thread-Topic: Comment on draft-vos-cfrg-pqpake
Thread-Index: Ad1Qu91/jO37jXBBTsOxPmNOI9y2DQ==
Date: Wed, 30 Sep 2026 09:15:46 +0000
Message-ID: <f541b79f19ba4886bac4ab00226396e4@h-partners.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [10.215.38.148]
Content-Type: multipart/alternative; boundary="_000_f541b79f19ba4886bac4ab00226396e4hpartnerscom_"
MIME-Version: 1.0
X-Spamd-Bar: -
Message-ID-Hash: KE3GZ2IFLO3GY4JRPUTBNBFO6HTDTCLL
X-Message-ID-Hash: KE3GZ2IFLO3GY4JRPUTBNBFO6HTDTCLL
X-MailFrom: wujiawei51@h-partners.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: "liufei (E)" <liufei19@huawei.com>
X-Mailman-Version: 3.3.10
Precedence: list
Subject: [CFRG] Comment on draft-vos-cfrg-pqpake
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/G_tFVXIi_mmuq2EXRZYJ1acL36w>
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 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