Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add RPM-GPG-KEY-CentOS-Official-SHA256 #119

Merged
merged 1 commit into from
Jun 11, 2024

Conversation

hroncok
Copy link
Contributor

@hroncok hroncok commented Jun 11, 2024

@hroncok
Copy link
Contributor Author

hroncok commented Jun 11, 2024

I have tested this together with rpm-software-management/mock#1383 and it works.

@Conan-Kudo
Copy link
Member

Isn't this the same file? It doesn't look any different than the -Official one.

@hroncok
Copy link
Contributor Author

hroncok commented Jun 11, 2024

$ diff -u keys/centos/RPM-GPG-KEY-CentOS-Official keys/centos/RPM-GPG-KEY-CentOS-Official-SHA256 
--- keys/centos/RPM-GPG-KEY-CentOS-Official	2022-08-10 13:48:35.241410208 +0200
+++ keys/centos/RPM-GPG-KEY-CentOS-Official-SHA256	2024-06-11 14:47:06.865079644 +0200
@@ -13,18 +13,18 @@
 Gat3aqU3qtBXOrA/dPkX9cWE+UR5wo/A2UdKJZLlGhM2WRJ3ltmGT48V9CeS6N9Y
 m4CKdzvg7EWjlTlFrd/8WJ2KoqOE9leDPeXRPncubJfJ6LLIHyG09h9kKQARAQAB
 tDpDZW50T1MgKENlbnRPUyBPZmZpY2lhbCBTaWduaW5nIEtleSkgPHNlY3VyaXR5
-QGNlbnRvcy5vcmc+iQI3BBMBAgAhBQJczFsZAhsDBgsJCAcDAgYVCAIJCgsDFgIB
-Ah4BAheAAAoJEAW1VbOEg8ZdjOsP/2ygSxH9jqffOU9SKyJDlraL2gIutqZ3B8pl
-Gy/Qnb9QD1EJVb4ZxOEhcY2W9VJfIpnf3yBuAto7zvKe/G1nxH4Bt6WTJQCkUjcs
-N3qPWsx1VslsAEz7bXGiHym6Ay4xF28bQ9XYIokIQXd0T2rD3/lNGxNtORZ2bKjD
-vOzYzvh2idUIY1DgGWJ11gtHFIA9CvHcW+SMPEhkcK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y7FZesQaVrXeJlxRcEj65rpm1ZtZ
+mwAE1k2LsRkvLyr9hpZkXnMeOKYIPwpdmBjXNVNVbq7097OxZOYPPos+iZKMWfl4
+UQnMsCVxonZtamdI4qEc3jMkSZPJKgOplGOms5jdY+EdSvsFWEQ0Snd3dChfU7DV
+o4Rbcy5klwHrvuZIOLaovhyxuRPhP6gV9+gzpTK/7vrvDlFbbZE6s212mDZ13RWB
+mTfAxz4h
+=agO/
 -----END PGP PUBLIC KEY BLOCK-----

@hroncok
Copy link
Contributor Author

hroncok commented Jun 11, 2024

Also, if I use the -Official one:

Importing GPG key 0x8483C65D:
 Userid     : "CentOS (CentOS Official Signing Key) <[email protected]>"
 Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D
 From       : /usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official
error: Certificate 05B555B38483C65D:
  Policy rejects 05B555B38483C65D: No binding signature at time 2024-06-11T13:27:35Z
Importing GPG key 0x8483C65D:
 Userid     : "CentOS (CentOS Official Signing Key) <[email protected]>"
 Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D
 From       : /usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official
error: Certificate 05B555B38483C65D:
  Policy rejects 05B555B38483C65D: No binding signature at time 2024-06-11T13:27:38Z
Key import failed (code 2). Failing package is: alternatives-1.26-3.el10.x86_64
 GPG Keys are configured as: file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official
Public key for audit-libs-4.0-8.el10.x86_64.rpm is not installed. Failing package is: audit-libs-4.0-8.el10.x86_64
 GPG Keys are configured as: file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official
Public key for authselect-1.5.0-5.el10.x86_64.rpm is not installed. Failing package is: authselect-1.5.0-5.el10.x86_64
 GPG Keys are configured as: file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official
Public key for authselect-libs-1.5.0-5.el10.x86_64.rpm is not installed. Failing package is: authselect-libs-1.5.0-5.el10.x86_64
 GPG Keys are configured as: file:///usr/share/distribution-gpg-keys/centos/RPM-GPG-KEY-CentOS-Official
...

@Conan-Kudo Conan-Kudo merged commit 7226b08 into rpm-software-management:main Jun 11, 2024
1 check passed
@hroncok hroncok deleted the c10s branch June 11, 2024 14:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants