Re: [Webpush] Versioning aes128gcm-encoded messages
Martin Thomson <martin.thomson@gmail.com> Mon, 20 March 2017 00:52 UTC
Return-Path: <martin.thomson@gmail.com>
X-Original-To: webpush@ietfa.amsl.com
Delivered-To: webpush@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2AD10129434 for <webpush@ietfa.amsl.com>; Sun, 19 Mar 2017 17:52:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.7
X-Spam-Level:
X-Spam-Status: No, score=-2.7 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-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 ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SkTWCG2hogpP for <webpush@ietfa.amsl.com>; Sun, 19 Mar 2017 17:52:39 -0700 (PDT)
Received: from mail-qt0-x234.google.com (mail-qt0-x234.google.com [IPv6:2607:f8b0:400d:c0d::234]) (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 057C112702E for <webpush@ietf.org>; Sun, 19 Mar 2017 17:52:39 -0700 (PDT)
Received: by mail-qt0-x234.google.com with SMTP id i34so96593521qtc.0 for <webpush@ietf.org>; Sun, 19 Mar 2017 17:52:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=ipu81+lJ96zsGDmXgl3hX2xY4cl+xJN/vPN2KNbVutQ=; b=AAK/jFNQWyVbVaTaVk3Aqgzb9rLS1UKhhAMzWv3ybuyn8V292l6/N3ydWWu1jVBQo3 PNK3LK9GmVBj3/BV1JYX/W4wDuWapneZQPEyvFBwjvqrzkjIWaFzBmzG0o0q7d4EbLnA p3T8CGOnMnxVdhxaBilfo24y6ZCX+xv2HPv5m8Gw4eOlidAENZz/m5NwvnSzkI2OCqUc nz8gIMqpddroC6ol1bgFFrNRu16ZYwOtmhTufmAU5H9U7iBYMOD8YHmko5BbkH8Zh4Pj CGptGGx3pC/VJjY/KBzjqbB7QowChgzFADKs1h6ShRtXDhNHawShCR37sQ4r6cb/CkK9 XFcA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=ipu81+lJ96zsGDmXgl3hX2xY4cl+xJN/vPN2KNbVutQ=; b=o5VJP8swJ01ZRB7ccVcKyffZxlkUE+brtStEtrC8h/oxhBAbm4b2ULy3vZN8TJmqhA t4REV1XkpbZBmgng1JDMqtk/swYfK9zROHRm+c8n5Lv0nMo7ac5QKzzZzN+lsqzcogMW Om/Cy9EohiQeiRNQV1uxiBLvFYAhw5DYSqdUJX7wvAzeGTcMg5BOf356FITSn4TkvN7+ bH5MoCPIKXYiXnittu+KodaxuQpt7uneNeb9Rp2YlEXyoxLJHgpc+RTkhcewpF9mX7Yo GFoGuiVQfl5ZkG920qNxAv19rokg/UW0f2pDnamd4QQo5E0RXnSeorGPs5Jh3VVMfk9m TFFw==
X-Gm-Message-State: AFeK/H0vRI+/dN0e64X1GOfBjZUBos0I/tT6qAuKbipRTAHETWRxcYxMkO2YsuEaM+znlhhJOXga1HNHoe3S7w==
X-Received: by 10.237.34.250 with SMTP id q55mr24403520qtc.144.1489971158191; Sun, 19 Mar 2017 17:52:38 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.140.27.194 with HTTP; Sun, 19 Mar 2017 17:52:37 -0700 (PDT)
In-Reply-To: <CAEeQnYKmJ9-E3JQArvNxbwJuTZvjwRW2W9002sciLNGKJDbKhg@mail.gmail.com>
References: <CAEeQnYKmJ9-E3JQArvNxbwJuTZvjwRW2W9002sciLNGKJDbKhg@mail.gmail.com>
From: Martin Thomson <martin.thomson@gmail.com>
Date: Mon, 20 Mar 2017 11:52:37 +1100
Message-ID: <CABkgnnXTAO5OyPR5iMFiO0JLY4MtwNYEn1X9ksOyydbDvPsSTg@mail.gmail.com>
To: Kit Cambridge <kit@mozilla.com>
Cc: "webpush@ietf.org" <webpush@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/webpush/ZBK0jDq2EJDkIuCiSilMmH0rq4c>
Subject: Re: [Webpush] Versioning aes128gcm-encoded messages
X-BeenThere: webpush@ietf.org
X-Mailman-Version: 2.1.22
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: Mon, 20 Mar 2017 00:52:41 -0000
My intent was to signal version with the content-coding type. Adding a magic number doesn't really add anything unless you wanted to sanity check before doing a decryption. The decryption will fail if something has changed and decryption is cheap enough not to need an redundant version signal. On 20 March 2017 at 11:04, Kit Cambridge <kit@mozilla.com> wrote: > Hi, > > Now that encrypted content-coding has a binary header block, should we > consider including a "magic number" prefix with a version? This would avoid > having to use a new scheme name for backward-incompatible changes (so far, > we've gone through "aesgcm", "aesgcm128", and "aes128gcm"), and make it > easier for tools to identify encrypted payloads. > > OTOH, it seems like the draft has crystallized enough to where this won't be > necessary. In the future, maybe it does make sense to use a new scheme name > for substantial changes. > > I'm also not sure how useful identifying encrypted messages is, given that > their payloads (by design!) don't reveal anything about their contents. > > WDYT? > > - kit > > _______________________________________________ > Webpush mailing list > Webpush@ietf.org > https://www.ietf.org/mailman/listinfo/webpush >
- Re: [Webpush] Versioning aes128gcm-encoded messag… Kit Cambridge
- [Webpush] Versioning aes128gcm-encoded messages Kit Cambridge
- Re: [Webpush] Versioning aes128gcm-encoded messag… Martin Thomson
- Re: [Webpush] Versioning aes128gcm-encoded messag… JR Conlin
- Re: [Webpush] Versioning aes128gcm-encoded messag… Martin Thomson