Using gpg2 without pinentry?

Dan Mahoney, System Admin danm at
Sun Jun 27 21:55:12 CEST 2010

Hey there,

I currently use gnupg 1 from within Alpine (running under screen), and it 
works okay, but I had a bear of a time using gpg2 because of the pinentry 
stuff.  Specifically, gpg was launched within a mail filter, and had no 
idea how to spawn a third program (the pinentry window)) in a correct way. 
I've tried kludging it so it launches in a different screen by tweaking 
various environment variables, but this seems the wrong way to go about 
it.  As does running with X-forwarding just to launch a tiny pinentry app 
(I can't guarantee I'll have an xserv everywhere I sit.)

Is there some reasonable way that gpg can detect that it has a controlling 
termainal (or even, a config file option) and just ask me for my 
passphrase on stdin?

I am my sysadmin.  I trust me :)



"Let me tell you something about regrowing your dead wife Lucy, Harry.
It's probably illegal, potentially dangerous, and definitely crazy."

-Harry nods-

Vincent Spano, as Boris in "Creator".

--------Dan Mahoney--------
Techie,  Sysadmin,  WebGeek
Gushi on efnet/undernet IRC
ICQ: 13735144   AIM: LarpGM

More information about the Gnupg-users mailing list