From ac510f825368a5d688b546aa7ac6c775dc37b670 Mon Sep 17 00:00:00 2001 From: WitherOrNot Date: Sun, 17 Sep 2023 19:05:16 -0400 Subject: [PATCH 01/13] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 69700ed..0efd3eb 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,7 @@ The list of people who have helped to bring the XP generation to where it is now * MSKey * diamondggg * pottzman +* david4599 * Endermanch * Neo-Desktop * WitherOrNot From 6989ae6c945b3e4d4a8f9603d60a5712ce76e306 Mon Sep 17 00:00:00 2001 From: whatdoineed2do/Ray Date: Mon, 25 Sep 2023 11:21:42 +0100 Subject: [PATCH 02/13] ensure arg for -p --- src/cli.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/cli.cpp b/src/cli.cpp index 56dbf8e..5c7d6be 100644 --- a/src/cli.cpp +++ b/src/cli.cpp @@ -183,6 +183,10 @@ int CLI::parseCommandLine(int argc, char* argv[], Options* options) { } i++; } else if (arg == "-p" || arg == "--productid") { + if (i == argc -1) { + options->error = true; + break; + } options->productid = argv[i+1]; i++; } else if (arg == "-V" || arg == "--validate") { From ecd9cd8dd2c0310eeeddf88b481f8fce97c2b2ee Mon Sep 17 00:00:00 2001 From: whatdoineed2do/Ray Date: Mon, 25 Sep 2023 11:26:28 +0100 Subject: [PATCH 03/13] office 2k7 enterprise must be given inst id --- src/cli.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli.cpp b/src/cli.cpp index 5c7d6be..1d38966 100644 --- a/src/cli.cpp +++ b/src/cli.cpp @@ -207,7 +207,7 @@ int CLI::parseCommandLine(int argc, char* argv[], Options* options) { } // make sure that a product id is entered for OFFICE_2K3 or OFFICE_2K7 IIDs - if ((options->activationMode == OFFICE_2K3 || options->activationMode == OFFICE_2K7) && options->productid == "") { + if ((options->activationMode == OFFICE_2K3 || options->activationMode == OFFICE_2K7) && (options->productid.empty() || options->instid.empty()) ) { return options->error = true; } From 12a041c380730859a3ded708d51bdc0ada26b6b1 Mon Sep 17 00:00:00 2001 From: whatdoineed2do/Ray Date: Mon, 25 Sep 2023 12:04:52 +0100 Subject: [PATCH 04/13] BN_free() memleaks --- src/libumskt/pidgen3/util.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/libumskt/pidgen3/util.cpp b/src/libumskt/pidgen3/util.cpp index b6aad7b..2255af5 100644 --- a/src/libumskt/pidgen3/util.cpp +++ b/src/libumskt/pidgen3/util.cpp @@ -100,6 +100,13 @@ EC_GROUP* PIDGEN3::initializeEllipticCurve( // Cleanup BN_CTX_free(context); + BN_free(p); + BN_free(a); + BN_free(b); + BN_free(generatorX); + BN_free(generatorY); + BN_free(publicKeyX); + BN_free(publicKeyY); return eCurve; } From bf40bb64028e9340dc1778c3afe5dbd0da26da6c Mon Sep 17 00:00:00 2001 From: whatdoineed2do/Ray Date: Mon, 25 Sep 2023 12:10:42 +0100 Subject: [PATCH 05/13] CLI moved to stack object --- src/main.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 558a5b7..31234b6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -39,23 +39,23 @@ int main(int argc, char *argv[]) { return status; } - CLI* run = new CLI(options, keys); + CLI run(options, keys); switch(options.applicationMode) { case MODE_BINK1998_GENERATE: - return run->BINK1998Generate(); + return run.BINK1998Generate(); case MODE_BINK2002_GENERATE: - return run->BINK2002Generate(); + return run.BINK2002Generate(); case MODE_BINK1998_VALIDATE: - return run->BINK1998Validate(); + return run.BINK1998Validate(); case MODE_BINK2002_VALIDATE: - return run->BINK2002Validate(); + return run.BINK2002Validate(); case MODE_CONFIRMATION_ID: - return run->ConfirmationID(); + return run.ConfirmationID(); default: return 1; From 5ba2dbddd46863005885f38c98a744a2ac83d18d Mon Sep 17 00:00:00 2001 From: whatdoineed2do/Ray Date: Mon, 25 Sep 2023 12:05:23 +0100 Subject: [PATCH 06/13] EC/BN memleak --- src/cli.cpp | 10 ++++++++++ src/cli.h | 1 + 2 files changed, 11 insertions(+) diff --git a/src/cli.cpp b/src/cli.cpp index 1d38966..df1ccf0 100644 --- a/src/cli.cpp +++ b/src/cli.cpp @@ -22,6 +22,15 @@ #include "cli.h" +CLI::~CLI() +{ + EC_GROUP_free(eCurve); + EC_POINT_free(genPoint); + EC_POINT_free(pubPoint); + BN_free(privateKey); + BN_free(genOrder); +} + bool CLI::loadJSON(const fs::path& filename, json *output) { if (!filename.empty() && !fs::exists(filename)) { fmt::print("ERROR: File {} does not exist\n", filename.string()); @@ -417,6 +426,7 @@ int CLI::BINK1998Generate() { sscanf(cRaw, "%d", &oRaw); nRaw += (oRaw % 999999); // ensure our serial is less than 999999 + BN_free(bnrand); } if (this->options.verbose) { diff --git a/src/cli.h b/src/cli.h index 0c80bf7..c73104a 100644 --- a/src/cli.h +++ b/src/cli.h @@ -85,6 +85,7 @@ class CLI { public: CLI(Options options, json keys); + ~CLI(); static bool loadJSON(const fs::path& filename, json *output); static void showHelp(char *argv[]); From 884d8c9703a2582619798b3858af5cdca41cda06 Mon Sep 17 00:00:00 2001 From: techguy16 <88870951+techguy16@users.noreply.github.com> Date: Wed, 27 Sep 2023 07:24:56 +1300 Subject: [PATCH 07/13] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 0efd3eb..f63c87e 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,7 @@ [![Zulip chat](https://img.shields.io/badge/zulip-join_chat-brightgreen.svg)](https://umskt.zulipchat.com) [![libera.chat - #mspid](https://img.shields.io/badge/libera.chat-%23mspid-brightgreen)](https://web.libera.chat/gamja/?nick=Guest?#mspid) +[![](https://dcbadge.vercel.app/api/server/cUZxfNNSdt?style=flat)](https://umskt-invite.glitch.me/) **Build status** From 6685b38aac3316dac862d11411744995496faaf3 Mon Sep 17 00:00:00 2001 From: techguy16 <88870951+techguy16@users.noreply.github.com> Date: Wed, 27 Sep 2023 07:26:10 +1300 Subject: [PATCH 08/13] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f63c87e..e454ca7 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ [![Zulip chat](https://img.shields.io/badge/zulip-join_chat-brightgreen.svg)](https://umskt.zulipchat.com) [![libera.chat - #mspid](https://img.shields.io/badge/libera.chat-%23mspid-brightgreen)](https://web.libera.chat/gamja/?nick=Guest?#mspid) -[![](https://dcbadge.vercel.app/api/server/cUZxfNNSdt?style=flat)](https://umskt-invite.glitch.me/) +[![Discord](https://dcbadge.vercel.app/api/server/cUZxfNNSdt?style=flat)](https://umskt-invite.glitch.me/) **Build status** From 2753bf2a409864fd5b0e2aab8e5ccc1fe667c27d Mon Sep 17 00:00:00 2001 From: WitherOrNot Date: Tue, 26 Sep 2023 23:05:22 -0400 Subject: [PATCH 09/13] Update README.md --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index e454ca7..db5d37a 100644 --- a/README.md +++ b/README.md @@ -68,6 +68,8 @@ For Windows, click [here](https://slproweb.com/products/Win32OpenSSL.html) and c * Select the **telephone activation** method, then, run `umskt -i ` using the `Installation ID` the activation Wizard provides for you + * If you're activating a non-Windows product, use `umskt -i -m `, where `` is one of `OFFICEXP`, `OFFICE2K3`, `OFFICE2K7`, or `PLUSDME` + * If activating Office 2003/2007, use `umskt -i -m -p ` #### 4. Profit! From 2ac6920e2ce9ba85e3999e7b6fe30bf04d17d5d3 Mon Sep 17 00:00:00 2001 From: whatdoineed2do/Ray Date: Wed, 27 Sep 2023 18:50:08 +0100 Subject: [PATCH 10/13] cleanup CMakeLists.txt to build normal with statically linked internal lib without need for full static linkage --- .github/workflows/linux.yml | 15 +++++++ CMakeLists.txt | 90 +++++++++++++++++++++++-------------- 2 files changed, 72 insertions(+), 33 deletions(-) diff --git a/.github/workflows/linux.yml b/.github/workflows/linux.yml index fcb5f00..a2c790b 100644 --- a/.github/workflows/linux.yml +++ b/.github/workflows/linux.yml @@ -50,6 +50,7 @@ jobs: musl-dev openssl-dev openssl-libs-static + zlib-dev arch: ${{ matrix.arch }} shell-name: alpine-target.sh @@ -70,3 +71,17 @@ jobs: with: name: UMSKT-linux-${{ matrix.arch }}-static path: build/actions_upload + + - name: Configure and build static internal deps UMSKT + uses: threeal/cmake-action@7ef2eb8da6e5ec0a6de6b1ddc96987080bed06e8 + with: + options: MUSL_STATIC=OFF BUILD_SHARED_LIBS=OFF + run-build: true + shell: alpine-target.sh {0} + + - name: Configure and build shared deps UMSKT + uses: threeal/cmake-action@7ef2eb8da6e5ec0a6de6b1ddc96987080bed06e8 + with: + options: MUSL_STATIC=OFF BUILD_SHARED_LIBS=ON + run-build: true + shell: alpine-target.sh {0} diff --git a/CMakeLists.txt b/CMakeLists.txt index ecff099..d15a38e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,9 +20,11 @@ CMAKE_MINIMUM_REQUIRED(VERSION 3.12) PROJECT(UMSKT) + SET(CMAKE_CXX_STANDARD 17) -SET(CMAKE_POSITION_INDEPENDENT_CODE ON) SET(CMAKE_OSX_SYSROOT "macosx" CACHE PATH "macOS SDK path") + +OPTION(BUILD_SHARED_LIBS "Build internal libraries as dynamic" OFF) OPTION(UMSKT_USE_SHARED_OPENSSL "Force linking against the system-wide OpenSSL library" OFF) OPTION(MUSL_STATIC "Enable fully static builds in a muslc environment (i.e. Alpine Linux)" OFF) OPTION(DJGPP_WATT32 "Enable compilation and linking with DJGPP/WATT32/OpenSSL" OFF) @@ -44,10 +46,11 @@ endif() IF(UMSKT_USE_SHARED_OPENSSL) SET(OPENSSL_USE_STATIC_LIBS FALSE) SET(OPENSSL_MSVC_STATIC_RT FALSE) - MESSAGE(WARNING "[UMSKT] Forcing shared OpenSSL runtime") + MESSAGE(STATUS "[UMSKT] Requesting dynamic version of OpenSSL") ELSE() SET(OPENSSL_USE_STATIC_LIBS TRUE) SET(OPENSSL_MSVC_STATIC_RT TRUE) + MESSAGE(STATUS "[UMSKT] Requesting static version of OpenSSL") ENDIF() @@ -62,24 +65,6 @@ IF(DJGPP_WATT32) SET(UMSKT_LINK_DIRS ${UMSKT_LINK_DIRS} ${WATT_ROOT}/lib) ENDIF() -# find the system installed OpenSSL development library -FIND_PACKAGE(OpenSSL REQUIRED) -IF(NOT OPENSSL_FOUND) - MESSAGE(SEND_ERROR "OpenSSL Development Libraries Not Found") - MESSAGE(SEND_ERROR "Please consult your package manager of choice to install the prerequisite") - MESSAGE(SEND_ERROR "The package name is commonly called libssl-dev or openssl-dev depending on distribution") - MESSAGE(FATAL_ERROR "Can not continue without OpenSSL") -ENDIF() - -# if we found shared libraries - do the following: -STRING(REGEX MATCH "(\\.so|\\.dll|\\.dylib)$" OPENSSL_CRYPTO_SHARED "${OPENSSL_CRYPTO_LIBRARY}") -IF(OPENSSL_CRYPTO_SHARED) - MESSAGE(STATUS "[UMSKT] Detected Shared library version of OpenSSL") - SET(BUILD_SHARED_LIBS ON) -ELSE() - MESSAGE(STATUS "[UMSKT] Detected Static Library version of OpenSSL") -ENDIF() - if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") SET(BUILD_SHARED_LIBS ON) MESSAGE(STATUS "[UMSKT] macOS has no static library - Shared library forced on") @@ -108,6 +93,9 @@ ENDIF() IF(MUSL_STATIC) MESSAGE(STATUS "[UMSKT] Performing a fully static build using muslc") + SET(BUILD_SHARED_LIBS OFF) + SET(OPENSSL_USE_STATIC_LIBS TRUE) + SET(CMAKE_EXE_LINKER_FLAGS "-static -static-libgcc -static-libstdc++") SET(CMAKE_SHARED_LINKER_FLAGS "-static -static-libgcc -static-libstdc++") SET(CMAKE_FIND_LIBRARY_SUFFIXES ".a") @@ -115,6 +103,46 @@ IF(MUSL_STATIC) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -static-libgcc -static-libstdc++") ENDIF() +# find the system installed OpenSSL development library +FIND_PACKAGE(OpenSSL REQUIRED) +IF(NOT OPENSSL_FOUND) + MESSAGE(SEND_ERROR "OpenSSL Development Libraries Not Found") + MESSAGE(SEND_ERROR "Please consult your package manager of choice to install the prerequisite") + MESSAGE(SEND_ERROR "The package name is commonly called libssl-dev or openssl-dev depending on distribution") + MESSAGE(FATAL_ERROR "Can not continue without OpenSSL") +ENDIF() + +IF(NOT MUSL_STATIC) + # if we found shared libraries - do the following: + IF (OPENSSL_USE_STATIC_LIBS) + MESSAGE(STATUS "[UMSKT] requested static version of OpenSSL") + if (NOT UMSKT_USE_SHARED_OPENSSL) + MESSAGE(STATUS "[UMSKT] not asked for shared version of OpenSSL") + ENDIF() + + IF(MSVC) + SET(UMSKT_LINK_LIBS ${UMSKT_LINK_LIBS} "ws2_32.lib") + SET(UMSKT_LINK_LIBS ${UMSKT_LINK_LIBS} "crypt32.lib") + MESSAGE(STATUS "[UMSKT] msvc adding ws2_32.lib crypt32.lib") + ENDIF() + ENDIF() + + STRING(REGEX MATCH "(\\.so|\\.dll|\\.dylib)$" OPENSSL_CRYPTO_SHARED "${OPENSSL_CRYPTO_LIBRARY}") + IF(OPENSSL_CRYPTO_SHARED) + MESSAGE(STATUS "[UMSKT] Detected Shared library version of OpenSSL") + ELSE() + MESSAGE(STATUS "[UMSKT] Detected Static Library version of OpenSSL") + + # static libcrypto on Fedora needs -lz at link time + IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux") + FIND_PACKAGE(ZLIB REQUIRED) + IF (NOT ZLIB_FOUND) + MESSAGE(FATAL_ERROR "[UMSKT] linux static OpenSSL requires zlib") + ENDIF() + ENDIF() + ENDIF() +ENDIF() + # initalize cpm.CMake INCLUDE(cmake/CPM.cmake) @@ -174,28 +202,24 @@ IF (EMSCRIPTEN) SET_TARGET_PROPERTIES(umskt PROPERTIES COMPILE_FLAGS "-Os -sEXPORTED_RUNTIME_METHODS=ccall,cwrap") SET_TARGET_PROPERTIES(umskt PROPERTIES LINK_FLAGS "-Os -sWASM=1 -sEXPORT_ALL=1 -sEXPORTED_RUNTIME_METHODS=ccall,cwrap --no-entry") ELSE() - IF(NOT UMSKT_USE_SHARED_OPENSSL) - ### Static library compilation - ADD_LIBRARY(_umskt STATIC ${LIBUMSKT_SRC}) - TARGET_INCLUDE_DIRECTORIES(_umskt PUBLIC ${OPENSSL_INCLUDE_DIR}) - TARGET_LINK_LIBRARIES(_umskt -static OpenSSL::Crypto fmt ${UMSKT_LINK_LIBS}) - ELSE() - ### Shared library compilation - ADD_LIBRARY(_umskt SHARED ${LIBUMSKT_SRC} ${UMSKT_EXE_WINDOWS_EXTRA} ${UMSKT_EXE_WINDOWS_DLL}) - TARGET_INCLUDE_DIRECTORIES(_umskt PUBLIC ${OPENSSL_INCLUDE_DIR}) - TARGET_LINK_LIBRARIES(_umskt OpenSSL::Crypto fmt ${UMSKT_LINK_LIBS}) - TARGET_LINK_DIRECTORIES(_umskt PUBLIC ${UMSKT_LINK_DIRS}) - ENDIF() + ADD_LIBRARY(_umskt ${LIBUMSKT_SRC} ${UMSKT_EXE_WINDOWS_EXTRA} ${UMSKT_EXE_WINDOWS_DLL}) + TARGET_INCLUDE_DIRECTORIES(_umskt PUBLIC ${OPENSSL_INCLUDE_DIR}) + TARGET_LINK_DIRECTORIES(_umskt PUBLIC ${UMSKT_LINK_DIRS}) + TARGET_LINK_LIBRARIES(_umskt ${OPENSSL_CRYPTO_LIBRARIES} fmt ${UMSKT_LINK_LIBS}) ### UMSKT executable compilation ADD_EXECUTABLE(umskt src/main.cpp src/cli.cpp ${UMSKT_EXE_WINDOWS_EXTRA}) TARGET_INCLUDE_DIRECTORIES(umskt PUBLIC ${OPENSSL_INCLUDE_DIR}) - TARGET_LINK_LIBRARIES(umskt _umskt OpenSSL::Crypto fmt nlohmann_json::nlohmann_json umskt::rc ${UMSKT_LINK_LIBS}) + TARGET_LINK_LIBRARIES(umskt _umskt ${OPENSSL_CRYPTO_LIBRARIES} ${ZLIB_LIBRARIES} fmt nlohmann_json::nlohmann_json umskt::rc ${UMSKT_LINK_LIBS}) TARGET_LINK_DIRECTORIES(umskt PUBLIC ${UMSKT_LINK_DIRS}) IF(MSVC AND MSVC_MSDOS_STUB) SET_PROPERTY(TARGET umskt APPEND PROPERTY LINK_FLAGS /STUB:${MSVC_MSDOS_STUB}) ENDIF() + IF (${CMAKE_SYSTEM_NAME} MATCHES "Linux") + install(TARGETS umskt DESTINATION bin) + ENDIF() + ### Copy Shared Libraries and dependency files IF (OPENSSL_CRYPTO_SHARED) GET_FILENAME_COMPONENT(OPENSSL_CRYPTO_LIBRARY_FILENAME ${OPENSSL_CRYPTO_LIBRARY} NAME) From 88f60630c1dcbcf89fe36ebc6277a79a34dfac74 Mon Sep 17 00:00:00 2001 From: whatdoineed2do/Ray Date: Fri, 29 Sep 2023 12:22:53 +0100 Subject: [PATCH 11/13] gh: window - upgrade from 404'd 3.1.2 resource to openssl 3.1.3 --- .github/workflows/windows.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 50c6cd8..99857d4 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -52,11 +52,11 @@ jobs: exit 1 } - - name: Download And Install 32-bit OpenSSL 3.1.2 + - name: Download And Install 32-bit OpenSSL 3.1.3 run: | $installDir = "$Env:ProgramFiles\OpenSSL" - $installerURL = "https://slproweb.com/download/Win32OpenSSL-3_1_2.exe" - $installerName = "Win32OpenSSL-3_1_2.exe" + $installerURL = "https://slproweb.com/download/Win32OpenSSL-3_1_3.exe" + $installerName = "Win32OpenSSL-3_1_3.exe" $installerPath = Join-Path -Path "${env:Temp}" -ChildPath "$installerName" (New-Object System.Net.WebClient).DownloadFile($installerURL, $installerPath) @@ -112,11 +112,11 @@ jobs: exit 1 } - - name: Download And Install 64-bit OpenSSL 3.1.2 + - name: Download And Install 64-bit OpenSSL 3.1.3 run: | $installDir = "$Env:ProgramFiles\OpenSSL" - $installerURL = "https://slproweb.com/download/Win64OpenSSL-3_1_2.exe" - $installerName = "Win64OpenSSL-3_1_2.exe" + $installerURL = "https://slproweb.com/download/Win64OpenSSL-3_1_3.exe" + $installerName = "Win64OpenSSL-3_1_3.exe" $installerPath = Join-Path -Path "${env:Temp}" -ChildPath "$installerName" (New-Object System.Net.WebClient).DownloadFile($installerURL, $installerPath) From 00d4906b2833f1c2decb71687dfd7035e263f857 Mon Sep 17 00:00:00 2001 From: whatdoineed2do/Ray Date: Fri, 29 Sep 2023 20:54:33 +0100 Subject: [PATCH 12/13] djgpp: drop forced shared --- CMakeLists.txt | 5 ----- 1 file changed, 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index d15a38e..f7763ea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -70,11 +70,6 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Darwin") MESSAGE(STATUS "[UMSKT] macOS has no static library - Shared library forced on") endif() -if (DJGPP_WATT32) - SET(BUILD_SHARED_LIBS ON) - MESSAGE(STATUS "[UMSKT] DOS has no static library - Shared library forced on") -endif() - # if we're compiling with MSVC, respect the DEBUG compile option IF(MSVC) SET(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$:Debug>") From 1548e14169ffe260db809eecf526df2047444058 Mon Sep 17 00:00:00 2001 From: TheTank20 Date: Thu, 14 Dec 2023 00:24:33 +0000 Subject: [PATCH 13/13] Update OpenSSL to 3.1.4 Please see GIF attached for what we'll eventually do to OpenSSL. --- .github/workflows/windows.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 99857d4..ba2b81f 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -52,11 +52,11 @@ jobs: exit 1 } - - name: Download And Install 32-bit OpenSSL 3.1.3 + - name: Download And Install 32-bit OpenSSL 3.1.4 run: | $installDir = "$Env:ProgramFiles\OpenSSL" - $installerURL = "https://slproweb.com/download/Win32OpenSSL-3_1_3.exe" - $installerName = "Win32OpenSSL-3_1_3.exe" + $installerURL = "https://slproweb.com/download/Win32OpenSSL-3_1_4.exe" + $installerName = "Win32OpenSSL-3_1_4.exe" $installerPath = Join-Path -Path "${env:Temp}" -ChildPath "$installerName" (New-Object System.Net.WebClient).DownloadFile($installerURL, $installerPath) @@ -112,11 +112,11 @@ jobs: exit 1 } - - name: Download And Install 64-bit OpenSSL 3.1.3 + - name: Download And Install 64-bit OpenSSL 3.1.4 run: | $installDir = "$Env:ProgramFiles\OpenSSL" - $installerURL = "https://slproweb.com/download/Win64OpenSSL-3_1_3.exe" - $installerName = "Win64OpenSSL-3_1_3.exe" + $installerURL = "https://slproweb.com/download/Win64OpenSSL-3_1_4.exe" + $installerName = "Win64OpenSSL-3_1_4.exe" $installerPath = Join-Path -Path "${env:Temp}" -ChildPath "$installerName" (New-Object System.Net.WebClient).DownloadFile($installerURL, $installerPath)