Skip to main content

Questions tagged [gpg-agent]

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
62 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
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
1 vote
1 answer
404 views

systemd keeps restarting gpg-agent, even though gpg-agent.service and gpg-agent*.socket are masked

Goal: I am trying to kill gpg-agent (on Debian 12, if that matters) and keep it dead forever. Aside: Why? Because I just finished setting up GPG agent forwarding to my SSH server. Tried a few guides ...
Ryan Lue's user avatar
  • 1,176
0 votes
1 answer
169 views

Decrypting multiple files quicker with gpg

The pass program is a command line utility to store passwords plus free form extra data in small files encrypted with gpg. It provides a grep sub-command in particular to find passwords by the extra ...
Harald's user avatar
  • 1,040
1 vote
1 answer
774 views

How can I start the gpg-agent daemon without a user logging on to the system

I am trying to pre-cache a GPG password into gpg-agent on a headless Ubuntu 20.04 server, I would like to achieve this without a user having to log on to the system. The aim of this pre-caching is to ...
davezeking's user avatar
2 votes
1 answer
2k views

`gpg --pinentry-mode loopback` used to ask passphrase once but now it asks always

In short (Edit 1): How to make gpg -qd --pinentry-mode loopback out.gpg cache the passphrase for a period of time in the cli. It used to cache but now it doesn't. Edit 2: I have tried this thing in ...
mrdolichenus's user avatar
0 votes
0 answers
216 views

gpg unusable secret key

gpg --list-secret-keys --keyid-format=long shows: sec rsa2048/588EFF3348F037FB 2013-04-25 [SCEA] ... uid [ultimate] ... But if I try to sign a file with that key, I get: skipped &...
runrig's user avatar
  • 101
0 votes
1 answer
641 views

how to change/add gpg key to pass

I need to change the gpg key originally used for pass on my system to a newly generated key. However, when I follow the advice I found on this thread: https://unix.stackexchange.com/questions/226944/...
naphelge's user avatar
0 votes
2 answers
993 views

gpg-agent is not logging to file specified in `gpg-agent.conf`

Below is my gpg-agent.conf file, the log-file option specifies where to put log however even though gpg-agent works fine the log has never been created. I'm thinking either the option is ignored or I'...
metablaster's user avatar
2 votes
1 answer
187 views

gpg-agent "forgetting" password for key, when getting too many requests

I'm running Ubuntu (via Regolith) and my gpg key is unlocked when I log in. I'm running multiple decrypt operations in parallel and I noticed, that if I get above 7, gpg-agent will "forget" ...
fbence's user avatar
  • 517
1 vote
1 answer
196 views

Change passphrase of SSH key stored in the gpg-agent

How do I change the passphrase of an SSH key that is stored in the gpg-agent?
iGEL's user avatar
  • 121
2 votes
3 answers
3k views

OpenGL fails to load due to nvidia driver

I have 2 video cards and installed the nvidia driver: ❯ lspci -nnk | grep -iA3 -E "(vga|NVIDIA).*(controller|GeForce)" 00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics ...
azbarcea's user avatar
  • 142
0 votes
1 answer
447 views

debian howto disable gpg-agent-browser.socket

On server there is no browser nore gui, so is it possible to disable the gpg-agent-browser.socket ? On debian 10.13 I can see those files: /usr/lib/systemd/user/gpg-agent.socket /usr/lib/systemd/user/...
Cyrille37's user avatar
  • 103
2 votes
1 answer
29k views

Solving gpg: decryption failed: No secret key

I have encrypted a file through gpg ***.gpg --encrypt --recipient [email protected] *** The hard disk with my Linux system where such file was encrypted has dead. I keep just the ***.gpg file in an ...
iago's user avatar
  • 145

15 30 50 per page
1
2 3 4 5
9