Skip to content

[deps] Update golang.org/x/crypto to v0.59.0 - #78992

Merged
pelikhan merged 2 commits into
mainfrom
copilot/update-golang-org-x-crypto-v0-59-0
Nov 18, 2026
Merged

pelikhan merged 2 commits into
mainfrom
copilot/update-golang-org-x-crypto-v0-59-0

Conversation

@gh-aw-bot

@gh-aw-bot gh-aw-bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Collaborator

Update the direct golang.org/x/crypto dependency from v0.58.0 to v0.59.0. Preserve the CLI’s NaCl box usage and the openpgp import restriction.

  • Dependencies: Refresh golang.org/x/crypto and its required x/sys, x/term, and x/text versions and checksums.
  • Import restriction: Keep the openpgp depguard rule and update comments to reflect that the package is no longer included in golang.org/x/crypto.

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
@gh-aw-bot gh-aw-bot changed the title [WIP] Update golang.org/x/crypto from v0.58.0 to v0.59.0 [deps] Update golang.org/x/crypto to v0.59.0 Nov 18, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Hey @gh-aw-bot 👋 — thanks for the dependency update! This looks well-focused and clearly documented. Here are a couple of things to help finalize it:

  • Tests — Dependency updates typically don't require new tests, but consider adding a quick smoke test to verify the crypto functionality still works as expected (e.g., NaCl box encryption/decryption with the updated version). Even a basic integration check in CI would increase confidence.
  • Draft status — This PR is currently marked as a draft. Once you're confident in the dependency versions and any testing, mark it ready for review.

The changes to .golangci.yml and comments are great for documenting the openpgp depguard rule going forward.

If you'd like help, you can assign this prompt to your coding agent:

Add a simple integration test verifying that golang.org/x/crypto's NaCl box functionality (nacl/box encrypt/decrypt) works correctly with the updated v0.59.0 version. The test should:
1. Generate a keypair using nacl.box
2. Encrypt a test message
3. Decrypt and verify the result matches the original
4. Run as part of the existing test suite

Generated by ✅ Contribution Check · copilot · routed: haiku55 xhigh · ~18 AIC · ⌖ ~2 AIC · ⊞ 5.4K · ◷

@github-actions

Copy link
Copy Markdown
Contributor

Category: chore | Risk: low | Score 28/100 (impact 11 + urgency 8 + quality 9) | Action: batch_review | Batch: docs-deps-1 | Reason: dependency refresh with limited blast radius; batch with adjacent maintenance updates.

Generated by 🔧 PR Triage Agent · copilot · mai11 · ~6 AIC · ⌖ ~1 AIC · ⊞ 13K · ◷

@pelikhan
pelikhan marked this pull request as ready for review November 18, 2026 21:21
Copilot AI adaptive review requested due to automatic review settings November 18, 2026 21:21
@pelikhan
pelikhan merged commit bfbd06a into main Nov 18, 2026
97 checks passed
@pelikhan
pelikhan deleted the copilot/update-golang-org-x-crypto-v0-59-0 branch November 18, 2026 21:21
@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

✅ Ponytail Reviewer completed successfully!

Warning

Threat detection engine error

Threat detection could not complete its analysis due to a tooling error. This is not a security finding.

What happened

The threat detection engine failed to produce results.

Review the workflow run logs to troubleshoot the error.

Ponytail Reviewer

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

Generated by Ponytail Reviewer for #78992 · codex · routed: gpt61 medium · ~4 AIC · ⊞ 185 · ◷

@github-actions

Copy link
Copy Markdown
Contributor

🔎 PR Code Quality Reviewer is reviewing code quality for this pull request...

@github-actions

Copy link
Copy Markdown
Contributor

🧠 Matt Pocock Skills Reviewer is reviewing this pull request using Matt Pocock's engineering skills...

@github-actions

Copy link
Copy Markdown
Contributor

🚀 PR Specification Reviewer has started processing this pull request

@github-actions

github-actions Bot commented Nov 18, 2026 •

Copy link
Copy Markdown
Contributor

✅ Test Quality Sentinel completed test quality analysis.

Warning

Threat detection engine error

Threat detection could not complete its analysis due to a tooling error. This is not a security finding.

What happened

The threat detection engine failed to produce results.

Review the workflow run logs to troubleshoot the error.

Test Quality Sentinel

Outcome: reported_no_action

The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible.

Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.

🧪 Test quality analysis by Test Quality Sentinel · copilot · routed: haiku55 xhigh · ~2 AIC · ⊞ 7.2K · ◷

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Because the update changes the cryptographic dependency and transitive Go modules used for CLI secret encryption, human or CI validation is needed to confirm v0.59.0 ciphertext compatibility, GitHub Secrets API interoperability, and clean dependency resolution.

No open issues 🎉

What changed in this PR

Updates the CLI’s golang.org/x/crypto dependency from v0.58.0 to v0.59.0 while preserving NaCl box encryption and the prohibition against importing openpgp.

Changes:

  • Refreshes x/crypto, x/sys, x/term, and x/text dependency versions and checksums.
  • Updates comments to reflect that openpgp is no longer included in x/crypto.
  • Retains the openpgp depguard restriction.
File Description
go.sum Refreshes checksums for the updated Go modules.
go.mod Updates direct and indirect Go module versions while preserving guidance about the restricted openpgp path.
.golangci.yml Retains the depguard rule preventing openpgp imports and updates its explanatory comments.

Review effort: Lite (adaptive)

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[deps] Update golang.org/x/crypto from v0.58.0 to v0.59.0

4 participants