Questions tagged [gpg]
gpg is the main command line tool of the GNU Privacy Guard (GnuPG), implementing the OpenPGP standard for public key cryptography. It allows encryption, (verification of) signatures and trust models like the web of trust. gpg (and its library gpgme) are the base of many FOSS crypto applications (like mail user agents). There is a standalone version (1.x) and one (2.x) requiring gpg-agent for secret key handling.
775 questions
2 votes
1 answer
200 views
Debian: there is a way to "re-check" all gpg sign of packages installed?
Suppose for one reason I cannot update Debian cause of gpg error, and I have no time to solve it and I use this (really dangerous) command apt-get --allow-unauthenticated --allow-insecure-repositories ...
0 votes
0 answers
25 views
GPG passphrase time-outs
Is their a means by command (or otherwise), whereby if you enter the wrong passphrase (eg 3 times) you are delayed from making further attempts, for say one hour, when the passphrase box becomes ...
0 votes
1 answer
128 views
Unattended GPG key generation fails in debian 13 with "default" parameters
I've been using libgpgme to generate keys in Debian 11. When I re-compile and rerun the same software in Debian 13, I get: Unknown elliptic curve I can reproduce this in pure GPG using an example ...
-2 votes
1 answer
224 views
🛠️ Issue Summary – GPG Key Error When Running `sudo apt update` on Fresh Kali Install
Image -> https://postimg.cc/WtZ6QD3V <-Image Hi all, I just installed Kali Linux and ran: sudo apt update But I got this error: GPG error: http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling ...
1 vote
0 answers
242 views
GPG keeps failing in Fedora
I keep getting a recurring problem in Fedora 41 and now 42 where the GPG database gets locked and nothing I try can get it working. I have to delete the .gnupg directory and re-import my keys all over ...
0 votes
0 answers
53 views
gpg syntax to incrementally append encrypted data
Data is sporadically generated and appended to a file (consider mbox or a log file). I want to store only an encrypted version. For a single "batch" of data, this sort of thing would work: $ ...
1 vote
0 answers
232 views
No such device with Yubikey GnuPG
I have a yubikey 5 NFC with GPG keys configured that I use for encryption and signing. Usually, this works fine, but sometimes gpg will tell me that no card is connected; if I unplug and replug the ...
0 votes
1 answer
73 views
What is the difference and relation between the "--default-cache-ttl" and "--max-cache-ttl" options?
About GPG is mentioned the gpg-agent and I read the following answer: gpg does not ask for password Where is mentioned the --default-cache-ttl and --max-cache-ttl options. So I found this official ...