From: Bruno Thomsen <bth@kamstrup.com>
To: ptxdist@pengutronix.de
Cc: bth@kamstrup.com
Subject: [ptxdist] [PATCH] strongswan: secure download url (http -> https)
Date: Tue, 7 Jul 2015 15:29:41 +0200 [thread overview]
Message-ID: <1436275781-14365-1-git-send-email-bth@kamstrup.com> (raw)
Downloading the package source from an unsecure locations and using an insecure hash (md5)
would allow a malicious proxy to inject vulnerabilities.
The build system would be unable to detect it.
Signed-off-by: Bruno Thomsen <bth@kamstrup.com>
---
rules/strongswan.make | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rules/strongswan.make b/rules/strongswan.make
index 9a9dd40..033deeb 100644
--- a/rules/strongswan.make
+++ b/rules/strongswan.make
@@ -21,7 +21,7 @@ STRONGSWAN_VERSION := 5.3.2
STRONGSWAN_MD5 := fab014be1477ef4ebf9a765e10f8802c
STRONGSWAN := strongswan-$(STRONGSWAN_VERSION)
STRONGSWAN_SUFFIX := tar.bz2
-STRONGSWAN_URL := http://download.strongswan.org/$(STRONGSWAN).$(STRONGSWAN_SUFFIX)
+STRONGSWAN_URL := https://download.strongswan.org/$(STRONGSWAN).$(STRONGSWAN_SUFFIX)
STRONGSWAN_SOURCE := $(SRCDIR)/$(STRONGSWAN).$(STRONGSWAN_SUFFIX)
STRONGSWAN_DIR := $(BUILDDIR)/$(STRONGSWAN)
STRONGSWAN_LICENSE := GPL
--
2.1.4
--
ptxdist mailing list
ptxdist@pengutronix.de
next reply other threads:[~2015-07-07 11:30 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-07-07 13:29 Bruno Thomsen [this message]
2015-07-17 8:26 ` Michael Olbrich
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1436275781-14365-1-git-send-email-bth@kamstrup.com \
--to=bth@kamstrup.com \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox