Re: [Webpush] Voluntary Application Server Identification -02
Costin Manolache <costin@gmail.com> Thu, 11 February 2016 06:26 UTC
Return-Path: <costin@gmail.com>
X-Original-To: webpush@ietfa.amsl.com
Delivered-To: webpush@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1])
by ietfa.amsl.com (Postfix) with ESMTP id 7D12F1A9095
for <webpush@ietfa.amsl.com>; Wed, 10 Feb 2016 22:26:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001,
SPF_PASS=-0.001] autolearn=ham
Received: from mail.ietf.org ([4.31.198.44])
by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024)
with ESMTP id Q3mKdET9XgSF for <webpush@ietfa.amsl.com>;
Wed, 10 Feb 2016 22:26:04 -0800 (PST)
Received: from mail-ob0-x230.google.com (mail-ob0-x230.google.com
[IPv6:2607:f8b0:4003:c01::230])
(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
(No client certificate requested)
by ietfa.amsl.com (Postfix) with ESMTPS id D3A881A9075
for <webpush@ietf.org>; Wed, 10 Feb 2016 22:26:03 -0800 (PST)
Received: by mail-ob0-x230.google.com with SMTP id wb13so61951995obb.1
for <webpush@ietf.org>; Wed, 10 Feb 2016 22:26:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:cc:content-type;
bh=BrYYY8P+SoiLTOOgfPaGK4K++lSoRRJprR4RBC8wKZg=;
b=sEhLzTNqcjtyyyiSemxFtnACTShz60gWqjvBP2u+uS1dib0GRsmlJe4vTirlD4WCpY
VZHeCljEl6GzmkVwoKyKW/pQYJJK542ARl6osa9MCcd1aGoaGcVXzKrZfRTgXvrbHiRz
FxaAu2NbPf40IEk4btAKUj6QoexFRcfGNS0X0P7YrqTTfAU5mRPbf8uivfRUT0WFHtlF
ZdrLoayYicvdymNIuZ6J/k3X3yvQB2auCPP8p/E01vBVNVyfgu6kPvrJKpAC94In/tCC
dpwxH08+FKOAeXMX7hm6nb4hdf91noRY03rw1Osa3zsv0w2tTJG9ijPfAUoi8wQG7AhV
R2Ug==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20130820;
h=x-gm-message-state:mime-version:in-reply-to:references:date
:message-id:subject:from:to:cc:content-type;
bh=BrYYY8P+SoiLTOOgfPaGK4K++lSoRRJprR4RBC8wKZg=;
b=dNWr6HRsqW8gN3aNJx+bJAxcvzZsFYfkh88jgCzd/XdtB3eXBd6HJBwJiTpQvcteQD
7UQMz5q6qmo20A+AmvxD4KKbXon1ry9aQp3MVTphK+mc82WDTX9Rv5cS44e0PD2NcuPM
kBUDN5GBpTv1/Us1q/M8N462lcIDqPOiGhTnIvdgYU1z67Mle/dLyLqnN3i7koPDavT1
SFJZQhbgS8nzQ5tSJz2eMxk0PNqYaHH28IncwykbxHVboFvIq815NzeEFapw4vuwdcJY
TjU5QsYgPcBdrRM8FWBs+jzmE221HvQRYElA6V5yRil2rjPmENicrwvYtnxU3CZXgIO/
bnwA==
X-Gm-Message-State: AG10YOQhKiQn6/PaMPvZuZME0lMOc7HXn+wPDl2E3nTQ2HpyqxbU14PMRVAWNVOJuZMmk7sMM+/NrFEcnsmLRA==
MIME-Version: 1.0
X-Received: by 10.60.47.195 with SMTP id f3mr44465124oen.1.1455171956914; Wed,
10 Feb 2016 22:25:56 -0800 (PST)
Received: by 10.76.8.74 with HTTP; Wed, 10 Feb 2016 22:25:56 -0800 (PST)
In-Reply-To: <7f44560b-5b3e-fa6c-47de-b10fd6265379@mozilla.com>
References: <CABkgnnXMA1do2jLoNuALz5V+416RELu=FWyEj8nExC+xn3vnpw@mail.gmail.com>
<CALt3x6=T7+PDBRYfBeSNuCABi824Vpno9N+2Y7Jg=5pYUxBvCw@mail.gmail.com>
<CAP8-FqkTteuTU8JpqWCr-7LB9niM4ng26U8gomWrc=zvp4xJ5w@mail.gmail.com>
<7f44560b-5b3e-fa6c-47de-b10fd6265379@mozilla.com>
Date: Wed, 10 Feb 2016 22:25:56 -0800
Message-ID: <CAP8-Fq=cENBD-qP0xGV789S0rWmUKZ0pkyenQbbts3t4nKfooA@mail.gmail.com>
From: Costin Manolache <costin@gmail.com>
To: JR Conlin <jconlin@mozilla.com>
Content-Type: multipart/alternative; boundary=001a11c3029e944104052b789fda
Archived-At: <http://mailarchive.ietf.org/arch/msg/webpush/xF3M8XP9xUJLbQJYcCR7LL_WrXc>
Cc: Martin Thomson <martin.thomson@gmail.com>,
"webpush@ietf.org" <webpush@ietf.org>, Peter Beverloo <beverloo@google.com>
Subject: Re: [Webpush] Voluntary Application Server Identification -02
X-BeenThere: webpush@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Discussion of potential IETF work on a web push protocol
<webpush.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/webpush>,
<mailto:webpush-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/webpush/>
List-Post: <mailto:webpush@ietf.org>
List-Help: <mailto:webpush-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/webpush>,
<mailto:webpush-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 Feb 2016 06:26:06 -0000
On Wed, Feb 10, 2016 at 2:30 PM, JR Conlin <jconlin@mozilla.com> wrote: > While talking with Kit, I'd like to present a set of rules (I was going to > call them best practices, but really, that's like saying "Do not lick high > voltage lines" is a best practice.) > > 1) If a site registers a public key as part of a subscription request, > that key is used to validate the JWT. Invalid JWTs result in a 401. > Not sure I understand - the register() call takes a public key, and the push service needs to verify that the send request includes a JWT token with the same key - is that what you mean ? > > 2) If a site registers a public key, it should NOT include the public key > as part of the Crypto-Key header in the Push request (since this increases > the chance that the key is inadvertently disclosed.) > I'm not sure how or if we should signal that back to the App Servers. > The key used in register() needs to be included in the push request - technically we can work around this, by having the push service store the key - but by having it in the push header it can reduce the storage ( the push service can only store a hash of the key, or can include a hash of the key in the registration token, so no storage - assuming the registration is encrypted/signed). It's a public key - why would it be a problem in disclosing it ? Anyone who cares can get it from the browser making the subscribe request, it's more or less as secure as the public key in the TLS cert. Costin > > 3) If the Crypto-Key:p256ecdsa == Crypto-Key:p256dh, that will return a > 401. (it's just math kids, you can pick different coordinate sets, for > free.) > > Seem reasonable? > > > > On 2/1/2016 12:33 PM, Costin Manolache wrote: > > +1 > > Costin > > On Mon, Feb 1, 2016 at 10:43 AM, Peter Beverloo <beverloo@google.com> > wrote: > >> Thank you for publishing the draft, Martin! >> >> While I'm not sure how much significance it carries since I'm listed as >> an editor, I do of course support the draft as the resolve to Issue 44. >> >> Server authentication and subscription association are important problems >> to us, and, pending any further feedback from the working group, we plan to >> adopt the proposed solution in our implementations. >> >> Thanks, >> Peter >> >> On Mon, Feb 1, 2016 at 1:56 AM, Martin Thomson < >> <martin.thomson@gmail.com>martin.thomson@gmail.com> wrote: >> >>> I have just posted a new version of the draft, taking the recent >>> feedback from discussions into account. >>> >>> https://tools.ietf.org/html/draft-thomson-webpush-vapid-02 >>> >>> This includes only the JWT option, with a lot more of the details >>> fleshed out. I've implemented it in order to create the example, and >>> that is dead simple to do. >>> >>> I think that this is the answer we want for issue 44 [44]. Does the >>> group agree? Is this worth adopting? >>> >>> [44] https://github.com/webpush-wg/webpush-protocol/issues/44 >>> >>> _______________________________________________ >>> Webpush mailing list >>> Webpush@ietf.org >>> https://www.ietf.org/mailman/listinfo/webpush >>> >> >> >> _______________________________________________ >> Webpush mailing list >> Webpush@ietf.org >> https://www.ietf.org/mailman/listinfo/webpush >> >> > > > _______________________________________________ > Webpush mailing listWebpush@ietf.orghttps://www.ietf.org/mailman/listinfo/webpush > > >
- [Webpush] Voluntary Application Server Identifica… Martin Thomson
- Re: [Webpush] Voluntary Application Server Identi… Peter Beverloo
- Re: [Webpush] Voluntary Application Server Identi… Costin Manolache
- Re: [Webpush] Voluntary Application Server Identi… JR Conlin
- Re: [Webpush] Voluntary Application Server Identi… Costin Manolache
- Re: [Webpush] Voluntary Application Server Identi… Martin Thomson
- Re: [Webpush] Voluntary Application Server Identi… Martin Thomson
- Re: [Webpush] Voluntary Application Server Identi… jr conlin