From 7d6156fae8a398a3bd17af5a30b32a8bf6ec206a Mon Sep 17 00:00:00 2001 From: Christopher Head Date: Tue, 21 Jan 2020 12:44:46 -0800 Subject: [PATCH] Switch to HTTPS for submodules MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit repo.or.cz already redirects HTTP requests to HTTPS. There is therefore no possible benefit to keeping the submodule URLs using HTTP—anyone who can’t access via HTTPS will fail anyway, immediately after the redirect. Changing the submodule URLs eliminates one unnecessary HTTP request and, more importantly, eliminates SSLStrip-style attacks. Change-Id: I9faf1ec8aa87bcfd1acafe2c445a0baf2abfbd09 Signed-off-by: Christopher Head Reviewed-on: http://openocd.zylin.com/5406 Reviewed-by: Antonio Borneo Tested-by: jenkins Reviewed-by: Tomas Vanek --- .gitmodules | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitmodules b/.gitmodules index 5865ff92a..958c5d901 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,9 +1,9 @@ [submodule "tools/git2cl"] path = tools/git2cl - url = http://repo.or.cz/r/git2cl.git + url = https://repo.or.cz/git2cl.git [submodule "jimtcl"] path = jimtcl - url = http://repo.or.cz/r/jimtcl.git + url = https://repo.or.cz/jimtcl.git [submodule "src/jtag/drivers/libjaylink"] path = src/jtag/drivers/libjaylink - url = http://repo.or.cz/r/libjaylink.git + url = https://repo.or.cz/libjaylink.git