[CFRG] Re: RGLC on draft-irtf-cfrg-cpace-15

"Hao, Feng" <Feng.Hao@warwick.ac.uk> Thu, 04 December 2025 21:37 UTC

Return-Path: <Feng.Hao@warwick.ac.uk>
X-Original-To: cfrg@mail2.ietf.org
Delivered-To: cfrg@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id DD5C295A8C1D for <cfrg@mail2.ietf.org>; Thu, 4 Dec 2025 13:37:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, SPF_NONE=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=warwick.ac.uk
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9DejdiqUqoQn for <cfrg@mail2.ietf.org>; Thu, 4 Dec 2025 13:37:12 -0800 (PST)
Received: from DUZPR83CU001.outbound.protection.outlook.com (mail-northeuropeazlp170120005.outbound.protection.outlook.com [IPv6:2a01:111:f403:c200::5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id F25DF95A8B88 for <cfrg@irtf.org>; Thu, 4 Dec 2025 13:36:46 -0800 (PST)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=EvXxAiPNfVp76BZFcbzTBeBUllh3wJYg4w4TbavMkTzIxGLGahP6kPJkBKcIehW/hzaHzrQnAE8gUAVvs70WQeoWGnx2kJeqWQpibf+tI3KSCijuODF3dC49abfFVg1xhtfYcKhAm/kJ4Z14cSn82ruuWzaizFkpXc3u5hmrbblWd6ehw1gHh0Z3s3z7WdWJrn6UyShzI7EdJqrt++/IeFDNU2Ld2mRL4pM6Z7azv18iH+FoQ5aEMsnX3rLNcNhrA7avQAe7AGso7slEOuRXimEFRfYkuyq1Zh6S4W6Sl3DS32IG8TibKkKbXOaXlfaJA7iq64j8aJYxfVXr7Nv55w==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=DJlvKzmmlD9gbm0u5x3zqv+pIVstNkuOGpSM8LG56UY=; b=JjdEiAHtxX4M+meE390NuHyu9x1DrwXEVlzJlIAU0J4uqAtwPhgc9BVTInEgt3FVGR3iJvYGd/mS5iuHM5RdjWjDOmvYoBI+kIe86q6UgYFknHpYhm3B2P2Kn0sAj0VECWFp6p/UcLuwWZqqS59RLhzrS9DAan9x7Nv39W+FoWduWcz/N447+llGmQCQei7ziRXP9gGRfp0r6K7evV84eROMODzZYFnT1OWqk6yJs+tARJyI309LFTKeASdBSyPwhaufiwd65ztJIVY3eEv3g4aoi57gZHVygesJpIAQmkFDhcBvVdngCcVWYXXO5SiP6NRb4YeCJZp3oBL6NT/kuA==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=warwick.ac.uk; dmarc=pass action=none header.from=warwick.ac.uk; dkim=pass header.d=warwick.ac.uk; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=warwick.ac.uk; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=DJlvKzmmlD9gbm0u5x3zqv+pIVstNkuOGpSM8LG56UY=; b=TM2RdFoVDlptsOMVbCltxvUXaqvgGOKR5A8JloFjXGsoC/G0xf9N87RSy5Zy791JQSUpi+EDbHagRwuOmvxtqrTa8DZvkiaQ78AdAB1USFeQ1LhQqkWVVbHaYnF6zHS/qbMKKNovcqvIs230ULmSncKvE//nSr2jvRMBXPRBM0ZZI9+uqcVdwdRNiBDywvo6OfvwcLfuGsHLrv/qRQkthuOXS7/KAx152xSHe6WxL0yCjrp2IY+/CWKR4RiYU5cczF7IBkV6qiIYiJ94jb3ivy/HvoCaxb1vKv0EFqgp7TUipIgLPtje2h7FoOJmeYnCrpBmQyJ9SSVJ80qdlMFyDQ==
Received: from AMBPR01MB12579.eurprd01.prod.exchangelabs.com (2603:10a6:20b:728::13) by PR3PR01MB6361.eurprd01.prod.exchangelabs.com (2603:10a6:102:27::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9388.9; Thu, 4 Dec 2025 21:36:38 +0000
Received: from AMBPR01MB12579.eurprd01.prod.exchangelabs.com ([fe80::db49:b884:435f:c2e]) by AMBPR01MB12579.eurprd01.prod.exchangelabs.com ([fe80::db49:b884:435f:c2e%5]) with mapi id 15.20.9388.003; Thu, 4 Dec 2025 21:36:38 +0000
From: "Hao, Feng" <Feng.Hao@warwick.ac.uk>
To: "Stanislav V. Smyshlyaev" <smyshsv@gmail.com>, CFRG <cfrg@irtf.org>
Thread-Topic: [CFRG] Re: RGLC on draft-irtf-cfrg-cpace-15
Thread-Index: AQHcYrpsEJ1juhAQe0C79ebLwz4+8bURr+3g
Date: Thu, 04 Dec 2025 21:36:38 +0000
Message-ID: <AMBPR01MB125796BA8F202F088AFB8E0C5D6A6A@AMBPR01MB12579.eurprd01.prod.exchangelabs.com>
References: <CAMr0u6nQXQNs+BHZotaLeYZLAxDACMitFJYbZYN+_ZxadBA-Fg@mail.gmail.com> <CAMr0u6npX3ahP2CT5zhR8iZt-Z1yT8DwsbgOmjzEuTQaVzKLKA@mail.gmail.com>
In-Reply-To: <CAMr0u6npX3ahP2CT5zhR8iZt-Z1yT8DwsbgOmjzEuTQaVzKLKA@mail.gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-reactions: allow
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=warwick.ac.uk;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: AMBPR01MB12579:EE_|PR3PR01MB6361:EE_
x-ms-office365-filtering-correlation-id: d9a02d12-533b-4748-7b69-08de337d34c9
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;ARA:13230040|366016|376014|1800799024|8096899003|7053199007|13003099007|38070700021;
x-microsoft-antispam-message-info: ZjFCox6tCXKzpU9uNzwAjIUUi4q+i6YcdxfS/hzg1ARpsN/rgFnOjcWcPOOVJozLVxT0YrVXWPXBAZPU3qoZvxRZGq8uQUEY5+T+PearQBwgA15MRte9gh/xfg6gezePWc58Trxezkej8d2z4BQRk1KCgGZJ+Lxk3OT+RSmryBdMPf62CQ0BSJ/2YwkA2YE8Gw+blCP6WeUEtlUgOfJ2pPUi2oR+lzFVDhrUpWQUXQL914h4ZmyhXejh+q1K3VT/x3Yj3k/fWHRYwu6pE9gwwKd4/T920xDaa/0LZbV3nLh3sfLfeCEQiTMsTRIQm7vpweLolD0Sgi2x0WgEEPllFmZhAadR2AbmzBuSQdH7j8GjjzlKKRWPl3IfectcGMbajbgONYSIlrjJq/sZrkZ3P7QB/HU4WStQeZydfRsy4Oi+/xbwqXi//Bw/yWnQRbiCeGSH9ihNmrmpznrm4J0eUEoEuAPBKr4L6mVz+5bzhy18SMMW/jjZuDSTUGT3DBWkV0xNCndWj8NWbuCpUPKXGZoQAv9s3aQGl8ebnHTBKGuCCFdVTQAARMffBylxh32CAPaPrrqkF341hd1BBoLAIZ1maGGwN0yrKcOPvKzmLmapyBJ1a9jciijkzUZA0CCZ/XuzgUW6lTFvPZE+mzYZLctRqirED2b3sz0Og6NlNtIFoZ4xMH6vPAsm4G+xP6i2u+OTUKKlDDXYSFttzHYbV40QimjkiGOcDnwSmwusTntuYfJPGI7uyoOOppuSmd07fszBKw9JGFC1OPR2JcZ4ykMuHcvxz13Ir1futyXTOAHx+NRuGMop1eFOdPQLiGT1CVN//jwQRncbunQwc5cbmQafDGEWsYX0X2IvlWc2twhEatvqA86/vCkTxoMRg3H12b8UPjBtRuOVfzp5WkJqqgxumdEBrODQZ0lBSKrIzWlIoLG8Cl0Rt6TGLSmJF9D2BWqpRG3hqVvEDCKUg85owsJTC0b6bijonbtRlpkQjk5779Kjiu+vJ6Y5xopgsFnR/XjDATfMqF21Hj66Kszat/QJh7f8PpE2Lp4Tn8x8OIGl0slgeC8PEgG/amjb/0dgi7Rf1cUZBNuClCin4NTu5l0cwQwTFqI+Tl/xb3Ku5jirBBhaEUSMcs2Tj4gMdxOkqrwHCjHhNOfjqu213ZAki8CBcRmuLWukVxdxhaf60cND4e0KHGWFDn/I2lZFqMKgdI0BxaycxBDBf6L1WQ/ymdU3Su1KxRnfcAZdT+/hkNUi2fwZjuTZOl69aPSOFr3Fboqp8zm6O4lfpYIQdi3E5plmy9Hrfn96dGXne45xjmLPxPdB2lbGG7YSMZPQLTRNkQ6mE8kPH7BTlPXQeT2ck3FpT6NJEQ86CwoFBrHiW6A77InWcNzmF13gtXQt68Tf5V93HAZauW7JLfGSwDeqW1zs0RoIhry/LPG34bG9iHokGYYy53GLp0RLRRalaTT/6czq8TRpUlkQMIQB+dDDbbnozXRzu/FlFLOvSRL/UKZP+mEuMmbvIPtQxnBiikzv
x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AMBPR01MB12579.eurprd01.prod.exchangelabs.com;PTR:;CAT:NONE;SFS:(13230040)(366016)(376014)(1800799024)(8096899003)(7053199007)(13003099007)(38070700021);DIR:OUT;SFP:1102;
x-ms-exchange-antispam-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kQnCmgQIo6+Ui7/mT4BFsqSqLuZbp/drZXyhDhdZizDcEPBSdQAiwhCOZCvqcbcC164pUSPe1gJQXRZ8PK/6i49fjNnJOMh96vp0SL+APj2OZFN02pZ5rytJKFflagbadnLy27KThbC+40W+BWGe9LBB/mmSXvVwhZT9Hwv7KNzfXF75hcj9f7U1HZ8lvU2Ntm6JgwlzYXiilro2hrGdL1rAj3wG4kukc7C7F5en9K5xjsD1DU4WDNyiiKcU5zn1hZ26WvIR46733PJN3oQ0jxgN7RCs/dzM5vTL2zBV7LILNF4SHA8O27UfbNm1GNtZCrLWgp4BZPY8FxOyoIcRfTOAKBgM6HM7hotTkuqafsAevfb6Cq1tRMWibAnrKCChHHcRiyqJh8OrUjHk/zFDb4uSdrotW3N/I+bzF3KdKSB2Pk2NfQj4jzsYW57sV9xctzcyTqqmzdeonw6OLoRKbwQPZs8rEiga2xxZtl2WSwNvqxcD3ltF3pVDyGrnQCYDaPWekHIYRh7z1KGpSLFKP36yEswUwXBh7kBhkdJqWMHN9DjSAvUFKQS4u1+iWKCEEDLXiS5xMKIcHU13PpCjKUnRmms=
Content-Type: multipart/alternative; boundary="_000_AMBPR01MB125796BA8F202F088AFB8E0C5D6A6AAMBPR01MB12579eu_"
MIME-Version: 1.0
X-OriginatorOrg: warwick.ac.uk
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AMBPR01MB12579.eurprd01.prod.exchangelabs.com
X-MS-Exchange-CrossTenant-Network-Message-Id: d9a02d12-533b-4748-7b69-08de337d34c9
X-MS-Exchange-CrossTenant-originalarrivaltime: 04 Dec 2025 21:36:38.2269 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 09bacfbd-47ef-4465-9265-3546f2eaf6bc
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: SP8nyk44m1dbEVnrACmUXeuS/ysYYI/Ejdk5SZHkWJIF3AIhWAkdyjtBVe6dOJLWwwlVXqnQ18G/nDfjFflb7YFOlPD5xo7qoxMzxx2kILE=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR01MB6361
Message-ID-Hash: BFW6FDG6VWL5UC3KDORUHX2WZ3SPSZWP
X-Message-ID-Hash: BFW6FDG6VWL5UC3KDORUHX2WZ3SPSZWP
X-MailFrom: Feng.Hao@warwick.ac.uk
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-cfrg.irtf.org-0; header-match-cfrg.irtf.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "cfrg-chairs@ietf.org" <cfrg-chairs@ietf.org>, "draft-irtf-cfrg-cpace@ietf.org" <draft-irtf-cfrg-cpace@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [CFRG] Re: RGLC on draft-irtf-cfrg-cpace-15
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/bq3NOR9vE0-JKXrvc_sufxkRfrA>
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,

I have a few comments and a technical concern about draft-15.

CPace (as defined in the original 2019 paper) differs from the original SPEKE protocol (proposed by Jablon in 1996) in that it adds session IDs to the key exchange process. As a result of this change, completing the 2019 CPace protocol in 1 round or two passes is impossible. By now, this should be clear to everyone.

The CPace protocol in draft-15 has removed the session IDs as mandatory data.

CPace in draft-15 has also removed the party identity as mandatory data. From Section 3.1, the party identity is optional; it “MAY also be the empty string”.

These changes essentially revert CPace to SPEKE in 1996 . However, the 1996 SPEKE is known to suffer from an unknown key-share attack due to the missing user identities. With the explicit specification of the user identity as OPTIONAL in draft-15, it seems that CPace would suffer from the same attack. See [1] for more details.

Fixing this attack requires making party identities mandatory and including them in-flow during the key exchange. In order to maintain one-round efficiency, the only solution is to include the party identities in the key derivation function in a clearly defined lexicographic order. This is exactly what has been done in ISO/IEC to fix this issue. See [2] for more details. The revised SPEKE protocol, based on [2], has been standardized in ISO/IEC 11770-4.

I would recommend the CPace authors make the party identities mandatory, and explicitly include them in the key derivation function as done above.

[1] “The SPEKE Protocol Revisited” https://eprint.iacr.org/2014/585
[2] “Analysing and Patching SPEKE in ISO/IEC” https://arxiv.org/pdf/1802.04900

Regards,
Feng

From: Stanislav V. Smyshlyaev <smyshsv@gmail.com>
Sent: 01 December 2025 12:02
To: CFRG <cfrg@irtf.org>
Cc: cfrg-chairs@ietf.org; draft-irtf-cfrg-cpace@ietf.org
Subject: [CFRG] Re: RGLC on draft-irtf-cfrg-cpace-15

Dear CFRG,

We have received only one response, so we've decided to extend the RGLC.
It will end on December 15th 2025.

If you've read the document and think that it is ready (or not ready) for publication as an RFC, please send a message in reply to this email.

Regards,
Stanislav, Nick, Alexey (CFRG chairs)


On Mon, Nov 10, 2025 at 8:57 AM Stanislav V. Smyshlyaev <smyshsv@gmail.com<mailto:smyshsv@gmail.com>> wrote:
Dear CFRG participants,

This message is starting a 3-week RGLC on draft-irtf-cfrg-cpace-15 ("CPace, a balanced composable PAKE"), https://datatracker.ietf.org/doc/html/draft-irtf-cfrg-cpace, that will end on December 1st 2025. If you've read the document and think that it is ready (or not ready) for publication as an RFC, please send a message in reply to this email or directly to CFRG chairs (cfrg-chairs@ietf.org<mailto:cfrg-chairs@ietf.org>). If you have detailed comments, these would also be very helpful at this point.

The CPace protocol was selected as a result of the PAKE selection process in CFRG in 2019; there were a lot of reviews of the protocol and the early versions of the draft, see https://github.com/cfrg/pake-selection

We've also got a review for a recent version of the draft from Karthikeyan Bhargavan on behalf of the Crypto Review Panel:
https://mailarchive.ietf.org/arch/msg/crypto-panel/995IVSGk1jSRKvKS4gH2iu66eUc/
The authors were later addressing the concerns in the further versions of the draft.

Thank you,
Stanislav, for CFRG chairs