Key generation for Updater module removed
This commit is contained in:
parent
9d6a4d2f1f
commit
d446c50ed0
17
Makefile
17
Makefile
@ -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" ::
|
||||
@ -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
output/Keys/.gitignore
vendored
2
output/Keys/.gitignore
vendored
@ -1,2 +0,0 @@
|
||||
/verkeypair.txt
|
||||
/verpriv.bin
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user