Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GPG signatures found, but none are in trusted keyring #1187

Closed
afranke opened this issue Nov 22, 2017 · 6 comments
Closed

GPG signatures found, but none are in trusted keyring #1187

afranke opened this issue Nov 22, 2017 · 6 comments

Comments

@afranke
Copy link

afranke commented Nov 22, 2017

I got the following error for a while. Update via GNOME Software works without an issue. This is on an up to date Fedora 26.

$ flatpak update
Looking for updates...
Error updating remote metadata for 'gnome': GPG signatures found, but none are in trusted keyring
$ flatpak remote-list --show-details 
Name                            Title   URL                                      Priority Options            
flathub                         Flathub https://flathub.org/repo/                1        system             
gnome                           -       http://sdk.gnome.org/repo/               1        system             
org.perezdecastro.Revolt-origin Vector  https://flatpak.perezdecastro.org/revolt 0        system,no-enumerate

Let me know if you need more details.

@mwleeds
Copy link
Collaborator

mwleeds commented Nov 26, 2017

Check if /var/lib/flatpak/repo/gnome.trustedkeys.gpg exists

@afranke
Copy link
Author

afranke commented Nov 27, 2017

It doesn’t! How do I fix it?

@mwleeds
Copy link
Collaborator

mwleeds commented Nov 27, 2017

flatpak remote-delete --force gnome; flatpak remote-add gnome https://sdk.gnome.org/gnome.flatpakrepo

I wonder how the remote was added without the GPG keys

@afranke
Copy link
Author

afranke commented Nov 27, 2017

That indeed fixed it. I have no idea how it got in that state, but I started using flatpak quite early. Is it possible that I added the repo before there was GPG support?

@mwleeds
Copy link
Collaborator

mwleeds commented Dec 2, 2017

It's possible you did something like flatpak remote-add gnome https://sdk.gnome.org/repo/ without --gpg-import. For me that gives the GPG signatures found, but none are in trusted keyring error but adds the remote anyway. Or maybe you passed --no-gpg-verify for some reason.

@afranke
Copy link
Author

afranke commented Dec 4, 2017

I remember following instructions from a website but not the specifics, so maybe these instructions told me to do that. Probably no bug then, closing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants