Skip to content

v1.0.1 — Signed release

Latest

Choose a tag to compare

@riaanjutte riaanjutte released this 20 Apr 18:03
68e38c1

v1.0.1 — Signed release

Same functionality as v1.0 — this release adds an Authenticode signature to CBNetOptimizer.ps1 so PowerShell script-signing policies (AllSigned, RemoteSigned) can validate it.

Signed build

CBNetOptimizer.ps1 is Authenticode-signed with a self-signed certificate (CN=Haluter - CBNetOptimizer, SHA256, valid through 2029-04-20). Because the cert isn't issued by a public CA, end-users will see "publisher unknown" unless they trust it first.

To trust the publisher (one-time, per machine):

# Download CBNetOptimizer.cer from this release, then:
Import-Certificate -FilePath .\CBNetOptimizer.cer -CertStoreLocation Cert:\CurrentUser\Root
Import-Certificate -FilePath .\CBNetOptimizer.cer -CertStoreLocation Cert:\CurrentUser\TrustedPublisher

Verify the signature:

Get-AuthenticodeSignature .\CBNetOptimizer.ps1
# Status should be: Valid

Certificate thumbprint: D4020866B15E9C3B8F23CD61CA9A1B146B779AB0

Notes

  • Source tree in this repo remains unsigned — the signature is a release-time artifact, applied only to the distributed .ps1.
  • If you don't care about signatures, the script behaves identically to v1.0; you can still run it with -ExecutionPolicy Bypass.