Package Repository Key expired
Debian distros (Ubuntu etc)
If you are getting the this error:
Failed to fetch https://packages.knocknoc.io/debian/dists/bookworm/InRelease
The following signatures were invalid: EXPKEYSIG E3AB5DF76BBF701F Knocknoc Support <support@knocknoc.io>
You may have the old knocknoc packages key, which expired 07/10/2025 after two years of hard labour. We have refreshed the key, so you simply need to run:
curl https://packages.knocknoc.io/key/knocknoc_public_key.asc | sudo tee /etc/apt/keyrings/knocknoc-pub.asc
This will refresh the key from our packages repository and your apt update will work again.
Redhat Distros (Centos, Alma, RHEL etc)
If you are getting a similar error with the key on Redhat based distros, please run this command as a one off to get the key repo key:
sudo rpm --import https://packages.knocknoc.io/key/knocknoc_public_key.asc
Then you will be able to install the latest server and agent via yum.