Fw: GPG Decryption Issue

Werner Koch wk at gnupg.org
Thu Feb 14 10:02:49 CET 2013


On Tue, 12 Feb 2013 09:27, kamalakannan.n at tcs.com said:

> Currently we are using batch command as below to decrypt single files.
> 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 

Example:

 gpg --batch --passphrase-file E:\Data\qfbi\Navtech\Working\passphrase.txt \
    --yes --multifile --decrypt \
    E:\Data\qfbi\Navtech\Input\NJS170203YBBNA.gpg \
    E:\Data\qfbi\Navtech\Input\NJS170203YBBNB.gpg \
    E:\Data\qfbi\Navtech\Input\NJS170203YBBNC.gpg 

or

 gpg --batch --passphrase-file E:\Data\qfbi\Navtech\Working\passphrase.txt \
    --yes --multifile --decrypt <FILE_WITH_FILENAMES

Note that this will only work if the files are all encrypted to the same
key. "--yes" is required to overwrite existing plaintext files and you
can't use --output for obvious reasons.

BTW, I am a bit disappointed because you already asked for paid support
and we offered you to help you at 80EUR/h charged per 30min.  You did
not reply but tried your luck here; but well, today is I love free
software day: http://ilovefs.org .


Salam-Shalom,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.




More information about the Gnupg-users mailing list