Re: Fw: GPG Decryption Issue
On Tue, 12 Feb 2013 09:27, kamalakanna...@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. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Fw: GPG Decryption Issue
Hi Hauke , Kindly help me out by providing --multifile --decrypt batch file command , 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 Kindly let me know how to decrypt multifile by using single command Regards , Kamal TCS Ph:- 914466164678 Buzz:- 18002 Cell:- 919789964684 Mailto: kamalakanna...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing - Forwarded by Kamalakannan N/CHN/TCS on 02/12/2013 01:56 PM - From: Kamalakannan N/CHN/TCS To: Hauke Laging mailinglis...@hauke-laging.de Cc: gnupg-users@gnupg.org Date: 02/07/2013 12:38 PM Subject: Re: GPG Decryption Issue Hi Hauke , Kindly help me out by providing --multifile --decrypt batch file command , 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 Kindly let me know how to decrypt multifile by using single command Regards , Kamal TCS Ph:- 914466164678 Buzz:- 18002 Cell:- 919789964684 Mailto: kamalakanna...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing From: Hauke Laging mailinglis...@hauke-laging.de To: gnupg-users@gnupg.org Cc: Kamalakannan N kamalakanna...@tcs.com Date: 02/07/2013 12:33 PM Subject: Re: GPG Decryption Issue 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 deleted by Kamalakannan N/CHN/TCS] =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Fw: GPG Decryption Issue
Hi Hauke Laging , Kindly look into the below command and result . Help me out to resolve the NO SECRET KEY issue. E:\gpg --list-keys C:/Documents and Settings/dstage/Application Data/gnupg/pubring.gpg --- pub 2048R/D36AB872 2012-08-01 uid Navtech (Navtech Encryption) qantas.ifsmetr...@tcs.com sub 2048R/E718CCAF 2012-08-01 E:\gpg --list-secret-keys C:/Documents and Settings/dstage/Application Data/gnupg/secring.gpg --- sec 2048R/D36AB872 2012-08-01 uid Navtech (Navtech Encryption) qantas.ifsmetr...@tcs.com ssb 2048R/E718CCAF 2012-08-01 Regards , Kamal TCS Ph:- 914466164678 Buzz:- 18002 Cell:- 919789964684 Mailto: kamalakanna...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing - Forwarded by Kamalakannan N/CHN/TCS on 02/06/2013 03:53 PM - From: Kamalakannan N/CHN/TCS To: Hauke Laging mailinglis...@hauke-laging.de Cc: gnupg-users@gnupg.org Date: 02/06/2013 01:08 PM Subject: Re: GPG Decryption Issue Hello Hauke Laging , Really thanks for the mail , but still am facing the same issue . when i try to import my public and private key once again through Command prompt ,CMD say's that my keys are already in keyring . I have one query on Key IDs, while am importing massage show that Key ID file for both the keys are same but as fare i knew there is two different ID for different keys. Public Key ID : D36AB872 Private Key ID : E718CCAF Even my error show that Private key is missing. My error log is gpg: encrypted with RSA key, ID E718CCAF gpg: decryption failed: No secret key Kindly comment on the same and let me know your suggestions CMD command what ever i tried as follow , Private Query Import : C:\gpg --import NavtechKey_sec.asc gpg: key D36AB872: already in secret keyring gpg: Total number processed: 1 gpg: secret keys read: 1 gpg: secret keys unchanged: 1 Public Query Import : C:\gpg --import NavtechKey_pub.asc gpg: key D36AB872: Navtech (Navtech Encryption) qantas.ifsmetr...@tcs.com not changed gpg: Total number processed: 1 gpg: unchanged: 1 Edit Key : E:\gpg --edit-key Navtech gpg (GnuPG) 2.0.17; Copyright (C) 2011 Free Software Foundation, Inc. This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Secret key is available. pub 2048R/D36AB872 created: 2012-08-01 expires: never usage: SC trust: ultimate validity: ultimate sub 2048R/E718CCAF created: 2012-08-01 expires: never usage: E [ultimate] (1). Navtech (Navtech Encryption) qantas.ifsmetr...@tcs.com gpg pub 1024D/9E98BC16 created: 1999-06-04 expires: never trust: -/q gpg fpr pub 2048R/D36AB872 2012-08-01 Navtech (Navtech Encryption) qantas.ifsmetr...@tcs.com Primary key fingerprint: 6CD3 D53B 26A7 AD59 9117 3EA7 A614 AC8F D36A B872 Regards , Kamal TCS Ph:- 914466164678 Buzz:- 18002 Cell:- 919789964684 Mailto: kamalakanna...@tcs.com Website: http://www.tcs.com Experience certainty. IT Services Business Solutions Outsourcing From: Hauke Laging mailinglis...@hauke-laging.de To: gnupg-users@gnupg.org Cc: Kamalakannan N kamalakanna...@tcs.com Date: 02/05/2013 08:22 PM Subject: Re: GPG Decryption Issue Am Di 05.02.2013, 17:19:38 schrieb Kamalakannan N: 1) When we Decrypting the file through Command prompt its works fine 2) When we Decrypting the same file through Datastage application we are facing an issue gpg: encrypted with RSA key, ID E718 gpg: decryption failed: No secret key Probably 1) either the application runs as a different user so that the secret key is not contained in the application's keyring 2) or there is a problem with gpg-agent (the key is protected by a passphrase and gpg-agent does not know the passphrase) Hauke -- ☺ PGP: 7D82 FB9F D25A 2CE4 5241 6C37 BF4B 8EEF 1A57 1DF5 (seit 2012-11-04) http://www.openpgp-schulungen.de/ [attachment signature.asc deleted by Kamalakannan N/CHN/TCS] =-=-= Notice: The information contained in this e-mail message and/or attachments to it may contain confidential or privileged information. If you are not the intended recipient, any dissemination, use, review, distribution, printing or copying of the information contained in this e-mail message and/or attachments to it are strictly prohibited. If you have received this communication in error, please notify us by reply e-mail or telephone and immediately and permanently delete the message and any attachments. Thank you