On 7/12/11 10:48 AM, Marc Haber wrote: > I would like the user to avoid typing the password each time, but I'm > not sure of how to call gpg2.exe while providing the passphrase on > the command line. I'd suggest using P/Invoke on GPGME. Doing this from within managed code is going to bring you nothing but tears.