Linux Repo Public Key is Expiring Soon

Hi all,

Our old APT and DNF/YUM public key will expire on the 24th July. We have now updated it (Thanks @Kai) with a new expiry date (9th September 2030). If you use openHABian or apt to update openHAB, you’ll need to download the updated key. To do this, simply use the same methods as you used to install the first one:


openHABian users

The latest version of openHABian will do this for you, just run sudo openhabian-config and update openHABian - each time you open the menu, openHABian will check the key’s expiry date and do this for you.

APT (non-openHABian) users

Change the key with the same commands given in the openHAB documentation, openHAB Documentation: Linux Installation: apt-based-systems.

If you just want one line you can copy and paste, you can use:

wget -qO- https://openhab.jfrog.io/artifactory/api/gpg/key/public | gpg --dearmor | sudo tee /usr/share/keyrings/openhab.gpg >/dev/null

Note: If you don’t see “[signed-by=/usr/share/keyrings/openhab.gpg]” in your /etc/apt/sources.list.d/openhab.list file then you need to follow the all of the instructions in the documentation to make sure you’ve got everything setup correctly.


YUM/DNF Users.

There should be nothing to do here if you followed openHAB Documentation: Linux Installation: yum-or-dnf-based-systems. RPM will download the new public key when necessary, if for some reason you get a GPG error, you can clean the cache with (thanks @florian-h05):

# List repo keys
rpm -q gpg-pubkey --qf '%{NAME}-%{VERSION}-%{RELEASE}\t%{SUMMARY}\n'
# Delete openHAB repo key
sudo rpm -e gpg-pubkey-xxxxxxxx # Use the id of the openHAB repo key here


I've turned the first time I posted this into a discussion thread - if you need any help or have any feedback/comments please use the following page:

Cheers,
Ben

13 Likes

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.