mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] [PATCH] strongswan: secure download url (http -> https)
@ 2015-07-07 13:29 Bruno Thomsen
  2015-07-17  8:26 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Bruno Thomsen @ 2015-07-07 13:29 UTC (permalink / raw)
  To: ptxdist; +Cc: bth

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] [PATCH] strongswan: secure download url (http -> https)
  2015-07-07 13:29 [ptxdist] [PATCH] strongswan: secure download url (http -> https) Bruno Thomsen
@ 2015-07-17  8:26 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2015-07-17  8:26 UTC (permalink / raw)
  To: ptxdist

On Tue, Jul 07, 2015 at 03:29:41PM +0200, Bruno Thomsen wrote:
> 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.
> 

Thanks, applied.

Michael

> 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

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-07-17  6:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-07 13:29 [ptxdist] [PATCH] strongswan: secure download url (http -> https) Bruno Thomsen
2015-07-17  8:26 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox