GPG Decryption Issue
Hauke Laging
mailinglisten at hauke-laging.de
Thu Feb 7 08:02:57 CET 2013
Am Do 07.02.2013, 10:28:29 schrieb Kamalakannan N:
> Application is run by the same user and secret key is protected by a
> passphrase.
Take the passphrase off the key and check whether the batch file works then.
> Actually we are using the batch file to decrypt the file and we calling the
batch file through Datastage Application .
>
> Batch file command is :
> gpg --batch --passphrase-file E:\Data\qfbi\Navtech\Working\passphrase.txt --
output E:\Data\qfbi\Navtech\Working\NJS170203YBBNA.xml --decrypt E:
\Data\qfbi\Navtech\Input\NJS170203YBBNA.gpg
Put this into the batch file for testing:
1) gpg --list-options show-keyring \
--output E:\Data\qfbi\Navtech\Working\keyring.txt \
--list-secret-keys
2) copy E:\Data\qfbi\Navtech\Working\passphrase.txt \
E:\Data\qfbi\Navtech\Working\passphrase.cp
Hauke
--
☺
PGP: 7D82 FB9F D25A 2CE4 5241 6C37 BF4B 8EEF 1A57 1DF5 (seit 2012-11-04)
http://www.openpgp-schulungen.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 572 bytes
Desc: This is a digitally signed message part.
URL: </pipermail/attachments/20130207/90f883e9/attachment.pgp>
More information about the Gnupg-users
mailing list