Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [pinentry]

The tag has no usage guidance.

1
vote
0answers
24 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 ...
1
vote
0answers
20 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 ...
0
votes
0answers
15 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 ...
0
votes
1answer
177 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, │ │ ...
0
votes
1answer
441 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 ...
3
votes
0answers
413 views

Can't sign/encrypt unless I start gpg-agent manually

I recently set up Ubuntu in a VM for development work, but found that git couldn't sign my commits. Investigating further, I found that gpg-agent wasn't able to request my passphrase via pinentry-...
2
votes
0answers
399 views

How can I suppress the pinentry dialogue box if there is no gpg password?

I'm using (neo)mutt with GPG. I've set my gpg password to empty, but when I attempt to decrypt an incoming email, mutt still presents a pinentry dialogue box. If I just press Enter (with no string), ...
2
votes
1answer
2k views

How to make the default-cache-ttl option of gpg-agent work?

I use pass as a password manager. I would like my passphrase to be cached during a certain amount of time to avoid retyping my passphrase every time that I want to clip one of my passwords. Pass is ...
1
vote
1answer
997 views

gpg2 pinentry fails without X

What is working My gpg-agent pinentry works fine under X. I can run echo "test" | gpg2 -ase --default-recipient-self | gpg2 to cache my passwords and later run killall gpg-agent -1 to flush them. ...
4
votes
0answers
401 views

Intermingled input when using local gpg-agent from remote site

I'm starting a local gpg-agent on my Mac, with the extra-socket option. Then I connect to a remote site using SSH, forwarding the remote S.gpg-agent socket to the local S.gpg-agent.extra socket. This ...
0
votes
1answer
462 views

Configure Duplicity to use pinentry?

Duplicity by default asks for passwords to GnuPG keys on start up and caches them in memory throughout process lifetime. Is there a way to have it use /usr/bin/pinentry instead so I know I'm not ...
1
vote
1answer
1k views

Problem configuring GPG pinentry

I have two hosts, A and B. On A I have the gpg pinentry program setup to be pinentry-curses but I have no idea how I did it anymore. I can not seem to find the difference between A and B, but on A (...
9
votes
2answers
4k views

How to get pinentry-curses to start on the correct tty?

I use gpg-agent for managing both PGP e SSH identities. The agent is started with a script like this gpg_agent_env="$XDG_CACHE_HOME/gpg-agent.env" export GPG_TTY="$(tty)" if ! ps -U "$USER" -o ...
3
votes
1answer
179 views

Non-GUI based pin-entry for gpg

I'm in the process of remotely viewing and selecting hundreds of images, some of which are encrypted with a symmetric key. I log in to the remote desktop machine using ssh. The viewing is not fast, ...
4
votes
1answer
395 views

About pinentry usage along with gpg

Is mandatory to use pinentry with gpg2? Why is pinentry better over legacy prompt?
4
votes
0answers
308 views

Enigmail Thunderbird pinentry requests all passwords to all secret keys

I want to read a GPG encrypted email using Thunderbird Enigmail from Account.1@mail.com and Edit > Account Settings > Account.1 > OpenPGP Security has "Use specific OpenPGP key ID" selected. However, ...
12
votes
2answers
10k views

Pinentry fails with gpg-agent and SSH

I'm running Fedora 22. I'm trying to setup GnuPG to have my SSH connections authenticated using my PGP authentication subkey that is located on my Yubikey Neo. I have a systemd unit starting the gpg-...
2
votes
0answers
1k views

Decrypting with GPG after a “su - different user”

I have cron job running a script in the cron of "USER A" that encrypts many files in a loop using the gpg command below: gpg --batch --cipher-algo AES256 --passphrase "PASSWORDISHERE" -c FILENAME "...
1
vote
0answers
622 views

How can I have pinentry ask if a password should be remembered?

In this answer, the password prompt for gpg-agent includes options for how long the password should be remembered. However, in my system I get a much simpler prompt, without that option How can I ...