Re: GPG Decryption Issue
Hi, Actually it's issue with the Custom Adapter we use with our Integration Product. I was able to fix it now. Everything is working fine. Thank you. -- View this message in context: http://gnupg.10057.n7.nabble.com/GPG-Decryption-Issue-tp52939p53011.html Sent from the GnuPG - User mailing list archive at Nabble.com. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: GPG Decryption Issue
Thank you. Let me try it out and will update you as I make progress. Thanks, Sirish -- View this message in context: http://gnupg.10057.n7.nabble.com/GPG-Decryption-Issue-tp52939p52955.html Sent from the GnuPG - User mailing list archive at Nabble.com. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
Re: GPG Decryption Issue
On Thu, 3 Aug 2017 19:24, gnupg-users@gnupg.org said: > stderr=gpg: protection algorithm 3 is not supported gpg: encrypted with Your private key is encrypted with CAST5 but you have disabled support for CAST5 in gpg or you disabled CAST5 when you built libgcrypt. > gpg (GnuPG) 2.0.14 > libgcrypt 1.4.5 [These are 8 year old versions. You should not use such old versions.] > Pubkey: RSA, ELG, DSA Cipher: 3DES, AES, AES192, AES256 Pubkey: RSA, ELG, DSA Cipher: 3DES, AES, AES192, AES256 Yep: No support for CAST5 - this is not the default. Rebuild Libgcrypt w/o disabling algos and while you do that you should move to a supported versions, best 1.8.0. Salam-Shalom, Werner -- Die Gedanken sind frei. Ausnahmen regelt ein Bundesgesetz. pgpU2iUbvJs43.pgp Description: PGP signature ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
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
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: Kamalakannan N/CHN/TCS To: Hauke Laging mailinglis...@hauke-laging.de Cc: gnupg-users@gnupg.org Date: 02/07/2013 10:28 AM Subject: GPG Decryption Issue Hi Hauke , Application is run by the same user and secret key is protected by a passphrase. We are trying to decrypt the same file from both Command prompt and Datastage Application. 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 * Passphrase key available in the specified path 1)Is there any command is to check access for the application to decrypt. 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/06/2013 05:25 PM Subject: Re: GPG Decryption Issue Am Mi 06.02.2013, 13:10:32 schrieb Kamalakannan N: 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. Unfortunately I cannot see how you have cared about what I wrote you. You just repeat your statement. How shall that help? 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) You have to ensure that both your command prompt call and the call by the application use the same file. 1) The application could run as a different user. 2) The application could run chrooted. 3) The application could be restricted in its access rights by some LSM (Apparmor, SELinux or similar). Thus do this: a) Compare the output of gpg --list-options show-keyring --list-secret-keys from both the command prompt and the application b) Is the secret key protected by a 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 ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
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 ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
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/ signature.asc Description: This is a digitally signed message part. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users
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/ signature.asc Description: This is a digitally signed message part. ___ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users