Tuesday, January 18, 2022

New GnuPG key for MySQL repositories

https://repo.mysql.com/RPM-GPG-KEY-mysql-2022


The existing MySQL GnuPG build key (5072E1F5) expires on 2022-02-16. We have generated a new GnuPG build key (3A79BD29) with the latest encryption algorithm to sign MySQL downloadable packages for January 2022 release.

Due to the GnuPG key update, systems configured to use the yum, suse and apt repository may report a signature verification error when upgrading to MySQL 8.0.28 or higher.

Here are the steps to update the GnuPG key for MySQL repositories:

For Apt repository:

Download the MySQL new GPG Public key and save it to a file, without adding any spaces or special characters. Then, add the key to your system's GPG keyring with the following command:

$> sudo apt-key add path/to/signature-file

Alternatively, users can download the GPG key to the APT keyring directly using the apt-key utility:

$> sudo apt-key adv --keyserver pgp.mit.edu --recv-keys 3A79BD29

The KeyID for MySQL 8.0.28 release packages and higher is 3A79BD29, as shown above. For earlier MySQL releases, the keyID is 5072E1F5. Using an incorrect key can cause a key verification error.

More information on the MySQL APT repository is available in Appendix A: Adding and Configuring the MySQL APT Repository Manually


For Yum | SUSE repository:

Users can import the new GnuPG key using the below command.

$> rpm --import https://repo.mysql.com/RPM-GPG-KEY-mysql-2022

Please refer to the Upgrading MySQL with the MySQL Yum Repository documentation for detailed instructions.

 


No comments:

Post a Comment

Announcing January 2024 Releases featuring MySQL 8.3.0 and 8.0.36

MySQL Server 8.3.0 and 8.0.36, new versions of the popular Open Source Database Management System, have been released in conjunction with th...