Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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 <grandmaster@al2klimov.de>
Signed-off-by: David Howells <dhowells@redhat.com>
Reviewed-by: Ben Boeckel <mathstuf@gmail.com>

authored by

Alexander A. Klimov and committed by
David Howells
c52b7c80 1539dd78

+1 -1
+1 -1
include/keys/encrypted-type.h
··· 2 2 /* 3 3 * Copyright (C) 2010 IBM Corporation 4 4 * Copyright (C) 2010 Politecnico di Torino, Italy 5 - * TORSEC group -- http://security.polito.it 5 + * TORSEC group -- https://security.polito.it 6 6 * 7 7 * Authors: 8 8 * Mimi Zohar <zohar@us.ibm.com>