Verifying packages
Every alxpanel package and the repository's index are signed. This is the key, and how to check it.
The key
| Fingerprint | A23A812FFA0798DA73E63F066656F85BA245E0AA |
| Download | https://repo.balcon.od.ua/RPM-GPG-KEY-alxpanel |
| On an installed server | /etc/pki/rpm-gpg/RPM-GPG-KEY-alxpanel |
dnf checks two signatures with it on every install and update: the signature of each package (gpgcheck=1), and the signature of the repository's index (repo_gpgcheck=1). A package that was changed after we built it, or an index that lists packages we did not publish, is refused.
Checking the key on a server
gpg --show-keys --with-fingerprint /etc/pki/rpm-gpg/RPM-GPG-KEY-alxpanel
The fingerprint it prints must be the one above. If it is not, do not install or update from that server's repository file; reinstall alxpanel-release from https://repo.balcon.od.ua.
The panel makes the same comparison before it lets you change the update channel.
Checking before the first install
The first install command downloads alxpanel-release.rpm over HTTPS and trusts the key inside it. To check that key before trusting it, download it separately and compare the fingerprint with this page:
curl -fsSO https://repo.balcon.od.ua/RPM-GPG-KEY-alxpanel
gpg --show-keys --with-fingerprint RPM-GPG-KEY-alxpanel
Checking a package file
With the key imported into rpm (dnf does this at the first install):
rpm -K alxpanel-agent-*.rpm
digests signatures OK means the file is what we signed.