diff options
author | Alexander A. Klimov <grandmaster@al2klimov.de> | 2020-06-27 12:31:38 +0200 |
---|---|---|
committer | Jonathan Corbet <corbet@lwn.net> | 2020-07-05 14:28:27 -0600 |
commit | 6f3bc22bf5e64d470e1155f1aa8f9893fe37e082 (patch) | |
tree | 1f3625f5878d667a6cf35eae71e1da1a56c84c98 /drivers/md/dm-crypt.c | |
parent | 02030eb73d09bbb9cf81360fcdfbf67050b967ba (diff) | |
download | linux-6f3bc22bf5e64d470e1155f1aa8f9893fe37e082.tar.gz linux-6f3bc22bf5e64d470e1155f1aa8f9893fe37e082.tar.bz2 linux-6f3bc22bf5e64d470e1155f1aa8f9893fe37e082.zip |
Replace HTTP links with HTTPS ones: LVM
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 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>
Link: https://lore.kernel.org/r/20200627103138.71885-1-grandmaster@al2klimov.de
Signed-off-by: Jonathan Corbet <corbet@lwn.net>
Diffstat (limited to 'drivers/md/dm-crypt.c')
-rw-r--r-- | drivers/md/dm-crypt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/md/dm-crypt.c b/drivers/md/dm-crypt.c index 000ddfab5ba0..4704a16e637c 100644 --- a/drivers/md/dm-crypt.c +++ b/drivers/md/dm-crypt.c @@ -300,7 +300,7 @@ static struct crypto_aead *any_tfm_aead(struct crypt_config *cc) * elephant: The extended version of eboiv with additional Elephant diffuser * used with Bitlocker CBC mode. * This mode was used in older Windows systems - * http://download.microsoft.com/download/0/2/3/0238acaf-d3bf-4a6d-b3d6-0a0be4bbb36e/bitlockercipher200608.pdf + * https://download.microsoft.com/download/0/2/3/0238acaf-d3bf-4a6d-b3d6-0a0be4bbb36e/bitlockercipher200608.pdf */ static int crypt_iv_plain_gen(struct crypt_config *cc, u8 *iv, |