From: Bdale Garbee Date: Sat, 29 Oct 2022 04:20:03 +0000 (-0600) Subject: fat: sign Windows installers with our new code signing certificate X-Git-Tag: 1.9.12~1^2~3 X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=commitdiff_plain;h=5fd95471791842234a1840477c55ba175fff5a8c fat: sign Windows installers with our new code signing certificate --- diff --git a/altosui/Makefile.am b/altosui/Makefile.am index 19bcb913..c2df5de7 100644 --- a/altosui/Makefile.am +++ b/altosui/Makefile.am @@ -1,3 +1,5 @@ +# location of code signing key, et al +CODEKEYDIR=~/altusmetrumllc/ssl.com JAVAROOT=classes AM_JAVACFLAGS=$(JAVAC_VERSION_FLAGS) -encoding UTF-8 -Xlint:deprecation -Xlint:unchecked @@ -411,3 +413,7 @@ $(MACOSX_DIST): $(MACOSX_FILES) $(MACOSX_EXTRA) Makefile $(WINDOWS_DIST): $(WINDOWS_FILES) altos-windows.nsi Instdrv/NSIS/Includes/java.nsh -rm -f $@ makensis -Oaltos-windows.log "-XOutFile $@" "-DVERSION=$(VERSION)" altos-windows.nsi || (cat altos-windows.log && exit 1) + jsign --keystore $(CODEKEYDIR)/altus_metrum,_llc.p12 --alias 1 \ + --storetype PKCS12 --storepass `cat $(CODEKEYDIR)/password` \ + --tsaurl http://ts.ssl.com --tsmode RFC3161 $@ + diff --git a/micropeak/Makefile.am b/micropeak/Makefile.am index 09cf9617..017f5348 100644 --- a/micropeak/Makefile.am +++ b/micropeak/Makefile.am @@ -1,3 +1,6 @@ +# location of code signing key, et al +CODEKEYDIR=~/altusmetrumllc/ssl.com + JAVAROOT=classes AM_JAVACFLAGS=$(JAVAC_VERSION_FLAGS) -encoding UTF-8 -Xlint:deprecation -Xlint:unchecked @@ -345,6 +348,9 @@ $(MACOSX_DIST): $(MACOSX_FILES) $(WINDOWS_DIST): $(WINDOWS_FILES) micropeak-windows.nsi -rm -f $@ makensis -Omicropeak-windows.log "-XOutFile $@" "-DVERSION=$(VERSION)" micropeak-windows.nsi || (cat micropeak-windows.log && exit 1) + jsign --keystore $(CODEKEYDIR)/altus_metrum,_llc.p12 --alias 1 \ + --storetype PKCS12 --storepass `cat $(CODEKEYDIR)/password` \ + --tsaurl http://ts.ssl.com --tsmode RFC3161 $@ Manifest.txt: Makefile echo 'Main-Class: org.altusmetrum.micropeak.MicroPeak' > $@ diff --git a/telegps/Makefile.am b/telegps/Makefile.am index 7ab0749c..067df0c7 100644 --- a/telegps/Makefile.am +++ b/telegps/Makefile.am @@ -1,3 +1,6 @@ +# location of code signing key, et al +CODEKEYDIR=~/altusmetrumllc/ssl.com + JAVAROOT=classes AM_JAVACFLAGS=$(JAVAC_VERSION_FLAGS) -encoding UTF-8 -Xlint:deprecation -Xlint:unchecked @@ -337,6 +340,9 @@ $(MACOSX_DIST): $(MACOSX_FILES) $(MACOSX_EXTRA) Makefile $(WINDOWS_DIST): $(WINDOWS_FILES) telegps-windows.nsi -rm -f $@ makensis -Otelegps-windows.log "-XOutFile $@" "-DVERSION=$(VERSION)" telegps-windows.nsi || (cat telegps-windows.log && exit 1) + jsign --keystore $(CODEKEYDIR)/altus_metrum,_llc.p12 --alias 1 \ + --storetype PKCS12 --storepass `cat $(CODEKEYDIR)/password` \ + --tsaurl http://ts.ssl.com --tsmode RFC3161 $@ Manifest.txt: Makefile echo 'Main-Class: org.altusmetrum.telegps.TeleGPS' > $@