Skip to content

chore(deps): bump the go-deps group in /brainpool with 2 updates - #38

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/brainpool/go-deps-cecb7d6078
Closed

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/brainpool/go-deps-cecb7d6078

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Bumps the go-deps group in /brainpool with 2 updates: github.com/gematik/zero-lab/go/brainpool and golang.org/x/crypto.

Updates github.com/gematik/zero-lab/go/brainpool from 1.0.1 to 1.1.0

Commits
  • 6fe087f brainpool: testify, Wycheproof corpus at the root, docs for the new layout
  • a812e71 brainpool: lay the root out by concern, one curve table, curve-generic ECDH
  • 3ff4e12 brainpool: let crypto/x509 parse certificates
  • 2e4104f brainpool: one fiat package for both fields
  • fb400e5 brainpool: drop the exported surface nothing uses
  • 8504ce2 brainpool: reject unparsable public keys, keep secret scalars in the constant...
  • c146af9 ti: pin gempki v0.21.1
  • 9f6d503 gempki: report the partial chain when construction fails
  • 07c38cf Merge pull request #25 from gematik/deps-upgrade
  • 4bbf0f1 zaddy: align the zero-caddy image with caddy-docker 2.11
  • Additional commits viewable in compare view

Updates golang.org/x/crypto from 0.54.0 to 0.57.0

Commits
  • 3f62bf1 go.mod: update golang.org/x dependencies
  • 86efde5 ssh: reject unexpected message types on established channels
  • a6cdac6 ssh: drop traffic on undecided channels
  • 39dc44e ssh: don't skip the source-address critical option in CheckCert
  • afebf4c x509roots/fallback/bundle: make subjectsEqual stricter on Go 1.27+
  • 89f4e9b x509roots/fallback: update bundle
  • 71488c4 ssh/knownhosts: compare only public key portions for revocation
  • 82adefa ssh: synchronize unexpected response test
  • c757c98 all: upgrade go directive to at least 1.26.0 [generated]
  • 593c81a ssh: correctly ignore pre-banner lines
  • Additional commits viewable in compare view

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the go-deps group in /brainpool with 2 updates: [github.com/gematik/zero-lab/go/brainpool](https://github.com/gematik/zero-lab) and [golang.org/x/crypto](https://github.com/golang/crypto).


Updates `github.com/gematik/zero-lab/go/brainpool` from 1.0.1 to 1.1.0
- [Release notes](https://github.com/gematik/zero-lab/releases)
- [Changelog](https://github.com/gematik/zero-lab/blob/main/ReleaseNotes.md)
- [Commits](gematik/zero-lab@go/brainpool/v1.0.1...go/brainpool/v1.1.0)

Updates `golang.org/x/crypto` from 0.54.0 to 0.57.0
- [Commits](golang/crypto@v0.54.0...v0.57.0)

---
updated-dependencies:
- dependency-name: github.com/gematik/zero-lab/go/brainpool
  dependency-version: 1.1.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: golang.org/x/crypto
  dependency-version: 0.57.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Oct 1, 2026
leifj added a commit that referenced this pull request Oct 6, 2026
…d) (#40)

* refactor(brainpool): identify curves by a local OID table instead of gematik.CurveFromOID

gematik brainpool v1.1.0 removes the exported CurveFromOID. Keep the exact
same strict identification (exact OID match against the three r1 curves) in
a table local to the plugin, and pin the behaviour of Parser, KeyParser and
Verifier for P256r1/P384r1/P512r1 with real keys and certificates.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* fix(brainpool): build against gematik brainpool v1.1.0 (and x/crypto v0.57.0)

Supersedes dependabot #38, which fails because v1.1.0 removed
CurveFromOID. Behaviour of the plugin is unchanged: the test corpus added in
the previous commit passes identically on v1.0.1 and v1.1.0.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* fix(brainpool): validate the point on the raw-SPKI fallback path

parseBrainpoolSPKI built a public key without checking that the point is on
the curve with canonical coordinates. gematik's certificate parser (and v1.1.0
exports ValidatePublicKey for this) enforces both; apply the same check so
the fallback is not weaker than the primary path.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* test(brainpool): fix lint findings in new tests

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

* fix(brainpool): require id-ecPublicKey in the raw-SPKI fallback

Addresses Copilot review on #40: the fallback chose a curve from the
parameters without checking the SPKI algorithm OID, so a non-EC algorithm
carrying a Brainpool-looking OID and point could be claimed as Brainpool.
Gematik v1.1's own locateSPKI checks id-ecPublicKey; do the same.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Sonnet 5.5 <noreply@anthropic.com>
@dependabot @github

dependabot Bot commented on behalf of github Oct 6, 2026

Copy link
Copy Markdown
Contributor Author

Looks like these dependencies are updatable in another way, so this is no longer needed.

@dependabot dependabot Bot closed this Oct 6, 2026
@dependabot
dependabot Bot deleted the dependabot/go_modules/brainpool/go-deps-cecb7d6078 branch October 6, 2026 22:20
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 go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants