* [PATCH] encrypted-keys: Replace HTTP links with HTTPS ones
@ 2020-07-16 19:52 ` Alexander A. Klimov
0 siblings, 0 replies; 8+ messages in thread
From: Alexander A. Klimov @ 2020-07-16 19:52 UTC (permalink / raw)
To: zohar, dhowells, jarkko.sakkinen, linux-integrity, keyrings,
linux-kernel
Cc: Alexander A. Klimov
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>
---
Continuing my work started at 93431e0607e5.
See also: git log --oneline '--author=Alexander A. Klimov <grandmaster@al2klimov.de>' v5.7..master
If there are any URLs to be removed completely or at least not just HTTPSified:
Just clearly say so and I'll *undo my change*.
See also: https://lkml.org/lkml/2020/6/27/64
If there are any valid, but yet not changed URLs:
See: https://lkml.org/lkml/2020/6/26/837
If you apply the patch, please let me know.
Sorry again to all maintainers who complained about subject lines.
Now I realized that you want an actually perfect prefixes,
not just subsystem ones.
I tried my best...
And yes, *I could* (at least half-)automate it.
Impossible is nothing! :)
include/keys/encrypted-type.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/keys/encrypted-type.h b/include/keys/encrypted-type.h
index 38afb341c3f2..abfcbe02001a 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 <zohar@us.ibm.com>
--
2.27.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH] encrypted-keys: Replace HTTP links with HTTPS ones
@ 2020-07-16 19:52 ` Alexander A. Klimov
0 siblings, 0 replies; 8+ messages in thread
From: Alexander A. Klimov @ 2020-07-16 19:52 UTC (permalink / raw)
To: zohar, dhowells, jarkko.sakkinen, linux-integrity, keyrings,
linux-kernel
Cc: Alexander A. Klimov
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>
---
Continuing my work started at 93431e0607e5.
See also: git log --oneline '--author=Alexander A. Klimov <grandmaster@al2klimov.de>' v5.7..master
If there are any URLs to be removed completely or at least not just HTTPSified:
Just clearly say so and I'll *undo my change*.
See also: https://lkml.org/lkml/2020/6/27/64
If there are any valid, but yet not changed URLs:
See: https://lkml.org/lkml/2020/6/26/837
If you apply the patch, please let me know.
Sorry again to all maintainers who complained about subject lines.
Now I realized that you want an actually perfect prefixes,
not just subsystem ones.
I tried my best...
And yes, *I could* (at least half-)automate it.
Impossible is nothing! :)
include/keys/encrypted-type.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/keys/encrypted-type.h b/include/keys/encrypted-type.h
index 38afb341c3f2..abfcbe02001a 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 <zohar@us.ibm.com>
--
2.27.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] encrypted-keys: Replace HTTP links with HTTPS ones
2020-07-16 19:52 ` Alexander A. Klimov
@ 2020-07-23 2:01 ` Jarkko Sakkinen
-1 siblings, 0 replies; 8+ messages in thread
From: Jarkko Sakkinen @ 2020-07-23 2:01 UTC (permalink / raw)
To: Alexander A. Klimov
Cc: zohar, dhowells, linux-integrity, keyrings, linux-kernel
On Thu, Jul 16, 2020 at 09:52:27PM +0200, Alexander A. Klimov wrote:
> Rationale:
> Reduces attack surface on kernel devs opening the links for MITM
> as HTTPS traffic is much harder to manipulate.
A commit message should describe action e.g. "Replace HTTP URL with
HTTPS URL given the security concerns and the slow deprecation of HTTP."
> 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.
Please remove this. We don't care about it. Git log should only contain
information either for studying or maintaining the kernel source code.
>
> Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
/Jarkko
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] encrypted-keys: Replace HTTP links with HTTPS ones
@ 2020-07-23 2:01 ` Jarkko Sakkinen
0 siblings, 0 replies; 8+ messages in thread
From: Jarkko Sakkinen @ 2020-07-23 2:01 UTC (permalink / raw)
To: Alexander A. Klimov
Cc: zohar, dhowells, linux-integrity, keyrings, linux-kernel
On Thu, Jul 16, 2020 at 09:52:27PM +0200, Alexander A. Klimov wrote:
> Rationale:
> Reduces attack surface on kernel devs opening the links for MITM
> as HTTPS traffic is much harder to manipulate.
A commit message should describe action e.g. "Replace HTTP URL with
HTTPS URL given the security concerns and the slow deprecation of HTTP."
> 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.
Please remove this. We don't care about it. Git log should only contain
information either for studying or maintaining the kernel source code.
>
> Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
/Jarkko
^ permalink raw reply [flat|nested] 8+ messages in thread
* [PATCH v2] encrypted-keys: Replace HTTP links with HTTPS ones
2020-07-23 2:01 ` Jarkko Sakkinen
@ 2020-07-23 18:53 ` Alexander A. Klimov
-1 siblings, 0 replies; 8+ messages in thread
From: Alexander A. Klimov @ 2020-07-23 18:53 UTC (permalink / raw)
To: zohar, dhowells, jarkko.sakkinen, linux-integrity, keyrings,
linux-kernel
Cc: Alexander A. Klimov
Rationale:
Reduces attack surface on kernel devs opening the links for MITM
as HTTPS traffic is much harder to manipulate.
Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
---
v2: Shortened commit message.
Oh, and it wasn't my intention to address the slow deprecation of plain HTTP.
include/keys/encrypted-type.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/keys/encrypted-type.h b/include/keys/encrypted-type.h
index 38afb341c3f2..abfcbe02001a 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 <zohar@us.ibm.com>
--
2.27.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* [PATCH v2] encrypted-keys: Replace HTTP links with HTTPS ones
@ 2020-07-23 18:53 ` Alexander A. Klimov
0 siblings, 0 replies; 8+ messages in thread
From: Alexander A. Klimov @ 2020-07-23 18:53 UTC (permalink / raw)
To: zohar, dhowells, jarkko.sakkinen, linux-integrity, keyrings,
linux-kernel
Cc: Alexander A. Klimov
Rationale:
Reduces attack surface on kernel devs opening the links for MITM
as HTTPS traffic is much harder to manipulate.
Signed-off-by: Alexander A. Klimov <grandmaster@al2klimov.de>
---
v2: Shortened commit message.
Oh, and it wasn't my intention to address the slow deprecation of plain HTTP.
include/keys/encrypted-type.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/include/keys/encrypted-type.h b/include/keys/encrypted-type.h
index 38afb341c3f2..abfcbe02001a 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 <zohar@us.ibm.com>
--
2.27.0
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [PATCH] encrypted-keys: Replace HTTP links with HTTPS ones
2020-07-16 19:52 ` Alexander A. Klimov
@ 2020-07-23 7:45 ` David Howells
-1 siblings, 0 replies; 8+ messages in thread
From: David Howells @ 2020-07-23 7:45 UTC (permalink / raw)
To: Jarkko Sakkinen
Cc: dhowells, Alexander A. Klimov, zohar, linux-integrity, keyrings,
linux-kernel
Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> wrote:
> Please remove this. We don't care about it. Git log should only contain
> information either for studying or maintaining the kernel source code.
Yeah - in this case it's not useful. Sometimes it's worth including the
script if you think the target audience might be interested in running it for
themselves - such as to help resolve merge problems.
David
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [PATCH] encrypted-keys: Replace HTTP links with HTTPS ones
@ 2020-07-23 7:45 ` David Howells
0 siblings, 0 replies; 8+ messages in thread
From: David Howells @ 2020-07-23 7:45 UTC (permalink / raw)
To: Jarkko Sakkinen
Cc: dhowells, Alexander A. Klimov, zohar, linux-integrity, keyrings,
linux-kernel
Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> wrote:
> Please remove this. We don't care about it. Git log should only contain
> information either for studying or maintaining the kernel source code.
Yeah - in this case it's not useful. Sometimes it's worth including the
script if you think the target audience might be interested in running it for
themselves - such as to help resolve merge problems.
David
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2020-07-23 18:53 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-16 19:52 [PATCH] encrypted-keys: Replace HTTP links with HTTPS ones Alexander A. Klimov
2020-07-16 19:52 ` Alexander A. Klimov
2020-07-23 2:01 ` Jarkko Sakkinen
2020-07-23 2:01 ` Jarkko Sakkinen
2020-07-23 18:53 ` [PATCH v2] " Alexander A. Klimov
2020-07-23 18:53 ` Alexander A. Klimov
2020-07-23 7:45 ` [PATCH] " David Howells
2020-07-23 7:45 ` David Howells
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.