GnuPG 2.1 Windows 7, pinentry does not allow paste, no way to bypass?

Kristian Fiskerstrand kf at sumptuouscapital.com
Sun Jun 3 19:12:11 CEST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 2012-06-03 18:19, Hauke Laging wrote:
> Am So 03.06.2012, 07:46:41 schrieb L G:
> 
>> During command line decryption, pinentry opens a popup window for
>> the passphrase. In the pinentry window, paste (Ctl+V) is not
>> supported. Deal breaker.  I read through the forums and could not
>> find a way around this.
> 
> man gpg-agent --no-grab
> 

That will only prevent pinentry from grabbing the focus. You'd
probably want to add "pinentry-program /usr/bin/pinentry-curses" to
the config file as well (obviously changing the path to the
appropriate directory), iirc pasting is disabled in the GUI varieties
shipped in the main trunk, so these will require some patching to
allow pasting of passwords (e.g. with password managers).

An alternative could be to check out --passphrase-fd in man gpg.


- -- 
- ----------------------------
Kristian Fiskerstrand
http://www.sumptuouscapital.com
Twitter: @krifisk
- ----------------------------
Corruptissima re publica plurimæ leges
The greater the degeneration of the republic, the more of its laws
- ----------------------------
This email was digitally signed using the OpenPGP
standard. If you want to read more about this
The book: Sending Emails - The Safe Way: An
introduction to OpenPGP security is now
available in both Amazon Kindle and Paperback
format at
http://www.amazon.com/dp/B006RSG1S4/
- ----------------------------
Public PGP key 0xE3EDFAE3 at http://www.sumptuouscapital.com/pgp/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQIcBAEBCAAGBQJPy5rrAAoJEBbgz41rC5UITikP/itI5yIJKiR4tGazxbvN4KfG
qL+qjhmWsC4SScdvdoSoEG/1o/7kVcM8TqvlUtqKTtH/ah7yOCUIknghR9xFDd4I
QcuJpusMjW1CQCEKVVWnCzVDP7nFJ3s7jY7nzLKNH1FB71KXU1eQ/8dznXXA8Hxy
IRtZGteDu485yzDB894ytFIxXp0VOZRX3lcJRghOOfrm6pDTBWXnKNdGyPN5eeKT
L6cY0nrC7inYDW1TCc7WY6rhJtajLEhoqhBCDeRMeovXZ0/Qyk6hXQF0hWp+jWxR
hNYMRJD+Zx5xPFvHcCnC4s+LHW2vMJPrAm1Sc4tnpvyuBdDEBkJPa5x1iQdU2qVo
n7V6Rupy0vOtVZG5WsW5bFndJjpKBIlNHJZrDFM8ZC/Qz27WKL5pu47pJ3gnXnG7
v4BOaEL+8r/PubtUsGXy1GimW4GkZU+mDmqDilxgRgdoM4pGLTn/rz+FArDR3z2E
DiBh4/YWfF/UVVL3F8SY/I5WK+gKBtHo6isoe8yV17MwcTEpsF9yUarf4kFk+uH2
IcF3n1WaFVwAKqjlpCGOc45tpWwTia7DXUgfPOUrByu6xibENrhEAEHpKCeXAE2O
B+nDtM1At2eZgqWEDtoPmPP0ZzYsw2GgnUBkf5CUH7FTHxyYJRM82m1/A56l0Gil
s/mMTvavTwBLSNsiVBiw
=cK9P
-----END PGP SIGNATURE-----




More information about the Gnupg-users mailing list