tag:blogger.com,1999:blog-7272124629041113580.post1419280578214708765..comments2024-01-27T03:40:56.156-08:00Comments on Brian's World of BizTalk: PGP Pipeline ComponentBrianhttp://www.blogger.com/profile/12981695068074181076noreply@blogger.comBlogger34125tag:blogger.com,1999:blog-7272124629041113580.post-17030063755784694812018-03-02T02:54:53.285-08:002018-03-02T02:54:53.285-08:00Nice blog .Keep updating Biztalk online course Ban...Nice blog .Keep updating <a rel="nofollow">Biztalk online course Bangalore </a>radhahttps://www.blogger.com/profile/14429600841601246656noreply@blogger.comtag:blogger.com,1999:blog-7272124629041113580.post-34754122639529272252012-10-23T05:43:33.017-07:002012-10-23T05:43:33.017-07:00Brain,
Thanks for putting this out.
I am looking ...Brain,<br /><br />Thanks for putting this out.<br />I am looking at your example, however I am unable to find the binding file.<br />Can you tell me where I can get that.<br /><br />ThanksAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7272124629041113580.post-73888799447266686992011-09-20T13:22:39.065-07:002011-09-20T13:22:39.065-07:00Brian,
I have an error when trying to "Encry...Brian,<br /><br />I have an error when trying to "Encrypt" in the send pipeline I added the pipeline component dll (BAJ.BizTalk.PipelineComponent.PGP.dll) and choose the items to tool box, drag and dropped in the encode section, gac the dll. I deployed<br />Below is the error<br />A message sent to adapter "FILE" on send port "SndQuestExtractFFport" with URI "C:\TestLocations\Quest\QuestEligibility_%MessageID%.txt" is suspended. <br /> Error details: There was a failure executing the send pipeline: "QuestEligExt.Pipelines.SendQuestEligFF, QuestEligExt.Pipelines, Version=1.0.0.0, Culture=neutral, PublicKeyToken=69ca41c0c461ffc2" Source: "PGP Pipeline Component [BAJ]" Send Port: "SndQuestExtractFFport" URI: "C:\TestLocations\Quest\QuestEligibility_%MessageID%.txt" Reason: Object reference not set to an instance of an object. <br /><br />Can you let me know why I am getting this errorAnithahttps://www.blogger.com/profile/03670505092443855323noreply@blogger.comtag:blogger.com,1999:blog-7272124629041113580.post-73277621526769482222011-03-23T07:53:13.818-07:002011-03-23T07:53:13.818-07:00This has been massively useful, thanks for posting...This has been massively useful, thanks for posting it. Got it working nicely with a simple FILE adapter in Biztalk 2010.<br /><br />I installed and started using the BLogical SFTP adapter which works very nicely in Biztalk 2010 on its own. <br /><br />However, when I set up the SFTP adapter and set it to use the custom pipeline which uses this PGP decryption component at the same time, things start to go wrong and I was getting weird errors from the encrypt sections of code within of the PGP component when I clearly had selected decrypt. I put some tracing into the PGP source code which identified that the properties entered in the compoent (i.e. private key, public key, encrypt/decrypt etc) were not being loaded from the PropertyBag and were being set to default values or null. The logging has confirmed that the implemented method which sets the parameters "void IPersistPropertyBag.Load(IPropertyBag propertyBag, int errorLog)" is being invoked, suggesting that the IPropertyBag object itself has not picked up the values that have been set from within the component/administrator.<br /><br />Has anyone come across this before? Could there be a bit of code missing within the custom SFTP adapter that needs to supply the correct ProperyBag object. Or maybe the PropertyBag needs to be initiated from within the Pipeline Component in some other way? Any help appreciated.Stuarthttps://www.blogger.com/profile/00996069365907659898noreply@blogger.comtag:blogger.com,1999:blog-7272124629041113580.post-88900800865570679912009-12-07T09:41:42.081-08:002009-12-07T09:41:42.081-08:00I am getting the same error.. "Unknown object...I am getting the same error.. "Unknown object in stream 21". Any thoughts on how to fix this?Unknownhttps://www.blogger.com/profile/02017101307583777154noreply@blogger.comtag:blogger.com,1999:blog-7272124629041113580.post-32741205957753160622009-08-31T23:11:22.538-07:002009-08-31T23:11:22.538-07:00Thanks for your code.
I generated the key which is...Thanks for your code.<br />I generated the key which is having private & public key info using GNU Privacy assistant.<br />so i could assign only one key for private & public key path on BizTalk Encrypt & Decrypt properties. <br />Now i am getting error as "unknown object in stream 21". Plese guide me.<br />Thanks,<br />Rajarajatpkhttps://www.blogger.com/profile/12654044468233329348noreply@blogger.comtag:blogger.com,1999:blog-7272124629041113580.post-479059195711239192009-08-25T04:11:16.021-07:002009-08-25T04:11:16.021-07:00Brian, Lemme get pgp code. Please it would be grea...Brian, Lemme get pgp code. Please it would be great helpful.<br /><br />Thanks in Advance,<br />Raja<br />rajatpk@hotmail.com<br />raja.kumaravel@in.ispace.comrajatpkhttps://www.blogger.com/profile/12654044468233329348noreply@blogger.comtag:blogger.com,1999:blog-7272124629041113580.post-55870576545337893822009-07-01T23:31:41.482-07:002009-07-01T23:31:41.482-07:00I am still working on getting a new FTP location. ...I am still working on getting a new FTP location. In the mean time, you can email me and I will send you the code.<br /><br />jonesb321 [at] gmail [dot] comBrianhttps://www.blogger.com/profile/12981695068074181076noreply@blogger.comtag:blogger.com,1999:blog-7272124629041113580.post-5576538609148978922009-06-29T13:33:46.137-07:002009-06-29T13:33:46.137-07:00Brian:
Thanks for sharing your work with us. Woul...Brian:<br /><br />Thanks for sharing your work with us. Would you repost the code please? The link to the the PGP.zip download file appeared to be broken. Appreciate your help.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7272124629041113580.post-48280812879770159522009-01-21T11:12:00.000-08:002009-01-21T11:12:00.000-08:00Now i get this:Reason: Org.BouncyCastle.Bcpg.OpenP...Now i get this:<BR/><BR/>Reason: Org.BouncyCastle.Bcpg.OpenPgp.PgpPublicKeyRing found where PgpSecretKeyRing expected<BR/><BR/>In pipeline config:<BR/>PrivateKeyfile = C:\GnuPG\"vendorname".asc<BR/>PublicKeyfile = C:\GnuPG\"merchant".asc<BR/><BR/>I an not clear on the Private/Public designation.<BR/><BR/>GnuPG generated one and I imported one from CommerceHub. or Am I missing Something?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7272124629041113580.post-47937269310233474342009-01-20T10:41:00.000-08:002009-01-20T10:41:00.000-08:00Got the following when i ran test encrypted doc th...Got the following when i ran test encrypted doc through inbound pipeleine<BR/><BR/>Reason: Could not load file or assembly 'crypto, Version=1.4.0.0, Culture=neutral, PublicKeyToken=3c6cd05f3c105626' or one of its dependencies. The system cannot find the file specified.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7272124629041113580.post-27989913767267477472008-12-08T14:08:00.000-08:002008-12-08T14:08:00.000-08:00Hi Brian,I was able to resolve the problem...It wa...Hi Brian,<BR/><BR/>I was able to resolve the problem...It was a typo on my end plus also the information in the Readme.txt file helped out.<BR/><BR/>Great Post.<BR/><BR/>Thank you,<BR/>-Wayne MagnumTGOhttps://www.blogger.com/profile/10364238293181030804noreply@blogger.comtag:blogger.com,1999:blog-7272124629041113580.post-30203816682312556042008-12-08T11:12:00.000-08:002008-12-08T11:12:00.000-08:00Hello Brian,I'm receiving the following error when...Hello Brian,<BR/><BR/>I'm receiving the following error when i try to test the components out in BizTalk.<BR/><BR/>There was a failure executing the receive pipeline: "PGPExample.Pipelines.Receive.Encrypt, PGPExample, Version=1.0.0.0, Culture=neutral, PublicKeyToken=698baaeee7a4ff40" Source: "PGP Pipeline Component [BAJ]" Receive Port: "Brian_PGPPipelineComponent_ReceivePort" URI: "E:\Decrypted\*.txt" Reason: Path cannot be the empty string or all whitespace. <BR/><BR/>Can you point me the right direction oh what path it's is referring to.<BR/><BR/>Basically i'm dropping a file into the Decrypted folder to be picked up and encrypted and placed into the encrypted folder.<BR/><BR/>Thank you,<BR/>-WayneTGOhttps://www.blogger.com/profile/10364238293181030804noreply@blogger.comtag:blogger.com,1999:blog-7272124629041113580.post-57162423674068345272008-12-03T07:54:00.000-08:002008-12-03T07:54:00.000-08:00If you go to the Bouncy Castle C# Home page, you w...If you go to the <A HREF="http://www.bouncycastle.org/csharp/index.html" REL="nofollow">Bouncy Castle C# Home</A> page, you will be able to download the latest source.Brianhttps://www.blogger.com/profile/12981695068074181076noreply@blogger.comtag:blogger.com,1999:blog-7272124629041113580.post-91168622031748137542008-12-03T07:50:00.000-08:002008-12-03T07:50:00.000-08:00The Bouncy Castle site download links are broken l...The Bouncy Castle site download links are broken links. Any other place to get that source?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7272124629041113580.post-87936673406626842702008-10-22T10:34:00.000-07:002008-10-22T10:34:00.000-07:00Brian-Thanks for the component. Any chance that y...Brian-<BR/><BR/>Thanks for the component. Any chance that you're going to add a EncryptAndSign() method?<BR/><BR/>Thanks.Anonymoushttps://www.blogger.com/profile/01129779758432406219noreply@blogger.comtag:blogger.com,1999:blog-7272124629041113580.post-39816787053914358012008-10-20T10:53:00.000-07:002008-10-20T10:53:00.000-07:00http://www.gnupg.org/http://www.gnupg.org/Brianhttps://www.blogger.com/profile/12981695068074181076noreply@blogger.comtag:blogger.com,1999:blog-7272124629041113580.post-82005085916199625342008-10-20T10:52:00.000-07:002008-10-20T10:52:00.000-07:00Could you please give me the link where I can Down...Could you please give me the link where I can Download the Software. Thanks for the HelpAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7272124629041113580.post-55918625852239997222008-10-20T10:48:00.000-07:002008-10-20T10:48:00.000-07:00Sunil,Glad things are working for you now. I used...Sunil,<BR/><BR/>Glad things are working for you now. I used GnuPG v1.4.7 to generate my keys.Brianhttps://www.blogger.com/profile/12981695068074181076noreply@blogger.comtag:blogger.com,1999:blog-7272124629041113580.post-9903254631714758062008-10-20T10:38:00.000-07:002008-10-20T10:38:00.000-07:00Thanks Brian. Now I am able to Compile. One more Q...Thanks Brian. Now I am able to Compile. One more Question regarding generating the Keys; do we have to purchase any Software to Generate the Private & Public Keys Or is there any freeware available. Thanks for the HelpAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7272124629041113580.post-20229116845799847962008-10-20T08:47:00.000-07:002008-10-20T08:47:00.000-07:00Sunil,It sounds like you are missing some of the p...Sunil,<BR/><BR/>It sounds like you are missing some of the property values, specifically the Operation. Make sure that you select either Encrypt or Decrypt from the Pipeline component properties window.<BR/><BR/>HTH -- BrianBrianhttps://www.blogger.com/profile/12981695068074181076noreply@blogger.comtag:blogger.com,1999:blog-7272124629041113580.post-2779940669549544012008-10-20T08:33:00.000-07:002008-10-20T08:33:00.000-07:00Brain,I am trying to use your Pipeline Component. ...Brain,<BR/><BR/>I am trying to use your Pipeline Component. I downloaded the code for building the crypto DLL and also Strong named it. Then I have downloaded your code for the Pipeline component and built the pipeline component. When I start using the pipeline component after copying it into appropriate location and also copied the DLLs to GAC I am running into the error "Component 'PGP Pipeline Component [BAJ]' properties validation failed. Invalid Operation:" Would please let me know if I have missed any Step. Appreciate your HelpAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-7272124629041113580.post-49973435358959367122008-09-16T13:33:00.000-07:002008-09-16T13:33:00.000-07:00Brian:I loaded the PGP Pipeline component into the...Brian:<BR/><BR/>I loaded the PGP Pipeline component into the GAC and started a new BizTalk project. In that project, I added the component into the Toolbox area when creating a Receive Pipeline object. When I dragged and dropped the component into the Designer view of the Receive Pipeline (in the Decode stage), I get a Microsoft Visual Studio error stating:<BR/><BR/>"Pipeline component Load() method failed on IPersistPropertyBag implementation: 'PGP Pipeline Component [BAJ]'"<BR/><BR/>Any ideas on how to resolve this issue?<BR/><BR/>Thanks,<BR/><BR/>Daniel.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7272124629041113580.post-24761585374554168462008-09-04T10:30:00.000-07:002008-09-04T10:30:00.000-07:00Brian, I tried to build/deploy the PGPExample pr...Brian,<BR/><BR/> I tried to build/deploy the PGPExample project and got the following error pointing to both the Decrypt.btp and Encrypt.btp objects:<BR/><BR/>Component 'PGP Pipeline Component [BAJ]' properties validation failed. Invalid Operation:<BR/><BR/> No other error details are provided and I did not modify any of the Pipeline Component Properties.<BR/><BR/> Can you tell me what is causing these build errors?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-7272124629041113580.post-74744096640472363782008-09-03T08:10:00.000-07:002008-09-03T08:10:00.000-07:00Hi Brian, Thanks for the tip. I downloaded the...Hi Brian,<BR/><BR/> Thanks for the tip.<BR/><BR/> I downloaded the source code from Bouncy Castle (v 1.4), strongly named the assembly and compiled it to generate my version of the crypto.dll file. I then referenced the dll in your project PGP, and built it, so now I have this pipeline DLL installed under the path "C:\Program Files\Microsoft BizTalk Server 2006\Pipeline Components". Do I need to install this assembly in the GAC, in order to consume it in a BizTalk project in VS 2005?<BR/><BR/>Regards.Anonymousnoreply@blogger.com