Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Exception in PGP Decryption

1013276Jun 6 2013 — edited Jun 7 2013
Hi ,

I updated my policy files to resolve the pgp encryption issue (com.didisoft.pgp.PGPException: error setting asymmetric cipher : Illegal key siz) it works fine ,
but when i'm building the jar and keeping the same in different server it gives the same exception again , Is there any way i can force my program to read the US_policy & local_policy jar files in my lib folder for encryption rather then reading \Java\jdk1.5.0_07\jre\lib\security\ US_policy & local_policy jar .
The issue is many other programs use that system (server) to run there jobs , I'm scared if i change US_policy & local_policy jar inside \Java\jdk1.5.0_07\jre\lib\security\ US_policy & local_policy jar for the server it might affect other jobs running on that system.

Thanks
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 5 2013
Added on Jun 6 2013
5 comments
918 views