Questions tagged [gpg-agent]
The gpg-agent tag has no usage guidance.
133
questions
0
votes
0
answers
22
views
GnuPG often asks for subkey passphrase when signing/encrypting messages even with large [default|max]-cache-ttl in gpg-agent.conf
I have in my ~/.gnupg/gpg-agent.conf the following:
default-cache-ttl 172800
max-cache-ttl 172800
which works fine when I am en- or decrypting files using one of my regular GPG key pairs (just a ...
0
votes
1
answer
40
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 ...
1
vote
1
answer
51
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 ...
0
votes
0
answers
71
views
gpg: error retrieving '[email protected]' via WKD: No data
I am trying to write a script where I use 7z on some directories, and then use gpg to encrypt them. journalctl -u backup_encrypt_browser.service tells me :
gpg: error retrieving '[email protected]' via ...
0
votes
1
answer
96
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 ...
0
votes
0
answers
30
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 &...
0
votes
1
answer
75
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/...
0
votes
1
answer
50
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'...
2
votes
1
answer
44
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" ...
0
votes
0
answers
33
views
Should you keep the (encrypted) gpg secret key in a file to export the password store on another machine?
I am using gpg and pass to manage my password (on my Macos). I want to read the keychain contained in .password-store on another machine.
As there was no public or private key listed in the gpg on the ...
0
votes
1
answer
79
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?
1
vote
3
answers
1k
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 ...
0
votes
0
answers
124
views
Run gpg from systemd script
I wrote a wrapper for rsync. It connects to my host and makes a backup of my $HOME directory via ssh. I use gpg-agent for the ssh verification. My script works when called from a terminal emulator. It ...
0
votes
1
answer
222
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/...
1
vote
1
answer
17k
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 ...