Skip to content

fix(installer): enable TLS 1.2 in PowerShell - #207

Merged
nc9 merged 2 commits into
squirrelscan:mainfrom
WilliamK112:codex/install-ps1-tls12
Sep 9, 2026
Merged

nc9 merged 2 commits into
squirrelscan:mainfrom
WilliamK112:codex/install-ps1-tls12

Conversation

@WilliamK112

Copy link
Copy Markdown
Contributor

Summary

  • enable TLS 1.2 before the PowerShell installer makes any network request
  • preserve newer enabled protocols by OR-ing TLS 1.2 into SecurityProtocol rather than replacing the existing value
  • add a contract test that guards both the additive assignment and its position before the first network call

Closes #166

Verification

  • bun test scripts/install-contract.test.ts — 41 pass, 0 fail
  • bun test — 5034 pass, 4 skip, 0 fail
  • bun run format:check
  • bun run lint
  • bun run typecheck
  • bun run test:engine — 68 pass, 1 skip, 0 fail
  • bun run test:release — 19 pass, 0 fail
  • bun run docs:check
  • bun run docs:build
  • bun run audit:dependencies — no vulnerabilities found

Checklist

  • I added or updated tests for behavioral changes.
  • I did not include secrets, customer data, or incompatible third-party material.
  • Every commit includes a DCO Signed-off-by line (git commit -s).

Development note: this change was implemented with AI-assisted tooling and manually reviewed and verified.

@nc9

nc9 commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Thanks, reviewed and merging. The only thing in the way was main requiring an up-to-date branch, which I updated from our side.

@nc9
nc9 merged commit 879379a into squirrelscan:main Sep 9, 2026
13 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.

fix(installer): enforce a TLS 1.2 minimum in install.ps1

2 participants