Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
7 changes: 4 additions & 3 deletions .github/workflows/cjose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: cjose Tests

# START OF COMMON SECTION
on:
push:
push:
branches: [ 'master', 'main', 'release/**' ]
pull_request:
branches: [ '*' ]
Expand Down Expand Up @@ -98,8 +98,9 @@ jobs:
export ${{ matrix.force_fail }}
export SHELL=/bin/bash

# Verify OpenSSL loads wolfProvider
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | grep libwolfprov
echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)

# Run tests
make test || true
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/curl.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ jobs:
export ${{ matrix.force_fail }}
export CURL_REF=${{ matrix.curl_ref }}

echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)

# Run tests and save output to test.log
mkdir -p tests
make -j$(nproc) test-ci 2>&1 | tee tests/test.log
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/grpc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,10 @@ jobs:
export OPENSSL_CONF=$GITHUB_WORKSPACE/provider.conf
export OPENSSL_MODULES=$GITHUB_WORKSPACE/wolfprov-install/lib

echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)

# Initialize submodules
git submodule update --init

Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/iperf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ jobs:
openssl rsa -in rsa_private_unprotected.pem -out rsa_private.pem -aes256 -passout 'pass:password'
openssl rsa -in rsa_private.pem -pubout -out rsa_public.pem -passin 'pass:password'
# Create a credentials file for iperf
# Username: mario, Password: rossi
# Username: mario, Password: rossi
echo "mario,bf7a49a846d44b454a5d11e7acfaf13d138bbe0b7483aa3e050879700572709b" > credentials.csv

- name: Run tests
Expand Down Expand Up @@ -140,5 +140,3 @@ jobs:
$IPERF3_EXECUTABLE -c localhost -i $IPERF3_TEST_INTERVAL -t $IPERF3_TEST_DURATION \
--rsa-public-key-path $KEY_DIR/rsa_public.pem \
--user $IPERF3_USER | tee $IPERF3_TEST_LOG \


6 changes: 5 additions & 1 deletion .github/workflows/ipmitool.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
strategy:
fail-fast: false
matrix:
ipmitool_ref: [ 'master', 'c3939dac2c060651361fc71516806f9ab8c38901' ]
ipmitool_ref: [ 'master', 'IPMITOOL_1_8_19' ]
wolfssl_ref: [ 'master', 'v5.8.0-stable' ]
openssl_ref: [ 'openssl-3.5.0' ]
steps:
Expand Down Expand Up @@ -84,6 +84,10 @@ jobs:
export OPENSSL_CONF=$GITHUB_WORKSPACE/provider.conf
export OPENSSL_MODULES=$GITHUB_WORKSPACE/wolfprov-install/lib

echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)

# Verify ipmitool was built and linked correctly with OpenSSL
ldd src/ipmitool | grep -E '(libssl|libcrypto)'
ldd src/ipmievd | grep -E '(libssl|libcrypto)'
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/liboauth2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,10 @@ jobs:
export PKG_CONFIG_PATH=$GITHUB_WORKSPACE/openssl-install/lib64/pkgconfig
export ${{ matrix.force_fail }}

echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)

# Build and run tests
make check 2>&1 | tee liboauth2-test.log
TEST_RESULT=$?
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/net-snmp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,11 @@ jobs:
export OPENSSL_CONF=$GITHUB_WORKSPACE/provider.conf
export OPENSSL_MODULES=$GITHUB_WORKSPACE/wolfprov-install/lib
export ${{ matrix.force_fail }}

echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)

autoconf --version | grep -P '2\.\d\d' -o > dist/autoconf-version
mkdir -p tests
make -j test TESTOPTS="-e agentxperl" | tee tests/test.log
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/nginx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,10 @@ jobs:
export OPENSSL_MODULES=$GITHUB_WORKSPACE/wolfprov-install/lib
export ${{ matrix.force_fail }}

echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)

# Run tests and save result
TEST_NGINX_VERBOSE=y TEST_NGINX_CATLOG=y TEST_NGINX_BINARY=../nginx/objs/nginx prove -v . 2>&1 | tee nginx-test.log
TEST_RESULT=$?
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/openldap.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,10 @@ jobs:
export OPENSSL_CONF=$GITHUB_WORKSPACE/provider.conf
export OPENSSL_MODULES=$GITHUB_WORKSPACE/wolfprov-install/lib

echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)

# Generate configure script
rm -f aclocal.m4
autoreconf -ivf
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/openssh.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ jobs:
export OPENSSL_CONF=$GITHUB_WORKSPACE/provider.conf
export OPENSSL_MODULES=$GITHUB_WORKSPACE/wolfprov-install/lib

echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)

# Apply the patch for the correct version of OpenSSH
if [ "${{ matrix.openssh_ref }}" != "master" ]; then
patch -p1 < $GITHUB_WORKSPACE/osp/wolfProvider/openssh/openssh-${{ matrix.openssh_ref }}-wolfprov.patch
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/openvpn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,10 @@ jobs:
export OPENSSL_MODULES=$GITHUB_WORKSPACE/wolfprov-install/lib
export ${{ matrix.force_fail }}

echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)

# Run tests and save result
make check 2>&1 | tee openvpn-test.log
TEST_RESULT=$?
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/socat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ jobs:
export OPENSSL_MODULES=$GITHUB_WORKSPACE/wolfprov-install/lib
export SHELL=/bin/bash

echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)

# Verify OpenSSL loads wolfProvider
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/sssd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,10 @@ jobs:
export OPENSSL_MODULES=$GITHUB_WORKSPACE/wolfprov-install/lib
export ${{ matrix.force_fail }}

echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)

# Run tests and save result
make check 2>&1 | tee sssd-test.log
TEST_RESULT=$?
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/stunnel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,10 @@ jobs:
ldd src/stunnel | grep -E '(libssl|libcrypto)'
./src/stunnel -version

echo "Checking OpenSSL providers:"
$GITHUB_WORKSPACE/openssl-install/bin/openssl list -providers | tee provider-list.log
grep -q libwolfprov provider-list.log || (echo "ERROR: libwolfprov not found in OpenSSL providers" && exit 1)

# Run tests and capture output
mkdir -p $GITHUB_WORKSPACE/tests
make check 2>&1 | tee $GITHUB_WORKSPACE/tests/stunnel-test.log
Expand Down