Java 6 Update 13 breaks crypto?
843811Apr 2 2009 — edited Apr 24 2009I 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.