-
Couldn't load subscription status.
- Fork 776
Fix JWT module version and checksum issues #5246
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
base: master
Are you sure you want to change the base?
Conversation
|
Please update this branch with main & resolve conflicts |
chaoscenter/authentication/go.mod
Outdated
| replace github.com/golang-jwt/jwt/v4 => github.com/golang-jwt/jwt/v4 v4.5.0 | ||
|
|
||
| replace github.com/dgrijalva/jwt-go => github.com/golang-jwt/jwt/v4 v4.5.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since, the version is already updated above, these replace statements shouldn't be required. Please remove & try.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i am sorry i updated these changes after you merged the file
do i have to do anything now to help ?
chaoscenter/event-tracker/go.mod
Outdated
| sigs.k8s.io/yaml v1.2.0 // indirect | ||
| ) | ||
|
|
||
| replace github.com/form3tech-oss/jwt/v4 => github.com/golang-jwt/jwt/v4 v4.5.2 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's a indirect dependency, Replacing like this will not work. You may leave it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure ill remove it aswell
|
|
||
| go 1.24.0 | ||
|
|
||
| toolchain go1.23.7 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes i have removed toolchain part
|
The unit tests are failing because |
Signed-off-by: UJESH2K <ujeshyadav20k5@gmail.com> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com>
…#5239) Signed-off-by: Gurupriyan D A <am400718@gmail.com> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com>
…haos#5240) * docs: Add AWS SSM Chaos experiments to AWS experiments table Add AWS SSM Chaos By ID and AWS SSM Chaos By Tag experiments Fixes litmuschaos#5237 Signed-off-by: Coder-pro1 <sithijaseneviratne@gmail.com> * Fix AWS SSM Chaos links in contents.md Signed-off-by: Seneviratne N S <sithijaseneviratne@gmail.com> --------- Signed-off-by: Coder-pro1 <sithijaseneviratne@gmail.com> Signed-off-by: Seneviratne N S <sithijaseneviratne@gmail.com> Co-authored-by: Pritesh Kiri <77957844+PriteshKiri@users.noreply.github.com> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com>
Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com>
…eline (litmuschaos#5249) * Added fixes Signed-off-by: git <harness_commons_bot@service.harness.io> * Added fixes Signed-off-by: git <harness_commons_bot@service.harness.io> --------- Signed-off-by: git <harness_commons_bot@service.harness.io> Co-authored-by: git <harness_commons_bot@service.harness.io> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com>
…lize controller-runtime envtest failure (litmuschaos#5244) * Fix: resolved vulnerability issues in server Signed-off-by: UJESH2K <ujeshyadav20k5@gmail.com> * changed goversion to 1.24.0 in every file Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> --------- Signed-off-by: UJESH2K <ujeshyadav20k5@gmail.com> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> Co-authored-by: Vedant Shrotria <vedant.shrotria@harness.io> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com>
…itmuschaos#5253) (litmuschaos#5261) - Corrected command syntax to use commas between resources. - Kept namespace dynamic using ${chaosInfrastructureNamespace}. - Verified in UI. Signed-off-by: Devank Gupta <devankgupta284@gmail.com> Co-authored-by: Pritesh Kiri <77957844+PriteshKiri@users.noreply.github.com> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com>
…2025-22868 (litmuschaos#5233) * fix(security): upgrade golang.org/x/oauth2 to v0.27.0 to resolve CVE-2025-22868 Signed-off-by: UJESH2K <ujeshyadav20k5@gmail.com> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * chore: update Go version to 1.24.0 in go.mod, Dockerfile, and CI workflow Signed-off-by: UJESH2K <ujeshyadav20k5@gmail.com> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * fix: use stable golang:1.24.0-bookworm base image in Dockerfile Signed-off-by: UJESH2K <ujeshyadav20k5@gmail.com> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * 1.25 go version Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * golang.org/x/crypto v0.35.0 go version Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * golang.org/x/crypto v0.35.0 go version and 1.24 Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * changed docker Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * changed docker Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * Temporary commit before rebase Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * Changed trivy to v2 and authentication goversion to 1.24.0 Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * Revert Trivy v2 change Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * changed build.yml from 1.24 to 1.24.0 Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * removed trivy version mismatch Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * go mod tidy Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> --------- Signed-off-by: UJESH2K <ujeshyadav20k5@gmail.com> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com>
Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com>
Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com>
Signed-off-by: VIDHITTS <vidhitts@gmail.com> Co-authored-by: Pritesh Kiri <77957844+PriteshKiri@users.noreply.github.com> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com>
…schaos#5236) * fix[5200]: Namespace Compromise via hostPID (litmuschaos#5201) * fix: hostPID set to false Signed-off-by: zyue110026 <98426905+zyue110026@users.noreply.github.com> * fix: hostPID set to false Signed-off-by: zyue110026 <98426905+zyue110026@users.noreply.github.com> --------- Signed-off-by: zyue110026 <98426905+zyue110026@users.noreply.github.com> Co-authored-by: Pritesh Kiri <77957844+PriteshKiri@users.noreply.github.com> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * fix: Potential Denial of Service via unrestricted CPU/memory and root user execution (litmuschaos#5203) * fix: hostPID set to false Signed-off-by: zyue110026 <98426905+zyue110026@users.noreply.github.com> * fix: hostPID set to false Signed-off-by: zyue110026 <98426905+zyue110026@users.noreply.github.com> * fix: Potential Denial of Service via unrestricted CPU/memory and root user execution Signed-off-by: zyue110026 <98426905+zyue110026@users.noreply.github.com> * fix: Potential Denial of Service via unrestricted CPU/memory and root user execution Signed-off-by: zyue110026 <98426905+zyue110026@users.noreply.github.com> * fix: Potential Denial of Service via unrestricted CPU/memory and root user execution Signed-off-by: zyue110026 <98426905+zyue110026@users.noreply.github.com> --------- Signed-off-by: zyue110026 <98426905+zyue110026@users.noreply.github.com> Co-authored-by: Pritesh Kiri <77957844+PriteshKiri@users.noreply.github.com> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * fix: [5167]: updated probe fetching logic in a fault (litmuschaos#5199) * feat: [5167]: updated probe fetching logic in a fault Signed-off-by: Amit Kumar Das <amit.das@harness.io> * feat: [5167]: fixed go fmt Signed-off-by: Amit Kumar Das <amit.das@harness.io> --------- Signed-off-by: Amit Kumar Das <amit.das@harness.io> Co-authored-by: Shubham Chaudhary <shubham.chaudhary@harness.io> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * Update Polices (litmuschaos#5186) * update: governance Signed-off-by: PriteshKiri <pritesh.d.kiri@gmail.com> * update: code of conduct Signed-off-by: PriteshKiri <pritesh.d.kiri@gmail.com> * update: contribution guide Signed-off-by: PriteshKiri <pritesh.d.kiri@gmail.com> * chore: updated community meetings content in Readme Signed-off-by: PriteshKiri <pritesh.d.kiri@gmail.com> * fix: community meeting form link Signed-off-by: PriteshKiri <pritesh.d.kiri@gmail.com> --------- Signed-off-by: PriteshKiri <pritesh.d.kiri@gmail.com> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * Removes hardcoded namespaces for K8s manifests (litmuschaos#5223) Signed-off-by: Bartlomiej Gmerek <bartlomiej.gmerek@canonical.com> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * Ensure SERVER_ADDR includes scheme on re-download manifestFix server addr (litmuschaos#5213) * Ensure SERVER_ADDR includes scheme on re-download manifest Signed-off-by: UJESH2K <ujeshyadav20k5@gmail.com> * Ensure SERVER_ADDR includes scheme on re-download manifest Signed-off-by: UJESH2K <ujeshyadav20k5@gmail.com> --------- Signed-off-by: UJESH2K <ujeshyadav20k5@gmail.com> Co-authored-by: Pritesh Kiri <77957844+PriteshKiri@users.noreply.github.com> Co-authored-by: Vedant Shrotria <vedant.shrotria@harness.io> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * fix: resolve missing experiment pod logs issue (litmuschaos#5207) Fixed missing experiment pod logs by updating relevant entities and components. Updated workflowRun entity, CustomStepLog controller, and ExperimentRunDetailsPanel to properly handle and display experiment pod logs. Signed-off-by: Harshit Panchbhai <harshit12339@gmail.com> Co-authored-by: Amit Kumar Das <amit.das@harness.io> Co-authored-by: Pritesh Kiri <77957844+PriteshKiri@users.noreply.github.com> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * Added fixes (litmuschaos#5227) Co-authored-by: git <harness_commons_bot@service.harness.io> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * chore(3.22.0): Add the installation manifest for 3.22.0 version (litmuschaos#5229) Signed-off-by: Shubham Chaudhary <shubham.chaudhary@harness.io> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * Fixed conversion issues and added formatting improvements Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * changed all go version to 1.24.0 Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * Delete test-chaoscenter-mods.ps1 Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * Delete test-chaoscenter-mods.ps1 Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> * Update Dockerfile Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> --------- Signed-off-by: zyue110026 <98426905+zyue110026@users.noreply.github.com> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com> Signed-off-by: Amit Kumar Das <amit.das@harness.io> Signed-off-by: PriteshKiri <pritesh.d.kiri@gmail.com> Signed-off-by: Bartlomiej Gmerek <bartlomiej.gmerek@canonical.com> Signed-off-by: UJESH2K <ujeshyadav20k5@gmail.com> Signed-off-by: Harshit Panchbhai <harshit12339@gmail.com> Signed-off-by: Shubham Chaudhary <shubham.chaudhary@harness.io> Co-authored-by: zyue110026 <98426905+zyue110026@users.noreply.github.com> Co-authored-by: Pritesh Kiri <77957844+PriteshKiri@users.noreply.github.com> Co-authored-by: Amit Kumar Das <amit.das@harness.io> Co-authored-by: Shubham Chaudhary <shubham.chaudhary@harness.io> Co-authored-by: Bartlomiej Gmerek <42570669+Gmerold@users.noreply.github.com> Co-authored-by: Vedant Shrotria <vedant.shrotria@harness.io> Co-authored-by: harshit12339 <37114289+harshit12339@users.noreply.github.com> Co-authored-by: git <harness_commons_bot@service.harness.io> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com>
litmuschaos#5279) Signed-off-by: Umesh Kumar Pal <umeshpal8141@gmail.com> Co-authored-by: Vedant Shrotria <vedant.shrotria@harness.io> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com>
…uschaos#5276) Signed-off-by: Umesh Kumar Pal <umeshpal8141@gmail.com> Co-authored-by: Pritesh Kiri <77957844+PriteshKiri@users.noreply.github.com> Co-authored-by: Vedant Shrotria <vedant.shrotria@harness.io> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com>
…muschaos#5241) * Refactor MongoDB index creation for ChaosProbeCollection Signed-off-by: khushi1310 <89256629+khushi1310@users.noreply.github.com> * fix-Cannot reuse probe name after deletion Signed-off-by: khushi1310 <89256629+khushi1310@users.noreply.github.com> * Update Go base image version to 1.24.6 Signed-off-by: khushi1310 <89256629+khushi1310@users.noreply.github.com> * Update Go version to 1.24 Signed-off-by: khushi1310 <89256629+khushi1310@users.noreply.github.com> * reverting go version Signed-off-by: khushi1310 <89256629+khushi1310@users.noreply.github.com> * reverting go version Signed-off-by: khushi1310 <89256629+khushi1310@users.noreply.github.com> --------- Signed-off-by: khushi1310 <89256629+khushi1310@users.noreply.github.com> Co-authored-by: Pritesh Kiri <77957844+PriteshKiri@users.noreply.github.com> Co-authored-by: Sarthak Jain <sarthak.jain@harness.io> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com>
* Update StatusHeatMap.tsx Signed-off-by: khushi Tiwari <khushi13102001@gmail.com> Signed-off-by: khushi1310 <89256629+khushi1310@users.noreply.github.com> * Update StatusHeatMap.module.scss Signed-off-by: khushi Tiwari <khushi13102001@gmail.com> Signed-off-by: khushi1310 <89256629+khushi1310@users.noreply.github.com> --------- Signed-off-by: khushi1310 <89256629+khushi1310@users.noreply.github.com> Co-authored-by: Pritesh Kiri <77957844+PriteshKiri@users.noreply.github.com> Co-authored-by: Vedant Shrotria <vedant.shrotria@harness.io> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com>
Signed-off-by: khushi1310 <89256629+khushi1310@users.noreply.github.com> Co-authored-by: Pritesh Kiri <77957844+PriteshKiri@users.noreply.github.com> Co-authored-by: Vedant Shrotria <vedant.shrotria@harness.io> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com>
…rom advanced options (litmuschaos#5271) Signed-off-by: Amit Kumar Das <amit.das@harness.io> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com>
…itmuschaos#5253) (litmuschaos#5274) - Corrected command syntax to use commas between resources. - Kept namespace dynamic using ${chaosInfrastructureNamespace}. - Verified in UI. Signed-off-by: Devank Gupta <devankgupta284@gmail.com> Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com>
Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com>
Signed-off-by: UJESH KUMAR YADAV <154934631+UJESH2K@users.noreply.github.com>
PR Title: Fix JWT module version and checksum issues
This PR addresses and improves the JWT module integration in the project. The following updates have been made:
Upgraded
github.com/golang-jwt/jwtto v4.5.2Added
replacedirectives ingo.modVerified all modules with
go mod verifyWhy this improvement was needed:
jwt/v4.Impact:
Fixes: #5245