Questions tagged [gnupg]

The GNU Privacy Guard (GnuPG) is a free replacement for PGP.

GnuPG allows to encrypt and sign your data and communication, features a versatile key management system as well as access modules for all kinds of public key directories. GnuPG, also known as GPG, is a command line tool with features for easy integration with other applications. A wealth of frontend applications and libraries are available. Version 2 of GnuPG also provides support for S/MIME.

647 questions
628
votes
16 answers

How do I fix the GPG error "NO_PUBKEY"?

I added some extra repositories with the Software Sources program. But when I reload the package database, I get an error like the following: W: GPG error: http://ppa.launchpad.net trusty InRelease: The following signatures couldn't be verified…
Agmenor
  • 16,394
244
votes
8 answers

How can I remove gpg key that I added using apt-key add -?

I don't need the key in my server's keyring anymore. Is it possible to remove it? I added the key using this command: curl http://repo.varnish-cache.org/debian/GPG-key.txt | apt-key add - Thanks for helping
Raymond
  • 2,555
189
votes
10 answers

"GPG error: Release: The following signatures were invalid: BADSIG"

I ran this command in the Terminal: sudo apt-get update Updating ends with the following error report: W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error:…
beeju
  • 3,123
175
votes
3 answers

Difference between PGP and GPG

What are the main differences between PGP (Pretty Good Privacy) and GPG (GNU Privacy Guard) in relationship with security in Ubuntu and Launchpad?
Luis Alvarado
  • 216,643
165
votes
14 answers

How to fix missing GPG keys?

I have just installed Ubuntu 12.04 and I added some repo, and when I did apt-get update, I got missing gpg key. Following command seems to doesn't work for me: apt-get update 2> /tmp/keymissing; for key in $(grep "NO_PUBKEY" /tmp/keymissing |sed…
Fih
  • 1,943
142
votes
1 answer

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY

When I run apt-get update, I get this error message: Err:18 http://dl.google.com/linux/chrome/deb stable Release.gpg The following signatures couldn't be verified because the public key is not available: NO_PUBKEY…
142
votes
2 answers

GPG error: The following signatures couldn't be verified because the public key is not available

Possible Duplicate: How do I fix the GPG error “NO_PUBKEY”? after sudo apt-get update I get this error: W: GPG error: http://archive.hivemind.me all Release: The following signatures couldn't be verified because the public key is not available:…
PabloJimeno
  • 1,525
132
votes
6 answers

What is the easiest way to resolve apt-get BADSIG GPG errors?

I frequently cross this issue, and always have to google for an answer. Does anyone have a permanent fix for BADSIG errors from apt-get? W: GPG error: http://download.virtualbox.org lucid Release: The following signatures were invalid: BADSIG…
cmcginty
  • 6,016
131
votes
8 answers

Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg)

I just upgraded from Ubuntu 21.10 to 22.04. sudo apt update ends with the following warnings... W: https://linux.teamviewer.com/deb/dists/stable/InRelease: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION…
heynnema
  • 73,649
123
votes
8 answers

How to add a GPG key to the apt sources keyring?

Ubuntu Doc page says this: It is advisable that you add the Opera GPG key. wget -qO - http://deb.opera.com/archive.key | sudo apt-key add - Where do I add that? I want to take the advice but I don't know what part of software center to add gpg…
bruce
  • 2,977
97
votes
6 answers

How do I bypass/ignore the gpg signature checks of apt?

All of the key-servers I visit are timing out. I need to install packages without checking the signatures of the public keys. Is there a way to bypass all the signature checks/ignore all of the signature errors or fool apt into thinking the…
61
votes
1 answer

How to share one pgp-key on multiple machines?

How can I export a pgp-key from one machine and import it to another? The only way I figured out (in seahorse) was to import it to the section other keys. But I want to use one single pgp-key from diffrent machines. Is this easier to solve via…
pschmidt
  • 3,889
53
votes
5 answers

Why yarn key update failes all the time? GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures couldn't be verified

Every time apt update shows error W: GPG error: https://dl.yarnpkg.com/debian stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23E7166788B63E1E E: The repository…
51
votes
4 answers

apt update throws signature error in Ubuntu 20.04 container on arm

I am trying to build Raspberry Pi docker images but I am always having the same error, similar to this one, this one and this one. While running the command apt update as root in a arm32v7/ubuntu:20.04 (or just ubuntu:latest), I get the following…
TSpark
  • 1,399
43
votes
1 answer

How do I install GnuPG 2.0?

In Ubuntu 15.10 when using Mozilla Thunderbird with Enigmail I get the following warning (in Swedish): Du använder GnuPG version 1.4.18, vilken inte längre stöds. Enigmail kräver GnuPG version 2.0.7 eller senare. Vänligen uppgradera din …
1
2 3
43 44