-
-
Notifications
You must be signed in to change notification settings - Fork 994
Sync cert changes with v2 branch #1024
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
460e18c
Refresh server.crt with existing key extending expiry to Nov 21 03:28…
BaileyFirman c9d0572
🔒️ use 2048 bit key
ctcpip d5baeec
feat: gencert script to regenerate the test ssl certs
wesleytodd 67d61ee
✅ always generate fresh cert
ctcpip 4930de7
⬆️ bump actions
ctcpip File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -185,7 +185,7 @@ | |
run: | | ||
if npm -ps ls nyc | grep -q nyc; then | ||
npm run test-ci | ||
cp coverage/lcov.info "coverage/${{ matrix.name }}.lcov" | ||
cp coverage/lcov.info "coverage/${{ matrix.node-version }}.lcov" | ||
else | ||
npm test | ||
fi | ||
|
@@ -198,17 +198,17 @@ | |
if: steps.list_env.outputs.nyc != '' | ||
run: | | ||
if [[ -d ./coverage ]]; then | ||
mv ./coverage "./${{ matrix.name }}" | ||
mv ./coverage "./${{ matrix.node-version }}" | ||
mkdir ./coverage | ||
mv "./${{ matrix.name }}" "./coverage/${{ matrix.name }}" | ||
mv "./${{ matrix.node-version }}" "./coverage/${{ matrix.node-version }}" | ||
fi | ||
|
||
- name: Upload code coverage | ||
uses: actions/upload-artifact@v3 | ||
uses: actions/upload-artifact@v4 | ||
if: steps.list_env.outputs.nyc != '' | ||
with: | ||
name: coverage | ||
path: ./coverage | ||
name: coverage-${{ matrix.node-version }} | ||
path: "./coverage/${{ matrix.node-version }}" | ||
retention-days: 1 | ||
|
||
coverage: | ||
|
@@ -222,9 +222,8 @@ | |
run: sudo apt-get -y install lcov | ||
|
||
- name: Collect coverage reports | ||
uses: actions/download-artifact@v3 | ||
uses: actions/download-artifact@v4 | ||
Check warningCode scanning / Scorecard Pinned-Dependencies Medium
score is 3: GitHub-owned GitHubAction not pinned by hash
Remediation tip: update your workflow using https://app.stepsecurity.io Click Remediation section below for further remediation help |
||
with: | ||
name: coverage | ||
path: ./coverage | ||
|
||
- name: Merge coverage reports | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,3 +3,5 @@ coverage | |
node_modules | ||
npm-debug.log | ||
package-lock.json | ||
/test/fixtures/server.crt | ||
/test/fixtures/server.key |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#! /bin/sh | ||
set -ex | ||
|
||
openssl req -x509 -nodes -newkey rsa:2048 -keyout ./test/fixtures/server.key -out ./test/fixtures/server.crt -days 3650 \ | ||
-subj "/C=US/ST=Illinois/L=Chicago/O=node-express-session/CN=express-session.local" |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check warning
Code scanning / Scorecard
Pinned-Dependencies Medium