SEC-2901: java.security.InvalidKeyException: Illegal key size #3118
Labels
status: invalid
An issue that we don't feel is valid
type: bug
A general bug
type: jira
An issue that was migrated from JIRA
Zoltan Altfatter (Migrated from SEC-2901) said:
Using spring boot 1.2.1.RELEASE with Spring Security 4.0.0.RC1 and receive the following exception if I upgrade from jdk1.8.0_25.jdk to jdk1.8.0_31.jdk or jdk1.8.0_40.jdk
java.security.InvalidKeyException: Illegal key size
at javax.crypto.Cipher.checkCryptoPerm(Cipher.java:1039)
at javax.crypto.Cipher.implInit(Cipher.java:805)
at javax.crypto.Cipher.chooseProvider(Cipher.java:864)
at javax.crypto.Cipher.init(Cipher.java:1396)
at javax.crypto.Cipher.init(Cipher.java:1327)
at org.springframework.security.crypto.encrypt.CipherUtils.initCipher(CipherUtils.java:105)
at org.springframework.security.crypto.encrypt.AesBytesEncryptor.encrypt(AesBytesEncryptor.java:65)
at org.springframework.security.crypto.encrypt.HexEncodingTextEncryptor.encrypt(HexEncodingTextEncryptor.java:36)
at com.elerna.socrates.login.passwordrecovery.ResetPasswordTokenHandlerImpl.encrypt(ResetPasswordTokenHandlerImpl.java:30)
at
The text was updated successfully, but these errors were encountered: