|
From: Moshe S. <mo...@sp...> - 2003-05-27 06:37:46
|
Thanks for your suggestion, Geoff. Unfortunately my web application is running on a shared Tomcat server and I don't have control over the order of the security providers. I tried re-inserting OpenPGP as the #1 provider in my code but this didn't seem to have any effect on the order. There also doesn't seem to be any way to programatically choose a specific provider when reading a KeyStore - perhaps this is a weakness of the API. Still, though, from the stacktrace clearly the OpenPGP classes are getting used - note the top line in the stacktrace: at cryptix.openpgp.algorithm.PGPElGamal.(PGPElGamal.java:94) it is specifically the PGPElGamal class which seems to be throwing the NoSuchAlgorithmException! As far as the VM, when I tested standalone I used the same VM as Tomcat uses. Beyond that, I don't know any other configuration issues which could affect this problem. Any other ideas? ----- Original Message ----- From: "Geoff Whittington" <geo...@ya...> To: <cry...@li...> Sent: Tuesday, May 27, 2003 5:18 AM Subject: Re: [Cryptix-users] NoSuchAlgorithmException from Tomcat? > What if you put OpenPGP as the #1 provider? > > Are you using a different VM/configuration with > Tomcat? |