0 Replies Latest reply on Sep 5, 2005 9:52 PM by ryan.campbell

    SRP test failure: testSRPLoginWithAuxChallenge

    ryan.campbell Expert

      I'm seeing this failure both on cruisecontrol and locally.

      junit.framework.AssertionFailedError:
      Unable to complete login: Failed to complete SRP login,
      msg=Failed to encrypt aux challenge
      at org.jboss.test.security.test.SRPLoginModuleUnitTestCase.testSRPLoginWithAuxChallenge(SRPLoginModuleUnitTestCase.java:128)
      


      Before I see this failure, I see this in the server.log
      2005-09-05 20:17:00,053 ERROR [org.jboss.security.srp.jaas.SRPLoginModule] Failed to encrypt aux challenge
      java.security.GeneralSecurityException: Failed to create SealedObject, msg=Unsupported keysize or algorithm parameters
       at org.jboss.security.Util.createSealedObject(Util.java:505)
       at org.jboss.security.srp.jaas.SRPLoginModule.encryptAuxChallenge(SRPLoginModule.java:423)
       at org.jboss.security.srp.jaas.SRPLoginModule.login(SRPLoginModule.java:224)
       at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
       at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
       at java.lang.reflect.Method.invoke(Method.java:324)
       at javax.security.auth.login.LoginContext.invoke(LoginContext.java:675)


      Is again the problem with configuring the available ciphers, or some other security setting?