Re: Adding a nounce before hashing as covert channel (Re: phasing out SHA1 for digest creation)

Andrew Gallagher via Gnupg-devel <[email protected]>
Newsgroups gmane.comp.encryption.gpg.devel
Message-ID <[email protected]>
On 10 Dec 2024, at 08:48, Bernhard Reiter via Gnupg-devel <[email protected]> wrote:
> 
> Am Samstag 07 Dezember 2024 15:35:09 schrieb Andrew Gallagher via Gnupg-devel:
>> there are already countless places in the wire format that an adversary
>> could use for a covert channel,
> 
> It still may not be wise to add another place.
> There can be unwanted side effects of adding a nonce
> (is what I understand from the example).

There might be, however since the nonce is signed over as if it were the first N bits of the document, manipulating the nonce of a salted signature would be equivalent to manipulating the first N bits of a document signed by an unsalted signature. Collision attacks generally require manipulation of many more bits than is provided by a V6 signature salt, which is half the bit length of the digest algorithm. And remember that the nonce is not attacker-controlled, unlike the document. Even if there were an additional vulnerability introduced, the attacker would have a 1 in O(2^N) chance of successfully exploiting it.

> Not saying that this is done deliberately.

Of course you aren't. I do wish we could have a reasonable discussion without other people resorting to veiled allegations and FUD.

A

_______________________________________________
Gnupg-devel mailing list
[email protected]
https://lists.gnupg.org/mailman/listinfo/gnupg-devel
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEKR55odxVrielLu+DXB7EBNWQZikFAmdYZxEACgkQXB7EBNWQ
ZikN0A/9H53XgTVJy8xKopHAh7pjA9N7MGPg2hNLCF19UVbwLS5lM479cWzz09w2
T3ZcfsdVXSKOYeM52+oDVzd9QrMfdDyI4mAC+WSrk6akiAGfaxtOFYbVij37C+vK
oMOuWZD57YQCrQkgC1af1TzWs68BJjWoDAFcp1Tjs4ee5ZxSsFP4mCegCty5215Q
LM2BaJ+2ETGP8aiKngI2uTE/cicqu3cvhJixbO2I6xAqlg8Q3i9JW92BunJN3L5J
PFuWTqi9+zCFIgwFdlzzEYUZZiWByFTh9rptLu/UMouITiIJXRtVUadNtTWcZ1Ee
0fs/nx4Zw3jok2D+wn/sQ/VlO9Nz9utfm9VU99oXX3BDhiXp8PR+EWCPchmhHdEN
oHnzamP1Se8/X1bj7MAacOiUzoFegYpDYBYG4W9/0iXeTgD1KG5jE8btbNKb74Vm
5kyqAQMDcloQLSbmpj94p0FamZ3QGfTckboADhL8efzCldtO7evlK9MC5Y/B+sVa
DhdDFkI6DUyojj6Zyq08QAgI2j0KdjriHpoL2m4VSTlTRiPoJNSmGnCi3BtQjSKF
nuoX9+kGo8rFRzlIfDXN8Gd/tVT51KOOHDd40xnz8v+NK3l1E287SjY7r71uDUkD
ZqQK0Qi54qmDySYyxZvHI8J/oIvyZyS0yhSm9mFpFbjr94sO/cE=
=n871
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.