[CFRG] Re: draft-irtf-cfrg-pairing-friendly-curves: question on the scope of PR #71 (Group/Scalar interface)
Michele Orrù <m@orru.net> Thu, 01 October 2026 06:38 UTC
Received: from mail-dy2-x0d.google.com (mail-dy2-x0d.google.com [IPv6:2607:f8b0:4864:36::d]) (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 37CB34B for <cfrg@irtf.org>; Thu, 01 Oct 2026 06:38:44 +0000 (UTC)
Authentication-Results: mx.ietf.org; dkim=pass header.d=orru-net.20251104.gappssmtp.com header.s=20251104 header.b=t2jfPO2d; dmarc=none; arc=pass ("google.com:s=arc-20260327:i=1"); spf=pass (mx.ietf.org: domain of m@orru.net designates 2607:f8b0:4864:36::d as permitted sender) smtp.mailfrom=m@orru.net
Received: by mail-dy2-x0d.google.com with SMTP id 5a478bee46e88-34c2a97ec17so1438739eec.3 for <cfrg@irtf.org>; Wed, 30 Sep 2026 23:38:44 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1790836717; cv=none; d=google.com; s=arc-20260327; b=DavA9N/MJMtZf3IREBR1H/4pdlfQ5X8sbBrP/EprKw0ovj6bTIP0q0D23RJkq9q7AT t+UxHH8sgv3oTe0d+Otp5M2EWzzaWXwASjdNJWwc6PhX0ZN3djZsQ6UpMsDGinGFFwoA Usl6SLlotDgPfH0if44RudQK3N6q6gCMMvzNpx9T0naqALlV0/dTsbinwRsLIVxr1mKL jVhr8OKqcyj4O3sdMEM5JTKBoZ81doe5SEa+Iuesc7zzw9mYw02vTn90OWykq3K+eIRU jSCia3JrtgbIQhyZTtL71xJMUixNeIhIAYX1S0/ihueMvLC6zFvRfD/Br9NE7FrYNwdd WnxQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=ZUPg2QdYVhtO5rUZ2LJnW/b52jfZ11npC6fZfuuoG8M=; fh=WOdpgOc2nKCyUowyjLiwc/GGS6U2nmmNvfID9P30zJU=; b=Us9azI217ISPHb3dJO9UhpHhyFmhmcF0mWkqjA48lG+C0EyNLWAQ/FMYFgg6jfwxAA ysWSYf4Ip+AtLSpkHptlwjZwV9iFuckW+BUeklDdM0cdqbXHUHr02DdcsJ9dTQ5952vm Mk0CZWXN4BWosSJZQxtTOJ72tCDyi6TFWNdWHZSG1+pkRSTVBWM31Jh/gxyHSak0ATiB H4dvtl7j7Ty1IkkdsT+IPgda3F3SyOKoqyvgM4DqLXemcEPtIdCodt+HWZAF1fHP80BQ KGo+6LrWdUxPbPeDpMQjQoNKsawebGd4bEjHushp2PNPl9AxDszuKOEkDN6QpfZRgh7o 1ujg==; darn=irtf.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=orru-net.20251104.gappssmtp.com; s=20251104; t=1790836717; x=1791441517; darn=irtf.org; h=content-transfer-encoding:content-type:cc:to:subject:message-id :date:from:in-reply-to:references:mime-version:from:to:cc:subject :date:message-id:reply-to:content-type; bh=ZUPg2QdYVhtO5rUZ2LJnW/b52jfZ11npC6fZfuuoG8M=; b=t2jfPO2dnVkwwbf7NLOVoUG0RDTZ0Y2hSXl/6ESdC5jcKv8hAwOY5cXXiMFlaIzTPL VT6scZ1Vk0OY1SKJFa8Wm471FgGxke0ZO+E7pDhgXfDC+J/PsHDluAnMN/1TZy2+WRXS xYRDrdBsfaqVs5Z3dDJy9tbfKg12eN5OH4m9FT+6DGWFOZJaFvgw+G1Y1kwGOOxplh23 ufw8t35I2elUGwAvJYYKUjUCfwFxIKlzZGQdh10AYc1bww/zOvaU62i0DPOzpHvEBu9F 9yZZq8+gKoRVZR27sI4nBvchF6mSnBpb6VLO1eQq56SBY1EyyhLICx9HKQ9SglFCOf3b VOdw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1790836717; x=1791441517; h=content-transfer-encoding:content-type:cc:to:subject:message-id :date:from:in-reply-to:references:mime-version:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=ZUPg2QdYVhtO5rUZ2LJnW/b52jfZ11npC6fZfuuoG8M=; b=mC+uzkWoPfup/7VoEHfkRqCkftTw3tiZA05QrsyTs+R8cbu13mJ/sEQBEepu7i6hya VCyGbeXBHU/kAzIv7Uzh7S/oyVeK3yBmGjcXrerOtUN1DTIDi3Q2L9shg1EhszqCdAR7 l79yoDZW7c5g9ITMPysFrBlQFS5jI3y5InUjDuoQPK1Am0wPzjW10s5O5ZcJamwyqchV 0WVUdWQdabDWw3t3lq3qx0LS467QJrljzB14I8PnKqiD5TYMEPi20B5AwX4uEHk/kksR JQ3NXXKVxeG1qspOoTPA7aumJcWNs3h3opSDKg0uTyCGyXMDUf/Qqu1FqBOT7icDcdh7 7LZg==
X-Forwarded-Encrypted: i=1; AKwUvBw+agqYovuoaUZsB/mT2RtYAy78KkufBAesLVCa6KLqbsz6ds1EwXbZZF7OlLao2cVw6T5h@irtf.org
X-Gm-Message-State: AFq9FYICV7mK9YqWwPEmYxY7sADgqgbeeV2No9DuC/W34G8VKcqi4J/r 3YGccwvOuegcKJGk/pOquszXvXTweL+AGMD73R4s/aLfHmXrUZpEGTkzlQTmcJUFixGi7zrdhb4 dSEIQHueluj30pykl7PBFqxyzsWKO5nPDYMjbVKZZjA==
X-Gm-Gg: AYBFou1Nuf9SkvJCL/ibF6kzWmH1WFzn7gciMthFF4nf1NoFmUKSqxztk2P3nFzVDcJ CJZd/lZXgb74XQ0eH7EiNl28aJ7OqR+N0vd2nLDAYj8C5S2T+rf5tA2d5m9EGWGv9W/yMFgs1tU MJJm9IF3yI1R+qmhvoow17kvLsFq4JIN7HbxW7yx2neCSLwsAYzETaP99xOo+tYCmAsgFhZav7H 1Yuvl9JY4uj6thTJNqYTCFjT+m948kuOzlPYt0jbAqQ12GYU9bpigmvO9ZXA47ihWtClPts14/r /55ZYrD4iSi/ruYS2/Q2xZXCDv1ZJBh1Y2vF0a4EPFM5m8rHX3ZkVu4oE5Qujk1X7tI//Hb9vqA lo/Jt8m9CQI/CHwIbD2v6QO6cTTanens9CWs1V6+PH1TH84XrPbBN5yDghSDgE3ylDxhmyfPz+r oXEcrG5wq+IEQP051HAXsprd7hQpoFX/6wcBlYTag3mfB35PhAYd3M
X-Received: by 2002:a05:693c:415a:20b0:343:6622:ee15 with SMTP id 5a478bee46e88-34cdb5f631cmr4257294eec.11.1790836716968; Wed, 30 Sep 2026 23:38:36 -0700 (PDT)
MIME-Version: 1.0
References: <CANZ5RKVPEUKxTZcewUiDzBtpp0rjGXjDkirv0vA2DZRSQw9T1Q@mail.gmail.com> <CAOyO2_JfdKJHk90MkRjPVO58fneo9e94vMcnCNHW5eDhMKsbbA@mail.gmail.com> <CANZ5RKVxB+5FB-Pxk2yQr0JB9zEU2SDEv0WccHuVEdxEZ6BvFw@mail.gmail.com> <CAOyO2_+pEkrhp3+teuYMm_GKNVbz2ORNf9cW_DjidUAKg1UefA@mail.gmail.com> <CACsn0c=puNSCFU1sHiJd+K07y2utAASYCsRpm-Yf3xxLwfurKw@mail.gmail.com>
In-Reply-To: <CACsn0c=puNSCFU1sHiJd+K07y2utAASYCsRpm-Yf3xxLwfurKw@mail.gmail.com>
From: Michele Orrù <m@orru.net>
Date: Wed, 30 Sep 2026 23:38:21 -0700
X-Gm-Features: AclHuK8L5oiy-GBG6eSviE2OSAaL6qIZjk6HD7XwttjzVMjThBsIpEa5uFopOZw
Message-ID: <CAOyO2_LwC5kFUVmyEFcHj2sXtF0QtBrrGfogLqynfisUc1=dUQ@mail.gmail.com>
To: Watson Ladd <watsonbladd@gmail.com>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Spamd-Bar: -
Message-ID-Hash: 4JCQLLD563SHEW53WQZKHTP5K25WB4BB
X-Message-ID-Hash: 4JCQLLD563SHEW53WQZKHTP5K25WB4BB
X-MailFrom: m@orru.net
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: Yumi Sakemi <sakemi-yumi@gmo-connect.jp>, cfrg@irtf.org, kanno@gmo-connect.jp
X-Mailman-Version: 3.3.10
Precedence: list
Subject: [CFRG] Re: draft-irtf-cfrg-pairing-friendly-curves: question on the scope of PR #71 (Group/Scalar interface)
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/05ZCtSGr3-hE80298E8DSVvFoUA>
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 Watson, Indeed, thanks for the clarification. You're right that the issue depends on whether implementations compare or derive values from the encoding itself, rather than from the decoded point. For the pairing editors: canonical encoding would simplify things for downstream protocols, but it doesn't block us. Best, -- Michele On Fri, Sep 11, 2026 at 9:50 AM Watson Ladd <watsonbladd@gmail.com> wrote: > > On Fri, Sep 11, 2026 at 8:33 AM Michele Orrù <m@orru.net> wrote: > > > > Hi Yumi, > > > > Neat. I updated our references to the pairing draft so that we are all aligned with the next revision. If you can double-check that we aren't missing anything, we're good to go. What follows are some more thoughts on canonical encodings, and some inline answers to your message. > > > > Can we still drop uncompressed serialization? Is any adopter actively using uncompressed serialization? > > In practice: keep the same wire format, but drop uncompressed and add a test vector that asserts rejection for C_bit = 0. That's what should happen in practice. > > > > In signatures and zero-knowledge proofs, having two possible encodings (which occurs since there are two valid serialization algorithms) leads to malleability attacks. > > An attacker can take a signature/proof in compressed form, re-encode it in uncompressed form, and present it as a fresh forgery. > > For instance, cloudflare/circl and microsoft/bbs-node-reference don't satisfy strong unforgeability because of this. > > For those doing pseudonymous authentication, this is even worse because it means that users have two different pseudonyms per scope. > > That's not necessarily true: it depends on the details of the > pseudonym and what kind of comparison is being done. If you just > blindly pass in the data rather than normalize, you'll have a fun > time. Having a single canonical encoding does help here, as does not > accepting other options, but it isn't a necessary consequence. > > > > > There is also a structural gap: pairing-based work has G_T, which Section 2.2 defines as an order-r subgroup of the multiplicative group of GF(p^k) rather than a group of curve points, and an EC group interface has no slot for it. > > > > I don't see the problem. G_T is a multiplicative subgroup of a finite field, therefore it is also a group. The interface we're looking for is a group interface. > > > > > [..] and [1, r-1] does not arise in it; Section 5.6.Section 5.6.3 covers only the receiving side: whether a protocol accepts a zero scalar it has decoded. If you see a reason for a curve document to address the sampling range as well, we would be glad to hear it. > > > > My comment didn't concern your specification, it's more about a lack of uniformity among different drafts, which might have repercussions for implementers. > > This was more for the whole CFRG than a single specific draft. > > > > A note contradicting my previous message: > > > > > - sigma-protocols rejects the identity during group-element deserialization [12]. > > > > After a few conversations, we are most likely going to allow the identity element in sigma-proofs; there are too many good use cases to leave it out. Thanks to Ian Goldberg and Jan Bobolz for their patience and helpful discussions. This is #159. > > > > P.S. As a side note, I personally don’t mind reading AI-assisted text, and I completely understand the language barrier. That said, receiving a large wall of undigested text might discourage other cryptographers from taking the time to review your spec. > > > > Best, > > -- > > Michele. > > > > > > _______________________________________________ > > CFRG mailing list -- cfrg@irtf.org > > To unsubscribe send an email to cfrg-leave@irtf.org > > > > -- > Astra mortemque praestare gradatim
- [CFRG] draft-irtf-cfrg-pairing-friendly-curves: q… Yumi Sakemi
- [CFRG] Re: draft-irtf-cfrg-pairing-friendly-curve… Michele Orrù
- [CFRG] Re: draft-irtf-cfrg-pairing-friendly-curve… Yumi Sakemi
- [CFRG] Re: draft-irtf-cfrg-pairing-friendly-curve… Michele Orrù
- [CFRG] Re: draft-irtf-cfrg-pairing-friendly-curve… Watson Ladd
- [CFRG] Re: draft-irtf-cfrg-pairing-friendly-curve… Michele Orrù