I tried again but I cannot reproduce this. All tests pass for me.

Can someone else try testing with 1.4.2_05? Remember you must
install the unlimited JCE strength policy files for all tests to pass.

Thanks,
Sean

Davanum Srinivas wrote:
C:\JDK14\jre\lib\security>jar tvf local_policy.jar
   169 Mon Jun 16 15:36:32 EDT 2003 META-INF/MANIFEST.MF
   194 Mon Jun 16 15:36:42 EDT 2003 META-INF/JCE_DSA.SF
  2207 Mon Jun 16 15:36:42 EDT 2003 META-INF/JCE_DSA.DSA
   194 Mon Jun 16 15:36:32 EDT 2003 META-INF/JCE_RSA.SF
  2022 Mon Jun 16 15:36:32 EDT 2003 META-INF/JCE_RSA.RSA
     0 Mon Jun 16 15:36:30 EDT 2003 META-INF/
   192 Mon Jun 16 15:36:28 EDT 2003 default_local.policy


On Tue, 13 Jul 2004 15:04:35 -0400, Sean Mullan <[EMAIL PROTECTED]> wrote:

Do the contents look like?:

$ jar tf $JAVA_HOME/jre/lib/security/local_policy.jar
META-INF/MANIFEST.MF
META-INF/JCE_DSA.SF
META-INF/JCE_DSA.DSA
META-INF/JCE_RSA.SF
META-INF/JCE_RSA.RSA
META-INF/
default_local.policy




Davanum Srinivas wrote:

yep. i did.

-- dims

On Tue, 13 Jul 2004 13:43:35 -0400, Sean Mullan <[EMAIL PROTECTED]> wrote:


Hi Dims,

I could not reproduce this. Are you sure you downloaded and installed
the unlimited strength policy files: http://java.sun.com/j2se/1.4.2/download.html
(scroll to bottom of page).

--Sean



Davanum Srinivas wrote:


FYI, if i drop bc-jce-jdk13-124.jar into jre\lib\endorsed it works
fine....So it's probably a bug in the javax.crypto / local_policy.jar
/ US_export_policy.jar

-- dims

On Mon, 12 Jul 2004 12:27:00 -0400, Davanum Srinivas <[EMAIL PROTECTED]> wrote:



FYI, "JDK 1.3.1_11" works fine "JDK 1.5.0-beta2" works fine BUT
1.4.2_05 has 8 failures (Yes, with the strong crypto stuff) 4 in
BaltimoreEncTest and 4 in XMLCipherTester. Tested with older versions
of BC providers as well with same effect. (So i suspect that the
problem is not in the version of BC provider.). Note that JDK1.4.2_04
worked fine.

-- dims

-------------------------------------------------------------------------------------------------------------------------------
Unsupported keysize or algorithm parameters

java.lang.SecurityException: Unsupported keysize or algorithm
parameters at javax.crypto.Cipher.init(DashoA6275) at
org.apache.xml.security.encryption.XMLCipher.decryptToByteArray(XMLCipher.java:1476)
at org.apache.xml.security.encryption.XMLCipher.decryptElement(XMLCipher.java:1334)
at org.apache.xml.security.encryption.XMLCipher.doFinal(XMLCipher.java:808)
at 
org.apache.xml.security.test.encryption.BaltimoreEncTest.decryptElement(BaltimoreEncTest.java:514)
at 
org.apache.xml.security.test.encryption.BaltimoreEncTest.test_five_content_aes256_cbc(BaltimoreEncTest.java:289)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
-------------------------------------------------------------------------------------------------------------------------------

--
Davanum Srinivas - http://webservices.apache.org/~dims/












Reply via email to