Results 1 to 2 of 2
  1. #1
    Hemajoshi is offline Member
    Join Date
    Jun 2013
    Posts
    1
    Rep Power
    0

    Default Exception in PGP Decryption

    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.
    Last edited by Hemajoshi; 06-06-2013 at 09:59 PM.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,234
    Rep Power
    19

    Default Re: Exception in PGP Decryption

    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Need some help with encryption decryption
    By JP34 in forum New To Java
    Replies: 1
    Last Post: 11-06-2012, 04:29 AM
  2. Exception in PGP Decryption/Java
    By Triveni in forum New To Java
    Replies: 0
    Last Post: 07-23-2012, 09:12 AM
  3. Re: Exception in PGP Decryption
    By Deepa in forum New To Java
    Replies: 27
    Last Post: 07-18-2012, 05:16 AM
  4. Encryption and Decryption
    By jatinkansagara in forum Advanced Java
    Replies: 7
    Last Post: 06-27-2011, 03:08 PM
  5. problem about AES Decryption(help me please)
    By smart_mody in forum New To Java
    Replies: 2
    Last Post: 09-29-2009, 11:32 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •