Re: [openpgp] Deprecating compression support

"Derek Atkins" <derek@ihtfp.com> Mon, 18 March 2019 13:32 UTC

Return-Path: <derek@ihtfp.com>
X-Original-To: openpgp@ietfa.amsl.com
Delivered-To: openpgp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5459B1277DB for <openpgp@ietfa.amsl.com>; Mon, 18 Mar 2019 06:32:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.99
X-Spam-Level:
X-Spam-Status: No, score=-1.99 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, T_SPF_PERMERROR=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ihtfp.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 yEmHrad5E_gM for <openpgp@ietfa.amsl.com>; Mon, 18 Mar 2019 06:32:01 -0700 (PDT)
Received: from mail2.ihtfp.org (MAIL2.IHTFP.ORG [204.107.200.7]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E5899126CAD for <openpgp@ietf.org>; Mon, 18 Mar 2019 06:32:00 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by mail2.ihtfp.org (Postfix) with ESMTP id 8C28BE2040; Mon, 18 Mar 2019 09:31:59 -0400 (EDT)
Received: from mail2.ihtfp.org ([127.0.0.1]) by localhost (mail2.ihtfp.org [127.0.0.1]) (amavisd-maia, port 10024) with ESMTP id 32033-08; Mon, 18 Mar 2019 09:31:55 -0400 (EDT)
Received: by mail2.ihtfp.org (Postfix, from userid 48) id 981EDE2042; Mon, 18 Mar 2019 09:31:55 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ihtfp.com; s=default; t=1552915915; bh=H1+LErXVsZsRYFdWsl95M/uTFf3qpGZmZ1w0swucgGM=; h=In-Reply-To:References:Date:Subject:From:To:Cc; b=ZDkZk6MMmcfXOuuDWuVLRDteEGHLAb8BbNm1q9y4mJd6X4rWWKMSNRt761S/VpJbw 84jVTAo4UXYRe80GDKnUvu9InsyZgPjsSDR5gd0sMuKxVxjwOGd1UCYqiozJQp2iIo bPWWT5kjldyMWYbjgsTZPF7dLrdH0pNrhq6JatiA=
Received: from 99.46.190.172 (SquirrelMail authenticated user warlord) by mail2.ihtfp.org with HTTP; Mon, 18 Mar 2019 09:31:55 -0400
Message-ID: <c9f40743f5f02dfca847f02b9708e237.squirrel@mail2.ihtfp.org>
In-Reply-To: <87pnqoiage.wl-neal@walfield.org>
References: <871s3475dy.fsf@europa.jade-hamburg.de> <87pnqoiage.wl-neal@walfield.org>
Date: Mon, 18 Mar 2019 09:31:55 -0400
From: Derek Atkins <derek@ihtfp.com>
To: "Neal H. Walfield" <neal@walfield.org>
Cc: Justus Winter <justuswinter@gmail.com>, openpgp@ietf.org
User-Agent: SquirrelMail/1.4.22-14.fc20
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
X-Priority: 3 (Normal)
Importance: Normal
X-Virus-Scanned: Maia Mailguard 1.0.2a
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/54b5omdKzEgKzyoAJOanisnLw2Y>
Subject: Re: [openpgp] Deprecating compression support
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/openpgp>, <mailto:openpgp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/openpgp/>
List-Post: <mailto:openpgp@ietf.org>
List-Help: <mailto:openpgp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/openpgp>, <mailto:openpgp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 18 Mar 2019 13:32:03 -0000

Hi,

On Mon, March 18, 2019 9:22 am, Neal H. Walfield wrote:
> Hi Justus,
>
> Thanks for bringing this up.
>
> On Mon, 18 Mar 2019 13:07:21 +0100,
> Justus Winter wrote:
>> I propose to deprecate compression support in OpenPGP.
>> ...
>> I realize that we cannot suddenly drop decompression support, but I
>> would suggest to stop emitting compressed data packets.  If this
>> proposal gathers traction, I would be happy to suggest a change to the
>> standard.
>
> I propose that we change the standard to say:
>
>   - Compliant implementations MUST NOT emit compressed data packets.

I would lessen this a tiny bit and say SHOULD NOT.  I can still imagine
cases where one MAY want to emit a compressed data packet, especially if
the sender and receiver have some out-of-band knowledge.

>   - For backwards compatibility, compliant implementations MAY
>     decompress compressed data packets.

I would also change this to SHOULD, because IMHO backwards compatibility
is important and there are decades of compressed data out there.

> Obviously, we should deprecate the "Preferred Compression Algorithms"
> subpacket as well.
>
> Note: removing compression support was one of the original goals:
>
>   Subject: [openpgp] details of 4880bis work
>   From: Stephen Farrell <stephen.farrell@cs.tcd.ie>
>   Message-ID: <5527B621.3040104@cs.tcd.ie>
>   Date: Fri, 10 Apr 2015 12:38:09 +0100
>   Archived-At:
> <http://mailarchive.ietf.org/arch/msg/openpgp/ll36RGS81vXSXkVey0cR0zZ7WkI>
>
>   ...
>
>   g) remove compression entirely

I am not against removing it, but it should be deprecated first IMHO.

>   ...
>
> :) Neal

-derek

-- 
       Derek Atkins                 617-623-3745
       derek@ihtfp.com             www.ihtfp.com
       Computer and Internet Security Consultant