Function for Bouncy Castle - PGP Utility - 1.0.0
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
16-09-22 08:47 PM
Hi All,
Have any of you integrated the Bouncy castle PGP utility from digital exchange? Followed the exact same steps per the guide but still facing an issue during integration( Could not execute code stage because exception thrown by code stage : Object reference not set to an instance of an object). Not sure if I am missing any references here. Any help would be very much appreciated. Thanks!
------------------------------
Ashok Chelladurai
Vice president
State Street
America/New_York
------------------------------
Have any of you integrated the Bouncy castle PGP utility from digital exchange? Followed the exact same steps per the guide but still facing an issue during integration( Could not execute code stage because exception thrown by code stage : Object reference not set to an instance of an object). Not sure if I am missing any references here. Any help would be very much appreciated. Thanks!
------------------------------
Ashok Chelladurai
Vice president
State Street
America/New_York
------------------------------
7 REPLIES 7
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-09-22 01:09 PM
Hello @Ashok Chelladurai,
Couple questions.
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Couple questions.
- Did you download a copy of the BouncyCastle v1.8.10 DLL and place it in the Blue Prism Automate folder?
- What version of Blue Prism are you using?
- Are you experiencing the error on Encrypt, Decrypt, or both?
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-09-22 01:36 PM
Hi @Ashok Chelladurai,
I think I know what might be going on. There are some exception handlers within the code that try to create a response message using the main exception message as well as an inner exception message. However, if there's no inner exception object you'll get the error you're seeing. My guess is, the encryption key you're using isn't what the VBO/BouncyCastle expects. As such, it's running into this exception handling which is actually failing.
I'll let the developer know about the exception handling so they can update the VBO. What sort of public/private key are you using? Is it something you generated yourself?
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
I think I know what might be going on. There are some exception handlers within the code that try to create a response message using the main exception message as well as an inner exception message. However, if there's no inner exception object you'll get the error you're seeing. My guess is, the encryption key you're using isn't what the VBO/BouncyCastle expects. As such, it's running into this exception handling which is actually failing.
I'll let the developer know about the exception handling so they can update the VBO. What sort of public/private key are you using? Is it something you generated yourself?
Cheers,
------------------------------
Eric Wilson
Director, Integrations and Enablement
Blue Prism Digital Exchange
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-09-22 07:09 PM
Hi Ashok,
I updated the Bouncy Castle PGP Utility to v1.1.0. If you download and import this updated version, it should give you a more meaningful error message.
https://digitalexchange.blueprism.com/dx/entry/9648/solution/bouncy-castle---pgp-utility
Regards,
Charlie
------------------------------
Charlie Kovacs
Sr. Digital Exchange Engineer
Blue Prism
Austin, USA
------------------------------
I updated the Bouncy Castle PGP Utility to v1.1.0. If you download and import this updated version, it should give you a more meaningful error message.
https://digitalexchange.blueprism.com/dx/entry/9648/solution/bouncy-castle---pgp-utility
Regards,
Charlie
------------------------------
Charlie Kovacs
Sr. Digital Exchange Engineer
Blue Prism
Austin, USA
------------------------------
Charlie Kovacs
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-09-22 07:14 PM
Thank you Eric, I will test the latest one and provide an update.
------------------------------
Ashok Chelladurai
Vice president
State Street
America/New_York
------------------------------
------------------------------
Ashok Chelladurai
Vice president
State Street
America/New_York
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
19-09-22 07:17 PM
Thank you Charles, Let me test this one.
Just FYI, I am testing with GPG open standard and I believe that is supported by bouncy castle.
------------------------------
Ashok Chelladurai
Vice president
State Street
America/New_York
------------------------------
Just FYI, I am testing with GPG open standard and I believe that is supported by bouncy castle.
------------------------------
Ashok Chelladurai
Vice president
State Street
America/New_York
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
22-09-22 01:21 AM
Hi Charles
The utility is working as expected. May i know what was the issue earlier?
Regards
Ashok
------------------------------
Ashok Chelladurai
Vice president
State Street
America/New_York
------------------------------
The utility is working as expected. May i know what was the issue earlier?
Regards
Ashok
------------------------------
Ashok Chelladurai
Vice president
State Street
America/New_York
------------------------------
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
22-09-22 04:33 PM
Hi Ashok,
I am glad to hear the utility is working for you now. The difference between v1.0.0 and v1.1.0 is the exception handling as Eric described. V1.1.0 now includes checks to see if an Exception object contains a non-null InnerException before trying to use it in creating the error message.
Otherwise, the core behavior of the utility remains unchanged.
------------------------------
Charlie Kovacs
Sr. Digital Exchange Engineer
Blue Prism
Austin, USA
------------------------------
I am glad to hear the utility is working for you now. The difference between v1.0.0 and v1.1.0 is the exception handling as Eric described. V1.1.0 now includes checks to see if an Exception object contains a non-null InnerException before trying to use it in creating the error message.
Otherwise, the core behavior of the utility remains unchanged.
------------------------------
Charlie Kovacs
Sr. Digital Exchange Engineer
Blue Prism
Austin, USA
------------------------------
Charlie Kovacs
