Forum Discussion

ysagade's avatar
ysagade
New Contributor
2 months ago

Cannot install on Fedora 42

I followed the Linux installation guide section for Fedora to try and install like so:

$ sudo rpm --import https://downloads.1password.com/linux/keys/1password.asc

$ sudo sh -c 'echo -e "[1password]\nname=1Password Stable Channel\nbaseurl=https://downloads.1password.com/linux/rpm/stable/\$basearch\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=\"https://downloads.1password.com/linux/keys/1password.asc\"" > /etc/yum.repos.d/1password.repo'

$  sudo dnf install 1password
Updating and loading repositories:
 1Password Stable Channel                                                                                                                             100% |  39.7 KiB/s |   3.8 KiB |  00m00s
>>> Librepo error: repomd.xml GPG signature verification error: Signing key not found                                                                                                         
 https://downloads.1password.com/linux/keys/1password.asc                                                                                             100% | 137.8 KiB/s |   2.9 KiB |  00m00s
Importing OpenPGP key 0x2012EA22:
 UserID     : "Code signing for 1Password <codesign@1password.com>"
 Fingerprint: 3FEF9748469ADBE15DA7CA80AC2D62742012EA22
 From       : https://downloads.1password.com/linux/keys/1password.asc
Is this ok [y/N]:

I looked around and found

 

 

2 Replies

  • Hello ysagade​! 👋

    I'm sorry that you're running into an issue when installing 1Password using Fedora. I suspect that you're running into a known issue that our development team is investigating. Can you try these alternate commands instead: 

    1. Add the key for the 1Password yum repository:
      sudo rpm --import https://downloads.1password.com/linux/keys/1password.asc
    2. Add the 1Password beta yum repository:
      sudo sh -c 'echo -e "[1password]\nname=1Password Stable Channel\nbaseurl=https://downloads.1password.com/linux/rpm/stable/\$basearch\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=\https://downloads.1password.com/linux/keys/1password.asc\" > /etc/yum.repos.d/1password.repo'
    3. Install 1Password: sudo dnf install 1password


    Let me know if that works. 

    -Dave

    #34633

  • AJCxZ0's avatar
    AJCxZ0
    Bronze Expert

    Say y(es). It's OK the first time, as dnf is validating and importing the key. You will not be asked to do so again for this key.
    The instructions should exclude that `rpm --import` step.

    ...recommends disabling (!!) repo_gpgcheck. This is smelly for a password manager.

    The occasions on which ignoring a signing key are rare and specific. This isn't one.