-
Notifications
You must be signed in to change notification settings - Fork 1
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
[QA-543] JWT signing in SPOT script #766
Open
abhinaysrivastavaperf
wants to merge
21
commits into
main
Choose a base branch
from
QA-543-1
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains 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
abhinaysrivastavaperf
added
dependencies
Pull requests that update a dependency file
k6
Pull requests that make changes to k6 scripts or the k6 application
labels
Jul 24, 2024
[QA-543] Add github npm package registry
Tom-Dann
changed the title
[QA-543]: Implement JWT signing capability in SPOT
[QA-543] JWT signing in SPOT script
Oct 14, 2024
Quality Gate passedIssues Measures |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
dependencies
Pull requests that update a dependency file
k6
Pull requests that make changes to k6 scripts or the k6 application
typescript
Pull requests that update TypeScript code
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.
QA-543
What?
Added dynamic creation and signing of JWT payloads for the SPOT scenario
Changes:
.github/workflows/pre-merge-checks.yml
: Added Github packages as a registry.github/workflows/typedoc-publish.yml
: Added Github packages as a registrydeploy/scripts/package-lock.json
: Generated package lock updatesdeploy/scripts/package.json
: Added@govuk-one-login/data-vocab
package for typesdeploy/scripts/src/common/utils/authentication/jwt.ts
: Changes the string to ArrayBuffer conversion to use Uint8 over Uint16 to resolve a defect when signing JWTs causing invalid signaturesdeploy/scripts/src/spot/[requestGenerator/spotReqGen.ts ↦ request/generator.ts]
: Payload generator file containing the test data for JWT payloads and also the entire SPOT request payloaddeploy/scripts/src/spot/request/types.ts
: AddedSpotRequestInfo
as a new interface to hold details of the SPOT request, used in generating the pairwise subs in each of the payloadsdeploy/scripts/src/spot/test.ts
:Why?
To facilitate more complex test data for the SPOT scenario
Related