> HowTo Update PGP Package Signing Keys Due to the deprecation of SHA-1 in RHEL9 , we had to update our PGP keys used to sign packages.

# HowTo Update PGP Package Signing Keys

Due to the [deprecation of SHA-1 in RHEL9](https://www.redhat.com/en/blog/rhel-security-sha-1-package-signatures-distrusted-rhel-9), we had to update our PGP keys used to sign packages. This has created some side effects for hosts with existing packages installed, similar to the one below on apt based systems:

***The following signatures couldn’t be verified because the public key is not available: NO\_PUBKEY 3D84C955924F7599***

In order to solve this, please follow the below instructions:

-   RPM (CentOS and Rocky)  
    The system should detect that a new key is installed and handle that automatically. All you need to do is to type y when this message appears

```
Importing GPG key 0x924F7599:
 Userid     : "Luca Deri <deri@ntop.org>"
 Fingerprint: 8E07 231F 0575 7F56 FECE 3977 3D84 C955 924F 7599
 From       : https://packages.ntop.org/centos/RPM-GPG-KEY-deri
Is this ok [y/N]: y
```

-   APT (Debian, Ubuntu, PiOS)  
    Before upgrading your packages with apt update && apt upgrade, please:
    -   Download the apt-ntop (or apt-ntop-stable) repository package as described at [http://packages.ntop.org](http://packages.ntop.org/)
    -   Reinstall the repository package. This will update the apt files and download the new ntop key.

Note that unless you execute the above steps, the ntopng update from the top right menu will not work as new packages will not be detected as valid.

## Related questions

-   [Do You Archive Past Package Versions?](https://www.ntop.org/faq/do-you-archive-past-package-versions/)
-   [HowTo Join Public ntop Discussions](https://www.ntop.org/faq/howto-join-public-ntop-discussions/)
-   [Why you don’t keep an archive of old package versions?](https://www.ntop.org/faq/why-you-dont-keep-an-archive-of-old-package-versions/)

## Learn more about ntop products

-   [ntop products overview and features](https://www.ntop.org/products/)
-   [Tags in ntopng: Automatically Spot (and Track) Misconfigured Hosts](https://www.ntop.org/asset-tags-and-ttl/)
-   [ntopng 7.0 in Practice: Network Visibility and Security Monitoring with Open Source](https://www.ntop.org/ntopng-7-practice/)
-   [All frequently asked questions](https://www.ntop.org/support/need-help/faq/)

## Ready to see it on your network?

Download the free Community edition, or talk to the ntop team about scale, licensing and support.

[Download ntopng free](https://www.ntop.org/support/documentation/software-installation/)[Talk to an engineer](https://www.ntop.org/support/need-help/contacts/)
Source: https://www.ntop.org/faq/howto-update-pgp-package-signing-keys/