You are not logged in.
Hi all!
When you encrypt a file
gpg -c file
you are asked for a password which I can't figure out how to paste from a clipboard. I tried Shift+Ins, MouseMiddleButton - no luck. Tried it this way:
echo passphrase | gpg --passphrase-fd 0 -c file
and the password window still appears.
Searching Google gave me that GnuPG devs are not planning on implementing CLI option for entering password and I couldn't find how to paste it. What if I have 512-symbols passphrase? How am I going to type it in?
Last edited by Mr. Alex (2012-05-02 15:20:02)
Offline
Make sure these are in your .gnupg/gpg-agent.conf:
# Keyboard control
no-grab
# PIN entry program
pinentry-program /usr/bin/pinentry-curses
I use this to paste in my passphrase for pacman gpg keys from keepassx and it works great -- on my server too so I can paste the passphrase into the terminal window.
Scott
Edit: I hope I understood your question correctly!!
Last edited by firecat53 (2012-05-02 15:07:14)
Offline
Yes, thanks! I can paste from clipboard now.
Offline