Re: [openpgp] Message padding in OpenPGP

Justus Winter <justuswinter@gmail.com> Thu, 26 September 2019 20:16 UTC

Return-Path: <justuswinter@gmail.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 55DEA1200C5 for <openpgp@ietfa.amsl.com>; Thu, 26 Sep 2019 13:16:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 x9Ttf4b8yqip for <openpgp@ietfa.amsl.com>; Thu, 26 Sep 2019 13:16:10 -0700 (PDT)
Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) (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 9C3B91200FE for <openpgp@ietf.org>; Thu, 26 Sep 2019 13:16:10 -0700 (PDT)
Received: by mail-ed1-x52b.google.com with SMTP id r4so405720edy.4 for <openpgp@ietf.org>; Thu, 26 Sep 2019 13:16:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=86TTsAWz3BpWw0LPPF55g16JZ1v/RSWl6CAZvvH1s5c=; b=ssX1efajlxqRbiGxgmgbM2b7RvScdgkgggLdyFwMztYuA4mOhtX7igYtef9Giare+Z nTrahhF0JiMAh6Q33a+XX5zyU9XyeR3GXTF90sSbDFHzFsPyuv7gupAwZFR5Kl0Fmy9H wK3LE3bsezdcb12UcO+5eMgQxvnB+xJEgUpU4N6M2McAj5nmy+EuQbQs7J3Uj8oVkZDt HIGQ+fMv3fOWe3svf31GSwyXTu/fvTqnZ+IeMgrn4hfulSVx4ZPuy2rBiiLKbG0vipdZ zQvbHiT1HwpgLFWCqS6yZu4A/JfOFmkLPT6VR6C43+fdVY0cPK9zJ9IoSru1rm2PVEz6 SsMw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=86TTsAWz3BpWw0LPPF55g16JZ1v/RSWl6CAZvvH1s5c=; b=iaAN+D5cr3Tp/uuuV7HzRC132Tu8w9T4BmyE/4Xi6ei7rnklml5JXkx493CZzplOQW aOUDVW/jh4gMuGyQ5jCZXVtMsCb8IWO2ftffeqA0+Dk9AzOitiPTkNltUeBymv2NPP9t zPjO7XkmCcTkvzRsW/zMmJdUJORdtaaFndeVyouymlPcUuhcVMk8GqUOWVUOoQcWIQfC 7rSGzDEH8WpWEztnPVuykJxLpCohvi37B7NskA4xA+j5mxFN/KzUytKL+/luPyskMLgj cQybzQAp69A32Brq/SpgmS1NhG7MQNHpE1hk8+JC/0dHV90Qp14NDU+sRMm7u1BLoMzh MNNg==
X-Gm-Message-State: APjAAAWUwIa4Jioad0g74oU86P20MnU5FiyjIFF+6ZUEV0CO+3iqOr2w bAwh5Tb8XSyjweItmk3yOO0odyGsnp3GkhWDQIM=
X-Google-Smtp-Source: APXvYqw9OoZZJ5aZ97Yn0UXWhpCExNi0E3e3dUDf0IFa8OBPKXo900U6V7n7WPH3hLUgU+Kw8iTxfI+dNzRwjJLSJmk=
X-Received: by 2002:a50:fa09:: with SMTP id b9mr693839edq.165.1569528969104; Thu, 26 Sep 2019 13:16:09 -0700 (PDT)
MIME-Version: 1.0
References: <CA+t5QVsZoWEuDWEzGn+mWNsx+giJsq+9pYptt3TfffASBVoGsw@mail.gmail.com> <8994782B-12D6-4B91-BA7A-1BF6BF4E7951@icloud.com> <CA+t5QVs7aoyBotbApmGQBGO9otLeB9knccAV8w9MacjrcE_51w@mail.gmail.com> <sjmblv8igzi.fsf@securerf.ihtfp.org>
In-Reply-To: <sjmblv8igzi.fsf@securerf.ihtfp.org>
From: Justus Winter <justuswinter@gmail.com>
Date: Thu, 26 Sep 2019 22:15:58 +0200
Message-ID: <CA+t5QVvBxvhrDLuXiy6uM93HEp5rtOhwb3yQYr=v9FNKodCnjg@mail.gmail.com>
To: Derek Atkins <derek@ihtfp.com>
Cc: Jon Callas <joncallas@icloud.com>, openpgp@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/i8SoAi_w5asQdhhRRtSc__ANnIA>
Subject: Re: [openpgp] Message padding in OpenPGP
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: Thu, 26 Sep 2019 20:16:13 -0000

On Wed, Sep 25, 2019 at 4:32 PM Derek Atkins <derek@ihtfp.com> wrote:
> Why not just have multiple literal packets inside the encryption?  I.e.:
>
>   ENC{ Lit1{realData} | Lit2{pad} }

Because that is not a well-formed OpenPGP message.

Cheers,
Justus