Skip to content

fix(cli): upgrade error hints no longer recommend the verification bypass (#1475) - #1481

Merged
ajianaz merged 1 commit into
developfrom
fix/upgrade-error-hints
Oct 15, 2026
Merged

ajianaz merged 1 commit into
developfrom
fix/upgrade-error-hints

Conversation

@ajianaz

@ajianaz ajianaz commented Oct 15, 2026

Copy link
Copy Markdown
Collaborator

What

The three uteke upgrade errors for a missing or failed checksums download (HTTP error, network error, archive not listed) no longer say "Set UTEKE_UPGRADE_SKIP_CHECKSUM=1". They say the install is refused, to retry later, and point at the manual verification section of SECURITY.md (SIGNATURE_HELP). The two download errors share one helper, checksums_unavailable. The bypass itself and its warning block are unchanged and stay documented in SECURITY.md.

Why

Since #1462 that variable also disables the minisign signature check, so a transient 5xx or rate limit used to suggest dropping the whole verification chain, and a copy-pasted hint ran an unverified binary. Closes #1475.

Testing

  • New test error_hints_never_recommend_the_bypass pins the wording of all three messages (no UTEKE_UPGRADE_SKIP_CHECKSUM, mentions SECURITY.md, keeps the HTTP detail and "retry later").
  • cargo test -p uteke-cli upgrade: 29 pass. cargo clippy --all-targets -D warnings and cargo fmt are clean.

@github-actions

github-actions Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

🔍 Cora AI Code Review

✅ No issues found. Code looks good!


Review powered by cora-code · BYOK · MIT

@ajianaz
ajianaz merged commit d1d2a13 into develop Oct 15, 2026
15 of 16 checks passed
@ajianaz
ajianaz deleted the fix/upgrade-error-hints branch October 15, 2026 08:42
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.

fix(cli): upgrade error hints recommend UTEKE_UPGRADE_SKIP_CHECKSUM=1, which now also disables signature verification

1 participant