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
Decrypting issue with GPG
Moderators: chulett, rschirm, roy
-
- Premium Member
- Posts: 81
- Joined: Mon Nov 21, 2005 4:17 am
- Location: Sydney, Australia
- Contact:
Decrypting issue with GPG
SURESH NARASIMHA
-
- Participant
- Posts: 54607
- Joined: Wed Oct 23, 2002 10:52 pm
- Location: Sydney, Australia
- Contact:
Error code 2 usually means "file not found". Unfortunately your error message provides no clue as to which file was not found. Is PATH the same when you're executing DataStage as when you're executing from the operating system? How about the shared libaray search list LIBPATH?
IBM Software Services Group
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
Any contribution to this forum is my own opinion and does not necessarily reflect any position that IBM may hold.
-
- Premium Member
- Posts: 81
- Joined: Mon Nov 21, 2005 4:17 am
- Location: Sydney, Australia
- Contact:
Thanks All for your responses.
I'm not sure about the resolution of this issue. It was resolved automatically.
Now I'm able to decrypt all files. I didn't do any changes at all.
@Chulett : I have posted the issue in GPG forum, but it's already a month now, I didn't receive any suggestions.
Have a great day!!
I'm not sure about the resolution of this issue. It was resolved automatically.
Now I'm able to decrypt all files. I didn't do any changes at all.
@Chulett : I have posted the issue in GPG forum, but it's already a month now, I didn't receive any suggestions.
Have a great day!!
SURESH NARASIMHA