Topic: question about missing keys

I tried googling my way to an answer but I am still unsure so I decided to post. Thanks in advance for any help

Trying to install 7.4 on RHEL 8, and I am getting this error. I found a lot of articles where the instructions just showing everyone answering yes to this question, but I'm thrown by the missing key and the OK to Import prompt?

warning: /var/cache/dnf/remi-modular-6408ecca79e22107/packages/php-json-7.4.12-1.el8.remi.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 5f11735a: NOKEY
Remi's Modular repository for Enterprise Linux 8 - x86_64                                                                                                  3.0 MB/s | 3.1 kB     00:00    
Importing GPG key 0x5F11735A:
 Userid     : "Remi's RPM repository <remi@remirepo.net>"
 Fingerprint: 6B38 FEA7 231F 87F5 2B9C A9D8 5550 9759 5F11 735A
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-remi.el8
Is this ok [y/N]: n
Safe Remi's RPM repository for Enterprise Linux 8 - x86_64                                                                                                 3.0 MB/s | 3.1 kB     00:00    
Importing GPG key 0x5F11735A:
 Userid     : "Remi's RPM repository <remi@remirepo.net>"
 Fingerprint: 6B38 FEA7 231F 87F5 2B9C A9D8 5550 9759 5F11 735A
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-remi.el8
Is this ok [y/N]: n
Didn't install any keys

Re: question about missing keys

Of course, when adding a new repository, yuu have to import its key to be able to check installed RPM.

In paranoia mode, you can check the fingerprint before accepting,
checking from https://blog.remirepo.net/pages/Config-en (end of page)

You can also import the key before using dnf (manual download + import)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: question about missing keys

> Trying to install 7.4 on RHEL 8

Notice than RHEL 8.3 have php:7.4 in its official AppStream repository wink

So, my repository is only needed if you need more extensions... or a more recent version

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: question about missing keys

Thank you very much for the help. I sent over a little thank you via PayPal. Thanks again!

Re: question about missing keys

smile

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi