[Privacy-pass] Re: Demo of the BBS approach to rate limiting
Watson Ladd <watsonbladd@gmail.com> Mon, 08 July 2024 16:47 UTC
Return-Path: <watsonbladd@gmail.com>
X-Original-To: privacy-pass@ietfa.amsl.com
Delivered-To: privacy-pass@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 62A70C3756B0 for <privacy-pass@ietfa.amsl.com>; Mon, 8 Jul 2024 09:47:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.104 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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id sjsYWpI-RJe7 for <privacy-pass@ietfa.amsl.com>; Mon, 8 Jul 2024 09:47:42 -0700 (PDT)
Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B0B68C46BC5D for <privacy-pass@ietf.org>; Mon, 8 Jul 2024 09:47:42 -0700 (PDT)
Received: by mail-lj1-x236.google.com with SMTP id 38308e7fff4ca-2ee910d6aaeso46641411fa.1 for <privacy-pass@ietf.org>; Mon, 08 Jul 2024 09:47:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1720457261; x=1721062061; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=SeJKg5Q3NhbvG/5FprqQ2Z1sjOZw+2Z0cZf/pOf0tBU=; b=RPClCaWujze2F2oFL84doKaKrZu5PCS/qebHfAxovArjHPXf4JIYd8pHUm/RPAxjot kqEW+z64ljZypC9/1DjTrOz8MO8B3i+iTNPcGknPMlUPgpLxjwLV2uySDMNH11V0zQ9L tgfOdCp7buMl+N3fkydBFbRjnWvFjBu/CRdpE9P4sNTJDJ0CmLkG99iUg4idJkx4NnHW 4q8EEP2VozB4jhbgvM2mOiKAeo46FzCsbL+XEgg0Evr8YwC4Q5pOlsT4hExEasflcNvE K97DSM/PrZw3Kyc/NnStj5fC33iegZozAz5jCU6+KfxbzxqU9N/6YYCwjkuiqebGK1jk 5Fkw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1720457261; x=1721062061; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=SeJKg5Q3NhbvG/5FprqQ2Z1sjOZw+2Z0cZf/pOf0tBU=; b=fHdcAj1DRzfb/UCViCgGGcbLdoivCh/LOJqLYZe1OweO4DJrFxtw5FtrtSB7OIihbn Of3ag53DNHRxFaJhjmVxq6ULptp04r7uKPOs5tzSQAwM/NBzI1khhoSUa/hQQHO0UBPZ EiXkfK765I7gD9+iv0jwJRraPMvQsgXgiixj+z7dzrsSK/XyruqrDUrEQ6v8NDrMgTBP YJ+23LATNZIu7uFG/Ku9vF2XZwnDBRd6FLmN2QrYP6oPYL3hEYz2yMgRsk3ug3RqPqzJ Cca9tjAiTq8wjcIUYvXlvqoQBfoAHlqamhFxt+DlLH7xIA39vEL8rQB+11+HhBe48ZhF s03A==
X-Gm-Message-State: AOJu0YxQf2aY/jfuimWYZAB2H7kjvDZ0N7HBwBGMuNDp0eT6BvkQ2sED 2lpkBMvhIlNELyH2zDLx4g+0wnQGuOE8ZuhGmnYh+NoNuKveQOete5CSzIFfQ62q//6jwxA/QQQ udGh9nL4ezBFbAAir95UD8aYe/fI=
X-Google-Smtp-Source: AGHT+IH8mRx7WCoKXwQk20Y6WoGmY6WCqPQrIszwXu3TqeQm9NaHAVHRHsInuztgxen+n3iRtN9R/TV9ROktnuiETtA=
X-Received: by 2002:a2e:a7c7:0:b0:2ee:5a38:751a with SMTP id 38308e7fff4ca-2eeb3103378mr2258381fa.28.1720457260377; Mon, 08 Jul 2024 09:47:40 -0700 (PDT)
MIME-Version: 1.0
References: <CACsn0cknDRbfUeo8dZC+Pbc4gBCPALO-avyXAa3B3wkL39ct5w@mail.gmail.com> <03OMxJerLiPkaXJsGM3BeMmV20PyMEAW3bkKZu5vRpUgWnsyP60xzOnWbDjLe6OzBcVVv-8RdHN2wmYSdUboPd8GmRTHsB-mmWrZle40l_I=@thibault.uk>
In-Reply-To: <03OMxJerLiPkaXJsGM3BeMmV20PyMEAW3bkKZu5vRpUgWnsyP60xzOnWbDjLe6OzBcVVv-8RdHN2wmYSdUboPd8GmRTHsB-mmWrZle40l_I=@thibault.uk>
From: Watson Ladd <watsonbladd@gmail.com>
Date: Mon, 08 Jul 2024 12:47:28 -0400
Message-ID: <CACsn0cnetQiB_3ncFyQXbxfYoaOSHekd1m5W7sTzmo2dspa-CQ@mail.gmail.com>
To: Thibault Meunier <ot-ietf@thibault.uk>
Content-Type: multipart/alternative; boundary="000000000000db30b8061cbf2b4a"
Message-ID-Hash: 7EMLB6U2ZR4RM24ZBGSTGFZD4ON2CMCH
X-Message-ID-Hash: 7EMLB6U2ZR4RM24ZBGSTGFZD4ON2CMCH
X-MailFrom: watsonbladd@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: privacy-pass@ietf.org, Greg Bernstein <gregb@grotto-networking.com>, Vasilis Kalos <vasilis.kalos@mattr.global>, Michele Orrù <m@orru.net>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [Privacy-pass] Re: Demo of the BBS approach to rate limiting
List-Id: Privacy Pass Protocol <privacy-pass.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/privacy-pass/22J6sn8VwIPB8aPFHmolWL43T_E>
List-Archive: <https://mailarchive.ietf.org/arch/browse/privacy-pass>
List-Help: <mailto:privacy-pass-request@ietf.org?subject=help>
List-Owner: <mailto:privacy-pass-owner@ietf.org>
List-Post: <mailto:privacy-pass@ietf.org>
List-Subscribe: <mailto:privacy-pass-join@ietf.org>
List-Unsubscribe: <mailto:privacy-pass-leave@ietf.org>
That is correct! Michele Orru came up with the idea and has a draft paper showing correctness assuming certain conditions on the form of the proving matrix: all mistakes in interpretation are mine. On Fri, Jul 5, 2024 at 10:56 AM Thibault Meunier <ot-ietf@thibault.uk> wrote: > Hi Watson, > > Thanks for putting this together! I confirm the demo works locally with go > 1.22 and go test ./token. > > To confirm: this demo is a first pass at implementing the scheme presented > in a previous conversation [1], which would help inform > draft-ladd-bbs-privacypass [2]? > > [1] > https://mailarchive.ietf.org/arch/msg/privacy-pass/dja8_CKzxxXpgnx9J1LA-PXCPLs/ > [2] https://datatracker.ietf.org/doc/draft-ladd-privacypass-bbs/ > > Thibault > > > On Wednesday, July 3rd, 2024 at 8:29 PM, Watson Ladd < > watsonbladd@gmail.com> wrote: > > > > > > > Hello Privacy Pass and others, > > > > After the past few days I've gotten https://github.com/wbl/bbs-demo to > > the point where it works and shows the line of thinking. There's a lot > > that isn't great about it: the security analysis requires looking at > > the structure of the matrices more closely, the range proof is > > primitive (but easy to understand), there's many obvious speedups with > > sparse public matrices of elements and multiplication, issuance is not > > fully fleshed out yet, but I think its worth showing off before I go > > attack those. > > > > The test in > https://github.com/wbl/bbs-demo/blob/master/token/token_test.go#L19 > > should give an idea of the API+the declarations in token. A real > > origin would need to handle ticket checking, a real client needs to > > keep the count, etc. > > > > Sincerely, > > Watson Ladd > > > > -- > > Astra mortemque praestare gradatim > > > > -- > > Privacy-pass mailing list -- privacy-pass@ietf.org > > To unsubscribe send an email to privacy-pass-leave@ietf.org > -- Astra mortemque praestare gradatim
- [Privacy-pass] Demo of the BBS approach to rate l… Watson Ladd
- [Privacy-pass] Re: Demo of the BBS approach to ra… Thibault Meunier
- [Privacy-pass] Re: Demo of the BBS approach to ra… Watson Ladd