Decrypting issue with GPG
Posted: Thu Jul 12, 2012 7:06 pm
Hi
I'm facing some issues with decrypting files using GPG4Win 2.1.0
I have an execute command activity that triggers a windows batch file in server.
some error messages listed below,
************************
Decryptnavtech..JobControl (@Execute_Command_0): Executed: E:\Data\Engineering-Test\Scripts\gpgdecrypt.bat
Reply=2
Output from command ====>
gpg: encrypted with 2048-bit RSA key, ID B66BF0A9, created 2011-07-11
"Navtech (Navtech Encryption) <qantas.ifsmetrics@tcs.com>"
gpg: Fatal: zlib inflate problem: invalid code -- missing end-of-block
************************
Decryptnavtech..JobControl (@Execute_Command_0): Executed: E:\Data\Engineering-Test\Scripts\gpgdecrypt.bat
Reply=2
Output from command ====>
gpg: [don't know]: invalid packet (ctb=70)
************************
I don't have any clue why this error is thrown. So, i have replicated the same solution in my desktop and I was able to decrypt successfully.
The script is a straight forward one ,
**************** gpg --batch --passphrase-file E:\Data\Engineering-Test\Scripts\passphrase.txt --output E:\Data\Engineering-Test\Scripts\NJS197212YPPHA.xml --decrypt E:\Data\Engineering-Test\Scripts\data\NJS197212YPPHA.gpg ****************
My desktop is a Windows 7 Professional.
DataStage server is Windows 2000 NT Server Edition.
Since, this is a freeware these is no product support.
Please advise what can be the issue.
Thanks
Suresh
I'm facing some issues with decrypting files using GPG4Win 2.1.0
I have an execute command activity that triggers a windows batch file in server.
some error messages listed below,
************************
Decryptnavtech..JobControl (@Execute_Command_0): Executed: E:\Data\Engineering-Test\Scripts\gpgdecrypt.bat
Reply=2
Output from command ====>
gpg: encrypted with 2048-bit RSA key, ID B66BF0A9, created 2011-07-11
"Navtech (Navtech Encryption) <qantas.ifsmetrics@tcs.com>"
gpg: Fatal: zlib inflate problem: invalid code -- missing end-of-block
************************
Decryptnavtech..JobControl (@Execute_Command_0): Executed: E:\Data\Engineering-Test\Scripts\gpgdecrypt.bat
Reply=2
Output from command ====>
gpg: [don't know]: invalid packet (ctb=70)
************************
I don't have any clue why this error is thrown. So, i have replicated the same solution in my desktop and I was able to decrypt successfully.
The script is a straight forward one ,
**************** gpg --batch --passphrase-file E:\Data\Engineering-Test\Scripts\passphrase.txt --output E:\Data\Engineering-Test\Scripts\NJS197212YPPHA.xml --decrypt E:\Data\Engineering-Test\Scripts\data\NJS197212YPPHA.gpg ****************
My desktop is a Windows 7 Professional.
DataStage server is Windows 2000 NT Server Edition.
Since, this is a freeware these is no product support.
Please advise what can be the issue.
Thanks
Suresh