Re: [Jmap] Working group last call draft-ietf-jmap-webpush-vapid

Bron Gondwana <brong@fastmailteam.com> Thu, 21 March 2024 07:53 UTC

Return-Path: <brong@fastmailteam.com>
X-Original-To: jmap@ietfa.amsl.com
Delivered-To: jmap@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 552DCC17C8BA for <jmap@ietfa.amsl.com>; Thu, 21 Mar 2024 00:53:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.105
X-Spam-Level:
X-Spam-Status: No, score=-7.105 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, RCVD_IN_DNSWL_HI=-5, 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=fastmailteam.com header.b="Ulgz8BAK"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="er8GCIyn"
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 pAipqVoNwigY for <jmap@ietfa.amsl.com>; Thu, 21 Mar 2024 00:53:26 -0700 (PDT)
Received: from fhigh8-smtp.messagingengine.com (fhigh8-smtp.messagingengine.com [103.168.172.159]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 8A0BDC1654FE for <jmap@ietf.org>; Thu, 21 Mar 2024 00:53:26 -0700 (PDT)
Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailfhigh.nyi.internal (Postfix) with ESMTP id A8A5D1140144 for <jmap@ietf.org>; Thu, 21 Mar 2024 03:53:25 -0400 (EDT)
Received: from imap43 ([10.202.2.93]) by compute5.internal (MEProxy); Thu, 21 Mar 2024 03:53:25 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= fastmailteam.com; h=cc:content-type:content-type:date:date:from :from:in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm3; t=1711007605; x= 1711094005; bh=Y5g4aT3Mr12Z7N/Y6uXZbAGWVdn3iPHxaURt0ouQABk=; b=U lgz8BAKLGRtnO1Uukh4BDbsgkIMgGhDjFnOOpuFejIzzHQ/+dskqrzXVXewPMWiy qTgHiR9LM9edrEYLNwU4lDKZf1uBNF42uaMiZu/V4lbLl9MsNwgOEjSYnSaJRPmg B40PVhg3TZPGtXufImrCDlepftYkkQLOVraR4zwD5DLM2G3bhBAk5CB0U3HP+F5J X2qN/l+EIpsrRJ+JF/pAy9XH1DddRB99rxfCLC4wNi8AZyzulsSHe7X+kOQz1uNj 4l5FE+laLIlhKJDkCOfMLeg3OrkQP4h4U1VUpVf2Oy/R+iuIGZY5SBDYY21ZkmnW xLdho4nS16yDNtfXRWlMQ==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:content-type:date:date :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to :message-id:mime-version:references:reply-to:subject:subject:to :to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; t=1711007605; x=1711094005; bh=Y5g4aT3Mr12Z7N/Y6uXZbAGWVdn3 iPHxaURt0ouQABk=; b=er8GCIynerOxlu5552GJWrTOLOVAtysVUHJODYthyRUM 0P11+idi9CltVczUqiZBjPw0VQb+j5No4m/PpJ0CL088GbZA/StPyMHh1T/1tR+A AC65xLLkkTj1/I8I/hkExSthcM29K2xSsf3rUZ+ihLerwjyoXtLH7Lo20aKthesh e7H7WDW31Jhe4PgwZiM/NsbcA1vaB/SvgtwujLzzpuv4PGvznnIiBrEc9mWJloE7 LGTTEZGWda2GnHjVhteuHWgZ0Svl1dFjOapNJ5KObMI7Mspch1xCoy3ScK4yxarL mmMC9XxX0GCHHMrgLq10ogFam02QsDv7KQMSkI3K6A==
X-ME-Sender: <xms:def7ZTXBRIY0PEKXKe2DXsqTun6fk03qUHe4fmOIXSsf7QRbrI4t0g> <xme:def7Zbn9rUvLHKh0RUZQ0tXiDS_Cr9c3H2vjjv46P3g4loI_mh9Abr4B61vZCrF3l UHYYQijmCo>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrleehgdduuddvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsegrtd erreerredtnecuhfhrohhmpedfuehrohhnucfiohhnugifrghnrgdfuceosghrohhnghes fhgrshhtmhgrihhlthgvrghmrdgtohhmqeenucggtffrrghtthgvrhhnpeffveefiefgje evteehheelgeetleetveeguedthfehgffhtdejhfdvhefhtdekgfenucffohhmrghinhep ihgvthhfrdhorhhgnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilh hfrhhomhepsghrohhnghesfhgrshhtmhgrihhlthgvrghmrdgtohhm
X-ME-Proxy: <xmx:def7ZfaV9dZPGWyv7t06skQkJhsc9iCeUZXnAB-vq-CQkG5TmkOeTg> <xmx:def7ZeVJ9wLux5GbKNFPycaOGqurDEAPfQMqI-jcywhOkPHMqiwe4g> <xmx:def7Zdn4DWGSXTYUNLXU7GIFZG7jf_LMkpMHfBZ5_aPTYdr4efmKkA> <xmx:def7ZbeGePeDizQ6anqgoaoR4DxThGl5jsDoCJUD1aXZrRI05Uh9DQ> <xmx:def7Zcs7p9z6_jn7gS5To07Lz-27dS0KU5vuGieatUQiWRU78jDCFA>
Feedback-ID: i2d7042ce:Fastmail
Received: by mailuser.nyi.internal (Postfix, from userid 501) id 61BC62D4007D; Thu, 21 Mar 2024 03:53:25 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
User-Agent: Cyrus-JMAP/3.11.0-alpha0-332-gdeb4194079-fm-20240319.002-gdeb41940
MIME-Version: 1.0
Message-Id: <4b201702-ad4a-4b0e-86da-fac9f07d265e@app.fastmail.com>
In-Reply-To: <fb1b10ae-ea36-4ee4-b84f-b62f036cfaf5@app.fastmail.com>
References: <fb1b10ae-ea36-4ee4-b84f-b62f036cfaf5@app.fastmail.com>
Date: Thu, 21 Mar 2024 17:53:05 +1000
From: Bron Gondwana <brong@fastmailteam.com>
To: jmap@ietf.org
Content-Type: multipart/alternative; boundary="1681c05700c9451eab344e7349303fa4"
Archived-At: <https://mailarchive.ietf.org/arch/msg/jmap/-fviGPMESbWgytjuUpnGWpZRcbY>
Subject: Re: [Jmap] Working group last call draft-ietf-jmap-webpush-vapid
X-BeenThere: jmap@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: JSON Message Access Protocol <jmap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/jmap>, <mailto:jmap-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/jmap/>
List-Post: <mailto:jmap@ietf.org>
List-Help: <mailto:jmap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/jmap>, <mailto:jmap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 21 Mar 2024 07:53:31 -0000

I have feedback!

I am considering the case where the server wishes to rotate its `applicationServerKey` value.  I checked in with Martin Thomson about this, and we decided it makes sense to keep track of the value per subscription; so:

We need to extend BOTH PushSubscription/set and PushSubscription/get to add an `applicationServerKey` value.  The client MUST echo back the value from the session object when creating a push subscription if it has given this value to the PushSubscription target system.

We also need to allow PushSubscription/set to reject an attempt to extend the expiry time further into the future; I don't see a good error code for this, so we may need to define a new one.  Given that error, the client would be required to create a new PushSubscription, using the new applicationServerKey, and destroy the existing PushSubscription.

Bron.

On Thu, Mar 21, 2024, at 12:09, Bron Gondwana wrote:
> Hi All,
> 
> This email starts a working group last call for https://datatracker.ietf.org/doc/draft-ietf-jmap-webpush-vapid/ as discussed in the IETF119 session.
> 
> Please post any comments or responses by *Thursday, April 4th, 2024*.
> 
> Thanks,
> 
> Bron.
> 
> 
> --
>   Bron Gondwana, CEO, Fastmail Pty Ltd
>   brong@fastmailteam.com
> 
> 

--
  Bron Gondwana, CEO, Fastmail Pty Ltd
  brong@fastmailteam.com