Invoking gpg2.exe from C# script

2011-07-12 Thread Marc Haber
Hi guys. I'm currently working on a small C# utility that, among other things, has to decrypt files using GnuPG. 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 tested this but it doesn't

Re: Invoking gpg2.exe from C# script

2011-07-12 Thread Robert J. Hansen
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

Assertion failure from gnupg with enigmail 1.2

2011-07-12 Thread Doug Barton
I sent the following message to the enigmail list but they punted me to you. :) To clarify, I can take the same command line and run it in a terminal against a text file just fine. If you lot can tell me what the failed assertion means, I can go back to the enigmail folks with more data. Thanks,

Re: Assertion failure from gnupg with enigmail 1.2

2011-07-12 Thread Doug Barton
Ok, this patch was sent to me by someone who chose to reply privately. It works, does it seem like the right thing to do? http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2011-July/214517.html Thanks, Doug On 07/12/2011 12:09, Doug Barton wrote: I sent the following message to the

Re: Assertion failure from gnupg with enigmail 1.2

2011-07-12 Thread David Tomaschik
Sorry, this was intended to be sent to the entire list, but I composed it in a hurry my apologies. On Tue, Jul 12, 2011 at 4:24 PM, David Tomaschik da...@systemoverlord.com wrote: assert() kills the program if the value in the parentheses evaluates to FALSE.  In this case, that means that

Re: Assertion failure from gnupg with enigmail 1.2

2011-07-12 Thread Werner Koch
On Tue, 12 Jul 2011 23:59, do...@dougbarton.us said: It works, does it seem like the right thing to do? Yes, this patch is correct. I was not aware that FreeBSD jumped to Libgcrypt 1.5.0 so fast ;-). Salam-Shalom, Werner -- Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz.

Re: Assertion failure from gnupg with enigmail 1.2

2011-07-12 Thread Doug Barton
On 07/12/2011 20:45, Werner Koch wrote: On Tue, 12 Jul 2011 23:59, do...@dougbarton.us said: It works, does it seem like the right thing to do? Yes, this patch is correct. I was not aware that FreeBSD jumped to Libgcrypt 1.5.0 so fast ;-). We rock. :) -- Nothin' ever doesn't