Skip to content

chore(deps): bump the go-deps group, and give mock SSH certificates a principal - #320

Merged
pjcdawkins merged 3 commits into
mainfrom
chore/go-deps-ssh-cert-principals
Nov 18, 2026
Merged

pjcdawkins merged 3 commits into
mainfrom
chore/go-deps-ssh-cert-principals

Conversation

@pjcdawkins

Copy link
Copy Markdown
Contributor

Replaces #319, adding a fix for the integration tests that fail with its updates.

Bumps github.com/dlclark/regexp2/v2 to 2.13.0, github.com/gofrs/flock to 0.13.2, golang.org/x/crypto to 0.59.0 and golang.org/x/term to 0.48.0.

golang.org/x/crypto v0.59.0 rejects SSH certificates without principals, when signing (SignCert) and when checking (CheckCert), where an empty list previously meant any principal. The mock API now issues certificates with a fixed principal, and the mock SSH server checks certificates for it instead of the connection's user, which differs per app and environment. The authority and certificate type are still checked.

🤖 Generated with Claude Code

dependabot Bot and others added 3 commits November 17, 2026 14:34
Bumps the go-deps group with 4 updates: [github.com/dlclark/regexp2/v2](https://github.com/dlclark/regexp2), [github.com/gofrs/flock](https://github.com/gofrs/flock), [golang.org/x/crypto](https://github.com/golang/crypto) and [golang.org/x/term](https://github.com/golang/term).


Updates `github.com/dlclark/regexp2/v2` from 2.12.0 to 2.13.0
- [Commits](dlclark/regexp2@v2.12.0...v2.13.0)

Updates `github.com/gofrs/flock` from 0.13.1 to 0.13.2
- [Release notes](https://github.com/gofrs/flock/releases)
- [Commits](gofrs/flock@v0.13.1...v0.13.2)

Updates `golang.org/x/crypto` from 0.58.0 to 0.59.0
- [Commits](golang/crypto@v0.58.0...v0.59.0)

Updates `golang.org/x/term` from 0.47.0 to 0.48.0
- [Commits](golang/term@v0.47.0...v0.48.0)

---
updated-dependencies:
- dependency-name: github.com/dlclark/regexp2/v2
  dependency-version: 2.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: github.com/gofrs/flock
  dependency-version: 0.13.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-deps
- dependency-name: golang.org/x/crypto
  dependency-version: 0.59.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
- dependency-name: golang.org/x/term
  dependency-version: 0.48.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
golang.org/x/crypto v0.59.0 rejects certificates without principals,
both when signing (SignCert) and when checking (CheckCert), where an
empty list previously meant any principal.

The mock API now issues certificates with a fixed principal, and the
mock SSH server checks certificates against it rather than against the
connection's user, which differs per app and environment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

CLI builds

Built from e4da2d8 (merged into the base branch). Downloads need a GitHub login, and expire after 7 days.

Platform Download
linux-amd64 cli-linux-amd64
linux-arm64 cli-linux-arm64
darwin-amd64 cli-darwin-amd64
darwin-arm64 cli-darwin-arm64
windows-amd64 cli-windows-amd64

Or download one with the GitHub CLI, e.g.:

gh run download 44181918561 -R upsun/cli -n cli-linux-amd64
chmod +x upsun
./upsun --version

On macOS, if you downloaded it with a browser, remove the quarantine attribute before running it: xattr -d com.apple.quarantine upsun.

@pjcdawkins
pjcdawkins merged commit 906dae5 into main Nov 18, 2026
23 of 24 checks passed
@pjcdawkins
pjcdawkins deleted the chore/go-deps-ssh-cert-principals branch November 18, 2026 00:06
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.

1 participant