Difficulty with rpm-ostree install on Kionite

genson
genson
Community Member
edited January 2023 in Linux

I just moved my family to 1password. Last night I was able to conduct a full rpm-ostree install of the 1password client on my Kionite Fedora 37 using:

cat > /etc/yum.repos.d/1password.repo << EOF
[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"
gpgkey=file:///etc/pki/rpm-gpg/1password.asc
EOF
wget https://downloads.1password.com/linux/keys/1password.asc -O /etc/pki/rpm-gpg/1password.asc
rpm-ostree install 1password

When I try to do the same to my other 3 family computers running the same OS, I get:

Updating metadata for '1password'... done
error: Updating rpm-md repo '1password': cannot update repo '1password': Cannot download repomd.xml: Cannot download repodata/repomd.xml: All mirrors were tried; Last error: Status code: 403 for https://downloads.1password.com/linux/rpm/stable/repodata/repomd.xml (IP: 108.138.85.127)

I understand that the best practices for Kionite/Silverblue is to use flatpak, but the flatpak is missing browser integration. Since I have pressure my family to make extra-strong master passwords, typing them in every time a browser is restarted is very painful. My understanding is that this is rectified using the non-sandboxed client, if I could only get it installed everywhere.

Any help on this would be appreciated.
I would like to fill out the version of the Firefox extension I am using, but I can't seem to find it anywhere. I am probably missing something, but the link below just tells you that the browser keeps it up to date.


1Password Version: 8.9.14
Extension Version: Not Provided
OS Version: Not Provided
Browser:_ Firefox

Comments

  • genson
    genson
    Community Member

    Sorry for the misspelling. That was supposed to be Kinoite rather than Kionite all 4 times I wrote it. Perhaps I should just start putting Silverblue since its basically the same thing.

  • genson
    genson
    Community Member

    I figured it out! The $basearch was missing from the end of the baseurl, because it wasn't commented out in the script I was running on the other computers. For anyone who needs this now, here are the steps:

    All of this will have to be done with super user access. I am fairly certain there is a way to write the command below so it will work with sudo, but I just did all of this from sudo -s 'root' prompt. If someone has a way to write the below commands to use regular sudo, please let me know.

    sudo -s
    
    cat > /etc/yum.repos.d/1password.repo << EOF
    [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"
    gpgkey=file:///etc/pki/rpm-gpg/1password.asc
    EOF
    
    wget https://downloads.1password.com/linux/keys/1password.asc -O /etc/pki/rpm-gpg/1password.as
    
    rpm-ostree install 1password
    
  • Hey @genson, thanks for sharing and updating with your solution. I'm glad to hear you were able to successfully install 1Password 😄

  • genson
    genson
    Community Member

    1 last update. I recently had to set repo_gpgcheck=0 in the above 1password.repo file so that software center and discover would work.

  • Thanks for the update @genson!

  • pgrm
    pgrm
    Community Member

    Thanks a lot @genson

    @AliH1P it would be awesome if this could make it to the documentation on https://support.1password.com/install-linux/

  • Hey @pgrm, thanks for the suggestion. While I can't make any promises, this is definitely something we can look into 👍

    Ali

This discussion has been closed.