From: Alexander A. Klimov Date: Thu, 16 Jul 2020 19:52:27 +0000 (+0200) Subject: encrypted-keys: Replace HTTP links with HTTPS ones X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=c52b7c807b0a6ae26582208a0b07c2a6a796b50f;p=linux.git encrypted-keys: Replace HTTP links with HTTPS ones Rationale: Reduces attack surface on kernel devs opening the links for MITM as HTTPS traffic is much harder to manipulate. Deterministic algorithm: For each file: If not .svg: For each line: If doesn't contain `\bxmlns\b`: For each link, `\bhttp://[^# \t\r\n]*(?:\w|/)`: If neither `\bgnu\.org/license`, nor `\bmozilla\.org/MPL\b`: If both the HTTP and HTTPS versions return 200 OK and serve the same content: Replace HTTP with HTTPS. Signed-off-by: Alexander A. Klimov Signed-off-by: David Howells Reviewed-by: Ben Boeckel --- diff --git a/include/keys/encrypted-type.h b/include/keys/encrypted-type.h index 38afb341c3f2b..abfcbe02001a0 100644 --- a/include/keys/encrypted-type.h +++ b/include/keys/encrypted-type.h @@ -2,7 +2,7 @@ /* * Copyright (C) 2010 IBM Corporation * Copyright (C) 2010 Politecnico di Torino, Italy - * TORSEC group -- http://security.polito.it + * TORSEC group -- https://security.polito.it * * Authors: * Mimi Zohar