phasing out SHA1 for digest creation

Bernhard Reiter via Gnupg-devel <[email protected]>
Newsgroups gmane.comp.encryption.gpg.devel
Message-ID <[email protected]>
Hi Werner,

last year in March 2023 you wrote in
   https://dev.gnupg.org/T6433

to the question
> > Is there some plan to disable SHA-1 signatures by including this in the 
weak algorithms list in close future?
> No, it would break the verification of too many signatures.

Just rereading
  https://www.gnupg.org/faq/weak-digest-algos.html
> Although the SHA-1 algorithm shows signs of weaknesses as well,
> it is still very hard and time consuming to create collisions.
> Mounting a pre-image attack is still far out of reach.   

Wikipedia has
>  As of 2020, chosen-prefix attacks against SHA-1 are practical.[6][8]

[6] 
https://www.ntu.edu.sg/news/detail/critical-flaw-demonstrated-in-common-digital-security-algorithm
| [‘chosen-prefix collision attack]
| using a cluster of 900 GPUs running for two months,
| the pair have successfully  demonstrated their way to break the SHA-1
| algorithm using this attack 

[8] is the same research result, adding costs
|  using 900 Nvidia GTX 1060 GPUs (we paid US$ 75k

and machines got faster.

Is the statement of https://www.gnupg.org/faq/weak-digest-algos.html
for 2025 still current?  It feels outdated.



This page is not linked from 
https://www.gnupg.org/faq/gnupg-faq.html
so maybe it should have been deleted already. I suggest to delete it.

I also suggest to change the default to not create SHA1 message digest
by default anymore, unless and option is given. (And update 
https://dev.gnupg.org/T6433)

As for verification, how many signatures would be affected,
do we have any ideas since when no new signatures with SHA1 digests
are created? Maybe adding a depreciation warning is another path?
It has been more than 18th months since March 2023. :)

NIST aims to phase out SHA1 until 2030 (if Wikipedia is right), I think this 
means old signatures.

In short, there should be a plan.

Best Regards,
Bernhard

-- 
https://intevation.de/~bernhard   +49 541 33 508 3-3
Intevation GmbH, Osnabrück, DE; Amtsgericht Osnabrück, HRB 18998
Geschäftsführer: Frank Koormann, Bernhard Reiter

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

iQGzBAABCgAdFiEEvdlX+cT+D9xYPc1tK3ujv5vDpVQFAmdRgngACgkQK3ujv5vD
pVSeGAv/V0LLzjyM3qBC8odm4qsAC1WJNx+vo+5+GjV+7k6eRvrTj9gu2pDao03T
uE1qLuKOT2T6Nyb9JkoyOoyjFHHkEpYNukEo0rcvSJoQI5pv+itVpAc7HJ7Gyg1d
+WzBPmLpqUC+lXqbr3RAfbfyYAJGH9W3WElP1YCJQ0e+0Xui6xD5iGjXxNouSGxy
pwEYFjfm16jKTW2u9z7x1ftYfgn9jP6dwHPMCJRtaMdzfUJd7/Ojq52YO8qiwlZ+
aIr40q5CS+hGvswccL5ZOikrjDxjRIPC1YBqMU/t7V+wBX2ekXQW+bfTQrBIYeUd
Iw9Z5ODlHH8+6IGOUp8gSn0g4oB4xJnN0WIaycAeGYC6+TbGuPzANfqi8z4cK9Nc
v5u9NqrsPyXS/Ra+vBYW6FLJOvGJm6HAkv4dXrqjD0s2DAGuT0yoeV6uaCGZEJ5n
QhSFVCyI0vmi3g8sEAPWQJ4TYoZzp0SU+QVObK0j3yDVy87VAo8SlOVRnZq3gjeT
lKGanNlD
=Ra9e
-----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.