Skip to content
This repository has been archived by the owner on Nov 29, 2024. It is now read-only.

Commit

Permalink
Key generation for Updater module removed
Browse files Browse the repository at this point in the history
  • Loading branch information
rozmansi committed Apr 1, 2016
1 parent 9d6a4d2 commit d446c50
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 18 deletions.
17 changes: 1 addition & 16 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ All \
Setup \
SetupDebug \
Register \
Unregister \
GenRSAKeypair :: "MSI\MSIBuild\Version\Version.mak"
Unregister :: "MSI\MSIBuild\Version\Version.mak"
$(MAKE) /f "Makefile" /$(MAKEFLAGS) HAS_VERSION=1 $@

"MSI\MSIBuild\Version\Version.mak" ::
Expand Down Expand Up @@ -345,18 +344,4 @@ $(REDIST_SL_X64) : "$(OUTPUT_DIR)\ZRColaSl64D.3.msi"
$(MAKE) /f "Makefile" /$(MAKEFLAGS) LANG=Sl PLAT=x64 CFG=Debug
cd "$(MAKEDIR)"

GenRSAKeypair :: \
"$(OUTPUT_DIR)\Keys" \
"$(OUTPUT_DIR)\Keys\verpriv.bin" \
"$(OUTPUT_DIR)\Keys\verpub.bin"

"$(OUTPUT_DIR)\Keys\verkeypair.txt" :
openssl.exe genrsa -out $@ 4096

"$(OUTPUT_DIR)\Keys\verpriv.bin" : "$(OUTPUT_DIR)\Keys\verkeypair.txt"
openssl.exe rsa -in $** -inform PEM -outform DER -out $@

"$(OUTPUT_DIR)\Keys\verpub.bin" : "$(OUTPUT_DIR)\Keys\verkeypair.txt"
openssl.exe rsa -in $** -inform PEM -outform DER -out $@ -pubout

!ENDIF
2 changes: 0 additions & 2 deletions output/Keys/.gitignore

This file was deleted.

Binary file removed output/Keys/verpub.bin
Binary file not shown.

0 comments on commit d446c50

Please sign in to comment.