Am Mo 24.09.2012, 19:06:17 schrieb Hauke Laging:

Oh no – I am responding to my own email...

> Given the much bigger difficulty of preimage attacks, would a rule make
> sense not to sign a document that someone else has created (and thus been
> given the opportunity for a collision attack)? The solution would be to
> change the file in a way that does not affect the meaning (e.g. an
> additional space somewhere) and can easily be detected to match this
> condition.

But I happened to find and answer to my question. In a seven and a half years
old article about a collision attack against SHA-1. It's in German, though:

http://www.heise.de/security/artikel/Keine-Panik-271334.html

("Grundsätzlich ist es eine gute Idee, vor dem digitalen Signieren eines
Dokuments immer noch selbst eine kosmetische Änderung vorzunehmen.")

It says: It does in general make sense to make a small change (that does not
change the meaning) to a file before signing.


I have another question about hashes:
Given two different files that have the same hash value. If some data is
appended (or prepended) to both files do the resulting files still have the
same hash value?


Hauke
--
☺
PGP: D44C 6A5B 71B0 427C CED3 025C BD7D 6D27 ECCB 5814

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to