Update the Linux Agent and Connection Manager signing key#
This article explains a change to how the Linux packages for the Cloudhouse Guardian (Guardian) Agent and Connection Manager are signed, the errors you may see on a node after the change, and how to fix them.
Applies to: Guardian Classic
What changed#
On 2 December 2026, the apt and yum repositories that deliver the Linux Agent and Linux Connection Manager (both use the scriptrock-guardrail-agent package) move to a single Cloudhouse signing key. This key replaces the older ScriptRock keys.
| Key | Value |
|---|---|
| Name | Cloudhouse Technologies Ltd security@cloudhouse.com |
| Fingerprint | 0817 A68F F173 8267 2A20 7161 1A35 02F0 34C2 BE9A |
| Type | RSA 4096 |
| Expires | 5 November 2031 |
Nodes where the Agent was installed with the Run this script command (see Install Agent via script) get Agent updates from these repositories. Those nodes still trust only the old key, so updates from the repository will fail until the node trusts the new key. The same applies to a Linux Connection Manager set up from these repositories. You only need to do this once per node.
Important: On Red Hat, CentOS, Oracle Linux, Rocky Linux, AlmaLinux and Amazon Linux, a failed signature check stops the whole yum update or dnf update, not just the Agent. Until you update the key, the node's other updates will not install either. To avoid this, prepare before 2 December. If updates are already failing, add --disablerepo=scriptrock to your update command to keep patching while you make the change.
If you installed the Agent or Connection Manager from a package downloaded from the Guardian Application Downloads page, and do not use the repositories, you do not need to do anything. See Downloaded packages.
The change also brings:
- A new package,
cloudhouse-archive-keyring, that holds the public key. Future key changes arrive through normal package updates, so you do not need to repeat these steps. - Signature checks on the yum repository index as well as the packages (
repo_gpgcheck=1). - Support for the setup script on Debian 11, 12 and 13 and Ubuntu 24.04 and 26.04, where the old script failed.
Prepare before 2 December#
You can get a node ready now, so Agent and Connection Manager updates keep working on 2 December. This makes the node trust the new key as well as the old one, and changes nothing else.
On Debian or Ubuntu, run as root:
curl -fsS https://download.cloudhouse.com/apt/cloudhouse-linux.gpg -o /etc/apt/trusted.gpg.d/cloudhouse-prepare.gpg
chmod 644 /etc/apt/trusted.gpg.d/cloudhouse-prepare.gpg
On Red Hat, CentOS, Oracle Linux, Rocky Linux, AlmaLinux, Amazon Linux or SUSE, run as root:
rpm --import https://download.cloudhouse.com/yum/cloudhouse-linux.asc
Errors you may see#
| Package tool | Error | Cause | Fix |
|---|---|---|---|
| apt | NO_PUBKEY 1A3502F034C2BE9A, The following signatures couldn't be verified because the public key is not available, or The repository ... is not signed |
The node does not trust the new key yet. | Update the key on Debian or Ubuntu. |
| yum or dnf | Public key for scriptrock-guardrail-agent-... is not installed, NOKEY, or GPG check FAILED |
The node does not trust the new key yet. | Update the key on Red Hat and similar systems. |
| zypper | File 'repomd.xml' from repository 'scriptrock' is signed with an unknown key '1A3502F034C2BE9A' |
The node does not trust the new key yet. | Update the key on SUSE. |
| apt, yum, dnf or zypper | Hash Sum mismatch, File has unexpected size, or a size or checksum error straight after the change |
Download servers can briefly serve a mix of old and new files after the repository is republished. | Wait a while and retry. If it persists, contact Support. |
Update keys on 2 December or later#
On or after 2 December, complete the steps for your system. They make the node trust only the new key for this repository, and remove the old key. Do not run them before 2 December: until then, the repository is still signed with the old key, so these steps would stop updates working. To get ready now, see Prepare before 2 December.
Debian or Ubuntu#
Run these commands as root, on or after 2 December.
-
Download the new key:
install -d -m 755 /usr/share/keyrings curl -fsS https://download.cloudhouse.com/apt/cloudhouse-linux.gpg -o /usr/share/keyrings/cloudhouse-archive-keyring.gpg chmod 644 /usr/share/keyrings/cloudhouse-archive-keyring.gpg -
Point the repository definition at the new key:
echo "deb [arch=amd64 signed-by=/usr/share/keyrings/cloudhouse-archive-keyring.gpg] https://download.cloudhouse.com/apt debian main" > /etc/apt/sources.list.d/scriptrock.list -
Check that apt accepts the repository, and install the keyring package and the latest Agent:
apt-get update apt-get install -y cloudhouse-archive-keyring scriptrock-guardrail-agent -
Remove the old ScriptRock key, which the old setup script trusted for every repository on the node, and the key added if you prepared before 2 December:
apt-key del D3CA0672 rm -f /etc/apt/trusted.gpg.d/cloudhouse-prepare.gpgNote: Debian 13 and Ubuntu 26.04 do not have
apt-keyand do not use the old key, so leave out theapt-keyline on those releases.
Red Hat, CentOS, Oracle Linux, Rocky Linux, AlmaLinux or Amazon Linux#
Run these commands as root, on or after 2 December.
-
Download and import the new key:
install -d -m 755 /usr/share/keyrings curl -fsS https://download.cloudhouse.com/yum/cloudhouse-linux.asc -o /usr/share/keyrings/cloudhouse-archive-keyring.asc chmod 644 /usr/share/keyrings/cloudhouse-archive-keyring.asc rpm --import /usr/share/keyrings/cloudhouse-archive-keyring.asc -
Replace the repository definition, which now turns on signature checks for the repository index:
curl -fsS https://download.cloudhouse.com/yum/scriptrock.repo -o /etc/yum.repos.d/scriptrock.repo -
Clear the cached repository data for this repository only:
yum clean metadata packages --disablerepo='*' --enablerepo=scriptrock -
Install the keyring package and the latest Agent:
yum install -y cloudhouse-archive-keyring scriptrock-guardrail-agent yum upgrade -y scriptrock-guardrail-agent -
Remove the old ScriptRock key:
rpm -e --allmatches gpg-pubkey-202cb5d2
SUSE#
Run these commands as root, on or after 2 December.
-
Download and import the new key:
install -d -m 755 /usr/share/keyrings curl -fsS https://download.cloudhouse.com/yum/cloudhouse-linux.asc -o /usr/share/keyrings/cloudhouse-archive-keyring.asc chmod 644 /usr/share/keyrings/cloudhouse-archive-keyring.asc rpm --import /usr/share/keyrings/cloudhouse-archive-keyring.asc -
Re-add the repository:
zypper removerepo scriptrock zypper addrepo https://download.cloudhouse.com/yum/x86_64 scriptrock -
Install the keyring package and the latest Agent:
zypper refresh --force zypper install -y cloudhouse-archive-keyring scriptrock-guardrail-agent -
Remove the old ScriptRock key:
rpm -e --allmatches gpg-pubkey-202cb5d2
Note: zypper does not read keys from the keyring package, so if the signing key changes again, repeat these steps.
Downloaded packages#
Each Agent package on the Guardian Application Downloads page now has a signature file (.asc) and a checksum file (.sha256) next to it, in the same folder.
Installing a downloaded package works as before with apt install, dnf install and rpm -i. On SUSE, zypper install checks the signature, so import the new key first (step 1 of Update the key on SUSE).
To check a downloaded package came from Cloudhouse, download its .asc and .sha256 files into the same folder, then run:
curl -fsS https://download.cloudhouse.com/apt/cloudhouse-linux.asc -o /tmp/cloudhouse-linux.asc
gpg --import /tmp/cloudhouse-linux.asc
gpg --verify <agent-package-filename>.asc <agent-package-filename>
sha256sum -c <agent-package-filename>.sha256
The gpg --verify output should include Good signature from "Cloudhouse Technologies Ltd <security@cloudhouse.com>", and sha256sum should report OK.
Check the key#
To confirm you downloaded the genuine key, compare its fingerprint with the one in What changed:
curl -fsS -o /tmp/cloudhouse-linux.gpg https://download.cloudhouse.com/apt/cloudhouse-linux.gpg
gpg --no-default-keyring --keyring /tmp/cloudhouse-linux.gpg --fingerprint
The output should include 0817 A68F F173 8267 2A20 7161 1A35 02F0 34C2 BE9A.
Was this page helpful?
Thank you, that helps us improve this page.