Преглед изворни кода

Merge pull request #6591 from infosiftr/bad-hash

Add a note explicitly calling out MD5 and SHA1 as bad
yosifkit пре 6 година
родитељ
комит
487e262c8f
1 измењених фајлова са 5 додато и 0 уклоњено
  1. 5 0
      README.md

+ 5 - 0
README.md

@@ -245,6 +245,11 @@ The `Dockerfile` should be written to help mitigate man-in-the-middle attacks du
 	    # install
 	    # install
 	```
 	```
 
 
+	-	**Note:** the use of either SHA1 or MD5 should be considered a "checksum of last resort" as both are considered generally unsafe:
+
+		-	["Single-block collision for MD5" from 2012](https://marc-stevens.nl/research/md5-1block-collision/)
+		-	["Announcing the first SHA1 collision" from 2017](https://security.googleblog.com/2017/02/announcing-first-sha1-collision.html)
+
 -	**Best**: *full key fingerprint imported to apt-key which will check signatures when packages are downloaded and installed.*
 -	**Best**: *full key fingerprint imported to apt-key which will check signatures when packages are downloaded and installed.*
 
 
 	```Dockerfile
 	```Dockerfile