Re: [openpgp] Disadvantages of Salted Signatures

Stephan Verbücheln <> Sat, 09 December 2023 15:42 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id D8102C14F61E for <>; Sat, 9 Dec 2023 07:42:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Status: No, score=-2.104 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_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (2048-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id dDBxOy9JS1AQ for <>; Sat, 9 Dec 2023 07:42:48 -0800 (PST)
Received: from ( []) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by (Postfix) with ESMTPS id B7D37C14F5F7 for <>; Sat, 9 Dec 2023 07:42:48 -0800 (PST)
Received: from submission ( []) by (Postfix) with ESMTPS id 202A8240101 for <>; Sat, 9 Dec 2023 16:42:46 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;; s=2017; t=1702136566; bh=zpte54zUQRAIykCG299Bn6GlYaDGUOI95Ygfl70FRmE=; h=Message-ID:Subject:From:To:Date:MIME-Version:From; b=P6XD2mpTFFYqEAxu13U15Y1aMiRyRiUVPHYpOFGn8fbyNanJWPxAeHnLJrOgN+h5k PZDswv9Zle4uK+dPGQhLZAl3WjlVIZ8/4OoAMiikBNQcme/SdyvZNB6gSaCWBM/FuH ebnMmYxoiPzSoVw4hfgQ5HomByxkGncIdC8+/kSqGKQpLkS4msgshDmo+sz/EvV8os V2zOS7CoeP2SDS32UntLS9GVg9Diy3MItnXH1zO6vDwyO064WhRpNQ0c9hEjdEgYZ5 vjR1rI7fYNiCxNm3fdG2uo9BQeaumoplNYZRz+JRZj37oypgeR3UQpcjrvCSwv6r2X 3WDSg4T7Vy1Ow==
Received: from customer (localhost []) by submission ( with ESMTPSA id 4SnXMT5jYpz9rxM for <>; Sat, 9 Dec 2023 16:42:45 +0100 (CET)
Message-ID: <>
From: Stephan Verbücheln <>
Date: Sat, 09 Dec 2023 15:42:45 +0000
In-Reply-To: <>
References: <> <>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-ofWgUVEw7GZZEFgfggKv"
MIME-Version: 1.0
Archived-At: <>
Subject: Re: [openpgp] Disadvantages of Salted Signatures
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: "Ongoing discussion of OpenPGP issues." <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Sat, 09 Dec 2023 15:42:52 -0000

Hi Andrew

On Sat, 2023-12-09 at 10:47 +0000, Andrew Gallagher wrote:
> Strictly speaking, an action being pointless does not mean that it
> will not happen. One could imagine an automated system, say a notary
> service, being coerced into making a large number of identical
> signatures, even down to the timestamp.

You are right, there are some exotic scenarios where this could happen.
However, such a notary should not be running in an environment where
the CPU and memory are shared with untrusted processes or systems. Also
there is nothing preventing the notary from putting their own salt into
the data if they think it is useful to them.

The question is: Does it make sense as a default for the majority of
users in typical use cases such as signing of e-mails, release tarballs
or Git commits?
In that case, it is best practice anyway to require a manual PIN entry
for each signature, which makes it even more unlikely that two
identical messages are signed with the same timestamp.