Download and verify a release
Verify every release before you run it. Harbor runs with access to your privileged-access estate, so a tampered copy is a serious risk. Verification takes two minutes and needs no administrator rights.
What a release contains
Section titled “What a release contains”Each product is released as three files:
| File | What it is |
|---|---|
HarborOnboard-<version>.zip / HarborHealth-<version>.zip |
The release: the module folder, the launchers, the installer and the verifier. |
<zip name>.sha256 |
The SHA-256 hash of the zip, as <hash> <file name>. |
HarborCodeSigning.cer |
The public certificate the scripts are signed with. Also inside a signed zip. |
Inside the Harbor Onboard zip:
HarborOnboard\ the module (includes CHANGELOG.md)Harbor.cmd, Harbor-Demo.cmd double-click launchersLaunch-Harbor.ps1 the launcher scriptInstall-Harbor.ps1 the installerVerify-HarborRelease.ps1 the verifierInvoke-HarborComplianceScan.ps1 the runner for scheduled compliance scansHarborCodeSigning.cer the signing certificate (signed builds)The Harbor Health zip has the same shape: HarborHealth\, Harbor-Health.cmd,
Harbor-Health-Demo.cmd, Launch-Harbor-Health.ps1,
Install-HarborHealth.ps1, Verify-HarborHealthRelease.ps1 and
Invoke-HarborHealthScan.ps1.
Step 1: check the hash before you extract
Section titled “Step 1: check the hash before you extract”Keep the zip and its .sha256 file in the same folder, then compare:
$zip = '.\HarborOnboard-0.58.0.zip'$expected = ((Get-Content "$zip.sha256" -Raw) -split '\s+')[0]$actual = (Get-FileHash $zip -Algorithm SHA256).Hashif ($expected -ieq $actual) { 'Hash OK' } else { 'HASH MISMATCH - do not use this file' }A mismatch means the file is damaged or was changed. Delete it and download it again.
Step 2: extract and run the verifier
Section titled “Step 2: extract and run the verifier”Extract the zip, then run the verifier from the extracted folder. Point it at the zip as well, so it checks the hash again:
cd .\harbor-onboard.\Verify-HarborRelease.ps1 -ZipPath ..\HarborOnboard-0.58.0.zipIt checks every .ps1, .psd1 and .psm1 file’s Authenticode signature,
without importing the module, and prints one line per file and a summary:
| Status | Meaning | What to do |
|---|---|---|
Valid |
Signed, and the signer is trusted on this machine. | Nothing. |
UnknownError (signed but untrusted) |
Signed, but the signing certificate is not trusted here yet. | Trust the certificate (step 3), then run the verifier again. |
NotSigned |
An unsigned build. | Only a warning: unsigned builds are a legitimate build type. Ask Harbor for a signed build if your policy requires one. |
Anything else (HashMismatch, …) |
Tamper evidence: a file changed after it was signed. | Do not run this copy. |
The verifier returns an object with a Tamper property. For scripts and CI,
-AsExitCode exits with 1 on tamper evidence instead.
The installer (Install-Harbor.ps1) runs the same verification and stops on
tamper evidence, so you cannot install a tampered copy by accident.
Step 3: trust the signing certificate once
Section titled “Step 3: trust the signing certificate once”Harbor’s releases are signed with the Harbor Code Signing certificate. Trust it once per machine (or through your endpoint management):
Import-Certificate -FilePath .\HarborCodeSigning.cer -CertStoreLocation Cert:\CurrentUser\TrustedPublisherThen run the verifier again. If the files still show as signed but untrusted, Windows does not yet trust the certificate’s issuer on this machine; your Windows administrator decides how your organisation trusts code-signing certificates.
Then install
Section titled “Then install”- Install: per-user: one Windows account, no administrator rights.
- Install: all users / Program Files: where only administrators can change the code. Recommended for shared machines, and it lets the HTTPS setup elevate for you.
Covers Harbor Onboard 0.59.0 / Harbor Health 0.22.0. On an older release? Upgrading and the release notes list what changed.
