Skip to main content

macOS relay installation and updates

This guide describes the Mac relay installer and updater implementation. For network topology, individual agent identities, relay membership and direct fallback, start with Agent relays and controlled egress.

Release status

Use the current package table to select the signed Mac agent, installer and combined package. Verify catalog availability before downloading. These remain published previews. The qualification details below identify the releases actually exercised. Native relay replacement and protected resource-limit changes passed on macOS 26.5.2 arm64. Installer426 also completed a cloud-requested scanner82-to83 update through relay84, followed by a successful managed TLS scan. Earlier releases have separate reboot and failover evidence; those results do not establish those properties for every newer release. See the verified scope at the end of this guide and the combined package guide.

What runs on the Mac​

The forwarding service uses a dedicated hidden non-login account, _qscanrelay. Its configuration, credential and persistent identity are separate from the administrator-owned updater. Forwarding permission does not grant remote-scanner pool membership or authority to update software.

The updater uses a separate node-scoped credential and an independently trusted release-verification key. It runs as root only to perform locally approved installation and service changes. It connects to the fixed control origin; it does not take its update authority from an agent's relay route or scanner pool.

ComponentPurposeProtected location
Relay configuration and journalsEnrollment, trust and recovery/private/etc/sectigo-quantum-ready-relay
Relay identityPersistent forwarding identity/private/var/db/sectigo-quantum-ready-relay/node
Agent distributionsVerified forwarding runtime/opt/sectigo-quantum-ready-relay/releases
Installer distributionsVerified scheduled updater runtime/opt/sectigo-quantum-ready-relay/installers
Forwarding jobRelay connectionscom.sectigo.quantumready.relay
Updater jobAutomatic update checkscom.sectigo.quantumready.relay.updates

Credential files contain secrets in plaintext on disk, protected by ownership, permissions and ACL checks. They are not encrypted merely because they are in a ZIP archive or private directory. Do not put tokens in command arguments or diagnostic output. Deliver them through an approved confidential channel and remove delivery copies after protected provisioning.

Command sequence​

All commands use the standalone quantum-ready-service executable. Mutating commands require administrator authority. File arguments must be absolute paths; private input files require root:wheel ownership, mode 0400 or 0600, no extended ACLs, and protected parent directories.

Run quantum-ready-service check-worker first to verify that the complete native installer can launch its isolated worker. This read-only check needs no administrator rights, enrollment files or credentials. It does not install a service or prove cloud connectivity. A missing-runtime or launch error must be resolved before installation; keep the installer executable and its packaged runtime files together.

  1. Independently provision the trusted release key. Use verify to inspect an agent package without installing it. Verification does not persist trust or approve a later installation; installation verifies the inputs again.
  2. Use install with the signed agent package, --config and --token-file. This establishes forwarding service state and its dedicated account.
  3. Issue updater access in Agent relays > Relay updates > Configure updater access. Use provision-updater --updater-file <absolute-path> --trusted-key <absolute-path> to provision the separate credential with the installed key.
  4. Use update-policy --policy-file <absolute-path> to approve explicit versions, sequence bounds and an expiration. update-policy without a file inspects approval. Provisioning alone does not enable updates.
  5. Use update-once for one bounded cloud-update check. It accepts no package, credential or channel overrides; selection comes from the cloud operation and protected local approval.
  6. Use schedule-updates with an independently signed installer package to configure automatic checks. Agent packages cannot substitute for installers.

Package commands require --manifest, --signature, --archive, --trusted-key, --version and --minimum-sequence. --channel defaults to preview. For scheduling, the installer version must be at least 0.51.403; that reserved minimum does not mean such a production package has been published.

Control automatic checks​

schedule-updates defaults to an interval of 900 seconds. --interval accepts 300-86400 seconds. Changing the interval preserves package and node identity, confirms that the existing timer stopped, and publishes the new definition.

Use --schedule-state disabled to remove automatic launch triggers, or --schedule-state enabled to restore them. The disabled job remains registered for inspection. This does not revoke local approval: an administrator can still run update-once under that approval. The current implementation requires the original signed installer-package arguments, with a currently valid signature, for both disable and re-enable.

To replace the scheduled installer, provide a newer signed installer package. Both version and sequence must advance. The new distribution is staged before the timer stops; the node identity and installed trust remain unchanged. Old distributions are retained until reviewed cleanup.

Inspect and recover​

Run status first after an uncertain result. Without administrator authority it does not read private installation state. With authority it shows forwarding and updater registration separately, along with definition matches and pending phases.

ResultMeaning and next step
registeredlaunchd has the job; verify runtime and cloud health separately.
Schedule disabledThe matching definition has no automatic launch triggers.
review-requiredA protected definition differs; preserve it for administrator review.
recovery-required, operation scheduleRun recover-schedule with the exact package, interval and enable state from the interrupted request.
recovery-required, operation upgradeRun recover-upgrade with the exact agent package from the interrupted replacement.
local-policy-disabledNo currently enabled, unexpired local update approval permits polling.
installed-reportedInstallation was reported to the cloud; this is not independent runtime-health evidence.

Never delete journals to bypass recovery. An unknown stop result does not permit code or definition replacement. Changed administrator files are preserved rather than overwritten. A completed retry inspects existing code without restoring missing files or restarting a stopped job. Cloud claims and reports are retained so a lost response does not automatically repeat a replacement.

After initial installation or replacement reaches definition publication, the service may already have started even if its acknowledgement was lost. Recovery verifies the existing signed runtime inventory at that point. Missing or altered runtime files stop recovery for administrator review; recovery does not recreate them beneath a potentially running service.

The worker has a 180-second bound and cleans up its process group on timeout or orderly interruption. This does not prove recovery after power loss or SIGKILL; inspect the durable state before taking the next action. For an interrupted agent replacement, recover-upgrade can reverify an expired package only when its exact manifest, signature, archive and trust key match the protected admission journal. The original version, sequence, target and channel checks still apply. This does not admit an expired package for a fresh upgrade or grant a new cloud operation. A completed replacement retry can likewise inspect its exact recorded package after expiry without restarting the service or restoring runtime files. recover-schedule also permits an expired package only for the exact pending schedule journal, including its original interval and enable state. It rechecks installer-purpose signatures, native target, sequence and all four evidence hashes. This does not allow a new schedule or changed settings with an expired package. Retrying initial install with its original package and enrollment inputs can also recover after expiry if an existing protected initial journal or installation receipt binds that exact evidence. A failed current admission opens only existing protected directories and the existing lifecycle lock; it cannot create a fresh installation from expired inputs.

New replacement journals record the kernel boot-session identity before stopping the relay. If a stop result is lost and the service is absent, recovery requires either confirmed stop completion or a different kernel boot identity. Absence during the same boot is insufficient. The installer never reboots the machine. Older journals without this evidence remain blocked for administrator review. Schedule-change journals also record this boot identity before stopping the updater. recover-schedule uses the same rule. If launchd registered the previous updater again after a confirmed stop, recovery stops it synchronously before publishing the selected definition. Both paths still require native privileged reboot testing. An unconfirmed stop during the same boot remains blocked.

Changing relay resource limits​

Installer 0.51.426 and relay 0.26.84 add protected resource-limit changes. These packages are published previews; use the download catalog to check current availability and expiry. Existing installed releases do not gain this command automatically.

Disable local update approval and the updater schedule, then stop the relay. Prepare a root-owned JSON file with mode 0400 or 0600, protected parent directories, and no extended ACLs or links. For example:

{"connections":4,"per_agent":2,"seconds":180,"bytes":536870912}

From a protected combined package, run:

sudo ./Deploy-QuantumReady.sh relay-node configure-limits --limits-file /private/limits.json
sudo ./Deploy-QuantumReady.sh relay-node status
sudo ./Deploy-QuantumReady.sh relay-node start

Choose limits for the expected number of downstream agents and transfer sizes. The byte limit applies to each tunnel; a limit smaller than an update archive interrupts the download. Signature verification still rejects incomplete content. The example permits a 512 MiB tunnel; it is not a fleet sizing recommendation.

Configuration preserves the relay identity, credentials and release trust. It never starts the service or enables updates. Running services, pending updates and overlapping lifecycle operations block the change. After an interrupted change, use recover-limits --limits-file /private/limits.json with the same reviewed file, then explicitly start the service. Do not edit journal or identity files to bypass recovery. Restart requires the exact installed signed package.

Verified scope and remaining acceptance​

On macOS 26.5.2 arm64, native installer 0.51.426 passed privileged relay stop/start/remove/restore, signed relay78-to84 replacement and protected limit configuration. The relay retained its identity and restricted service account. A cloud-requested scanner82-to83 replacement completed through relay84 with direct fallback disabled and bootstrap revoked; the new scanner then completed a managed TLS scan with four findings accepted into workspace evidence.

This does not establish scanner84 replacement, reboot acceptance for these exact updated releases, Intel Mac support or support for older macOS releases. The combined package launcher checks are separate from privileged service and cloud update evidence. Keep local update approval explicit and time-limited.