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/

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
Gnupg-users mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnupg-users

Reply via email to