Questions tagged [gpg-agent]
GPG-Agent is a daemon to manage secret (private) keys independently from any protocol. Questions related to encrypting and signing data with GnuPG aka GPG can be tagged with GPG-Agent
54
questions
1
vote
0
answers
71
views
YubiKey Authenticator App doesn't recognize YubiKey after unlocking the card via PinEntry
I've got a pretty basic password/OTP set up on macOS:
my YubiKey has the sig/aut/enc subkeys to encrypt/decrypt my passwords in the password store
my OTPs are solely on my YubiKey - I use the Yubikey ...
3
votes
0
answers
1k
views
Why gpg-agent not running after Windows 10 restart?
I have configured Putty to run with Yubikey for SSH connections following procedure here. I have configured remote server to accept only key connection. Everything was working as expected.
After ...
0
votes
0
answers
797
views
gpg --pinentry-mode loopback too much data for the ICP layer in CLI (non-gui) mode?
When I use X11 GUI mode, I can enter my passphrase through the prompt without errors: 'gpg -d <my encrypted file>'.
However, when I try the same from a CLI (windowless mode) specifying pinentry-...
1
vote
1
answer
1k
views
aws-vault: prompt for pass password if necessary
I'm using pass as a backend to aws-vault on a remote machine and it seems like I need to manually add the "password" for the profile into gpg-agent before aws-vault can make use of it. ...
1
vote
0
answers
395
views
Generate GPG key on Windows 10 gives error message
gpg --generate-key
This is the error message I'm getting:
We need to generate a lot of random bytes. It is a good idea to perform
some other action (type on the keyboard, move the mouse, utilize the
...
0
votes
2
answers
2k
views
Remembering gpg passphrase in Win 10 and Ubuntu
What can I do to forget about typing the passphrase again and again for the commits?
There's this answer about Kleopatra, but apparently the UI has changed and there's no option for cached passphrase.
1
vote
2
answers
3k
views
Unable to use Windows OpenSSH agent with GPG Agent and Yubikey
I have a Yubikey which has ed25519 certificates loaded onto it. One of these is an authentication certificate. I'm able to export the sha has of this by running gpg --export-ssh-key {key_id}, and ...
1
vote
1
answer
228
views
GPG: notify before password prompt in terminal
I use GPG to encrypt a file in a shell script (in Linux). The file to be encrypted is created for a long time, so the script is executed in background, and I don't see when the password prompt is ...
2
votes
1
answer
5k
views
gpg secret key access not possible - no pinentry
as this not seem to be a Arch Linux specific question (and the arch forum can't help me) I try to ask a broader range of experts.
Since some days I can not access my kwallet anymore. Assuming the ...
0
votes
1
answer
1k
views
GPG not restarting the GPG-Agent
I am trying to restart the gpg-agent with the command:
gpgconf --kill gpg-agent
This should, according to multiple answers on this forum, lock my GPG-Keys and ask for a password, when I want to use a ...
2
votes
1
answer
347
views
GPG encryption is slow on macOS 11.5.2 after PKSIGN step
For some reason GPG appears to take a long time, 2-3 seconds, when encrypting anything. This makes it especially hard to use with git since commits are slow and rebases are glacial.
$ time (date | gpg ...
0
votes
0
answers
25
views
System hook to look for an encrypted file instead
How to setup a system hook so that whenever the content of /path/to/file is requested, the system does the following
First check if /path/to/file exists. Act normally if it does.
If it does not exist,...
4
votes
1
answer
6k
views
gpg: skipped "12345689": Unusable secret key / how to use signing subkey for gpg?
As you see, I have a key with id 12345689, and I'm trying to sign with it in git
gpg -k
/home/lz/.gnupg/pubring.kbx
---------------------------
pub rsa4096 2020-03-02 [C]
12345689
uid ...
2
votes
1
answer
1k
views
duplicity - gnupg - no secret key - no passphrase given
I have a problem with duplicity and gpgnu.
Environment (Software):
Ubuntu 20.04
gpg (GnuPG) 2.2.19 (from package)
libgcrypt 1.8.5 (installed from package)
duplicity 0.8.18 (installed manually, since ...
1
vote
1
answer
2k
views
SSH authentication using gpg-agent and another source for keys?
tl;dr: Is there a way to either disable the persistent import functionality of gpg-agent or work around that to allow using different sources for SSH keys?
Situation
I use GnuPG 2 keys (on a YubiKey) ...