Skip to content

Upgrade utilities to latest upstream releases - #26

Merged
cfal merged 9 commits into
mainfrom
upgrade-utils-20261104
Nov 4, 2026
Merged

cfal merged 9 commits into
mainfrom
upgrade-utils-20261104

Conversation

@cfal

@cfal cfal commented Nov 4, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Upgrade 7-Zip to 26.05, UnRAR source to 7.3.2, nano to 9.3, and Expat to 2.10.0.
  • Upgrade OpenSSL to 4.1.0 in curl, Git, and OpenSSH; preserve wget's documented OpenSSL 3.x compatibility policy.
  • Remove nano's obsolete x87 patch, now included in its vendored gnulib.
  • Preserve all checksums, static-link/provenance/compiler-trap audits, upstream suites, aliases, licenses, and scratch exports.

TLS Compatibility

The pin-only OpenSSL upgrade passed curl's upstream suite but exposed a name-constraint bypass: curl retains its own CN hostname fallback, while OpenSSL 4.1 requires an explicit opt-in before enforcing DNS constraints on the CN. Both libcurl builds now enable X509_CHECK_FLAG_ALWAYS_CHECK_SUBJECT through the supported API.

Each utility builds a local constrained-CA fixture and exercises its stripped, staged client. Six cases cover permitted CN/SAN certificates, forbidden CN/SAN certificates independently, the deliberately stricter mixed CN/SAN policy, and SAN-over-CN hostname precedence. The forbidden CN regression was reproduced against the unpatched artifact and fails without the fix. The stricter constrained-CA behavior is documented in the README.

UnRAR's source filename 7.3.2 represents 7.30 beta 2, replacing the existing beta 1 source pin and preserving the repository's current source-release policy.

Local Verification

The complete local build ran on Fil-C 0.686 before #25 landed. This branch was then rebased onto main's Fil-C 0.687; native PR CI passed with the final toolchain combination on both architectures. The resulting x86_64 bundle was also verified locally.

  • All 13 amd64 utility builds passed their configured upstream, functional, and artifact checks.
  • curl: 1715/1715 upstream tests; all six new certificate cases passed against the final patched artifact.
  • Git: 1059 test files, 33130 assertions; all six certificate cases passed against the staged HTTPS helper.
  • tmux: 174/174 regressions.
  • OpenSSH: full upstream/unit/compatibility suites, exact skip accounting, staged command tests, and artifact audits passed.
  • nano: provenance/compiler-trap checks and pseudo-terminal edit/save passed without the obsolete patch.
  • All five release archives downloaded from authoritative URLs and SHA-256 checked; shared pins and README updated together.
  • Version-checker unit tests: 7 passed. Live version check: all 26 registered pins current.
  • git diff --check passed; rebased commit range checked for unintended changes.
  • Cross-utility robustness on the original local artifacts: all stages passed, including 84 hostile extractions with zero escapes and 36,762 fuzz executions over 8,118 mutations with no memory-safety failures, signals, or hangs (--iters 3 --jobs 2).
  • Final Fil-C 0.687 x86_64 bundle: SHA-256 verified, extracted into a fresh tree, and installed locally with the usual non-setuid ssh-keysign mode. Both six-case TLS fixtures passed again. All robustness stages passed: 84 hostile extractions with zero escapes and 36,795 executions over 8,151 mutations with no memory-safety failures, signals, or hangs (--iters 3 --jobs 2).

Shipped artifacts are stripped: their compiler-trap scan runs, but the DWARF-based pointer-alignment scan is explicitly PARTIAL, not a completed structural alignment check.

CI

The complete native CI run passed at 8d63f3d: all 26 utility builds, both architecture robustness suites, and both audited bundles. The separate upstream-version workflow also passed. The tag-only release job was correctly skipped; no release or merge was requested.

@cfal
cfal merged commit 6235972 into main Nov 4, 2026
34 checks passed
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