From e410bbb69ebc05d6529629c2ef9d77f5eaec04fc Mon Sep 17 00:00:00 2001 From: Kyle Manna Date: Sun, 21 Sep 2014 07:00:56 -0700 Subject: [PATCH] get-prebuilts: Use https for Term.apk fetch * Use secure protocol when fetching prebuilt APKs to avoid a MITM attack that could send a malicious APK instead. Change-Id: If9dfc8bdc6f5a8ac360f40fe3fb423455082d224 --- get-prebuilts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get-prebuilts b/get-prebuilts index 1d2b6df8..dcfb3825 100755 --- a/get-prebuilts +++ b/get-prebuilts @@ -4,6 +4,6 @@ BASEDIR=`dirname $0` mkdir -p $BASEDIR/proprietary # Get Android Terminal Emulator (we use a prebuilt so it can update from the Market) -curl -L -o $BASEDIR/proprietary/Term.apk -O -L http://jackpal.github.com/Android-Terminal-Emulator/downloads/Term.apk +curl -L -o $BASEDIR/proprietary/Term.apk -O -L https://jackpal.github.com/Android-Terminal-Emulator/downloads/Term.apk unzip -o -d $BASEDIR/proprietary $BASEDIR/proprietary/Term.apk lib/*