Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
7ec0ae9
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
b794713
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
bc26709
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
3235065
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
48c2f1d
Update build.yml
rajeev-0 Feb 4, 2026
4e68ef6
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
9305938
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
87d1404
test with verbosity 8
rajeev-0 Feb 4, 2026
f2e0ccd
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
3aa8df3
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
cef053e
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
a19e896
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
c95f4b3
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
dce9349
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
cc23472
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
017bf3a
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
e486a56
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
06a0713
Update build.yml
rajeev-0 Feb 4, 2026
e03de10
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
9900b0c
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
0dd3151
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
229b9b5
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
b22dcdf
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
3794ae3
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
0c64d62
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
603e2cd
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
1ec795e
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
ff54315
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
ced6afe
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
af24112
make port 0
rajeev-0 Feb 4, 2026
0844fd2
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
a1010ef
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 4, 2026
d4abc0b
test
rajeev-0 Feb 4, 2026
94b0b04
For Mock server make {kur,pbm}_port = server_port
rajeev-0 Feb 4, 2026
3f36724
test
rajeev-0 Feb 6, 2026
9693275
test
rajeev-0 Feb 6, 2026
6714c52
Update OpenSSL_master-PQC.yml
rajeev-0 Feb 6, 2026
656f301
Update OpenSSL_versions.yml
rajeev-0 Feb 6, 2026
832e840
Refactor OpenSSL workflow: streamline environment variable setup and …
rajeev-0 Feb 6, 2026
49a12ae
fixup
rajeev-0 Feb 6, 2026
8d5fc3a
Add checkout step to OpenSSL master workflow
rajeev-0 Feb 6, 2026
1e310c2
add version check for licmp
rajeev-0 Feb 9, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/OpenSSL_master-PQC.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
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"
Expand All @@ -29,21 +28,23 @@ jobs:
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 ..

- 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: test_Mock with PQ algorithms
- name: Generate test certificate
run: |
cd test/recipes/80-test_cmp_http_data/Mock/
./setup-mock.sh all
cd ../../../../
make -f Makefile_v1 test_Mock

- name: test Mock
run: |
which openssl
ldd /usr/bin/openssl
make -f Makefile_v1 test_Mock

21 changes: 12 additions & 9 deletions .github/workflows/OpenSSL_versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,23 +48,26 @@ 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
- name: make
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
./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



5 changes: 4 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
make -f Makefile_v1 test_all
cd test/recipes/80-test_cmp_http_data/Mock/
./setup-mock.sh all
cd ../../../../
make -f Makefile_v1 test_all V=1
4 changes: 2 additions & 2 deletions test/recipes/80-test_cmp_http.t
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
4 changes: 2 additions & 2 deletions test/recipes/80-test_cmp_http_data/Mock/server.cnf
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[cmp] # mock server configuration

port = 1700
port = 0
srv_secret = pass:test
srv_cert = server.crt
srv_key = server.key
Expand All @@ -19,4 +19,4 @@ rsp_newwithnew = newWithNew.pem
rsp_newwithold = newWithOld.pem
rsp_oldwithnew = oldWithNew.pem

verbosity = 2 # do not show any errors
verbosity = 1 # do not show any errors
6 changes: 3 additions & 3 deletions test/recipes/80-test_cmp_http_data/test.cnf
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
Expand Down
Loading