Questions tagged [gnupg]
The GNU Privacy Guard (GnuPG) is a free replacement for PGP.
648
questions
614
votes
15
answers
1.2m
views
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:...
237
votes
8
answers
320k
views
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 ...
178
votes
9
answers
356k
views
"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 ...
171
votes
3
answers
156k
views
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?
164
votes
14
answers
390k
views
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; ...
140
votes
2
answers
159k
views
GPG error: The following signatures couldn't be verified because the public key is not available [duplicate]
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 ...
134
votes
1
answer
304k
views
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY [duplicate]
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 ...
132
votes
6
answers
101k
views
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
...
119
votes
8
answers
652k
views
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 ...
115
votes
6
answers
110k
views
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 (...
94
votes
6
answers
374k
views
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 ...
61
votes
1
answer
22k
views
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 ...
53
votes
5
answers
40k
views
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 ...
51
votes
4
answers
52k
views
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....
42
votes
5
answers
70k
views
mysql PPA - invalid signature
I already have mysql-server package installed!!!
I want to make sure I have the most recent MySQL in my Ubuntu. So (long time ago) I added repo.mysql.com/apt/ubuntu PPA. Recently I noticed errors ...
41
votes
1
answer
103k
views
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....
40
votes
4
answers
51k
views
How can I clear my cached gpg password?
I've tried:
the SIGHUP method --> no succes
the cache timeout in gpg-agent.conf --> it seems that this file is not read, althougt I have the 'use-agent' line in gpg.conf
What should I do ?
36
votes
3
answers
126k
views
How do I import a public key?
When I ran an update, I get the following error.
GPG error: http://cran.wustl.edu maverick/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY ...
35
votes
4
answers
23k
views
gpg: invalid key resource URL '[…]/home:manuelschneid3r.asc.gpg'
I'm following the official guide to install Docker.
And in step 2 Add Docker’s official GPG key, I got the following error:
$ curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo apt-key ...
35
votes
2
answers
22k
views
How can I get GPG Agent to cache my password?
I'm a developer, and I commonly sign my Git commits with my GPG key. I've been able to get GPG Agent working properly on OSX so that it only asks me for my password once per day, but I'm having ...
34
votes
1
answer
97k
views
How to fix GPG in updater [duplicate]
I have asked this question before, but it was closed as a "duplicate." I can assure you that my scenario is original, as it does not refer to third party PPA's. I am having GPG problems with system ...
30
votes
3
answers
28k
views
Why is gpg getting upset and how do I stop it?
I recently migrated from one installation of Ubuntu to another, and in the process changed my username. I imported my public/private key pair into gpg, and while decryption (using my private key) ...
29
votes
5
answers
43k
views
How do I verify an asc key fingerprint?
At the moment, I'm trying to check the fingerprint of the oracle_vbox.asc key that I downloaded from http://www.virtualbox.org/wiki/Linux_Downloads: they provide the key and the fingerprint but no ...
28
votes
6
answers
27k
views
signature verification error for wine - index files failed to download - changing mirror doesn't help
When I sudo apt-get update I get the error shown below.
W: An error occurred during the signature verification.
The repository is not updated and the previous index files will be used.
GPG error: ...
28
votes
1
answer
41k
views
"no public key available" while upgrading using update-manager
I decided to upgrade
sudo update-manager -d
Then it's opening the update-manger GUI. After clicking the upgrade button It's return the below error list:
W:There is no public key available for the ...
27
votes
1
answer
63k
views
How do I import a private key into GPG so that it becomes the default key?
I'm trying to share a GnuPG key pair by importing it into each machine. This is how I'm doing it:
gpg --allow-secret-key-import --import secret.gpg.key
gpg --import public.gpg.key
The keys have been ...
24
votes
1
answer
62k
views
GPG ERROR NO_PUBKEY : WARNING: The following packages cannot be authenticated! [closed]
I have just stared to receive some strange errors regarding GPG keys. Namely I have just added ppa:ubuntu-toolchain-r/test and wanted to update and after that I got this:
W: GPG error: http://extras....
24
votes
2
answers
7k
views
Why isn't `apt upgrade` getting a new software key signature for skype?
After a recent apt update && apt full-upgrade I started getting the following error when running apt full-upgrade subsequently:
Get:4 https://repo.skype.com/deb stable InRelease [4,502 B] ...
23
votes
3
answers
23k
views
Clearsigned file isn't valid, from 01.org package?
I'm running Ubuntu 14.04 LTS, and I have an HD 4600 integrated graphics chip.
lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor Integrated ...
23
votes
0
answers
80k
views
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 76F1A20FF987672F [duplicate]
When I type sudo apt update I get this response:
Get:1 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease [6,242 B]
Ign:2 http://dl.google.com/linux/chrome/deb stable InRelease ...
22
votes
2
answers
15k
views
How do I check if my OpenPGP key is in the Ubuntu keyserver?
I'm in the process of adding my OpenPGP key to Launchpad and I just uploaded it to Ubuntu's keyserver. Now I can only continue once the key is available through the keyserver. Is there a way to check ...
21
votes
2
answers
16k
views
gpg decrypts files without asking for password
I run gpg -c file. It asks for a password (twice) and creates an encrypted file. So far so good.
When I run gpg file.gpg to decrypt the file it decrypts it without asking for the password ! needless ...
20
votes
1
answer
12k
views
How can I adjust the default passphrase caching duration for GPG/PGP/SSH keys?
As far as I know, gnome-keyring-daemon caches passphrases for keys by default until I log out. I would like to set the default to something like "cache for 10 minutes". How can I do that in Ubuntu 12....
20
votes
4
answers
15k
views
How to disable the keyring for SSH and GPG?
How to disable the keyring for SSH and GPG ?
I would like to keep the keyring for the wifi and other stuff. I'm using Ubuntu 12.04.
19
votes
3
answers
3k
views
gpg: keyblock resource ‘/etc/apt/trusted.gpg.d//webupd8team-sublime-text-3.gpg’: resource limit
No matter what I do, I get the following error:
gpg: keyblock resource ‘/etc/apt/trusted.gpg.d//webupd8team-sublime-text-3.gpg’: resource limit
The original error(Dutch)
Original Dutch
sudo apt-...
18
votes
1
answer
15k
views
How do I use gpg-agent as with ssh-agent+ssh-add?
ssh-agent is very easy to use, I start it and add keys using ssh-add keyfile. After killing the process ssh-agent, all files are gone.
How can I get the same behavior with gpg-agent? The closest ...
17
votes
2
answers
8k
views
How to sign files with Ubuntu command-line tools and my own keys?
I want to sign some Python code files I wrote, because they are plug-in modules for one of my projects. For distributing it, I want that the user can be sure a plug-in is verified and safe (because ...
17
votes
2
answers
13k
views
I am unable to generate a gpg key through the keyring program
Whenever I try to generate a gpg key through the system's GPG program, it asks for my name, email, and password then everything except for the GPG program's main window disappears.
Upon using gpg key-...
16
votes
7
answers
33k
views
Not able to install Mongodb in Ubuntu 22.04
I am not able to install MongoDB on Ubuntu 22.04. I am following the official documentation for the installation.
This is the output I am getting after following the installation instructions:
https:/...
15
votes
3
answers
19k
views
How do I look inside apt/trusted.gpg?
I like to put the contents of /etc inside git, so I can see what auto-updates change, and when something breaks, so I can go back and find out what I changed since it last worked.
At the moment I'm ...
15
votes
1
answer
16k
views
How do I publish a GPG Key?
This link works for Ubuntu 10 https://launchpad.net/+help-registry/openpgp-keys.html#publish
How can I do this in Ubuntu 12.10 because its different in Ubuntu 12.10.
15
votes
3
answers
6k
views
Recover personal PGP key from old home
Many lives ago, I created a GPG key to sign the Ubuntu Code of Conduct on Launchpad. I haven't really used it since. Some time later, I backed up my home and started fresh.
That was all back in 2009. ...
15
votes
2
answers
9k
views
Disable gnome from asking passphrase in GUI when using ssh and gpg from terminal
Ever since I installed Ubuntu Desktop 16.10 Gnome(previously I had 15.10), I have been annoyed with the fact that whenever I try to add an SSH key or import a GPG key using terminal a GUI popup box ...
14
votes
3
answers
56k
views
The repository 'http://dl.google.com/linux/chrome/deb stable Release' does not have a Release file
After executing this command
sudo apt-get update && sudo apt-get -y upgrade
I get this error
W: The repository 'http://dl.google.com/linux/chrome/deb stable Release' does not have a Release ...
14
votes
2
answers
11k
views
gpg-agent can't be reached
On a fresh Ubuntu 16.04 install, I would like to use gpg to cypher my database backups, but I can't have the gpg-agent working.
postgres@db:~$ gpg -s test.txt
You need a passphrase to unlock the ...
14
votes
4
answers
21k
views
How do I add a repository from behind a proxy?
I've a problem at the office. We're behind a proxy (which is set and applied at ubuntu proxy settings) and when I try to add a repository from terminal, I get:
Error reading --some url here--: ...
14
votes
1
answer
16k
views
How to safely download and gpg verify a Debian source package?
I need specific (source or binary) packages from Debian.
Can I download the package using apt-get?
How can I add the Debian repository to my sources.list so it only gets used on a by case base? ...
13
votes
1
answer
18k
views
What is the difference between PGP and RSA protocols?
PGP and RSA protocols are the two widely used protocols in a number of servers and email applications for security with public/private key pair.
What is the difference between them? What other popular ...
13
votes
3
answers
25k
views
No gpg key from behind a firewall
Just stumbled over this closed thread here:
GPG Error while running apt-get
Same problem here, Ubuntu 12.04 behind a firewall and proxy.
I dont think that matter is duplicate of the given topic.
So ...
13
votes
1
answer
11k
views
If I have multiple OpenPGP keys in GnuPG with the same user ID/e-mail address, how can I distinguish between them?
I have multiple OpenPGP keys that I am managing with GPG. The problem is, they have the same user ID and the same e-mail address. How do I tell GPG the difference when I am, say, encrypting a file?