Skip to main content

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.

2 votes
1 answer
183 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 ...
elbarna's user avatar
  • 14.2k
0 votes
0 answers
55 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 ...
Matthew's user avatar
  • 209
0 votes
0 answers
24 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 ...
Paul Benson's user avatar
0 votes
0 answers
54 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 -...
RobinFrcd's user avatar
  • 103
0 votes
1 answer
104 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 ...
Stewart's user avatar
  • 16k
0 votes
1 answer
49 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 ...
newunix's user avatar
  • 339
-2 votes
1 answer
160 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 ...
Narci's user avatar
  • 1
0 votes
0 answers
27 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 ...
tdrd's user avatar
  • 1
1 vote
0 answers
187 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 ...
Bryon's user avatar
  • 379
0 votes
0 answers
61 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 ...
leeand00's user avatar
  • 4,949
0 votes
0 answers
49 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: $ ...
jhnc's user avatar
  • 305
0 votes
1 answer
48 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 ...
Michael Altfield's user avatar
1 vote
0 answers
184 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 ...
Lukor's user avatar
  • 151
0 votes
1 answer
39 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?
Manuel de Francisco Fabre's user avatar
0 votes
1 answer
69 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 ...
Manuel Jordan's user avatar

15 30 50 per page
1
2 3 4 5
52