Questions tagged [pinentry]
The pinentry tag has no summary.
29 questions
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 ...
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 ...
1 vote
1 answer
1k views
How to call pinentry from bash script
How to call pinentry from bash script so I am prompted for single input on the same terminal from which my script was invoked from and then pipe the entry to some other command via stdout for the sake ...
2 votes
0 answers
430 views
GPG using sudo under another user, is `pinentry-mode loopback` safe?
There are 2 users: user1 and user2. When trying to use gpg via sudo (symmetric decryption): user1@host: sudo -u user2 gpg /home/user2/pass.gpg an error gpg: decryption failed: No secret key. I set it ...
14 votes
3 answers
30k views
GPG can't decrypt: no pinentry program
I can't decrypt my passwords with pass neither with gpg directly. gpg: encrypted with rsa4096 key, ID id, created creation_date "name <email>" gpg: public key decryption ...
2 votes
1 answer
3k views
Strange error with GnuPG: claims "no secret key" when terminal is too small
This is the content of my .gnupg/gpg-agent.conf: pinentry-program /usr/bin/pinentry-curses When I try to retrieve a password from pass' store, e.g. via pass -c path/to/password in a very small-sized ...
2 votes
1 answer
1k views
GPG pinentry not receiving key presses during passphrase entry when forwarding gpg-agent
When forwarding my gpg-agent to a remote server I am able to see the my private key listed. Even though I unlocked my key locally I still need to unlock it on the remote machine. However when I try to ...
3 votes
2 answers
2k views
Why would GPG Pinentry be slow when opening in GUI but instantaneous when opening in CLI?
Having a hard time figuring out the debugging steps for this behavior. I'll run some gpg command and, typically, about 20 seconds later a GUI Pinentry window will pop up where I type in my password ...
2 votes
1 answer
2k views
gpg/pinentry - Can't enter passphrase outside terminal
I am trying to decrypt a gpg file inside a script. When I run gpg -d file.gpg in the terminal, I get prompted to enter the password in a curses dialog box. But when I run a script containing that line,...
2 votes
1 answer
1k views
Remove "save in password manager" option in gpg pinentry
I have some libreoffice documents stored with "encrypt with gpg key" option. Today I was quite surprised when the document opened without requesting a passphrase. Eventually I found an ...
2 votes
0 answers
88 views
GPG pinentry, how to show requestor
So I have pinentry popping up whenever I fresh boot my desktop environment (i3), asking for my main GPG main key password. I perhaps configured at some point some program to read some pass entry, but ...
2 votes
1 answer
2k views
Can I configure pass to always use pinentry-curses?
I use pinentry-qt most of the time, but in the specific case that I'm using pass, I would like to use pinentry-curses because of the faster startup time. Is there a way that I can configure pass to ...
4 votes
0 answers
352 views
Arch/ XFCE - Disable global keyboard grabbing for gcr/ gnome-keyring
I am using gnome-keyring as ssh-agent on my arch/ xfce system. Since I have multiple ssh-keys, I additionally have a password manager to store their keys. Adding those ssh-keys to the keyring works ...
1 vote
1 answer
497 views
how to navigate with pinentry
I was was using gpg --gen-key till I got to enter the passphrase where I get: ┌──────────────────────────────────────────────────────┐ │ Please enter Passphrase, │ │ ...
2 votes
1 answer
2k views
pinentry not showing in tmux
I'm having some trouble getting gpg (actually pass which uses gpg in the background) to work inside of tmux and a Yubikey Neo. When attempting to decrypt a file or sign something using gpg I get the ...