Re: Adding a nounce before hashing as covert channel

Frank Guthausen <[email protected]>
Newsgroups gmane.comp.encryption.gpg.devel
Message-ID <[email protected]>
On Wed, 11 Dec 2024 14:26:54 +0000
Andrew Gallagher via Gnupg-devel <[email protected]> wrote:

> On 11 Dec 2024, at 11:33, Frank Guthausen <[email protected]> wrote:
> > 
> > Are there any good solutions to the problem (workflow, best
> > practice) besides hoping the hash algorithm will prevent such an
> > attack in reasonable time?  
> 
> Avoiding hash collisions is the entire point of a hash algorithm. An
> external salt doesn’t make it more difficult for an attacker to find
> a hash collision, but it prevents an attacker from finding a *useful*
> collision in advance.

I understand this aspect of the problem. But assuming the document
is a contract signed by Alice and Bob, how is the problem solved in
a bidirectional manner? This extended problem remains open, because
adding a nonce leads to an infinite regress.

The problem is the double control of good and evil document, which
makes it easier to generate hash collisions. This advantage for Alice
moves to Bob when using a nonce from Bob.

Usage of external salts would increase difficulty since the free choice
is restricted to evil document. My understanding is that external salt
is a better choice than nonce inside of the document. But I am not sure
whether I am missing something in the chain of arguments.
-- 
kind regards
Frank

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

iQGzBAEBCgAdFiEEclvqskGlryryYY6X/ZYkYCEQhlMFAmdZrZYACgkQ/ZYkYCEQ
hlP6hgv/QMSTRW/YBRHeqI3U89gyDPm73dORELX/0WWlYCuX3QNrjqU9GRKgyCEj
4isDTax0s045Ce0dZrtA1++QDwaEBt16NBS7/5FTHzJOsuW1DpKF02mE9O2cvp/V
2ve7EPcbD+8+TAci3EMWZtEWoVOeqmWICnHt937Su0ie78CykmJ6/VxmEa0ERQvY
V4wzqZjjwtqNTqkNIHz3K3nXJPlPBwZoYwqUxgi394hl9ZaIjWSpW8/zFlzmw1wq
iQjjc3fOynW4tTtl7vK/YMGgQFIPPSf85aTwcLETpYcQc3ehOEX9WkE5rH9DwSO1
xnNJKRjhTpwRGYeS80RK39hsdB+ugXHggvxOweEPzE37Kf4IIuYqW0eRyYTb90es
Zsl54ChHBzkejrajcWLq8Z4NSAdXbKQh+xkRROlv4zqX18BEZk2Zzy8Dn773Gyb0
B8O5YEz3aVKQVEWeWThiWZLUxUcu1uBTtCmjbEWrQgwB1x8W4W9Bv1UXIm/xhdFr
CH/gw5Yo
=Tpa4
-----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.