Skip to content

Download and verify a release

Harbor suiteNo sign-in neededDescribes Onboard 0.58.0 / Health 0.21.0

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.

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 launchers
Launch-Harbor.ps1 the launcher script
Install-Harbor.ps1 the installer
Verify-HarborRelease.ps1 the verifier
Invoke-HarborComplianceScan.ps1 the runner for scheduled compliance scans
HarborCodeSigning.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.

Keep the zip and its .sha256 file in the same folder, then compare:

Terminal window
$zip = '.\HarborOnboard-0.58.0.zip'
$expected = ((Get-Content "$zip.sha256" -Raw) -split '\s+')[0]
$actual = (Get-FileHash $zip -Algorithm SHA256).Hash
if ($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.

Extract the zip, then run the verifier from the extracted folder. Point it at the zip as well, so it checks the hash again:

Terminal window
cd .\harbor-onboard
.\Verify-HarborRelease.ps1 -ZipPath ..\HarborOnboard-0.58.0.zip

It 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):

Terminal window
Import-Certificate -FilePath .\HarborCodeSigning.cer -CertStoreLocation Cert:\CurrentUser\TrustedPublisher

Then 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.

Covers Harbor Onboard 0.59.0 / Harbor Health 0.22.0. On an older release? Upgrading and the release notes list what changed.