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 signature can't be verified. #20

Closed
plainas opened this issue Apr 9, 2019 · 6 comments
Closed

gpg signature can't be verified. #20

plainas opened this issue Apr 9, 2019 · 6 comments

Comments

@plainas
Copy link

plainas commented Apr 9, 2019

Hey. I did get wireguard installed on a raspberry pi 3 using these instructions. However, the packages are not verified. It appears that the instructions to import the key need to be fixed/updated.

This is the error I got.

W: GPG error: http://deb.debian.org/debian unstable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7638D0442B90D010 NO_PUBKEY 04EE7237B7D453EC
W: The repository 'http://deb.debian.org/debian unstable InRelease' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
@jm33-m0
Copy link
Contributor

jm33-m0 commented Apr 13, 2019

as the error message indicates, you should import the two public keys as well:

apt-key adv --keyserver   keyserver.ubuntu.com --recv-keys 7638D0442B90D010
apt-key adv --keyserver   keyserver.ubuntu.com --recv-keys 04EE7237B7D453EC

@jm33-m0
Copy link
Contributor

jm33-m0 commented Apr 13, 2019

created a pr to fix #20:
#21

@plainas
Copy link
Author

plainas commented Apr 23, 2019

Closing in favor of #21

@plainas plainas closed this as completed Apr 23, 2019
@CanntAim
Copy link

CanntAim commented Aug 6, 2019

These are keys from debian key ring? It seems like the better idea is to just run:

sudo apt-get install debian-archive-keyring
sudo apt-get install debian-keyring

@farrukh43
Copy link

farrukh43 commented Jul 23, 2020

apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 7638D0442B90D010
apt-key adv --keyserver hkp://keys.gnupg.net --recv-keys 04EE7237B7D453EC

@wahabshah
Copy link

wahabshah commented Apr 22, 2021

I had an old container which had debain stretch with debian-archive-keyring at version 2017.5 and suddenly it stopped working as with the above errors caused because of not having buster keys although i had container with stretch.
But then did manually update of debian-archive-keyring to version 2017.5+deb9u1 after logging into container and it worked:-

sudo apt update && sudo apt-get install --only-upgrade debian-archive-keyring

and then checking it in apt-key :-

sudo apt-key list

It showed then buster keys in the list and could update

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

5 participants