Skip to content

security: migrate jose and replace gorilla csrf#85

Open
joseguzman1337 wants to merge 30 commits intomandiant:masterfrom
joseguzman1337:security/dependabot-remediation
Open

security: migrate jose and replace gorilla csrf#85
joseguzman1337 wants to merge 30 commits intomandiant:masterfrom
joseguzman1337:security/dependabot-remediation

Conversation

@joseguzman1337
Copy link

Summary

  • migrate from go-jose v2 to github.com/go-jose/go-jose/v4
  • replace gorilla/csrf with internal HMAC-backed CSRF protection
  • refresh module graph and sums for the new security path

Validation

  • go test ./server/authentication

mend-bolt-for-github bot and others added 30 commits December 30, 2021 08:01
Signed-off-by: StepSecurity Bot <bot@stepsecurity.io>
…n_1709551533

[StepSecurity] Apply security best practices
Configure WhiteSource Bolt for GitHub
Bumps [golang.org/x/sys](https://github.com/golang/sys) from 0.0.0-20190610200419-93c9922d18ae to 0.1.0.
- [Commits](https://github.com/golang/sys/commits/v0.1.0)

---
updated-dependencies:
- dependency-name: golang.org/x/sys
  dependency-type: indirect
  dependency-group: go_modules-security-group
...

Signed-off-by: dependabot[bot] <support@github.com>
…c04a6fda0ee

[Snyk] Security upgrade ubuntu from xenial to xenial-20210416
…5143113984e

[Snyk] Security upgrade ubuntu from xenial to xenial-20210416
…3488ebae853

[Snyk] Security upgrade ubuntu from xenial to xenial-20210416
…les-security-group-022aae0a00

Bump golang.org/x/sys from 0.0.0-20190610200419-93c9922d18ae to 0.1.0
Bumps the go_modules group group with 3 updates: [github.com/prometheus/client_golang](https://github.com/prometheus/client_golang), [golang.org/x/crypto](https://github.com/golang/crypto) and gopkg.in/yaml.v2.


Updates `github.com/prometheus/client_golang` from 0.9.4 to 1.11.1
- [Release notes](https://github.com/prometheus/client_golang/releases)
- [Changelog](https://github.com/prometheus/client_golang/blob/main/CHANGELOG.md)
- [Commits](prometheus/client_golang@v0.9.4...v1.11.1)

Updates `golang.org/x/crypto` from 0.0.0-20190611184440-5c40567a22f8 to 0.0.0-20200622213623-75b288015ac9
- [Commits](https://github.com/golang/crypto/commits)

Updates `gopkg.in/yaml.v2` from 2.2.2 to 2.3.0

---
updated-dependencies:
- dependency-name: github.com/prometheus/client_golang
  dependency-type: direct:production
  dependency-group: go_modules-security-group
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  dependency-group: go_modules-security-group
- dependency-name: gopkg.in/yaml.v2
  dependency-type: direct:production
  dependency-group: go_modules-security-group
...

Signed-off-by: dependabot[bot] <support@github.com>
…les-security-group-921a0e66b3

Bump the go_modules group group with 3 updates
Bumps the go_modules group with 2 updates: [golang.org/x/crypto](https://github.com/golang/crypto) and gopkg.in/square/go-jose.v2.


Updates `golang.org/x/crypto` from 0.0.0-20200622213623-75b288015ac9 to 0.31.0
- [Commits](https://github.com/golang/crypto/commits/v0.31.0)

Updates `gopkg.in/square/go-jose.v2` from 2.3.1 to 2.6.0

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-type: direct:production
  dependency-group: go_modules
- dependency-name: gopkg.in/square/go-jose.v2
  dependency-type: direct:production
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
…odules-8c406a6806

Bump the go_modules group with 2 updates
Bumps the go_modules group with 1 update in the / directory: [golang.org/x/crypto](https://github.com/golang/crypto).


Updates `golang.org/x/crypto` from 0.31.0 to 0.35.0
- [Commits](golang/crypto@v0.31.0...v0.35.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.35.0
  dependency-type: direct:production
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
…odules-ee7f9554a6

Bump golang.org/x/crypto from 0.31.0 to 0.35.0 in the go_modules group across 1 directory
Bumps the go_modules group with 1 update in the / directory: [github.com/gin-contrib/cors](https://github.com/gin-contrib/cors).


Updates `github.com/gin-contrib/cors` from 1.3.0 to 1.7.6
- [Release notes](https://github.com/gin-contrib/cors/releases)
- [Changelog](https://github.com/gin-contrib/cors/blob/master/.goreleaser.yaml)
- [Commits](gin-contrib/cors@v1.3.0...v1.7.6)

Updates `github.com/gin-gonic/gin` from 1.4.0 to 1.10.1
- [Release notes](https://github.com/gin-gonic/gin/releases)
- [Changelog](https://github.com/gin-gonic/gin/blob/master/CHANGELOG.md)
- [Commits](gin-gonic/gin@v1.4.0...v1.10.1)

Updates `golang.org/x/net` from 0.25.0 to 0.41.0
- [Commits](golang/net@v0.25.0...v0.41.0)

Updates `google.golang.org/protobuf` from 1.26.0-rc.1 to 1.36.6

---
updated-dependencies:
- dependency-name: github.com/gin-contrib/cors
  dependency-version: 1.7.6
  dependency-type: direct:production
  dependency-group: go_modules
- dependency-name: github.com/gin-gonic/gin
  dependency-version: 1.10.1
  dependency-type: direct:production
  dependency-group: go_modules
- dependency-name: golang.org/x/net
  dependency-version: 0.41.0
  dependency-type: indirect
  dependency-group: go_modules
- dependency-name: google.golang.org/protobuf
  dependency-version: 1.36.6
  dependency-type: indirect
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
…odules-95bc553149

Bump the go_modules group across 1 directory with 4 updates
Bumps the go_modules group with 1 update in the / directory: [golang.org/x/crypto](https://github.com/golang/crypto).


Updates `golang.org/x/crypto` from 0.39.0 to 0.45.0
- [Commits](golang/crypto@v0.39.0...v0.45.0)

---
updated-dependencies:
- dependency-name: golang.org/x/crypto
  dependency-version: 0.45.0
  dependency-type: direct:production
  dependency-group: go_modules
...

Signed-off-by: dependabot[bot] <support@github.com>
…odules-dd7da38a6b

Bump golang.org/x/crypto from 0.39.0 to 0.45.0 in the go_modules group across 1 directory
- Add .DS_Store pattern to ignore macOS folder metadata
- Add ._* pattern to ignore AppleDouble files

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@google-cla
Copy link

google-cla bot commented Mar 19, 2026

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants