[CFRG] Re: draft-irtf-cfrg-pairing-friendly-curves: question on the scope of PR #71 (Group/Scalar interface)

Watson Ladd <watsonbladd@gmail.com> Fri, 11 September 2026 16:50 UTC

Return-Path: <watsonbladd@gmail.com>
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 0A4221391A3A4 for <cfrg@mail2.ietf.org>; Fri, 11 Sep 2026 09:50:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1789145428; bh=HiBUb2jdjNf/9Eq7CV73L1QR4EhiBb2lCAnk+T5bBSY=; h=References:In-Reply-To:From:Date:Subject:To:Cc; b=kZvlV2O5G/x/ndws8vjVzr+hAta4iSTlP4J2N2sPHhG2ojxFNqtWcU8WuttbUPSt+ Wdv6LZ10whpqWNdQbu99WERHI/Rm5cSqb1+07BhkM1c2hk+H9g8nRsXS1bOqkERCQg O+mnbPZeXADzCEDCjOBl2hoWV7VXwAAEP04QxjIM=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -1.099
X-Spam-Level:
X-Spam-Status: No, score=-1.099 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, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=no autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
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 Ld5I_59uaxRa for <cfrg@mail2.ietf.org>; Fri, 11 Sep 2026 09:50:27 -0700 (PDT)
Received: from mail-wr1-x432.google.com (mail-wr1-x432.google.com [IPv6:2a00:1450:4864:20::432]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id B6A971391A3A1 for <cfrg@irtf.org>; Fri, 11 Sep 2026 09:50:27 -0700 (PDT)
Received: by mail-wr1-x432.google.com with SMTP id ffacd0b85a97d-4858303de5dso1173389f8f.2 for <cfrg@irtf.org>; Fri, 11 Sep 2026 09:50:27 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1789145427; cv=none; d=google.com; s=arc-20260327; b=q+hG9wU8jkS3+O827E115rPRfe9Z+V9McGqEkJ88DmYQRLMxF2YguFpO3a0UN5m4xB Xq1JEAZuUNiYC5p397umW29hpOYxyzRh40GJcdRgyyEU1QcUUBYpEPwfeDrSEltkh3Az QHHyQtyOTk7c4NDn/cl9ekw83sLkD8s3Jmnpxr88632Ed/5GHOulpe7wjbp/hotvmjAW ch2TXaRuY4pD7YtxFvl60IZFnnW1WhmHoyCgxCC5VMpJrGEtpVO4gwLoOpzEnP/vvb4H ajNSNLKHbJduWDWxM2z2FrwiEKFxRIk6c0ly7EEen7tYZLQx1rYUis7xh8QI49eAZqP2 Hkeg==
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=XVPCOrslyyU+BzqhhlaFPwXrq/wjghmy/ySofEJhsZ0=; fh=tQwqj8+uS756kUPKD5E9j5ki0qyMQXXs0fT6EE2fRho=; b=fqLDSPwkR4rFRA14vLIZXDg8G16IFRLs848ENPf1OnZ/JvjXBlAj2LOo7W/qv/SAvX 1YygfWFtzd9smIuiv2wNE4XzqsBBpF5GAAbubiEA9tR/3xTAzpjiwmvNfMfMRSqA7B6Y lzZezspEkM/wLq4u6nSub0HADEwjiSkeNWb8FcE1IgUVu7xAOJqSj/owmV0QKTRL+0i6 H44iidQNTwxtZrJ9WzODW73BYxQdoeczcqQ7wTsXYNbHiX8TS0/aJi07MSab9ycImqCK 4Nr9MJgihpIwbaI8ytv+TdwahQXZs/fAT/ED7s0bHHXb3s8ZQn6hUbar1Cab+pMZmxjG xpyw==; darn=irtf.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1789145427; x=1789750227; 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=XVPCOrslyyU+BzqhhlaFPwXrq/wjghmy/ySofEJhsZ0=; b=pfsnQ1HRU3qZ+mmqiM6WtwnWIsotMhQf6q1ccLBW81ZvqKmF94e7ewOJaHX14m/r34 zi4j0JPpwomd3mpOi75or/Xob8ZRabHZCJvTeau/aFbw6WfaGiPLhV2kOcr7NxyDwlhs oE/4w0PyUUhY0B9zv5BL+H88CmALriYMokB9KI0vON3rNeFHIqadyM2a87OQMUf3wHAw NRe2pF9p0ewgwfaGOdbWGyHDflGcpbFAoGBC2uFBaWqc1jWtbk/Ld3qbGZY99ynwbuu5 p5YmR4kSKIiOLXAZQTyL5mpaLz2j/tDnNn8LeKosNz1SpeYd8HP5BeS2Rhvm3IIQ2o39 nLvQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1789145427; x=1789750227; 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=XVPCOrslyyU+BzqhhlaFPwXrq/wjghmy/ySofEJhsZ0=; b=l/+ZOkw3IJFcfWS2zyIWpBv2zbnkwIZJMtacrHnKHzlxM+eRMxuq8xrpZspMwtQRD3 SwcUmOt7JduOjd8f/aasnjp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97d-486eb2feb3cmr4302164f8f.23.1789145426245; Fri, 11 Sep 2026 09:50:26 -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>
In-Reply-To: <CAOyO2_+pEkrhp3+teuYMm_GKNVbz2ORNf9cW_DjidUAKg1UefA@mail.gmail.com>
From: Watson Ladd <watsonbladd@gmail.com>
Date: Fri, 11 Sep 2026 09:50:15 -0700
X-Gm-Features: AcwNN1UJbBPgic4EkQjw9dpAucQGAuzaUPffp13Hd762_3jBQc858kN3fqqveq4
Message-ID: <CACsn0c=puNSCFU1sHiJd+K07y2utAASYCsRpm-Yf3xxLwfurKw@mail.gmail.com>
To: Michele Orrù <m@orru.net>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: 5HH5WFSGXOWMEZ6HLJOADYUEXLUPGCS6
X-Message-ID-Hash: 5HH5WFSGXOWMEZ6HLJOADYUEXLUPGCS6
X-MailFrom: watsonbladd@gmail.com
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: Yumi Sakemi <sakemi-yumi@gmo-connect.jp>, cfrg@irtf.org, kanno@gmo-connect.jp
X-Mailman-Version: 3.3.9rc6
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/Rv0qWe1nJz_fJXbsVinZCllJB54>
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>

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