From 57fd51d14f346e1a661bfd5706853c691287453a Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Mon, 3 Sep 2018 20:59:57 +0200 Subject: [pkg] add script to sign the bundle --- osx/signbundle | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 osx/signbundle diff --git a/osx/signbundle b/osx/signbundle new file mode 100644 index 0000000..d9e6a50 --- /dev/null +++ b/osx/signbundle @@ -0,0 +1,11 @@ +#!/bin/sh +# -------------------------------------------- +# Signs a RiseupVPN pkg file +# Usage: signbundle +# +# Use it when you have built it in a +# machine with no access to the certificates. +# -------------------------------------------- +OSX_CERT="Developer ID Installer: LEAP Encryption Access Project" +productsign --sign "$OSX_CERT" $1 $1-signed.pkg +mv $1-signed.pkg dist/RiseupVPN-OSX-$2-signed.pkg -- cgit v1.2.3