Hello Gnupg Users, I am writing this mail regarding the issue facing to decrypt file through my SSIS Package.
Below is the command I am using: gpg2.exe --batch --yes --status-fd 2 --passphrase-fd 0 --armor --output E:\File.csv --decrypt E:\File.pgp When I run my SSIS package manually through visual studio it is decrypting the file properly. When I deploying the package on the same machine it is not decrypting. After spending to much time I come to know that the reason behind this is, I have imported the public key using command line, so it is imported for my user as I login on that machine with my windows user. But SQL Server agent job runs with MSSQL Agent Service account so I need to import the key for that service account. Could you guys please let me know how to import the public key for that account as I cannot login with that Service account. Thanks in Advance. Thanks & Regards, Pankaj K Chaurasia Sr. Database Developer Smart Utility Systems 0120-4208528 (O) | +91- 8109510013 (M) | +91- 9406929510 (M) pankaj.chaura...@smartusys.com<mailto:pankaj.chaura...@smartusys.com> | www.smartusys.com<http://www.smartusys.com/> [https://www.smartusys.com/emails/ISGW/signature/ISGW_EmailBanner.png]<http://www.isgw.in/events/india-smart-grid-week-2017/custom-18-8cf554ea2c054ba49a5104c64441044d.aspx> [facebook]<https://www.facebook.com/Smart-Utility-Systems-1680179402196537/?fref=ts>[linkedin]<https://www.linkedin.com/company/smart-utility-systems> [twitter] <https://twitter.com/smartutilitysys> [google] <https://plus.google.com/117439786582055895986> This message may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation. P Please consider the environment before printing this email.
_______________________________________________ Gnupg-users mailing list Gnupg-users@gnupg.org http://lists.gnupg.org/mailman/listinfo/gnupg-users