Skip to content

rsa key validation test and additions to rsa fromdata test #380

rsa key validation test and additions to rsa fromdata test

rsa key validation test and additions to rsa fromdata test #380

Workflow file for this run

name: SEED-SRC Tests
# START OF COMMON SECTION
on:
push:
branches: [ 'master', 'main', 'release/**' ]
pull_request:
branches: [ '*' ]
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '**.md'
- 'docs/**'
- 'LICENSE*'
- '.github/ISSUE_TEMPLATE/**'
- '.github/dependabot.yml'
- '.gitignore'
- 'AUTHORS'
- 'COPYING'
- 'README*'
- 'CHANGELOG*'
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
# END OF COMMON SECTION
jobs:
discover_versions:
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
uses: ./.github/workflows/_discover-versions.yml
seed_src_test:
needs: discover_versions
if: github.event_name != 'pull_request' || github.event.pull_request.draft == false
name: SEED-SRC Test
runs-on: ubuntu-22.04
timeout-minutes: 20
strategy:
fail-fast: false
matrix:
wolfssl_ref: ${{ fromJson(needs.discover_versions.outputs.wolfssl_latest_ref_array) }}
openssl_ref:
- ${{ needs.discover_versions.outputs.openssl_latest_ref }}
- openssl-3.0.17
steps:
- name: Checkout wolfProvider
uses: actions/checkout@v4
with:
fetch-depth: 1
- name: Build and test wolfProvider with SEED-SRC
run: |
# Force wolfSSL to not use getrandom syscall via ac_cv_func_getrandom=no.
# This ensures /dev/urandom is used as the entropy source, which is
# required to test the SEED-SRC feature's fork-safe caching behavior.
WOLFSSL_CONFIG_OPTS="--enable-all-crypto --with-eccminsz=192 --with-max-ecc-bits=1024 --enable-opensslcoexist --enable-sha ac_cv_func_getrandom=no" \
OPENSSL_TAG=${{ matrix.openssl_ref }} \
WOLFSSL_TAG=${{ matrix.wolfssl_ref }} \
./scripts/build-wolfprovider.sh --enable-seed-src
- name: Print errors
if: ${{ failure() }}
run: |
if [ -f test-suite.log ] ; then
cat test-suite.log
fi
if [ -f scripts/build-release.log ] ; then
echo "=== Build Release Log (last 100 lines) ==="
tail -100 scripts/build-release.log
fi