Re: [openpgp] Disabling compression in OpenPGP

Alfredo Pironti <alfredo.pironti@inria.fr> Thu, 20 March 2014 11:55 UTC

Return-Path: <alfredo@pironti.eu>
X-Original-To: openpgp@ietfa.amsl.com
Delivered-To: openpgp@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 66FEC1A06C3 for <openpgp@ietfa.amsl.com>; Thu, 20 Mar 2014 04:55:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level:
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, SPF_PASS=-0.001] autolearn=no
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 exbaZC9yLkeS for <openpgp@ietfa.amsl.com>; Thu, 20 Mar 2014 04:55:22 -0700 (PDT)
Received: from mail-oa0-x22f.google.com (mail-oa0-x22f.google.com [IPv6:2607:f8b0:4003:c02::22f]) by ietfa.amsl.com (Postfix) with ESMTP id 33E401A06AF for <openpgp@ietf.org>; Thu, 20 Mar 2014 04:55:22 -0700 (PDT)
Received: by mail-oa0-f47.google.com with SMTP id i11so748965oag.34 for <openpgp@ietf.org>; Thu, 20 Mar 2014 04:55:13 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pironti.eu; s=google; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=3HfvT2JOjlqNNP8hePTbejHLv9NNY4rIFSS5XS4ip9U=; b=DoOfLndkUp51f1JdGTopt5mFXszQUGVxZbRwvDA58SP6sxYfHZGMrpBvSsZ7NlPqbr 56JZwW3atjkmzmQ588FKOJ/ad2CJJh7hqThdTmcr5UMsBkYljNAtirxFC7nuUvf5znpw 2dPKQVBtqkn2LUixe7PE9orqSkTyPagAcy76o=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=3HfvT2JOjlqNNP8hePTbejHLv9NNY4rIFSS5XS4ip9U=; b=R3vUTu6IxgyJWwzV61K/eMF7xDeSOVD1GP2x8ZeZhBEbbDFlLNQ7Q2O5E9E1ri+3uA uNWLUHj+WxTbY9iD8ZXxU+1oDtdesvgGdTERFevNmVhiXNFBE3dMnyxNEj7Rc1EfXe4j El0yldAhZqyv81neqfASaitYVgvI8lT4w9sQ1NhiMCOnpP2sPNkGxvH+kRRWzVnM0K1t 9CxbKakfLfn2df36Rx2S8U3eYJAAWRjsoaB5XR+EsyRt4r2Yrk9Eropjfklnirn3sMPP 5LRFekzDztfVrEKkfwjDz/KEoZTtyPGlYw42dQtvf6UqK4OZ42/pKO8lpXiwmnMSsv5S JADA==
X-Gm-Message-State: ALoCoQl8GQjMOvNeuO1fqbDcjhysJhdyMV+EIwXXK1cDJ5c/RRy+VTYcQHYuAqW1JvnRjNj7mcLS
MIME-Version: 1.0
X-Received: by 10.182.33.73 with SMTP id p9mr6552353obi.37.1395316513207; Thu, 20 Mar 2014 04:55:13 -0700 (PDT)
Sender: alfredo@pironti.eu
Received: by 10.76.151.35 with HTTP; Thu, 20 Mar 2014 04:55:13 -0700 (PDT)
X-Originating-IP: [128.93.188.195]
In-Reply-To: <87ior9ru1x.fsf@vigenere.g10code.de>
References: <CALR0uiJG6GcngWMUkg6NrP7_4uwf8+QDn6aMF-qonOpRMLdo3w@mail.gmail.com> <95BD0817-D762-41DD-8444-A0C4F7AF1003@jabberwocky.com> <CALR0uiL0-Xp8E=F3idtzBkmRNLk7K_M_cqMt+i2HdNqaNkwn=w@mail.gmail.com> <849778F8-1C16-4FF8-A039-6363C158BD1F@callas.org> <20140319204047.GC30999@savin> <DE00E9BD-1D37-4750-B156-BBDC4B59DB7F@callas.org> <CAAS2fgQZPPrdehcs6TxmYikmyyfxOJqAdngaFk5=PcSGEGnejA@mail.gmail.com> <20140319214118.GA17419@savin> <CAAS2fgQotHyN=CFKoWO_aUdP8bhkSixEqSDQcALZ35mG+tk1tA@mail.gmail.com> <E1E355B9-0906-43DC-BACD-D4A1350C537F@callas.org> <87ior9ru1x.fsf@vigenere.g10code.de>
Date: Thu, 20 Mar 2014 12:55:13 +0100
X-Google-Sender-Auth: 0dVloOABOvocVG5unK-SjJGi00Y
Message-ID: <CALR0uiKbSv25oPm-bKMvZcF1XNT+pL7-Fjy+uYEFtzn4kWe5Vw@mail.gmail.com>
From: Alfredo Pironti <alfredo.pironti@inria.fr>
To: Werner Koch <wk@gnupg.org>
Content-Type: multipart/alternative; boundary="047d7b5d58b41e8ff404f508714a"
Archived-At: http://mailarchive.ietf.org/arch/msg/openpgp/BMJxofCGRKtd3BeOxtzOsRlIOkM
Cc: Gregory Maxwell <gmaxwell@gmail.com>, "openpgp@ietf.org OpenPGP" <openpgp@ietf.org>, Jon Callas <jon@callas.org>
Subject: Re: [openpgp] Disabling compression in OpenPGP
X-BeenThere: openpgp@ietf.org
X-Mailman-Version: 2.1.15
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: <http://www.ietf.org/mail-archive/web/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: Thu, 20 Mar 2014 11:55:23 -0000

On Thu, Mar 20, 2014 at 12:25 PM, Werner Koch <wk@gnupg.org> wrote:

> On Wed, 19 Mar 2014 23:58, jon@callas.org said:
>
> > I'm really sorry your ballots got spoiled. But you can fix that with
> > zero changes to software nor protocol.
>
> Yep.
>
> However, this a problem of the voting protocol.


It would be, if the voting protocol was prescribing compression, or was
using ballots of different lengths.

Instead, here OpenPGP is to blame because it silently slips in compression.



>  You would run into the
> same problems if you use a ZIP file with encryption or require to send
> an ODF document.  Both compress stuff; even text editors may do that by
> replacing runs of white space by tabs.
>
> There are a lot of possible failure modes to be investigated which is
> the reason why getting electronic voting right is so hard.
>
>
> Shalom-Salam,
>
>    Werner
>
> --
> Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
>
> _______________________________________________
> openpgp mailing list
> openpgp@ietf.org
> https://www.ietf.org/mailman/listinfo/openpgp
>