Re: [Ppm] Timestamps and nonces

Tim Geoghegan <timg@letsencrypt.org> Thu, 30 June 2022 16:08 UTC

Return-Path: <timg@letsencrypt.org>
X-Original-To: ppm@ietfa.amsl.com
Delivered-To: ppm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E0CAAC13CD9F for <ppm@ietfa.amsl.com>; Thu, 30 Jun 2022 09:08:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.849
X-Spam-Level:
X-Spam-Status: No, score=-2.849 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.745, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_BLOCKED=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 (1024-bit key) header.d=letsencrypt.org
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 0u_v46CdDotk for <ppm@ietfa.amsl.com>; Thu, 30 Jun 2022 09:08:36 -0700 (PDT)
Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) (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 8DA77C13A226 for <ppm@ietf.org>; Thu, 30 Jun 2022 09:06:58 -0700 (PDT)
Received: by mail-wm1-x32c.google.com with SMTP id r81-20020a1c4454000000b003a0297a61ddso2029726wma.2 for <ppm@ietf.org>; Thu, 30 Jun 2022 09:06:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=letsencrypt.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=9PX0669WIUb/ovcSQFQn4CzdRadoQL9CiDR4N322KJY=; b=IqlkG4JbwGzGGNzWfe3hb3g8LiWeVXnnTbZz/aPb0aItubQ0si/HzueFY2aAw6DTrj AllsXMzdrb7ym94NMtN0wiMSnyaQbzBga6i36M7coZ6M6X6NMcW9EuP5iHNDn2m6mWN1 dbvEVH6DuOquO1/6TxcqC7+q5rkI8amePK8hw=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=9PX0669WIUb/ovcSQFQn4CzdRadoQL9CiDR4N322KJY=; b=mYyLB+QNy6txUyrUy/EdbXNZhHBrecRRuz2DpaYSekCEQILpGhqnCfi8xOjhI0c13F cRF89nodAAMVtSefnhs+8dMWu0p0wE4eGke+hHYaDH/f5KLddMAhjLsiF9jGCRHZlIlT ugQACZVJR5m/iqOriPMqq7V4LeDsnyLEWxp3P9rrKntLIucCx0nvyQxBenPU4A1+NfWa gTKux5/TlyIWKYYf3u84hj/52JQUiJdsFoffKDXz99PXsx2dPVSt3taBpsHKxNve4QvT QzbJqMX3hKDbMGTJfW0DS/TKH9BUwI3XOzpHjfRHuSERKlTN1vrpjlnhPda1JELXbKcj K/ow==
X-Gm-Message-State: AJIora/JiighSOLqvO/hfSqT90i1wpD7VECRjpPt1GfDDrXdokxMip+k jHHPqpHKsCbOFSl4voGzq1Ai4e/5wwxt1Htl+GpK0ADygnMQKw==
X-Google-Smtp-Source: AGRyM1uwhpDTVNHzxVsW9V3UEfEYtKvZWYC6WPFqbPpD7jZyl4VDcN5xzJkAFh4JAbHk/1cFpLQoDUjoXf1QE0y9Baw=
X-Received: by 2002:a05:600c:5120:b0:3a0:5738:eea3 with SMTP id o32-20020a05600c512000b003a05738eea3mr10818496wms.81.1656605216863; Thu, 30 Jun 2022 09:06:56 -0700 (PDT)
MIME-Version: 1.0
References: <4450DDE1-E2B9-44F1-B44D-5C77D5660215@heapingbits.net>
In-Reply-To: <4450DDE1-E2B9-44F1-B44D-5C77D5660215@heapingbits.net>
From: Tim Geoghegan <timg@letsencrypt.org>
Date: Thu, 30 Jun 2022 09:06:45 -0700
Message-ID: <CABN231o4ueytG83Sb4BL6K2ez7R02Sc+AA4REtGgtVz97Sfa2g@mail.gmail.com>
To: Christopher Wood <caw@heapingbits.net>
Cc: ppm@ietf.org
Content-Type: multipart/alternative; boundary="0000000000007c18d005e2ac75e4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ppm/HZ6g0JCw9AC9yJzxAD07rIn6Xnc>
Subject: Re: [Ppm] Timestamps and nonces
X-BeenThere: ppm@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: Privacy Preserving Measurement technologies <ppm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ppm>, <mailto:ppm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ppm/>
List-Post: <mailto:ppm@ietf.org>
List-Help: <mailto:ppm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ppm>, <mailto:ppm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 30 Jun 2022 16:08:40 -0000

I believe the relevant pull request is
https://github.com/ietf-wg-ppm/draft-ietf-ppm-dap/pull/281

I commented over on GitHub, and I think this is a great idea. Thanks to
Shan for raising it!

Tim

On Thu, Jun 30, 2022 at 7:28 AM Christopher Wood <caw@heapingbits.net>
wrote:

> One issue pointed in #274 is that the timestamps might be used to link
> reports to clients as reports move throughout the system. This is somewhat
> of a problem, especially for deployments that want to apply shuffling for
> the purposes of amplifying local DP effects. Since the timestamp is really
> only used to identify the window in which replay protection should be
> applied, one solution to this problem is to make the timestamp less precise
> (a multiple of the batch window start time) and then bump up the nonce size
> to account for collisions. This approach is spelled out in this PR:
>
>    https://github.com/ietf-wg-ppm/draft-ietf-ppm-dap/pulls
>
> Please have a look and provide feedback.
>
> Thanks,
> Chris
> --
> Ppm mailing list
> Ppm@ietf.org
> https://www.ietf.org/mailman/listinfo/ppm
>