[openpgp] Re: Fwd: New Version Notification for draft-gallagher-email-invisible-signatures-00.txt

Steffen Nurpmeso <steffen@sdaoden.eu> Thu, 08 May 2025 17:05 UTC

Return-Path: <steffen@sdaoden.eu>
X-Original-To: openpgp@mail2.ietf.org
Delivered-To: openpgp@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 7378F267E335 for <openpgp@mail2.ietf.org>; Thu, 8 May 2025 10:05:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=sdaoden.eu header.b="efoKOxuv"; dkim=neutral reason="invalid (unsupported algorithm adaed25519-sha256)" header.d=sdaoden.eu header.b="g9CxKooi"
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vc3K7p-mU-Yt for <openpgp@mail2.ietf.org>; Thu, 8 May 2025 10:05:51 -0700 (PDT)
Received: from sdaoden.eu (sdaoden.eu [217.144.132.164]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 19B17267E330 for <openpgp@ietf.org>; Thu, 8 May 2025 10:05:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sdaoden.eu; s=citron; t=1746723950; x=1747390616; h=date:author:from:to:cc:subject: message-id:in-reply-to:references:mail-followup-to:openpgp:blahblahblah: author:from:subject:date:to:cc:resent-author:resent-date:resent-from: resent-sender:resent-to:resent-cc:resent-reply-to:resent-message-id: in-reply-to:references:mime-version:content-type: content-transfer-encoding:content-disposition:content-id: content-description:message-id:mail-followup-to:openpgp:blahblahblah; bh=3b9JnGB39JW2oTlJCwRbNQqIcsabzCflgfIMi3d/Ed0=; b=efoKOxuv4RgVUWc2OJUHgLXrouKlHlU96VTz9/Q/dV5VryOcw7Ete+3yTRf50+rs0lW+G1bN Id5Jjvyj4XBQ5O0A36A3BjeJouL7/J8wLl7KytSOez/pSC/0lRQhvpmJDSt5XaIJ7YTO4LdiOY epXly70eqhD9jdxx8USreqCChWloxB5+ExUOU9V6Sm/j0dc+LaOwF6KTC/eDTyeyEvFGAR61LR KGoTdPNWcT1XP1S0K37F7f2QufH3bt9jfsMiSUItjnMqVIrKgXAMBpPVRRdvQSNy02ZKPDn+um v1BIlz5iofKXwBO1sDwIpAkGxFe8PuhMZ9vKHhcaNGr+w24g==
DKIM-Signature: v=1; a=adaed25519-sha256; c=relaxed/relaxed; d=sdaoden.eu; s=orange; t=1746723950; x=1747390616; h=date:author:from:to:cc:subject: message-id:in-reply-to:references:mail-followup-to:openpgp:blahblahblah: author:from:subject:date:to:cc:resent-author:resent-date:resent-from: resent-sender:resent-to:resent-cc:resent-reply-to:resent-message-id: in-reply-to:references:mime-version:content-type: content-transfer-encoding:content-disposition:content-id: content-description:message-id:mail-followup-to:openpgp:blahblahblah; bh=3b9JnGB39JW2oTlJCwRbNQqIcsabzCflgfIMi3d/Ed0=; b=g9CxKooizy7cYc+rLGw6RC1BPYz0xAI64O6bzZMe0oDnLJrRPi+RXqdZdtxujSXvAC+CZTES vMRDh01FraZQAA==
Date: Thu, 08 May 2025 19:05:48 +0200
Author: Steffen Nurpmeso <steffen@sdaoden.eu>
From: Steffen Nurpmeso <steffen@sdaoden.eu>
To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Message-ID: <20250508170548.g9NV9uDc@steffen%sdaoden.eu>
In-Reply-To: <87ldr8f635.fsf@fifthhorseman.net>
References: <174626909298.338737.10420965667394729319@dt-datatracker-58d4498dbd-6gzjf> <5E01CE52-2B15-48BA-BCEE-4E7FAB7FBD02@andrewg.com> <20250507200118.7B1zRSG5@steffen%sdaoden.eu> <87ldr8f635.fsf@fifthhorseman.net>
Mail-Followup-To: Daniel Kahn Gillmor <dkg@fifthhorseman.net>, Andrew Gallagher <andrewg@andrewg.com>, IETF OpenPGP WG <openpgp@ietf.org>, OpenPGP-based Email Encryption <openpgp-email@enigmail.net>
User-Agent: s-nail v14.9.25-651-g6408873363
OpenPGP: id=EE19E1C1F2F7054F8D3954D8308964B51883A0DD; url=https://ftp.sdaoden.eu/steffen.asc; preference=signencrypt
BlahBlahBlah: Any stupid boy can crush a beetle. But all the professors in the world can make no bugs.
Message-ID-Hash: 7NVEZCFEPMFMXL5E73KUZO6LMWC6EOLN
X-Message-ID-Hash: 7NVEZCFEPMFMXL5E73KUZO6LMWC6EOLN
X-MailFrom: steffen@sdaoden.eu
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-openpgp.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Andrew Gallagher <andrewg@andrewg.com>, IETF OpenPGP WG <openpgp@ietf.org>, OpenPGP-based Email Encryption <openpgp-email@enigmail.net>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [openpgp] Re: Fwd: New Version Notification for draft-gallagher-email-invisible-signatures-00.txt
List-Id: "Ongoing discussion of OpenPGP issues." <openpgp.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/openpgp/UMsiLW0jBT0wHPIjjJWKThRTDWg>
List-Archive: <https://mailarchive.ietf.org/arch/browse/openpgp>
List-Help: <mailto:openpgp-request@ietf.org?subject=help>
List-Owner: <mailto:openpgp-owner@ietf.org>
List-Post: <mailto:openpgp@ietf.org>
List-Subscribe: <mailto:openpgp-join@ietf.org>
List-Unsubscribe: <mailto:openpgp-leave@ietf.org>

Daniel Kahn Gillmor wrote in
 <87ldr8f635.fsf@fifthhorseman.net>:
 |On Wed 2025-05-07 22:01:18 +0200, Steffen Nurpmeso wrote:
 |> May i ask why the hp="clear" parameter was added?  Isn't it enough
 |> to create the Sig: header?  The "cryptographic payload" begins
 |> directly after the Sig: header.
 |
 |An invisible signature always signs the header fields known to the
 |sending MUA, as generally recommended in
 |draft-ietf-lamps-header-protection, which says:
 |
 |>>> all Header Fields gain end-to-end cryptographic integrity and
 |>>> authenticity by being copied directly into the Cryptographic Payload
 |
 |The draft includes the hp="clear" parameter in alignment with that
 |specification, see:
 |
 |   https://www.ietf.org/archive/id/draft-ietf-lamps-header-protection-25.ht\
 |   ml#name-content-type-parameter-hp

Thanks, that i have not read yet, i am still at (and not ready
with) 24.  (Imagine-wise i still fail, as at least in the main
header order is such a thing, and why should any intermediate
which really mangles care and only prepend or append?  Ie:
i *think* it is a marker for now.  But do not answer: i will read
that once in a while, and likely learn thus.)

 |One curious side effect of this alignment is that it might be possible
 |to convert a message with an invisible signature into an RFC 3156-style
 |multipart/signed message.  And maybe vice versa?

Regarding the thing as such Michael Richardson has already said,
what i could only reiterate.  (I gave an opinion when the item
came up last, maybe a year ago?)  But since there is now a draft,
you know.  Also .. the draft uses multipart/mixed, which the
discussion back then did not, i think.  This is pretty clever, is
it?  Of course it requires MIME as such, and with MIME as such,
we come back to Michael Richardson.  (And moreover my real problem
with the WG topic as such is that the public key cannot simply be
extracted and saved and thereafter used, which one gets for free
with S/MIME.  Maybe now with Sig: there will be a Sig: covered
PKey: that can be used to verify Sig: as well as be saved?  That
is cool.  With multipart/signed one needs to attach the key and
then sign the whole thing, which makes for several parts which
MUAs potentially can misunderstand.  Shall there be any.)

 |         --dkg

By the way in some troubling private message thread i said that
i really think that you do a very good job as a moderator.
I do not a lot moderators as interested, swift, balancing, maybe
oss-security.  Thanks!

 --End of <87ldr8f635.fsf@fifthhorseman.net>

--steffen
|
|Der Kragenbaer,                The moon bear,
|der holt sich munter           he cheerfully and one by one
|einen nach dem anderen runter  wa.ks himself off
|(By Robert Gernhardt)