From 7ec0ae95f19f6afdc481e43d41850b4095d7ea82 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 10:44:16 +0100 Subject: [PATCH 01/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index 9e7d2909..24884900 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -22,14 +22,14 @@ jobs: uses: actions/cache@v3 with: path: ${{ env.OPENSSL_DIR }} - key: openssl-${{ env.cache-name }}-${{ runner.os }}-${{ runner.arch }} + key: openssl-${{ env.cache-name }}-${{ runner.os }}-${{ runner.arch }}-test - if: ${{ steps.cache-openssl.outputs.cache-hit != 'true' }} name: build openssl run: | git clone https://github.com/openssl/openssl.git --branch master --depth 1 cd openssl - ./config --banner=Configured --debug --strict-warnings --prefix=${{ env.OPENSSL_DIR }} shared zlib + ./config --banner=Configured --strict-warnings --prefix=${{ env.OPENSSL_DIR }} shared zlib make -s -j4 sudo make install_sw install_ssldirs cd .. @@ -39,11 +39,13 @@ jobs: echo "OPENSSL_LIB=${{ env.OPENSSL_DIR }}/lib64" >> $GITHUB_ENV echo "${{ env.OPENSSL_DIR }}/bin" >> "$GITHUB_PATH" echo "LD_LIBRARY_PATH=${{ env.OPENSSL_DIR }}/lib64:$LD_LIBRARY_PATH" >> "$GITHUB_ENV" - - name: test_Mock with PQ algorithms + - name: Generate test certificate run: | cd test/recipes/80-test_cmp_http_data/Mock/ ./setup-mock.sh all cd ../../../../ + - name: test Mock + run: | make -f Makefile_v1 test_Mock From b794713cc248d02d442fe82801bdbc3f0c57fdb8 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 10:49:34 +0100 Subject: [PATCH 02/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index 24884900..fa80164d 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -11,6 +11,11 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 + - name: Fix kernel mmap rnd bits + # Asan in llvm 14 provided in ubuntu 22.04 is incompatible with + # high-entropy ASLR in much newer kernels that GitHub runners are + # using leading to random crashes: https://reviews.llvm.org/D148280 + run: sudo sysctl vm.mmap_rnd_bits=28 - name: set cache env run: | From bc26709f5e2a3bf82342140affa28eb547862842 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 11:11:36 +0100 Subject: [PATCH 03/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index fa80164d..100b1435 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -51,6 +51,7 @@ jobs: cd ../../../../ - name: test Mock run: | + which openssl make -f Makefile_v1 test_Mock From 32350650236593e6c05aabd6dbbb69761bced333 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 11:13:17 +0100 Subject: [PATCH 04/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index 100b1435..a8f597c9 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -27,7 +27,7 @@ jobs: uses: actions/cache@v3 with: path: ${{ env.OPENSSL_DIR }} - key: openssl-${{ env.cache-name }}-${{ runner.os }}-${{ runner.arch }}-test + key: openssl-${{ env.cache-name }}-${{ runner.os }}-${{ runner.arch }} - if: ${{ steps.cache-openssl.outputs.cache-hit != 'true' }} name: build openssl From 48c2f1d166998c672db7029a8f53af7a50db9bd6 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 11:20:52 +0100 Subject: [PATCH 05/42] Update build.yml --- .github/workflows/build.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index e7073112..640b9e3d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -92,4 +92,7 @@ jobs: # sudo apt-get update # sudo apt-get install -y >/dev/null libssl-dev build-essential # not needed # USE_LIBCMP=1 make -f Makefile_v1 test_Mock OPENSSL_CMP_ASPECTS=credentials V=1 # can be helpful for debugging + cd test/recipes/80-test_cmp_http_data/Mock/ + ./setup-mock.sh all + cd ../../../../ make -f Makefile_v1 test_all From 4e68ef6c54d37eb2402736d9b537c9d03a258e76 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 11:25:19 +0100 Subject: [PATCH 06/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index a8f597c9..2ecdbf36 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -52,6 +52,6 @@ jobs: - name: test Mock run: | which openssl - make -f Makefile_v1 test_Mock + make -f Makefile_v1 test_all From 930593877a3273e112e42b4851e069ac3bdddb73 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 11:38:11 +0100 Subject: [PATCH 07/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index 2ecdbf36..880306b4 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -52,6 +52,6 @@ jobs: - name: test Mock run: | which openssl - make -f Makefile_v1 test_all + make -f Makefile_v1 test_all V=1 From 87d1404059d72a5042119c3351a0f59f3322b7fd Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 10:40:14 +0000 Subject: [PATCH 08/42] test with verbosity 8 --- test/recipes/80-test_cmp_http_data/Mock/server.cnf | 2 +- test/recipes/80-test_cmp_http_data/test.cnf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/recipes/80-test_cmp_http_data/Mock/server.cnf b/test/recipes/80-test_cmp_http_data/Mock/server.cnf index 932bb11a..b74e2f90 100644 --- a/test/recipes/80-test_cmp_http_data/Mock/server.cnf +++ b/test/recipes/80-test_cmp_http_data/Mock/server.cnf @@ -19,4 +19,4 @@ rsp_newwithnew = newWithNew.pem rsp_newwithold = newWithOld.pem rsp_oldwithnew = oldWithNew.pem -verbosity = 2 # do not show any errors +verbosity = 8 # do not show any errors diff --git a/test/recipes/80-test_cmp_http_data/test.cnf b/test/recipes/80-test_cmp_http_data/test.cnf index 63bfc57f..062b74fc 100644 --- a/test/recipes/80-test_cmp_http_data/test.cnf +++ b/test/recipes/80-test_cmp_http_data/test.cnf @@ -10,7 +10,7 @@ certout = test.cert.pem policies = certificatePolicies #policy_oids = 1.2.3.4 #policy_oids_critical = 1 -#verbosity = 7 +verbosity = 8 ############################# server-dependent configurations From f2e0ccd0e7d6e4798e690daa864029487bd8ff4a Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 12:27:47 +0100 Subject: [PATCH 09/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index 880306b4..81c63279 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -39,11 +39,11 @@ jobs: sudo make install_sw install_ssldirs cd .. - - name: set OpenSSL env - run: | - echo "OPENSSL_LIB=${{ env.OPENSSL_DIR }}/lib64" >> $GITHUB_ENV - echo "${{ env.OPENSSL_DIR }}/bin" >> "$GITHUB_PATH" - echo "LD_LIBRARY_PATH=${{ env.OPENSSL_DIR }}/lib64:$LD_LIBRARY_PATH" >> "$GITHUB_ENV" + # - name: set OpenSSL env + # run: | + # echo "OPENSSL_LIB=${{ env.OPENSSL_DIR }}/lib64" >> $GITHUB_ENV + # echo "${{ env.OPENSSL_DIR }}/bin" >> "$GITHUB_PATH" + # echo "LD_LIBRARY_PATH=${{ env.OPENSSL_DIR }}/lib64:$LD_LIBRARY_PATH" >> "$GITHUB_ENV" - name: Generate test certificate run: | cd test/recipes/80-test_cmp_http_data/Mock/ From 3aa8df38ba0a9eca2f584c95080625780fa1ddc9 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 12:29:53 +0100 Subject: [PATCH 10/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index 81c63279..c2a4922f 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -20,13 +20,13 @@ jobs: - name: set cache env run: | echo "cache-name=`git ls-remote https://github.com/openssl/openssl.git master | awk '{print $1}'`" >> "$GITHUB_ENV" - echo "OPENSSL_DIR=`pwd`/master" >> $GITHUB_ENV + echo "OPENSSL_DIR_INSTALL=`pwd`/master" >> $GITHUB_ENV - id: cache-openssl name: cache openssl uses: actions/cache@v3 with: - path: ${{ env.OPENSSL_DIR }} + path: ${{ env.OPENSSL_DIR_INSTALL }} key: openssl-${{ env.cache-name }}-${{ runner.os }}-${{ runner.arch }} - if: ${{ steps.cache-openssl.outputs.cache-hit != 'true' }} @@ -34,7 +34,7 @@ jobs: run: | git clone https://github.com/openssl/openssl.git --branch master --depth 1 cd openssl - ./config --banner=Configured --strict-warnings --prefix=${{ env.OPENSSL_DIR }} shared zlib + ./config --banner=Configured --strict-warnings --prefix=${{ env.OPENSSL_DIR_INSTALL }} shared zlib make -s -j4 sudo make install_sw install_ssldirs cd .. From cef053e9f21f045603e54c07baead61ee5bf66d7 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 12:34:49 +0100 Subject: [PATCH 11/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index c2a4922f..720ae4ea 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -39,11 +39,11 @@ jobs: sudo make install_sw install_ssldirs cd .. - # - name: set OpenSSL env - # run: | - # echo "OPENSSL_LIB=${{ env.OPENSSL_DIR }}/lib64" >> $GITHUB_ENV - # echo "${{ env.OPENSSL_DIR }}/bin" >> "$GITHUB_PATH" - # echo "LD_LIBRARY_PATH=${{ env.OPENSSL_DIR }}/lib64:$LD_LIBRARY_PATH" >> "$GITHUB_ENV" + - name: set OpenSSL env + run: | + echo "OPENSSL_LIB=${{ env.OPENSSL_DIR }}/lib64" >> $GITHUB_ENV + echo "${{ env.OPENSSL_DIR }}/bin" >> "$GITHUB_PATH" + echo "LD_LIBRARY_PATH=${{ env.OPENSSL_DIR }}/lib64:$LD_LIBRARY_PATH" >> "$GITHUB_ENV" - name: Generate test certificate run: | cd test/recipes/80-test_cmp_http_data/Mock/ From a19e896cc749d02817c4010130736b140b93bcef Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 12:37:26 +0100 Subject: [PATCH 12/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index 720ae4ea..abfa0cb6 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -41,9 +41,9 @@ jobs: - name: set OpenSSL env run: | - echo "OPENSSL_LIB=${{ env.OPENSSL_DIR }}/lib64" >> $GITHUB_ENV - echo "${{ env.OPENSSL_DIR }}/bin" >> "$GITHUB_PATH" - echo "LD_LIBRARY_PATH=${{ env.OPENSSL_DIR }}/lib64:$LD_LIBRARY_PATH" >> "$GITHUB_ENV" + echo "OPENSSL_LIB=${{ env.OPENSSL_DIR_INSTALL }}/lib64" >> $GITHUB_ENV + echo "${{ env.OPENSSL_DIR_INSTALL }}/bin" >> "$GITHUB_PATH" + echo "LD_LIBRARY_PATH=${{ env.OPENSSL_DIR_INSTALL }}/lib64:$LD_LIBRARY_PATH" >> "$GITHUB_ENV" - name: Generate test certificate run: | cd test/recipes/80-test_cmp_http_data/Mock/ From c95f4b32557fd6f385ec597cbc5b2ce76b1ee637 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 12:45:21 +0100 Subject: [PATCH 13/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index abfa0cb6..208ca7db 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -44,6 +44,7 @@ jobs: echo "OPENSSL_LIB=${{ env.OPENSSL_DIR_INSTALL }}/lib64" >> $GITHUB_ENV echo "${{ env.OPENSSL_DIR_INSTALL }}/bin" >> "$GITHUB_PATH" echo "LD_LIBRARY_PATH=${{ env.OPENSSL_DIR_INSTALL }}/lib64:$LD_LIBRARY_PATH" >> "$GITHUB_ENV" + echo "OPENSSL_DIR=${{ env.OPENSSL_DIR_INSTALL }}" >> "$GITHUB_ENV" - name: Generate test certificate run: | cd test/recipes/80-test_cmp_http_data/Mock/ From dce9349e6e1f7373cc7f0b39e479706d5e2cb181 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 12:54:01 +0100 Subject: [PATCH 14/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index 208ca7db..4693e294 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -45,6 +45,7 @@ jobs: echo "${{ env.OPENSSL_DIR_INSTALL }}/bin" >> "$GITHUB_PATH" echo "LD_LIBRARY_PATH=${{ env.OPENSSL_DIR_INSTALL }}/lib64:$LD_LIBRARY_PATH" >> "$GITHUB_ENV" echo "OPENSSL_DIR=${{ env.OPENSSL_DIR_INSTALL }}" >> "$GITHUB_ENV" + echo "OPENSSL_ROOT_DIR=${{ env.OPENSSL_DIR_INSTALL }}" >> "$GITHUB_ENV" - name: Generate test certificate run: | cd test/recipes/80-test_cmp_http_data/Mock/ From cc234728d823ea1390964381a62a6aafb5c84cab Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 13:04:58 +0100 Subject: [PATCH 15/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index 4693e294..1ae5f7b0 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -43,7 +43,7 @@ jobs: run: | echo "OPENSSL_LIB=${{ env.OPENSSL_DIR_INSTALL }}/lib64" >> $GITHUB_ENV echo "${{ env.OPENSSL_DIR_INSTALL }}/bin" >> "$GITHUB_PATH" - echo "LD_LIBRARY_PATH=${{ env.OPENSSL_DIR_INSTALL }}/lib64:$LD_LIBRARY_PATH" >> "$GITHUB_ENV" + echo "LD_LIBRARY_PATH=${{ env.OPENSSL_DIR_INSTALL }}/lib64" >> "$GITHUB_ENV" echo "OPENSSL_DIR=${{ env.OPENSSL_DIR_INSTALL }}" >> "$GITHUB_ENV" echo "OPENSSL_ROOT_DIR=${{ env.OPENSSL_DIR_INSTALL }}" >> "$GITHUB_ENV" - name: Generate test certificate From 017bf3a511765eda7e9bf2744cc2bf153715cd96 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 13:07:06 +0100 Subject: [PATCH 16/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index 1ae5f7b0..8b54fe51 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -54,6 +54,6 @@ jobs: - name: test Mock run: | which openssl - make -f Makefile_v1 test_all V=1 + make -f Makefile_v1 test_Mock V=1 From e486a56cd68c283efe1b2303594bb16a53a2e6c9 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 13:23:43 +0100 Subject: [PATCH 17/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index 8b54fe51..7e57185c 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -54,6 +54,6 @@ jobs: - name: test Mock run: | which openssl - make -f Makefile_v1 test_Mock V=1 + make -f Makefile_v1 test_Mock V=1 OPENSSL=/home/runner/work/gencmpclient/gencmpclient/master/bin/openssl From 06a0713b948badbd7e1c00b8b01c4e01a2f71c88 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 13:25:31 +0100 Subject: [PATCH 18/42] Update build.yml --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 640b9e3d..329e786d 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -95,4 +95,4 @@ jobs: cd test/recipes/80-test_cmp_http_data/Mock/ ./setup-mock.sh all cd ../../../../ - make -f Makefile_v1 test_all + make -f Makefile_v1 test_all V=1 From e03de104fca414b893545bd2a39b327214b65fbe Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 13:49:14 +0100 Subject: [PATCH 19/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index 7e57185c..6d86470c 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -54,6 +54,9 @@ jobs: - name: test Mock run: | which openssl - make -f Makefile_v1 test_Mock V=1 OPENSSL=/home/runner/work/gencmpclient/gencmpclient/master/bin/openssl + ldd /home/runner/work/gencmpclient/gencmpclient/master/bin/openssl + + + # make -f Makefile_v1 test_Mock V=1 OPENSSL=/home/runner/work/gencmpclient/gencmpclient/master/bin/openssl From 9900b0c91bf51ee92cc79f20289727e46a122ee3 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 13:54:50 +0100 Subject: [PATCH 20/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index 6d86470c..4fbb2186 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -20,7 +20,7 @@ jobs: - name: set cache env run: | echo "cache-name=`git ls-remote https://github.com/openssl/openssl.git master | awk '{print $1}'`" >> "$GITHUB_ENV" - echo "OPENSSL_DIR_INSTALL=`pwd`/master" >> $GITHUB_ENV + echo "OPENSSL_DIR_INSTALL=`pwd`/../../openssl-4.0" >> $GITHUB_ENV - id: cache-openssl name: cache openssl @@ -32,6 +32,7 @@ jobs: - if: ${{ steps.cache-openssl.outputs.cache-hit != 'true' }} name: build openssl run: | + cd ../../ git clone https://github.com/openssl/openssl.git --branch master --depth 1 cd openssl ./config --banner=Configured --strict-warnings --prefix=${{ env.OPENSSL_DIR_INSTALL }} shared zlib From 0dd31513240cf58adb73bc0c9869e9116df92c6f Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 13:59:21 +0100 Subject: [PATCH 21/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index 4fbb2186..0cc73f64 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -20,7 +20,7 @@ jobs: - name: set cache env run: | echo "cache-name=`git ls-remote https://github.com/openssl/openssl.git master | awk '{print $1}'`" >> "$GITHUB_ENV" - echo "OPENSSL_DIR_INSTALL=`pwd`/../../openssl-4.0" >> $GITHUB_ENV + echo "OPENSSL_DIR_INSTALL=`pwd/../../`openssl-4.0" >> $GITHUB_ENV - id: cache-openssl name: cache openssl @@ -54,10 +54,6 @@ jobs: cd ../../../../ - name: test Mock run: | - which openssl - ldd /home/runner/work/gencmpclient/gencmpclient/master/bin/openssl - - - # make -f Makefile_v1 test_Mock V=1 OPENSSL=/home/runner/work/gencmpclient/gencmpclient/master/bin/openssl - + which openssl + make -f Makefile_v1 test_Mock V=1 From 229b9b50514fe69ff0f07bc4147766ce3bf4ccd6 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 14:01:39 +0100 Subject: [PATCH 22/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index 0cc73f64..0a397f7a 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -20,7 +20,7 @@ jobs: - name: set cache env run: | echo "cache-name=`git ls-remote https://github.com/openssl/openssl.git master | awk '{print $1}'`" >> "$GITHUB_ENV" - echo "OPENSSL_DIR_INSTALL=`pwd/../../`openssl-4.0" >> $GITHUB_ENV + echo "OPENSSL_DIR_INSTALL=/home/runner/work/openssl-4.0" >> $GITHUB_ENV - id: cache-openssl name: cache openssl From b22dcdf2be63fb2da443f3a8091f0125d512056c Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 14:19:01 +0100 Subject: [PATCH 23/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index 0a397f7a..d09df402 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -40,13 +40,13 @@ jobs: sudo make install_sw install_ssldirs cd .. - - name: set OpenSSL env - run: | - echo "OPENSSL_LIB=${{ env.OPENSSL_DIR_INSTALL }}/lib64" >> $GITHUB_ENV - echo "${{ env.OPENSSL_DIR_INSTALL }}/bin" >> "$GITHUB_PATH" - echo "LD_LIBRARY_PATH=${{ env.OPENSSL_DIR_INSTALL }}/lib64" >> "$GITHUB_ENV" - echo "OPENSSL_DIR=${{ env.OPENSSL_DIR_INSTALL }}" >> "$GITHUB_ENV" - echo "OPENSSL_ROOT_DIR=${{ env.OPENSSL_DIR_INSTALL }}" >> "$GITHUB_ENV" + # - name: set OpenSSL env + # run: | + # echo "OPENSSL_LIB=${{ env.OPENSSL_DIR_INSTALL }}/lib64" >> $GITHUB_ENV + # echo "${{ env.OPENSSL_DIR_INSTALL }}/bin" >> "$GITHUB_PATH" + # echo "LD_LIBRARY_PATH=${{ env.OPENSSL_DIR_INSTALL }}/lib64" >> "$GITHUB_ENV" + # echo "OPENSSL_DIR=${{ env.OPENSSL_DIR_INSTALL }}" >> "$GITHUB_ENV" + # echo "OPENSSL_ROOT_DIR=${{ env.OPENSSL_DIR_INSTALL }}" >> "$GITHUB_ENV" - name: Generate test certificate run: | cd test/recipes/80-test_cmp_http_data/Mock/ @@ -54,6 +54,7 @@ jobs: cd ../../../../ - name: test Mock run: | - which openssl + which openssl + ldd /usr/bin/openssl make -f Makefile_v1 test_Mock V=1 From 3794ae3b0b725945fa545d585dc03581e1e52832 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 14:21:30 +0100 Subject: [PATCH 24/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index d09df402..f782f0d6 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -19,8 +19,8 @@ jobs: - name: set cache env run: | - echo "cache-name=`git ls-remote https://github.com/openssl/openssl.git master | awk '{print $1}'`" >> "$GITHUB_ENV" - echo "OPENSSL_DIR_INSTALL=/home/runner/work/openssl-4.0" >> $GITHUB_ENV + echo "cache-name=`git ls-remote https://github.com/openssl/openssl.git openssl-3.6 | awk '{print $1}'`" >> "$GITHUB_ENV" + echo "OPENSSL_DIR_INSTALL=/home/runner/work/openssl-3.6" >> $GITHUB_ENV - id: cache-openssl name: cache openssl From 0c64d62c60ccf2271c9b64e11c2dd6dd259c8baa Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 14:22:53 +0100 Subject: [PATCH 25/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index f782f0d6..aa8fa4b8 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -33,7 +33,7 @@ jobs: name: build openssl run: | cd ../../ - git clone https://github.com/openssl/openssl.git --branch master --depth 1 + git clone https://github.com/openssl/openssl.git --branch openssl-3.6 --depth 1 cd openssl ./config --banner=Configured --strict-warnings --prefix=${{ env.OPENSSL_DIR_INSTALL }} shared zlib make -s -j4 From 603e2cdee4c76e1168d2c7333112e9eada83551f Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 14:28:22 +0100 Subject: [PATCH 26/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index aa8fa4b8..290590e9 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -20,7 +20,7 @@ jobs: - name: set cache env run: | echo "cache-name=`git ls-remote https://github.com/openssl/openssl.git openssl-3.6 | awk '{print $1}'`" >> "$GITHUB_ENV" - echo "OPENSSL_DIR_INSTALL=/home/runner/work/openssl-3.6" >> $GITHUB_ENV + echo "OPENSSL_DIR_INSTALL=`pwd`/openssl-3.6" >> $GITHUB_ENV - id: cache-openssl name: cache openssl From 1ec795e8f63e925ca75add9d1df2230bd2d803e2 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 14:32:54 +0100 Subject: [PATCH 27/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index 290590e9..39d8ccd4 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -40,8 +40,10 @@ jobs: sudo make install_sw install_ssldirs cd .. - # - name: set OpenSSL env - # run: | + - name: set OpenSSL env + run: | + cp ${{ env.OPENSSL_DIR_INSTALL }}/bin/openssl /usr/bin/openssl + cp ${{ env.OPENSSL_DIR_INSTALL }}/lib64/* /lib/x86_64-linux-gnu/ # echo "OPENSSL_LIB=${{ env.OPENSSL_DIR_INSTALL }}/lib64" >> $GITHUB_ENV # echo "${{ env.OPENSSL_DIR_INSTALL }}/bin" >> "$GITHUB_PATH" # echo "LD_LIBRARY_PATH=${{ env.OPENSSL_DIR_INSTALL }}/lib64" >> "$GITHUB_ENV" From ff543154d2301c309ef68a1112c454d4d1db4d0b Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 14:34:28 +0100 Subject: [PATCH 28/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index 39d8ccd4..b87cc0a4 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -42,8 +42,8 @@ jobs: - name: set OpenSSL env run: | - cp ${{ env.OPENSSL_DIR_INSTALL }}/bin/openssl /usr/bin/openssl - cp ${{ env.OPENSSL_DIR_INSTALL }}/lib64/* /lib/x86_64-linux-gnu/ + sudo cp -f ${{ env.OPENSSL_DIR_INSTALL }}/bin/openssl /usr/bin/openssl + sudo cp -f ${{ env.OPENSSL_DIR_INSTALL }}/lib64/* /lib/x86_64-linux-gnu/ # echo "OPENSSL_LIB=${{ env.OPENSSL_DIR_INSTALL }}/lib64" >> $GITHUB_ENV # echo "${{ env.OPENSSL_DIR_INSTALL }}/bin" >> "$GITHUB_PATH" # echo "LD_LIBRARY_PATH=${{ env.OPENSSL_DIR_INSTALL }}/lib64" >> "$GITHUB_ENV" From ced6afea0982f7a0ef4607deae642f95994a529d Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 14:56:38 +0100 Subject: [PATCH 29/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index b87cc0a4..65ebfa0f 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -42,21 +42,21 @@ jobs: - name: set OpenSSL env run: | - sudo cp -f ${{ env.OPENSSL_DIR_INSTALL }}/bin/openssl /usr/bin/openssl - sudo cp -f ${{ env.OPENSSL_DIR_INSTALL }}/lib64/* /lib/x86_64-linux-gnu/ - # echo "OPENSSL_LIB=${{ env.OPENSSL_DIR_INSTALL }}/lib64" >> $GITHUB_ENV - # echo "${{ env.OPENSSL_DIR_INSTALL }}/bin" >> "$GITHUB_PATH" - # echo "LD_LIBRARY_PATH=${{ env.OPENSSL_DIR_INSTALL }}/lib64" >> "$GITHUB_ENV" - # echo "OPENSSL_DIR=${{ env.OPENSSL_DIR_INSTALL }}" >> "$GITHUB_ENV" - # echo "OPENSSL_ROOT_DIR=${{ env.OPENSSL_DIR_INSTALL }}" >> "$GITHUB_ENV" + echo "OPENSSL_LIB=${{ env.OPENSSL_DIR_INSTALL }}/lib64" >> $GITHUB_ENV + echo "${{ env.OPENSSL_DIR_INSTALL }}/bin" >> "$GITHUB_PATH" + echo "LD_LIBRARY_PATH=${{ env.OPENSSL_DIR_INSTALL }}/lib64" >> "$GITHUB_ENV" + echo "OPENSSL_DIR=${{ env.OPENSSL_DIR_INSTALL }}" >> "$GITHUB_ENV" + echo "OPENSSL_ROOT_DIR=${{ env.OPENSSL_DIR_INSTALL }}" >> "$GITHUB_ENV" - name: Generate test certificate run: | cd test/recipes/80-test_cmp_http_data/Mock/ ./setup-mock.sh all - cd ../../../../ - - name: test Mock - run: | which openssl - ldd /usr/bin/openssl - make -f Makefile_v1 test_Mock V=1 + openssl cmp -config server.cnf + cd ../../../../ + # - name: test Mock + # run: | + # which openssl + # ldd /usr/bin/openssl + # make -f Makefile_v1 test_Mock V=1 From af241120f38e633567d9d72d5f61fb36e1e86cfd Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 14:01:00 +0000 Subject: [PATCH 30/42] make port 0 --- test/recipes/80-test_cmp_http_data/Mock/server.cnf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/recipes/80-test_cmp_http_data/Mock/server.cnf b/test/recipes/80-test_cmp_http_data/Mock/server.cnf index b74e2f90..1be83e19 100644 --- a/test/recipes/80-test_cmp_http_data/Mock/server.cnf +++ b/test/recipes/80-test_cmp_http_data/Mock/server.cnf @@ -1,6 +1,6 @@ [cmp] # mock server configuration -port = 1700 +port = 0 srv_secret = pass:test srv_cert = server.crt srv_key = server.key From 0844fd212915ec5319d3ae08a5983ce6b8210d57 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 15:02:30 +0100 Subject: [PATCH 31/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index 65ebfa0f..24a2f894 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -51,12 +51,12 @@ jobs: run: | cd test/recipes/80-test_cmp_http_data/Mock/ ./setup-mock.sh all - which openssl - openssl cmp -config server.cnf + # which openssl + # openssl cmp -config server.cnf cd ../../../../ - # - name: test Mock - # run: | - # which openssl - # ldd /usr/bin/openssl - # make -f Makefile_v1 test_Mock V=1 + - name: test Mock + run: | + which openssl + ldd /usr/bin/openssl + make -f Makefile_v1 test_Mock V=1 From a1010efd2dafabd801ddbd573daecb5c05c0e8c2 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Wed, 4 Feb 2026 16:51:58 +0100 Subject: [PATCH 32/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index 24a2f894..c8895d9c 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -47,16 +47,17 @@ jobs: echo "LD_LIBRARY_PATH=${{ env.OPENSSL_DIR_INSTALL }}/lib64" >> "$GITHUB_ENV" echo "OPENSSL_DIR=${{ env.OPENSSL_DIR_INSTALL }}" >> "$GITHUB_ENV" echo "OPENSSL_ROOT_DIR=${{ env.OPENSSL_DIR_INSTALL }}" >> "$GITHUB_ENV" - - name: Generate test certificate - run: | - cd test/recipes/80-test_cmp_http_data/Mock/ - ./setup-mock.sh all - # which openssl - # openssl cmp -config server.cnf - cd ../../../../ + # - name: Generate test certificate + # run: | + # cd test/recipes/80-test_cmp_http_data/Mock/ + # ./setup-mock.sh all + # # which openssl + # # openssl cmp -config server.cnf + # cd ../../../../ - name: test Mock run: | which openssl ldd /usr/bin/openssl - make -f Makefile_v1 test_Mock V=1 + make -f Makefile_v1 test_Mock + cat test/recipes/faillog_Mock.txt From d4abc0bd1c7400b8971c4b41dad49fea4e4a6684 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan Date: Wed, 4 Feb 2026 16:59:08 +0100 Subject: [PATCH 33/42] test --- test/recipes/80-test_cmp_http_data/Mock/server.cnf | 2 +- test/recipes/80-test_cmp_http_data/test.cnf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/recipes/80-test_cmp_http_data/Mock/server.cnf b/test/recipes/80-test_cmp_http_data/Mock/server.cnf index 1be83e19..7e60b2ac 100644 --- a/test/recipes/80-test_cmp_http_data/Mock/server.cnf +++ b/test/recipes/80-test_cmp_http_data/Mock/server.cnf @@ -19,4 +19,4 @@ rsp_newwithnew = newWithNew.pem rsp_newwithold = newWithOld.pem rsp_oldwithnew = oldWithNew.pem -verbosity = 8 # do not show any errors +verbosity = 1 # do not show any errors diff --git a/test/recipes/80-test_cmp_http_data/test.cnf b/test/recipes/80-test_cmp_http_data/test.cnf index 062b74fc..8e54ba35 100644 --- a/test/recipes/80-test_cmp_http_data/test.cnf +++ b/test/recipes/80-test_cmp_http_data/test.cnf @@ -65,8 +65,8 @@ expect_sender = $server_dn subject = "/C=AU/ST=Some-State/O=Internet Widgits Pty Ltd/CN=leaf" newkey = signer.key out_trusted = signer_root.crt -kur_port = 1700 -pbm_port = 1700 +#kur_port = 1700 +#pbm_port = 1700 pbm_ref = pbm_secret = pass:test cert = signer.crt From 94b0b04edef19d4fbb08c135b4e777856c55d381 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan Date: Wed, 4 Feb 2026 17:57:57 +0100 Subject: [PATCH 34/42] For Mock server make {kur,pbm}_port = server_port --- test/recipes/80-test_cmp_http.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/recipes/80-test_cmp_http.t b/test/recipes/80-test_cmp_http.t index 9a4fa136..c0a8ba92 100644 --- a/test/recipes/80-test_cmp_http.t +++ b/test/recipes/80-test_cmp_http.t @@ -386,8 +386,8 @@ sub start_server { print "Cannot get expected output from the $server_name server\n"; return 0; } - $kur_port = $server_port if $kur_port eq "\$server_port"; - $pbm_port = $server_port if $pbm_port eq "\$server_port"; + $kur_port = $server_port; + $pbm_port = $server_port; $server_tls = $server_port if $server_tls; return $pid; } From 3f36724bff86a9389978b9c0b9fb87154550442a Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan Date: Fri, 6 Feb 2026 08:37:27 +0100 Subject: [PATCH 35/42] test --- .github/workflows/OpenSSL_versions.yml | 2 +- test/recipes/80-test_cmp_http_data/test.cnf | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/OpenSSL_versions.yml b/.github/workflows/OpenSSL_versions.yml index 6875132f..4a1c17bf 100644 --- a/.github/workflows/OpenSSL_versions.yml +++ b/.github/workflows/OpenSSL_versions.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - branch: [openssl-3.0, openssl-3.1, openssl-3.2, openssl-3.3, openssl-3.4, openssl-3.5, openssl-3.6, master] + branch: [openssl-3.0, openssl-3.1, openssl-3.2, openssl-3.3, openssl-3.4, openssl-3.5, openssl-3.6] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/test/recipes/80-test_cmp_http_data/test.cnf b/test/recipes/80-test_cmp_http_data/test.cnf index 8e54ba35..be1c000a 100644 --- a/test/recipes/80-test_cmp_http_data/test.cnf +++ b/test/recipes/80-test_cmp_http_data/test.cnf @@ -65,8 +65,8 @@ expect_sender = $server_dn subject = "/C=AU/ST=Some-State/O=Internet Widgits Pty Ltd/CN=leaf" newkey = signer.key out_trusted = signer_root.crt -#kur_port = 1700 -#pbm_port = 1700 +kur_port = +pbm_port = pbm_ref = pbm_secret = pass:test cert = signer.crt From 9693275909ccdb4d957fa483d1d2a3e61e5037fc Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan Date: Fri, 6 Feb 2026 08:46:43 +0100 Subject: [PATCH 36/42] test --- .github/workflows/OpenSSL_master-PQC.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index c8895d9c..d36c5bff 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -59,5 +59,4 @@ jobs: which openssl ldd /usr/bin/openssl make -f Makefile_v1 test_Mock - cat test/recipes/faillog_Mock.txt From 6714c52ef05df3c6be11c6e51537f3ef767033d8 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Fri, 6 Feb 2026 08:48:57 +0100 Subject: [PATCH 37/42] Update OpenSSL_master-PQC.yml --- .github/workflows/OpenSSL_master-PQC.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index d36c5bff..b482f7af 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -19,8 +19,8 @@ jobs: - name: set cache env run: | - echo "cache-name=`git ls-remote https://github.com/openssl/openssl.git openssl-3.6 | awk '{print $1}'`" >> "$GITHUB_ENV" - echo "OPENSSL_DIR_INSTALL=`pwd`/openssl-3.6" >> $GITHUB_ENV + echo "cache-name=`git ls-remote https://github.com/openssl/openssl.git master | awk '{print $1}'`" >> "$GITHUB_ENV" + echo "OPENSSL_DIR_INSTALL=`pwd`/master" >> $GITHUB_ENV - id: cache-openssl name: cache openssl @@ -33,7 +33,7 @@ jobs: name: build openssl run: | cd ../../ - git clone https://github.com/openssl/openssl.git --branch openssl-3.6 --depth 1 + git clone https://github.com/openssl/openssl.git --branch master --depth 1 cd openssl ./config --banner=Configured --strict-warnings --prefix=${{ env.OPENSSL_DIR_INSTALL }} shared zlib make -s -j4 From 656f301a67e9021171c725839a5cc921624eaa85 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan <111538666+rajeev-0@users.noreply.github.com> Date: Fri, 6 Feb 2026 08:50:42 +0100 Subject: [PATCH 38/42] Update OpenSSL_versions.yml --- .github/workflows/OpenSSL_versions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/OpenSSL_versions.yml b/.github/workflows/OpenSSL_versions.yml index 4a1c17bf..2ad34194 100644 --- a/.github/workflows/OpenSSL_versions.yml +++ b/.github/workflows/OpenSSL_versions.yml @@ -59,7 +59,7 @@ jobs: run: | make -f Makefile_v1 ./cmpClient -help - # make -f Makefile_v1 test_Mock # TODO add after solving issue #76 + make -f Makefile_v1 test_Mock # TODO add after solving issue #76 make -f Makefile_v1 clean_all USE_LIBCMP=1 STATIC_LIBCMP=1 make -f Makefile_v1 From 832e840fdf907a7c298f4022cf212100ea9e50ed Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan Date: Fri, 6 Feb 2026 09:03:01 +0100 Subject: [PATCH 39/42] Refactor OpenSSL workflow: streamline environment variable setup and remove obsolete steps --- .github/workflows/OpenSSL_master-PQC.yml | 33 ++++++++---------------- 1 file changed, 11 insertions(+), 22 deletions(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index b482f7af..5c4449dc 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -10,23 +10,16 @@ jobs: OpenSSL_master: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 - - name: Fix kernel mmap rnd bits - # Asan in llvm 14 provided in ubuntu 22.04 is incompatible with - # high-entropy ASLR in much newer kernels that GitHub runners are - # using leading to random crashes: https://reviews.llvm.org/D148280 - run: sudo sysctl vm.mmap_rnd_bits=28 - - name: set cache env run: | echo "cache-name=`git ls-remote https://github.com/openssl/openssl.git master | awk '{print $1}'`" >> "$GITHUB_ENV" - echo "OPENSSL_DIR_INSTALL=`pwd`/master" >> $GITHUB_ENV + echo "OPENSSL_DIR=`pwd`/master" >> $GITHUB_ENV - id: cache-openssl name: cache openssl uses: actions/cache@v3 with: - path: ${{ env.OPENSSL_DIR_INSTALL }} + path: ${{ env.OPENSSL_DIR }} key: openssl-${{ env.cache-name }}-${{ runner.os }}-${{ runner.arch }} - if: ${{ steps.cache-openssl.outputs.cache-hit != 'true' }} @@ -35,25 +28,21 @@ jobs: cd ../../ git clone https://github.com/openssl/openssl.git --branch master --depth 1 cd openssl - ./config --banner=Configured --strict-warnings --prefix=${{ env.OPENSSL_DIR_INSTALL }} shared zlib + ./config --banner=Configured --strict-warnings --prefix=${{ env.OPENSSL_DIR }} shared zlib make -s -j4 sudo make install_sw install_ssldirs cd .. - name: set OpenSSL env run: | - echo "OPENSSL_LIB=${{ env.OPENSSL_DIR_INSTALL }}/lib64" >> $GITHUB_ENV - echo "${{ env.OPENSSL_DIR_INSTALL }}/bin" >> "$GITHUB_PATH" - echo "LD_LIBRARY_PATH=${{ env.OPENSSL_DIR_INSTALL }}/lib64" >> "$GITHUB_ENV" - echo "OPENSSL_DIR=${{ env.OPENSSL_DIR_INSTALL }}" >> "$GITHUB_ENV" - echo "OPENSSL_ROOT_DIR=${{ env.OPENSSL_DIR_INSTALL }}" >> "$GITHUB_ENV" - # - name: Generate test certificate - # run: | - # cd test/recipes/80-test_cmp_http_data/Mock/ - # ./setup-mock.sh all - # # which openssl - # # openssl cmp -config server.cnf - # cd ../../../../ + echo "OPENSSL_LIB=${{ env.OPENSSL_DIR }}/lib64" >> $GITHUB_ENV + echo "${{ env.OPENSSL_DIR }}/bin" >> "$GITHUB_PATH" + echo "LD_LIBRARY_PATH=${{ env.OPENSSL_DIR }}/lib64:$LD_LIBRARY_PATH" >> "$GITHUB_ENV" + - name: Generate test certificate + run: | + cd test/recipes/80-test_cmp_http_data/Mock/ + ./setup-mock.sh all + - name: test Mock run: | which openssl From 49a12ae5c38687c817c3f87c18772715c4b5abd9 Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan Date: Fri, 6 Feb 2026 09:10:44 +0100 Subject: [PATCH 40/42] fixup --- .github/workflows/OpenSSL_master-PQC.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index 5c4449dc..ac04b693 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -25,7 +25,6 @@ jobs: - if: ${{ steps.cache-openssl.outputs.cache-hit != 'true' }} name: build openssl run: | - cd ../../ git clone https://github.com/openssl/openssl.git --branch master --depth 1 cd openssl ./config --banner=Configured --strict-warnings --prefix=${{ env.OPENSSL_DIR }} shared zlib From 8d5fc3a359c2f5b76d2e8b9b5c03173cf248d7bc Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan Date: Fri, 6 Feb 2026 09:22:31 +0100 Subject: [PATCH 41/42] Add checkout step to OpenSSL master workflow --- .github/workflows/OpenSSL_master-PQC.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/OpenSSL_master-PQC.yml b/.github/workflows/OpenSSL_master-PQC.yml index ac04b693..fb2be12f 100644 --- a/.github/workflows/OpenSSL_master-PQC.yml +++ b/.github/workflows/OpenSSL_master-PQC.yml @@ -10,6 +10,7 @@ jobs: OpenSSL_master: runs-on: ubuntu-latest steps: + - uses: actions/checkout@v4 - name: set cache env run: | echo "cache-name=`git ls-remote https://github.com/openssl/openssl.git master | awk '{print $1}'`" >> "$GITHUB_ENV" @@ -31,7 +32,6 @@ jobs: make -s -j4 sudo make install_sw install_ssldirs cd .. - - name: set OpenSSL env run: | echo "OPENSSL_LIB=${{ env.OPENSSL_DIR }}/lib64" >> $GITHUB_ENV From 1e310c2633630662c97acdcb25d6ee29d10357fa Mon Sep 17 00:00:00 2001 From: Rajeev Ranjan Date: Mon, 9 Feb 2026 13:43:23 +0100 Subject: [PATCH 42/42] add version check for licmp --- .github/workflows/OpenSSL_versions.yml | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) diff --git a/.github/workflows/OpenSSL_versions.yml b/.github/workflows/OpenSSL_versions.yml index 2ad34194..136f5f3b 100644 --- a/.github/workflows/OpenSSL_versions.yml +++ b/.github/workflows/OpenSSL_versions.yml @@ -11,7 +11,7 @@ jobs: strategy: fail-fast: false matrix: - branch: [openssl-3.0, openssl-3.1, openssl-3.2, openssl-3.3, openssl-3.4, openssl-3.5, openssl-3.6] + branch: [openssl-3.0, openssl-3.1, openssl-3.2, openssl-3.3, openssl-3.4, openssl-3.5, openssl-3.6, master] runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -48,10 +48,12 @@ jobs: cmake . make ./cmpClient -help - - mkdir build-with-libcmp - cd build-with-libcmp - USE_LIBCMP=1 cmake -S .. -B . + if [[ $(openssl version | cut -d' ' -f2 | cut -d'.' -f1) -lt 4 ]]; then + echo "OpenSSL version is less than 4.0, proceeding with build" + mkdir build-with-libcmp + cd build-with-libcmp + USE_LIBCMP=1 cmake -S .. -B . + fi make clean build DESTDIR=tmp make install uninstall make deb @@ -61,10 +63,11 @@ jobs: ./cmpClient -help make -f Makefile_v1 test_Mock # TODO add after solving issue #76 make -f Makefile_v1 clean_all - - USE_LIBCMP=1 STATIC_LIBCMP=1 make -f Makefile_v1 - ./cmpClient -help - make -f Makefile_v1 clean + if [[ $(openssl version | cut -d' ' -f2 | cut -d'.' -f1) -lt 4 ]]; then + USE_LIBCMP=1 STATIC_LIBCMP=1 make -f Makefile_v1 + ./cmpClient -help + make -f Makefile_v1 clean + fi