I’m seeing a similar issue with the AmazonLinux yum repos.
Public key for terraform-1.3.7-1.x86_64.rpm is not installed
(3/3): terraform-1.3.7-1.x86_64.rpm | 13 MB 00:00:01
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 2.9 MB/s | 14 MB 00:00:04
Retrieving key from https://rpm.releases.hashicorp.com/gpg
Invalid GPG Key from https://rpm.releases.hashicorp.com/gpg: No key found in given key data
A similar issue happens if I try to import the GPG key manually:
bash-4.2# rpm --import https://rpm.releases.hashicorp.com/gpg
error: https://rpm.releases.hashicorp.com/gpg: key 1 not an armored public key.