diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-07-19 17:38:22 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-07-22 14:31:55 +0100 |
commit | 5856d8bd308f9467cefa65d04e184a56a3977559 (patch) | |
tree | d38edd85356f693a3378ecdebb99640de7d48827 /certs/blacklist_nohashes.c | |
parent | 43a10bf49f11a952ea927beceb9f6ee866ff1523 (diff) |
ASoC: 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 <grandmaster@al2klimov.de>
Acked-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20200719153822.59788-1-grandmaster@al2klimov.de
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'certs/blacklist_nohashes.c')
0 files changed, 0 insertions, 0 deletions