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.
776 questions
0 votes
0 answers
23 views
How to add a Fedora repository without errors?
I am trying to cleanly add a repository to my Fedora 43 system. Doing so works in the end, but it also spits out errors in the process of installation. My question is, what can be done against these ...
2 votes
1 answer
228 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
78 views
Why is GPG creating keys in the future?
I'm trying to sign a LibreOffice document blah blah... So, I created a key and signed my document, but when I reload it, LO insists that the "certificate is not yet valid", and apparently ...
0 votes
0 answers
27 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
0 answers
90 views
Restore GPG keys from previous .gnupg
I recently move from debian to Arch. Before wiping my disk, I did a backup of my ~/.gnupg folder. I've restored it, but now gpg --list-secret-keys doesn't show anything even if my keys are here: $ ls -...
0 votes
1 answer
146 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 ...
0 votes
1 answer
74 views
How do I verify the Debian Mobian images using GPG?
I have been attempting to verify the images for Mobian but have some major error. The device claims they are not public (perhaps not installed). Steps Taken: user@pop-os:~/ISOs/mobian$ gpg --recv-keys ...
-3 votes
1 answer
300 views
GPG Key Error When Running `sudo apt update` on Fresh Kali Install
Image -> https://postimg.cc/WtZ6QD3V 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 InRelease: The ...
0 votes
0 answers
38 views
GPG shows my own UID as [ full ] after re-importing signatures—even though it was [ ultimate ] when freshly generated
In GPG, my own uid presents as [ full ] rather than [ ultimate ]. gpg --list-keys --with-sig-check pub ed25519 2025-07-02 [SC] [expires: 2030-07-01] GGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGG ...
1 vote
0 answers
276 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
78 views
Using password-store to use a retrieved password in a bash command without displaying it, possibly in a script?
A few years ago, I read about secrets being passed to commands without displaying and in an automated or scripting manner. Is possible to do this using pass? I figure if it is setup in a way in which ...
0 votes
0 answers
60 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: $ ...
0 votes
1 answer
68 views
How to export only non-expired keys from gpg (pgp)?
How can I export only those non-expired public keys from my gpg keyring? If I export all of the public keys in my keyring, the ascii armored output file is several megabytes large, and it contains a ...
1 vote
0 answers
274 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
45 views
QuickSilver and gnupg
I am installing QuickSilver to configurate a nym account. As using pgp I am using gnupg 2.4.7 Problem is that gnupg 2.4.7 no use animore secring.pgp but pubring.kbx ¿Solution?