Forum Discussion

mvogt1's avatar
mvogt1
New Contributor
29 days ago

Bad GPG signature (rpm repo)

The repo created as written here:

https://support.1password.com/install-linux/#fedora-or-red-hat-enterprise-linux

$ cat /etc/yum.repos.d/1password.repo 
[1password]
name=1Password Stable Channel
baseurl=https://downloads.1password.com/linux/rpm/stable/$basearch
enabled=1
gpgcheck=1
repo_gpgcheck=1
gpgkey=https://downloads.1password.com/linux/keys/1password.asc

 

Creates the error:

 

$ dnf install 1password
1Password Stable Channel                                                                                                                                                         7.0 kB/s | 833  B     00:00    
1Password Stable Channel                                                                                                                                                          66 kB/s | 2.9 kB     00:00    
1Password Stable Channel                                                                                                                                                         7.1 kB/s | 833  B     00:00    
Error: Failed to download metadata for repo '1password': repomd.xml GPG signature verification error: Bad GPG signature

The file:

 /opt/1Password/after-install.sh 

 

contains:

 # repo_gpgcheck is disabled(system default)
  # This is due to DNF not using keys that have been imported.
  # Package signatures are still verified due to gpgcheck=1
  # https://bugzilla.redhat.com/show_bug.cgi?id=1768206
  if [ -d /etc/yum.repos.d ]; then
    cat > /etc/yum.repos.d/1password.repo <<- EOM
# This file is automatically added and configured by the 1Password package. Modifications may be overwritten.
[1password]
name="$NAME"
baseurl=https://downloads.1password.com/linux/rpm/${CHANNEL}/\$basearch
enabled=1
gpgcheck=1
#repo_gpgcheck=1
gpgkey="$ONEPASSWORD_KEY_URL"
EOM

Thus removing it.

 

==> You should update the webpage

No RepliesBe the first to reply