Re: [openpgp] Disadvantages of Salted Signatures

Stephan Verbücheln <> Mon, 11 December 2023 16:43 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id 8E601C14F61E for <>; Mon, 11 Dec 2023 08:43:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -7.105
X-Spam-Status: No, score=-7.105 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_DNSWL_HI=-5, 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_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 7NEfEtvFJj2U for <>; Mon, 11 Dec 2023 08:43:22 -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) server-digest SHA256) (No client certificate requested) by (Postfix) with ESMTPS id 50E7EC14F5FB for <>; Mon, 11 Dec 2023 08:43:14 -0800 (PST)
Received: from submission ( []) by (Postfix) with ESMTPS id B5B59240104 for <>; Mon, 11 Dec 2023 17:43:12 +0100 (CET)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple;; s=2017; t=1702312992; bh=rtPfGhrDWMcBJeLn7eIRF67RAzTwn64CplwqanDxxC8=; h=Message-ID:Subject:From:To:Date:MIME-Version:From; b=LgEzRBtaLws+1H3A021hA0p+GUFqcM3Soj7fMgH9bUv9Qk3sYHOWPBS966fXR1VjF wqikJ2Mk1wyCwXZVoFmWujp28DTZetnWE3vapK1DlH8HDJ/vugysJ9MRNBWv+yd0J4 1yOGKqngBnc1GBirdHLruTxKgpI8KkBHyMU/Wbd+QMK7Hm+ePsQqmRcbGZ0njrZWIq /6IuGHBzlABvcwfwqtiJTx4drgBrnPkQShSO20G319oW2kBluj1jkgKYUzTvnffJKC EY6+ZpkPIshqz+PG1svitHlhWlywATRXUdEFYZRhnxAilGu4CURUcMJh4YtD4Si1At LK/zPYxx/Sxhg==
Received: from customer (localhost []) by submission ( with ESMTPSA id 4SpncJ291Fz6tvZ for <>; Mon, 11 Dec 2023 17:43:12 +0100 (CET)
Message-ID: <>
From: Stephan Verbücheln <>
Date: Mon, 11 Dec 2023 16:43:09 +0000
In-Reply-To: <>
References: <> <>
Content-Type: multipart/signed; micalg="pgp-sha256"; protocol="application/pgp-signature"; boundary="=-FZQlLQM3KuNQT825y6vb"
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: Mon, 11 Dec 2023 16:43:26 -0000

Hi Neal

Thanks for the clarification. I now got some aspects that I did not get
from reading the RFC section.

Now I agree that this is a useful measure in scenarios where a victim
signs data for the attacker, such as the PGP “certify” operation. It
just does not prevent the signer himself from creating collisions. So
with that, my objections are reduced a lot.

I believe, the following two questions are still worth debating because
the mandatory salt does not come at zero cost.

Is it practically relevant?
Hash algorithms which are vulnerable to collisions should not be used
anyway. SHA-1 was deprecated in 2011, a long time before that attack
was demonstrated.

Does it make sense to have it mandatory or default?
In most cases, PGP users sign their own data (e-mails, software
tarballs etc.). It could nevertheless be default for “certify”