gpg on windows 2008 running from task scheduler as NT AUTHORITY\SYSTEM fails with exit code 255

2013-01-23 Thread Johannes Scholz
Hello,

I am trying to run some gpg operations from a script on windows.
Said script works perfectly fine when I run it as a normal user account.
When launched from the task scheduler (which launches the script as NT 
AUTHORITY\SYSTEM) it just exits, the exit code is being set to 255.
Nothing on stderr or stdout.

One example command that fails:

C:\Program Files\Some App\Update\gpg\gpg2.exe --list-public-keys 
--with-colons --homedir C:\Program Files\Some App\Update 

The home directory I specified with —homedir exists and the System user has 
full access to that directory and its contents.
I added gpg2.exe to windows 2008's data execution prevention (DEP) exception 
list.

At this point I am out of ideas. Other binaries uses by the script (wget, 7zip) 
work just fine, even when run as System user.

gpg (GnuPG) 2.0.17 (Gpg4win 2.1.0)
libgcrypt 1.4.6

Thoughts?

Regards,

Johannes Scholz
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Patch for using GPG on 64 bit Matching

2013-01-23 Thread Werner Koch
On Wed, 23 Jan 2013 02:59, aokunl...@gmail.com said:

 We have 64-bit servers and I was wondering if there is a Patch to apply to
 gpg so it could run successfully on 64 bit.

GnuPG definitely runs on 64 bit boxes.  There is only a glitch for
big-endian boxes.  If nobody complains I plan to do a 1.4.15 soon.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.


___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Patch for using GPG on 64 bit Matching

2013-01-23 Thread David Tomaschik
I regularly use GnuPG on 64 bit servers with no patches or changes.  What
OS is on your servers?  What version of GPG are you running?


On Tue, Jan 22, 2013 at 5:59 PM, Akinola Okunlola aokunl...@gmail.comwrote:

 Hi fellow gnupg-users,

 I am new to gpg arena though I have used PGP in the past.
 We have 64-bit servers and I was wondering if there is a Patch to apply to
 gpg so it could run successfully on 64 bit.
 Please let me know.
 Currently, my command line scripts does not run when automated but I can
 run them manually.

 Please help.

 AO

 ___
 Gnupg-users mailing list
 Gnupg-users@gnupg.org
 http://lists.gnupg.org/mailman/listinfo/gnupg-users




-- 
David Tomaschik
OpenPGP: 0x5DEA789B
http://systemoverlord.com
da...@systemoverlord.com
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Patch for using GPG on 64 bit Matching

2013-01-23 Thread Akinola Okunlola
Hi David,

OS is: Windows 2008 R2 Enterprise (64-bit). We are running Gpg4win version
2.1.0 (2011-03-15)  which contains GnuPG 2.0.17.

Thanks,

-Akin

On Wednesday, January 23, 2013, David Tomaschik wrote:

 I regularly use GnuPG on 64 bit servers with no patches or changes.  What
 OS is on your servers?  What version of GPG are you running?


 On Tue, Jan 22, 2013 at 5:59 PM, Akinola Okunlola 
 aokunl...@gmail.comjavascript:_e({}, 'cvml', 'aokunl...@gmail.com');
  wrote:

 Hi fellow gnupg-users,

 I am new to gpg arena though I have used PGP in the past.
 We have 64-bit servers and I was wondering if there is a Patch to apply
 to gpg so it could run successfully on 64 bit.
 Please let me know.
 Currently, my command line scripts does not run when automated but I can
 run them manually.

 Please help.

 AO

 ___
 Gnupg-users mailing list
 Gnupg-users@gnupg.org javascript:_e({}, 'cvml',
 'Gnupg-users@gnupg.org');
 http://lists.gnupg.org/mailman/listinfo/gnupg-users




 --
 David Tomaschik
 OpenPGP: 0x5DEA789B
 http://systemoverlord.com
 da...@systemoverlord.com javascript:_e({}, 'cvml',
 'da...@systemoverlord.com');

___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users


Re: Patch for using GPG on 64 bit Matching

2013-01-23 Thread Johannes Scholz
By does not run when automated you mean it does not run when you run it from 
the task scheduler? If so, maybe you are having the same issue that I seem to 
have (2008 AMD64) 
http://lists.gnupg.org/pipermail/gnupg-users/2013-January/045960.html

+ Johannes Scholz
+ j...@vinci-info.com

From: Akinola Okunlola aokunl...@gmail.commailto:aokunl...@gmail.com
Date: Donnerstag, 24. Januar 2013 05:47
To: David Tomaschik da...@systemoverlord.commailto:da...@systemoverlord.com
Cc: GnuPG Users List gnupg-users@gnupg.orgmailto:gnupg-users@gnupg.org
Subject: Re: Patch for using GPG on 64 bit Matching

Hi David,

OS is: Windows 2008 R2 Enterprise (64-bit). We are running Gpg4win version 
2.1.0 (2011-03-15)  which contains GnuPG 2.0.17.

Thanks,

-Akin

On Wednesday, January 23, 2013, David Tomaschik wrote:
I regularly use GnuPG on 64 bit servers with no patches or changes.  What OS is 
on your servers?  What version of GPG are you running?


On Tue, Jan 22, 2013 at 5:59 PM, Akinola Okunlola 
aokunl...@gmail.comjavascript:_e({},%20'cvml',%20'aokunl...@gmail.com'); 
wrote:
Hi fellow gnupg-users,

I am new to gpg arena though I have used PGP in the past.
We have 64-bit servers and I was wondering if there is a Patch to apply to gpg 
so it could run successfully on 64 bit.
Please let me know.
Currently, my command line scripts does not run when automated but I can run 
them manually.

Please help.

AO

___
Gnupg-users mailing list
Gnupg-users@gnupg.orgjavascript:_e({},%20'cvml',%20'Gnupg-users@gnupg.org');
http://lists.gnupg.org/mailman/listinfo/gnupg-users




--
David Tomaschik
OpenPGP: 0x5DEA789B
http://systemoverlord.com
da...@systemoverlord.comjavascript:_e({},%20'cvml',%20'da...@systemoverlord.com');
___
Gnupg-users mailing list
Gnupg-users@gnupg.org
http://lists.gnupg.org/mailman/listinfo/gnupg-users