Questions tagged [gnupg]
The GNU Privacy Guard (GnuPG) is a free replacement for PGP.
637
questions
0
votes
0
answers
32
views
apt-key deprecated. Install key without installing gpg?
I know that apt-key is deprecated and want to install kubectl like this:
docker run -it ubuntu:22.04 bash
apt update; apt install gpg curl sudo
curl -s https://packages.cloud.google.com/apt/doc/apt-...
0
votes
0
answers
71
views
Problem with InfluxDB key causing GPG error during apt update
If I run an apt update, I get this error:
W: An error occurred during the signature verification.
The repository is not updated and the previous index files will be used.
GPG error: https://repos....
0
votes
0
answers
27
views
Unable to upgrade from 22.10 to 23.04 becuase of nvidia gpg key
Every time I try sudo apt update, I get the error, GPG error: https://developer.download.nvidia.com/hpc-sdk/ubuntu/amd64 InRelease: The following signatures couldn't be verified because the public ...
0
votes
0
answers
19
views
I can't get the app store icon
I uninstalled some apps in Ubuntu 20.04 using the app store. After a while I tried to install a new program, but I can't get the app store icon anymore. The system is searching forever, but gives no ...
0
votes
1
answer
66
views
Permission Denied when trying to Install Anaconda Public GPG Key to the Trusted Store
Context:
I'm setting up JupyterHub on an EC2 instance running Ubuntu 22.04 LTS and I'm trying to install the Anaconda Public GPG Key to Trusted Store via the following command:
curl https://repo....
0
votes
0
answers
33
views
Skype - getting rid off cross-signing keys
With a fresh Ubuntu 23.04 installation, I would like to manage all keys in a proper way and get rid off the cross-siging threat.
I've installed Skype simply by:
wget -c https://repo.skype.com/latest/...
1
vote
0
answers
47
views
Can't verify repository GPG signature even though key is installed
I'm facing a warning whenever I try to rur apt update:
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 23F3D4EA75716059
This is a common issue, ...
0
votes
0
answers
61
views
sudo apt-get update gives gpg keyring warning messages
System details
OS - Ubuntu 22.04
Problem
I am running the command sudo apt-get update on my Ubuntu 22.04 in the terminal. But I am getting the gpg keyring warning messages as follows
W: http://...
1
vote
1
answer
306
views
Unable to Complete MongoDB Install Ubuntu 22.04
I'm following MongoDB's official guide for installing on Ubuntu 22.04, but I'm unable to get past step three. I've tried importing the public key and created the list file. When I attempt to execute ...
3
votes
0
answers
61
views
Help me understand gpg outcome
I am following https://ubuntu.com/tutorials/how-to-verify-ubuntu#1-overview.
to download an Ubuntu ISO file.
I run gpg --keyid-format long --verify SHA256SUMS.gpg SHA256SUMS
and get the following ...
0
votes
0
answers
234
views
gpg error: can't connect to the agent: IPC connect call failed
I am using Ubuntu 20.04.6 LTS. I am unable to run any gpg commands without using sudo. I can't generate keys, I can't list keys etc. The error message I get is:
gpg: starting migration from earlier ...
0
votes
0
answers
144
views
Ubuntu 22.04 - connection between adapting to apt-key deprecation and Ubuntu Software and Updates (software-properties-gtk)
With Ubuntu 22.04 and beyond, apt-key has been deprecated and will eventually be removed.
This creates deprecation messages, so to solve this and attempt to improve security, I followed the following ...
0
votes
0
answers
426
views
Getting a keying error - > Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for details [duplicate]
I am new to ubuntu it was working just fine after some time when i tried to update i ran to this error
(base) siddharth@Siddharth:~$ sudo apt update
[sudo] password for siddharth:
Hit:1 http://archive....
0
votes
0
answers
80
views
Customizing LiveCD 22.04 - unable to boot - Squashfs GPG signature / keyring issues
I have spent last few weeks trying to customize Ubuntu LiveCD. Main guide which I follow is https://help.ubuntu.com/community/LiveCDCustomization This produces a modified image, but upon booting a ...
1
vote
1
answer
223
views
gpg-agent is older than us: how to find "us"?
From what I understand, the gpg-agent is older than us warning happens when the gpg-agent version doesn't match the gpg version, often because there are two gpg-agents installed (and sharing the ...
0
votes
0
answers
37
views
Google Authenticator not giving correct verification code
I'm setting up a google authenticator for a linux image that i'm creating. Every time it gives me a verification code it's different to what my phone gives me.
My question is because this is time ...
0
votes
1
answer
252
views
GPG - Bad Passphrase when using a signing key
I'm using duplicity (via duplicity-backup.sh https://github.com/zertrin/duplicity-backup.sh - no longer under development or supported, but it's a convenient wrapper for duplicity), which I've been ...
0
votes
1
answer
161
views
How to remove a PubKey
I'm getting the error:
GPG error: file:/var/cudnn-local-repo-ubuntu2004-8.8.0.121 InRelease:
The following signatures couldn't be verified because the public key is not available:
NO_PUBKEY ...
0
votes
0
answers
715
views
GPG error, but could not update public key
When I ran:
sudo apt-get update
I got these errors:
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://...
0
votes
0
answers
18
views
Opera repo not signed due to GPG error NO_PUBKEY [duplicate]
I am unable to perform software updates on my new Ubuntu 22.04 installation due to the following error/issue:
Warning: GPG error: https://deb.opera.com/opera-stable stable InRelease: The following ...
0
votes
0
answers
15
views
Key is stored in legacy trusted.gpg keyring after installing mongoDB in ubuntu 22.04 [duplicate]
W: https://repo.mongodb.org/apt/ubuntu/dists/focal/mongodb-org/6.0/Release.gpg: Key is stored in legacy trusted.gpg keyring (/etc/apt/trusted.gpg), see the DEPRECATION section in apt-key(8) for ...
0
votes
0
answers
45
views
Ubuntu 22.04 get an error message with Steam gpg.d/ [duplicate]
I'm still illiterate when it comes to coding and updating Ubuntu every two years seems to create more problems than it solves for me. At 66 years of age, I really would prefer NOT to have to go back ...
0
votes
1
answer
402
views
GPG error on inexistent NO_PUBKEY id
I am facing a common issue on my ubuntu 22.04: can't execute apt-get update successfully because of missing signatures:
Reading package lists... Done
W: GPG error: https://dl.k6.io/deb stable ...
0
votes
0
answers
28
views
How to fix this warnings in apt update? [duplicate]
im facing this problems in apt update in Ubuntu 22.04:
Descargados 10,7 kB en 9s (1.176 B/s) ...
1
vote
0
answers
139
views
Exact commands to replace deprecated `add-apt-repository ppa:<username>/<package>` with gpg, curl, etc
I understand that add-apt-repository is being deprecated because it adds the repo key globally instead of specifically for the package(s) that need it. However, the examples I see on the web don't ...
1
vote
0
answers
20
views
Upgraded from 20.04 to 22.04 on Dell machine and Dell repo no longer has a public key in update [duplicate]
I recently upgraded from 20.04 to 22.04 on a Dell Inspiron. When I ran apt-get update after the upgrade I got the following error:
Get:1 http://dell.archive.canonical.com jammy InRelease [197 kB]
Err:...
1
vote
0
answers
170
views
Problem with Repository and Keys
I wanted to update my I2P software and was following the steps provided in the official I2P website (https://geti2p.net/en/download/debian):
Open a terminal and enter:
sudo apt-add-repository ppa:...
1
vote
1
answer
204
views
apt-key command: What is the difference among '--recv-key', '--recv-keys' and '--recv' options?
For documentation purposes, about the apt-key command in many places I found these two variations:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys PUBKEY
sudo apt-key adv --...
0
votes
0
answers
148
views
Unable to install any software or upgrade in ubuntu 20.04 (unmet dependencies error)
When I am trying to upgrade/ install(any software). I am facing below error
$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
You ...
0
votes
0
answers
625
views
How do I add a gpg key and ppa for mozillavpn without using apt-key or add-apt-repository?
I want to install mozillavpn without using apt-key or add-apt-repository because using those methods leads to deprecation warnings every time you run sudo apt update. If you follow the Mozilla VPN ...
0
votes
0
answers
18
views
Jfrog artifactory gpg key error [duplicate]
I have a remote repository in jfrog artifactory that is connected to internet and downloads my apt ubuntu packages with address of 192.168.102.52:8082/apt
I have added deb [trusted=yes] http://192.168....
0
votes
1
answer
1k
views
Ubuntu 22.10 : Fix missing GPG Key
On ubuntu 22.10, I am facing this error of missing public key, went through a lot of articles and tried doing everything but still the error remains the same.
Using this command, sudo apt-key adv --...
1
vote
1
answer
852
views
Move keys from legacy trusted.gpg to usr/share/keyrings for Ubuntu sources as well
After warnings about apt-key becoming deprecated and conscientious study on signing files, OpenPgp standard, gpg tool etc. (I'm new to Linux and learning) I've managed to move all my public keys from ...
2
votes
1
answer
2k
views
How to solve GPG Error with packages.microsoft.com PUBKEY
After installing MS VS Code and doing sudo apt update. an error appeared.
Err:4 https://packages.microsoft.com/repos/code stable InRelease
The ...
0
votes
1
answer
418
views
Signing key error while upgrading to Ubuntu 20.04
I got this gpg error while upgrading to Ubuntu 20.04:
GPG error: https://packages.microsoft.com/repos/code stable InRelease:
The following signatures couldn't be verified because the public key is ...
0
votes
1
answer
69
views
How do I get gpg to actually add keys properly?
I've tried following along with this tutorial: https://linuxhint.com/generate-pgp-keys-gpg/
I used
sudo gpg --full-generate-key
and it seemed to be happy enough but when I tried
gpg --list-keys
...
0
votes
0
answers
241
views
gpg: decrypt_message failed: Unknown system error Deja-dup restore failing on Ubuntu 22.04 LTS
Title says it all really. I couldn't restore using the GUI, so resorted to the command line, and get this GPG error message after it copies all the manifest.gpg files to the local cache.
I've read ...
0
votes
0
answers
135
views
gpg: undefined symbol: gpgrt_set_confdir. Apt broken after upgrade to jammy. Unknown error executing apt-key
Just upgraded to 22.04 from 20.04 and apt isn't working at all. Can't update, install or do anything. Getting Unknown error executing apt-key error. Using apt-key to download keys gives gpg error gpg: ...
0
votes
0
answers
265
views
gpg-agent logging/configuration file
Ubuntu 20.04
I have created the following file:
/etc/gnupg/gpgconf.conf
It has one line in it:
* gpg-agent log-file /var/log/gpg-agent.log
gpgconf --check-config no longer complains about a missing ...
5
votes
3
answers
7k
views
Manually add key? The following signatures couldn't be verified because the public key is not available: NO_PUBKEY
I am trying to use Ubuntu 20.04 or Ubuntu 22.04 in Docker. My Dockerfile is:
from ubuntu:22.04
run DEBIAN_FRONTEND=noninteractive apt update
I build this with docker build .. The result is:
Sending ...
0
votes
0
answers
85
views
GPG error Installing RabbitMQ via Cloudsmith On Ubuntu
I've tried following the instructions provided by RabbitMQ to install, as they said what's available with Ubuntu isn't the latest, and I can use the latest repos they provide.
However, the ...
0
votes
0
answers
28
views
Prevent an apt package to update .list files due to legacy trusted.gpg keyring warning [duplicate]
I have an app that stores the keyring to the legacy trusted.gpg location and getting the following error:
W: https://packagecloud.io/slacktechnologies/slack/debian/dists/jessie/InRelease: Key is ...
0
votes
0
answers
154
views
additional temporary file key.gpg~ when add key.gpg (ubuntu 18.04, 20.04)
After install clear ubuntu I try to add a new key using gpg . Without any error but see created temporary file key.pgp~
cat "here public key" | gpg --no-default-keyring --keyring gnupg-ring:/...
1
vote
1
answer
995
views
How do I remove a GPG key that isn't appearing in apt-key list?
I'm using Ubuntu 18. When I try and run a package update, it dies with this error
$ sudo apt update
[sudo] password for davea:
Hit:1 https://dl.yarnpkg.com/debian stable InRelease
Hit:2 https://deb....
0
votes
0
answers
169
views
How to automatically update public key for third party repository
I have Embedded Linux devices and also I host a third-party repository created with reprepro and signed with GPG key. The myrepo.list inside the devices look like this
deb [signed-by=/usr/share/...
0
votes
0
answers
814
views
Trying to install php's gd extension
I'm trying to install gd extension, but getting error while adding repository
WARNING: add-apt-repository is broken with non-UTF-8 locales, see
https://github.com/oerdnj/deb.sury.org/issues/56 for ...
0
votes
2
answers
586
views
How to build GnuPG (gpg) from source; symbol lookup error: undefined symbol: gpgrt_set_confdir, version GPG_ERROR_1.0
My Resources:
https://unix.stackexchange.com/a/175/114401
Source code: https://gnupg.org/download/index.html
My current version of gpg is:
$ gpg --version
gpg (GnuPG) 2.2.19
libgcrypt 1.8.5
...
0
votes
0
answers
71
views
Up To Date GnuPG Pinentry-gnome3 PassPhrase Caching Instructions Sought
I am on Ubuntu 20.04 Desktop. I am new to GnuPG, however reading this documentation:
https://help.ubuntu.com/community/GnuPrivacyGuardHowto and other howto's I have managed to correctly configure gpg ...
0
votes
1
answer
104
views
Can't verify PGP signature for Swift installation
I am on Ubuntu 22.04. I'm following the Ubuntu Linux instructions to install Swift. Currently on step 3.
In my Downloads directory, I have
swift-5.6.2-RELEASE-ubuntu20.04.tar.gz.sig
I ran this in my ...
0
votes
0
answers
52
views
Deprecation warning in Ubuntu 22.04 [duplicate]
These are the warning that I am seeing while running the command sudo apt update
Hit:1 http://in.archive.ubuntu.com/ubuntu jammy InRelease
...