Skip to main content

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

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 ...
tpschmidt's user avatar
  • 111
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 ...
AlexVal's user avatar
  • 76
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-...
John McGreen's user avatar
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. ...
Keltek's user avatar
  • 111
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 ...
user avatar
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.
Lippiece's user avatar
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 ...
Desultory's user avatar
  • 318
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 ...
Canis Lupus's user avatar
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 ...
KK-Media's user avatar
  • 131
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 ...
Enemoy's user avatar
  • 3
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 ...
a paid nerd's user avatar
  • 3,401
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,...
Student's user avatar
  • 121
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 ...
Rafaelo's user avatar
  • 141
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 ...
pallago's user avatar
  • 121
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) ...
Thomas Luzat's user avatar

15 30 50 per page