Skip to Main Content

Java Security

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!

Java 6 Update 13 breaks crypto?

843811Apr 2 2009 — edited Apr 24 2009
I have an app which has been running successfully in production for over 5 years. I do some minor encryption of user information in a disk file, using the Cryptix library. I initialize the library like this:

java.security.Security.addProvider(new cryptix.provider.Cryptix());
Cipher alg = Cipher.getInstance("Blowfish", "Cryptix");

This has always worked fine until this week. One of my users upgraded to Java 6 Update 13, at which point the second statement started throwing an exception:

netscape.security.ForbiddenTargetException: There is no security target with name "GetSecurityProviders"
at xjava.security.IJCE_SecuritySupport.findTarget(IJCE_SecuritySupport.java:237)

I'm not a crypto expert, so I'm a little baffled at what could have changed and how to track it down. Any ideas? Thanks in advance.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 22 2009
Added on Apr 2 2009
4 comments
599 views