Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [gnupg]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
95 views

Ubuntu 22.04 SSH smart card authentication, how to make enable-ssh-support flag work?

I'm trying to setup SSH authentication with smart card reader in a clean Ubuntu 22.04 install. When ssh it doesn't try to authenticate using smart card reader but it just says "ec2-user@myserver....
user avatar
4 votes
1 answer
1k 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 (...
user avatar
  • 60.9k
0 votes
0 answers
85 views

gpg: can't check signature: No public key, even after importing public key

I am new to encryption and tried to work with it today. I managed to sign the file, encrypt it, and decrypt it on my other computer. However, whenever I try to verify the file, I get the error: gpg: ...
user avatar
  • 1
-1 votes
1 answer
61 views

How to import gpg secret/private key from command line STDIN

Is there a way to import a gpg secret/private key from a paste of the actual key on the command line? Importing a secret key from a file would be as straight forward as: $ gpg --import PATH/FILENAME ...
user avatar
  • 3,168
1 vote
0 answers
37 views

Tutorials on how to generate a pgp key don't work for me

This is the second tutorial I've consulted on how to generate a pgp key. This was the first. The first one downloaded the necessary program for me: $ sudo apt update $ sudo apt install gnupg They ...
user avatar
  • 115
0 votes
0 answers
10 views

The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 93C4A3FD7BB9C367 [duplicate]

When I use apt install ansible it's not installing the latest version, When I run apt update I get the following error: Err:7 http://ppa.launchpad.net/ansible/ansible/ubuntu trusty InRelease The ...
user avatar
0 votes
0 answers
37 views

Apt complains of missing public keys, even though the keys are added

In Ubuntu 20.04.4, when running sudo apt update the update does not retrieve all packages reporting this error: An error occurred during the signature verification. The repository is not updated and ...
user avatar
0 votes
0 answers
653 views

Ubuntu keys are stored in /etc/apt/trusted.gpg and I don't know how to link tham to /usr/share/keyrings

When I update the repositories (apt update) I get the following message: diego@diego-ubuntu:~$ sudo apt update Hit:1 http://br.archive.ubuntu.com/ubuntu jammy InRelease Hit:2 http://br....
user avatar
2 votes
1 answer
51 views

Which GPG keys should be in my /etc/apt/trusted.gpg.d/ folder?

After updating from 20.04 to 22.04, I stumbled upon the "apt-key deprecation". Thus, I've just followed this excellent answer about how to fix it. However, I've still not clearly understood ...
user avatar
0 votes
0 answers
7 views

2 Questions about GPG signing and decryption

Is it true that every time you sign a document, file, repository, package, email, etc. it becomes encrypted so that you need to verify it AND decrypt it? If so, how come you don't have to decrypt ...
user avatar
0 votes
0 answers
51 views

How to fix Android Studio terminal to be same as linux terminal?

I have recently installed Android Studio on my linux machine. It's terminal shell was set to \bin\sh, which starts something like this: sh@5.1~ So, I changed the shell to \bin\bash. And, now, when I ...
user avatar
3 votes
2 answers
3k 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:/...
user avatar
0 votes
0 answers
58 views

Installation of gvm via mrazavi-Repository

i tray to install gvm-Software via mrazavi-Repository #sudo add-apt-repository ppa:mrazavi/gvm ... ... sudo redis-cli -s /var/run/redis/redis.sock FLUSHALL m/greenbone/gvmd/blob/v8.0.0/INSTALL.md#...
user avatar
0 votes
0 answers
34 views

Integrity of gpg(gnupg)

Gpg plays a vital role in apt-get update. There are two possible sources of gpg not able to verify ubuntu database. It has a folder in /home(.gnupg), which is recreated for each user so should not be ...
user avatar
0 votes
1 answer
150 views

Aptly publish snaphost can't find GPG key (Ubuntu 20.04)

I'm attempting to publish a snapshot in aptly: aptly publish snapshot --architectures all myrelease-0.1 It works if I specify --skip-signing. But if I don't I get: Loading packages... Generating ...
user avatar
0 votes
0 answers
50 views

Need complete command for signing deb packages using dpkg-sig and .gnupg should take from desired location instead of home directory

I am trying to sign deb packages using the dpkg-sig command. I could able to sign deb packages with the current/created gpg key but that keys I have to take from other desired location instead of ~/...
user avatar
0 votes
1 answer
339 views

Cannot import GPG keys via apt-key

I'm trying to install mono on my Ubuntu 20.04 server. I followed the official install instructions on: https://www.mono-project.com/download/stable/ When executing: sudo apt-key adv --keyserver hkp://...
user avatar
0 votes
0 answers
162 views

Unity3d Installation issues GPG error repository not signed

I have tried installing Unity2d/3d via the terminal in a way to become more comfortable around the usage of the terminal and have across an issue where when I try and update via the terminal it brings ...
user avatar
0 votes
1 answer
33 views

Does opening a picture in a temporary filesystem leave any traces with Eye of GNOME/eog?

Does the Gnome package eog leave any thumbnails or other privacy leaking information when opening a picture in a different filesystem? I know that thumbnails are created by default in the home ...
user avatar
0 votes
1 answer
171 views

How to Verify Putty Download with GPG CLI

Downloaded from putty.org: master-2021.asc putty-0.76.tar.gz putty-0.76.tar.gz.gpg release-2021.asc opened terminal gpg --import master-2021.asc Output: gpg: key DD4355EAAC1119DE: 4 signatures not ...
user avatar
  • 51
2 votes
1 answer
103 views

Typing in GPG key manually

Over a decade ago I exported my public and private keys (GnuPG v1.4.6), printed them, laminated them and put them in my safety deposit box. I did this under the theory that I could manually recovery ...
user avatar
  • 21
0 votes
0 answers
38 views

Gitkey has aberrant value

Using Ubuntu 18.04 I used the sudo apt-get update && sudo apt-get upgrade command and I was told my gitkey file ends with an aberrant value. I think the format of the file is as it should be --...
user avatar
  • 101
0 votes
1 answer
137 views

Update GPG SignWith in public repo prepared with reprepro

I have a public repo with 2 packages available. It's set up with reprepro and the thing is signed with a GPG key referenced by SignWith instruction in public/conf/distributions. Packages are added ...
user avatar
  • 1,196
-1 votes
1 answer
45 views

NO_PUBKEY error when trying to run "sudo apt update" [duplicate]

I was trying to install Sublime Text from the terminal. I followed these steps. I didn't use the update command because I already ran it a day earlier, and started with the second step. Then I started ...
user avatar
0 votes
1 answer
215 views

Unable to verify 20.04.03 download

I am trying to follow this guide here: https://ubuntu.com/tutorials/how-to-verify-ubuntu#1-overview I have downloaded the ISO file and I have the following files in my Downloads directory: SHA256SUMS ...
user avatar
  • 478
0 votes
1 answer
221 views

How do I uninstall bitdefender?

I followed this tutorial to install Bitdefender and now I can't update or upgrade because I'm getting a whole bunch of different erorrs. Screenshot deleted. I still am getting some errors in my ...
user avatar
  • 1
0 votes
1 answer
51 views

dirmngr try to lookup pubkeys in the internet

I was doing a python script with gpg encryption and was debugging why some files not encrypted. During this debugging session I find this: gpg: error retrieving 'test.example@something.de' via WKD: ...
user avatar
0 votes
1 answer
38 views

How do I correctly setup a 3rd party repository with a 3rd party key without adding it to the global GPG keyring if I only have their keyid?

I have a 3rd party software that is installed from their own repository and requires a custom key configured. Instead of adding their key to the global keyring, how do I correctly setup the key to be ...
user avatar
  • 101
2 votes
1 answer
607 views

how to replace apt-key for webmin [duplicate]

how to replace apt-key for webmin in ubuntu 20.04 (because apparently apt-key is deprecated)? before (bash script): wget -q https://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add - sudo add-...
user avatar
  • 1,894
0 votes
1 answer
9k views

gpg: keyserver receive failed [closed]

Executing: /tmp/apt-key-gpghome.ZXoflQHlR5/gpg.1.sh -qq --keyserver pool.sks-keyservers.net --recv-keys ED444FF07D8D0BF6 gpg: keyserver receive failed: No name Executing: /tmp/apt-key-gpghome....
user avatar
1 vote
1 answer
329 views

How do I remove this hashicorp ppa key?

This is the error I'm getting whenever I do sudo apt-get update or anything with apt. This is the error Err:2 https://apt.releases.hashicorp.com focal InRelease The following signatures couldn't ...
user avatar
0 votes
0 answers
45 views

How to debug Makefile based projects in any IDE in Linux Environment

I am compiling and debugging source code of Gpg4win in linux (ubuntu) environment. I successfully build project using console terminal by using simple commands like: ./autogen ./config make install ...
user avatar
0 votes
1 answer
273 views

installment for the openFoam, fail to add public key

When I install OpenFoam, I used the line provide online, sudo sh -c " wget -o - http://dl.openfoam.org/gpg.key | apt-key add-" It gave an error and said gpg: no valid OpenPGP data found ...
user avatar
1 vote
2 answers
2k views

sudo apt-get update fails public key is not available: NO_PUBKEY, sudo gpg --keyserver pgpkeys.mit.edu --recv-key also fails

Ubuntu 18.04 For some time now the graphical GUI Software Updater would report Then click ok would give me Then click Install Now it would report loading for a fraction of a second then close. I ...
user avatar
  • 107
0 votes
0 answers
84 views

No verification for DSA key ID 46181433FBB75451

Hello Ubuntu comunity! Greetings from Czech republic, Europe. Sorry for my very simple english, as I'm not good in it and I even do mix it with german and czech. Also sorry for local language from ...
user avatar
  • 1
3 votes
1 answer
755 views

How to Fully Backup and Restore gpg Keys, Signatures and Settings

My gpg backup process so far is: $ gpg --export-ownertrust > PATH/TO/BACKUP/ownertrust.txt $ cp -u ~/.gpgrc PATH/TO/BACKUP/ $ cp -u ~/.gnupg/gpg.conf ~/.gnupg/gpg-agent.conf PATH/TO/BACKUP/ $ gpg --...
user avatar
  • 3,168
0 votes
1 answer
112 views

gpg key mismatch when importing

I am trying to import a specific key from ubuntu key server and when I launch the gpg command for that, the received key ID does not match the one I passed as argument: $ gpg --keyserver keyserver....
user avatar
  • 118
0 votes
1 answer
190 views

Why does ubuntu download verification require 2 keys, and why do I only have 1?

I am following instructions here and I am only seeing terminal output for one missing key: $ gpg --keyid-format long --verify ubuntu-20.04.3-desktop-amd64.SHA256SUMS.gpg ubuntu-20.04.3-desktop-amd64....
user avatar
1 vote
0 answers
643 views

How to transfer GPG key to another computer

I generated the OpenPGP key on my Windows computer. I don't know why I didn't do it on Ubuntu. How do I get the key from that computer onto Ubuntu? Do I need to generate a new key?
user avatar
3 votes
3 answers
548 views

Managing home dotfiles created by Pass

I am kind of a beginner with Linux and just started using pass for managing my passwords. I try to keep my home directory rather clean but pass created 2 dotfiles (.gnupg and .password-store) that I ...
user avatar
  • 33
0 votes
1 answer
65 views

How to recover keys

I recently did a fresh installation of Ubuntu 20.04 on my workstation. I made a complete backup of my home directory, and have been pulling out the bits that I need. I had set up a signing key for my ...
user avatar
0 votes
2 answers
3k views

Proper way to set up or change a preferred gpg keyserver in ubuntu 20.04?

I am using ubuntu server 20.04. I am attempting to download developer public gpg/pgp keys from keyservers. For many of the keys that I want, they don't seem to be listed on ubuntu's default key ...
user avatar
  • 61
0 votes
0 answers
65 views

Error while updating mongodb

I am trying to install mongodb using instructions given here but I am getting the following error while running sudo apt update: W: GPG error: https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 ...
user avatar
  • 21
0 votes
1 answer
48 views

Typing master password of pass wrong

I have successfully setup pass with a gpg key. When I ask for a stored password I see a counter for three attempts. My first question is what happens after three attempts? Does it only add a timeout, ...
user avatar
  • 177
24 votes
2 answers
6k 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] ...
user avatar
  • 3,168
0 votes
1 answer
181 views

Use of revocation certificate as id.rev

Good afternoon everyone, I ended up losing my passphrase to access my GPG key, but because I used the most current version when creating it, an ID.rev recall file was generated in the openpgp-revocs.d ...
user avatar
0 votes
0 answers
26 views

problem installing monodevelop

I have the following problem: (base) ronald@ronald-pc:~$ sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 3FA7E0328081BFF6A14DA29AA6A19B38D3D831EF Executing: /tmp/apt-key-gpghome....
user avatar
3 votes
1 answer
395 views

Ubuntu MATE 21.04: is it safe to remove Debian keyring GPG files?

I just noticed that, there are alot of Debian keyring GPG files inside /usr/share/keyrings/ directory of my Ubuntu MATE 21.04 installation (which have been upgraded from previous versions regularly). $...
user avatar
  • 1,831
0 votes
1 answer
79 views

Deja Dup risk of data loss

I'm currently using Deja Dup ("Ubuntu Backups") to create backups of my data. However when reading around I see a lot of issues of people being unable to restore their backups in case the ...
user avatar
  • 2,499
2 votes
2 answers
158 views

Can I Import an existing OpenPGP key into Ubuntu for use as my Personal key?

louis@WinNyx:~$ gpg --send-keys --keyserver keyserver.ubuntu.com 1FDBB6475ED8B730113953BE5CD637DC9222E537 gpg: sending key 5CD637DC9222E537 to hkp://keyserver.ubuntu.com louis@WinNyx:~$ gpg -...
user avatar

1
2 3 4 5
12