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
14 changes: 12 additions & 2 deletions .github/workflows/nss-pk12util-debian-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,14 @@ jobs:
uses: actions/cache@v4
with:
path: /tmp/nss-build
key: nss-debian-source-${{ hashFiles('.github/workflows/wolfpkcs11-nss-debian.patch') }}-${{ env.WOLFSSL_VERSION }}
key: nss-debian-source-${{ hashFiles('.github/workflows/wolfpkcs11-nss-debian.patch', '.github/workflows/nss-pk12util-debian-test.yml') }}-${{ env.WOLFSSL_VERSION }}

- name: Cache NSS built packages
id: cache-nss-packages
uses: actions/cache@v4
with:
path: /tmp/nss-packages
key: nss-debian-packages-${{ hashFiles('.github/workflows/wolfpkcs11-nss-debian.patch') }}-${{ env.WOLFSSL_VERSION }}
key: nss-debian-packages-${{ hashFiles('.github/workflows/wolfpkcs11-nss-debian.patch', '.github/workflows/nss-pk12util-debian-test.yml') }}-${{ env.WOLFSSL_VERSION }}

- name: Get NSS Debian sources and apply wolfPKCS11 patch
if: steps.cache-nss-source.outputs.cache-hit != 'true'
Expand Down Expand Up @@ -135,6 +135,16 @@ jobs:
# Copy patch file from workspace to current directory for reliable access
cp "${GITHUB_WORKSPACE}/.github/workflows/wolfpkcs11-nss-debian.patch" ./wolfpkcs11-nss-debian.patch

# Prepend the wolfPKCS11 changelog entry. Done inline (rather than in
# the patch) so future Debian security uploads do not break the hunk
# context every time a new entry lands at the top of debian/changelog.
# `dch --local` derives the new version from whatever is currently at
# the top, so this works regardless of which deb12uN the apt mirror
# currently ships.
DEBEMAIL="support@wolfssl.com" DEBFULLNAME="wolfSSL" \
dch --local "+wolfSSL-" --distribution bookworm-security \
"First build with wolfPKCS11 backend"

# Apply the patch
patch -p1 < ./wolfpkcs11-nss-debian.patch

Expand Down
1 change: 1 addition & 0 deletions .github/workflows/nss.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@ jobs:
--enable-keygen --enable-pwdbased --enable-scrypt --with-eccminsz=192
--with-max-rsa-bits=8192 --enable-rsapss
CFLAGS="-DWOLFSSL_PUBLIC_MP -DWC_RSA_DIRECT -DRSA_MIN_SIZE=1024 -DWOLFSSL_PSS_LONG_SALT"
check: false
install: true

- name: Cache wolfSSL
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/tpm2-store-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
id: cache-wolfssl
with:
path: build-dir/
key: wolfssl-${{ matrix.wolfssl_version }}
key: wolfssl-${{ matrix.wolfssl_version }}-tpm
lookup-only: true
Comment thread
LinuxJedi marked this conversation as resolved.

- name: debug
Expand All @@ -60,7 +60,7 @@ jobs:
repository: wolfssl/wolfssl
ref: ${{ matrix.wolfssl_version }}
path: wolfssl/
configure: --enable-all --disable-anon CPPFLAGS=-DWC_RSA_DIRECT
configure: --enable-all --disable-anon --disable-nginx CPPFLAGS=-DWC_RSA_DIRECT
check: false
install: true

Expand All @@ -79,14 +79,14 @@ jobs:
id: cache-wolftpm
with:
path: build-dir/
key: wolftpm-${{ matrix.wolftpm_version }}
key: wolftpm-${{ matrix.wolftpm_version }}-tpm
lookup-only: true

- name: Checking cache for wolfssl
uses: actions/cache@v4
with:
path: build-dir/
key: wolfssl-${{ matrix.wolfssl_version }}
key: wolfssl-${{ matrix.wolfssl_version }}-tpm
fail-on-cache-miss: true

- name: debug
Expand Down Expand Up @@ -133,14 +133,14 @@ jobs:
uses: actions/cache@v4
with:
path: build-dir/
key: wolfssl-${{ matrix.wolfssl_version }}
key: wolfssl-${{ matrix.wolfssl_version }}-tpm
fail-on-cache-miss: true

- name: Checking cache for wolftpm
uses: actions/cache@v4
with:
path: build-dir/
key: wolftpm-${{ matrix.wolftpm_version }}
key: wolftpm-${{ matrix.wolftpm_version }}-tpm
fail-on-cache-miss: true

- name: Restore wolfTPM examples from cache
Expand Down
13 changes: 0 additions & 13 deletions .github/workflows/wolfpkcs11-nss-debian.patch
Original file line number Diff line number Diff line change
@@ -1,16 +1,3 @@
diff '--color=auto' -ur a/debian/changelog b/debian/changelog
--- a/debian/changelog 2024-10-10 20:51:11.000000000 +0100
+++ b/debian/changelog 2025-08-14 15:02:27.391964431 +0100
@@ -1,3 +1,9 @@
+nss (2:3.87.1-1+wolfSSL-1) bookworm-security; urgency=medium
+
+ * First build with wolfPKCS11 backend
+
+ -- wolfSSL <support@wolfssl.com> Thu, 08 Aug 2025 15:02:11 +0100
+
nss (2:3.87.1-1+deb12u1) bookworm-security; urgency=medium

* nss: fix CVE-2024-6602, CVE-2024-6609 and CVE-2024-0743
diff '--color=auto' -ur a/debian/control b/debian/control
--- a/debian/control 2022-05-31 22:30:45.000000000 +0100
+++ b/debian/control 2025-08-14 16:47:27.639784242 +0100
Expand Down
Loading