Skip to content

fix: implement PKCS#7 signature verification using Node.js crypto #282

fix: implement PKCS#7 signature verification using Node.js crypto

fix: implement PKCS#7 signature verification using Node.js crypto #282

Triggered via pull request March 22, 2026 15:02
Status Success
Total duration 1m 49s
Artifacts

test.yml

on: pull_request
Validate JSON Schemas
22s
Validate JSON Schemas
Matrix: Test
Fit to window
Zoom out
Zoom in

Annotations

67 warnings
Validate JSON Schemas
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test (20.19.x, macos-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test (20.19.x, macos-latest): src/node/sign.ts#L344
Replace `"[PKCS7-DIAG]·Missing·authAttrsNode·or·encryptedDigestNode"` with `⏎········"[PKCS7-DIAG]·Missing·authAttrsNode·or·encryptedDigestNode",⏎······`
Test (20.19.x, macos-latest): src/node/sign.ts#L166
Replace `·sigBlockLen,·"result:",·commentLength·-·sigBlockLen` with `⏎········sigBlockLen,⏎········"result:",⏎········commentLength·-·sigBlockLen,⏎······`
Test (20.19.x, macos-latest): src/node/sign.ts#L165
Replace `"[PKCS7-DIAG]·commentLength·before·restore:",` with `⏎········"[PKCS7-DIAG]·commentLength·before·restore:",⏎·······`
Test (20.19.x, macos-latest): src/node/sign.ts#L164
Replace `eocdOffset·+·20` with `⏎········eocdOffset·+·20,⏎······`
Test (20.19.x, macos-latest): src/node/sign.ts#L162
Replace `··pkcs7SigLen:·pkcs7Signature.length` with `pkcs7SigLen:·pkcs7Signature.length,⏎···`
Test (20.19.x, macos-latest): src/node/sign.ts#L161
Replace `·{·eocdOffset,·sigBlockLen,` with `·eocdOffset,⏎······sigBlockLen,⏎·····`
Test (20.19.x, macos-latest): src/node/sign.ts#L158
Replace `·4·+·pkcs7Signature.length·+` with `⏎······4·+⏎······pkcs7Signature.length·+⏎·····`
Test (20.19.x, ubuntu-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test (20.19.x, ubuntu-latest): src/node/sign.ts#L344
Replace `"[PKCS7-DIAG]·Missing·authAttrsNode·or·encryptedDigestNode"` with `⏎········"[PKCS7-DIAG]·Missing·authAttrsNode·or·encryptedDigestNode",⏎······`
Test (20.19.x, ubuntu-latest): src/node/sign.ts#L166
Replace `·sigBlockLen,·"result:",·commentLength·-·sigBlockLen` with `⏎········sigBlockLen,⏎········"result:",⏎········commentLength·-·sigBlockLen,⏎······`
Test (20.19.x, ubuntu-latest): src/node/sign.ts#L165
Replace `"[PKCS7-DIAG]·commentLength·before·restore:",` with `⏎········"[PKCS7-DIAG]·commentLength·before·restore:",⏎·······`
Test (20.19.x, ubuntu-latest): src/node/sign.ts#L164
Replace `eocdOffset·+·20` with `⏎········eocdOffset·+·20,⏎······`
Test (20.19.x, ubuntu-latest): src/node/sign.ts#L162
Replace `··pkcs7SigLen:·pkcs7Signature.length` with `pkcs7SigLen:·pkcs7Signature.length,⏎···`
Test (20.19.x, ubuntu-latest): src/node/sign.ts#L161
Replace `·{·eocdOffset,·sigBlockLen,` with `·eocdOffset,⏎······sigBlockLen,⏎·····`
Test (20.19.x, ubuntu-latest): src/node/sign.ts#L158
Replace `·4·+·pkcs7Signature.length·+` with `⏎······4·+⏎······pkcs7Signature.length·+⏎·····`
Test (22.17.x, macos-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test (22.17.x, macos-latest): src/node/sign.ts#L344
Replace `"[PKCS7-DIAG]·Missing·authAttrsNode·or·encryptedDigestNode"` with `⏎········"[PKCS7-DIAG]·Missing·authAttrsNode·or·encryptedDigestNode",⏎······`
Test (22.17.x, macos-latest): src/node/sign.ts#L166
Replace `·sigBlockLen,·"result:",·commentLength·-·sigBlockLen` with `⏎········sigBlockLen,⏎········"result:",⏎········commentLength·-·sigBlockLen,⏎······`
Test (22.17.x, macos-latest): src/node/sign.ts#L165
Replace `"[PKCS7-DIAG]·commentLength·before·restore:",` with `⏎········"[PKCS7-DIAG]·commentLength·before·restore:",⏎·······`
Test (22.17.x, macos-latest): src/node/sign.ts#L164
Replace `eocdOffset·+·20` with `⏎········eocdOffset·+·20,⏎······`
Test (22.17.x, macos-latest): src/node/sign.ts#L162
Replace `··pkcs7SigLen:·pkcs7Signature.length` with `pkcs7SigLen:·pkcs7Signature.length,⏎···`
Test (22.17.x, macos-latest): src/node/sign.ts#L161
Replace `·{·eocdOffset,·sigBlockLen,` with `·eocdOffset,⏎······sigBlockLen,⏎·····`
Test (22.17.x, macos-latest): src/node/sign.ts#L158
Replace `·4·+·pkcs7Signature.length·+` with `⏎······4·+⏎······pkcs7Signature.length·+⏎·····`
Test (22.17.x, ubuntu-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test (22.17.x, ubuntu-latest): src/node/sign.ts#L344
Replace `"[PKCS7-DIAG]·Missing·authAttrsNode·or·encryptedDigestNode"` with `⏎········"[PKCS7-DIAG]·Missing·authAttrsNode·or·encryptedDigestNode",⏎······`
Test (22.17.x, ubuntu-latest): src/node/sign.ts#L166
Replace `·sigBlockLen,·"result:",·commentLength·-·sigBlockLen` with `⏎········sigBlockLen,⏎········"result:",⏎········commentLength·-·sigBlockLen,⏎······`
Test (22.17.x, ubuntu-latest): src/node/sign.ts#L165
Replace `"[PKCS7-DIAG]·commentLength·before·restore:",` with `⏎········"[PKCS7-DIAG]·commentLength·before·restore:",⏎·······`
Test (22.17.x, ubuntu-latest): src/node/sign.ts#L164
Replace `eocdOffset·+·20` with `⏎········eocdOffset·+·20,⏎······`
Test (22.17.x, ubuntu-latest): src/node/sign.ts#L162
Replace `··pkcs7SigLen:·pkcs7Signature.length` with `pkcs7SigLen:·pkcs7Signature.length,⏎···`
Test (22.17.x, ubuntu-latest): src/node/sign.ts#L161
Replace `·{·eocdOffset,·sigBlockLen,` with `·eocdOffset,⏎······sigBlockLen,⏎·····`
Test (22.17.x, ubuntu-latest): src/node/sign.ts#L158
Replace `·4·+·pkcs7Signature.length·+` with `⏎······4·+⏎······pkcs7Signature.length·+⏎·····`
Test (20.19.x, windows-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test (20.19.x, windows-latest): src/node/sign.ts#L344
Replace `"[PKCS7-DIAG]·Missing·authAttrsNode·or·encryptedDigestNode"` with `⏎········"[PKCS7-DIAG]·Missing·authAttrsNode·or·encryptedDigestNode",⏎······`
Test (20.19.x, windows-latest): src/node/sign.ts#L166
Replace `·sigBlockLen,·"result:",·commentLength·-·sigBlockLen` with `⏎········sigBlockLen,⏎········"result:",⏎········commentLength·-·sigBlockLen,⏎······`
Test (20.19.x, windows-latest): src/node/sign.ts#L165
Replace `"[PKCS7-DIAG]·commentLength·before·restore:",` with `⏎········"[PKCS7-DIAG]·commentLength·before·restore:",⏎·······`
Test (20.19.x, windows-latest): src/node/sign.ts#L164
Replace `eocdOffset·+·20` with `⏎········eocdOffset·+·20,⏎······`
Test (20.19.x, windows-latest): src/node/sign.ts#L162
Replace `··pkcs7SigLen:·pkcs7Signature.length` with `pkcs7SigLen:·pkcs7Signature.length,⏎···`
Test (20.19.x, windows-latest): src/node/sign.ts#L161
Replace `·{·eocdOffset,·sigBlockLen,` with `·eocdOffset,⏎······sigBlockLen,⏎·····`
Test (20.19.x, windows-latest): src/node/sign.ts#L158
Replace `·4·+·pkcs7Signature.length·+` with `⏎······4·+⏎······pkcs7Signature.length·+⏎·····`
Test (22.17.x, windows-latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683, actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test (22.17.x, windows-latest): src/node/sign.ts#L344
Replace `"[PKCS7-DIAG]·Missing·authAttrsNode·or·encryptedDigestNode"` with `⏎········"[PKCS7-DIAG]·Missing·authAttrsNode·or·encryptedDigestNode",⏎······`
Test (22.17.x, windows-latest): src/node/sign.ts#L166
Replace `·sigBlockLen,·"result:",·commentLength·-·sigBlockLen` with `⏎········sigBlockLen,⏎········"result:",⏎········commentLength·-·sigBlockLen,⏎······`
Test (22.17.x, windows-latest): src/node/sign.ts#L165
Replace `"[PKCS7-DIAG]·commentLength·before·restore:",` with `⏎········"[PKCS7-DIAG]·commentLength·before·restore:",⏎·······`
Test (22.17.x, windows-latest): src/node/sign.ts#L164
Replace `eocdOffset·+·20` with `⏎········eocdOffset·+·20,⏎······`
Test (22.17.x, windows-latest): src/node/sign.ts#L162
Replace `··pkcs7SigLen:·pkcs7Signature.length` with `pkcs7SigLen:·pkcs7Signature.length,⏎···`
Test (22.17.x, windows-latest): src/node/sign.ts#L161
Replace `·{·eocdOffset,·sigBlockLen,` with `·eocdOffset,⏎······sigBlockLen,⏎·····`
Test (22.17.x, windows-latest): src/node/sign.ts#L158
Replace `·4·+·pkcs7Signature.length·+` with `⏎······4·+⏎······pkcs7Signature.length·+⏎·····`