No secret key under different account

David Gray David.Gray at
Fri Oct 30 15:24:45 CET 2009

Hello all, 

GPG 2.0.12
Windows Server 2003  

I've written a C# application which scans for input files and decrypts using
This applications works fine when run under the account (Administrator) that
GPG was installed 
under but when run from a different account (SQLService) I get this error. 

gpg: encrypted with ELG key, ID 891AB7E7  gpg: decryption failed: No secret
Error Decrypting C:\Program

I've given full permissions to the SQLService account. 

Are there any permissions I need to set within GPG or do I need to specify 
anything else on the command line when running under a different account? 

The GPG command looks like this

gpg --passphrase-fd 0 --batch --output KLIOLB_20091005_10021900.TMP
--decrypt KLIOLB_20091005_10021900.PGP

Thanks in advance. 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3388 bytes
Desc: not available
URL: </pipermail/attachments/20091030/4e764bd7/attachment.bin>

More information about the Gnupg-users mailing list