wimpie3 Well-Known Member Licensed User Longtime User Nov 30, 2017 #1 I've recently reinstalled B4A together with jdk1.8.0_151 and when I want to generate a new private key, I get this error: B4X: The security strength of SHA-1 digest algorithm is not sufficient for this key size Might be linked to the info that can be found at http://www.oracle.com/technetwork/java/javase/8u151-relnotes-3850493.html
I've recently reinstalled B4A together with jdk1.8.0_151 and when I want to generate a new private key, I get this error: B4X: The security strength of SHA-1 digest algorithm is not sufficient for this key size Might be linked to the info that can be found at http://www.oracle.com/technetwork/java/javase/8u151-relnotes-3850493.html
wimpie3 Well-Known Member Licensed User Longtime User Nov 30, 2017 #2 Solved by downgrading to JDK 1.8 102 (why does a jdk uninstall/install take so long....), but this is something that definitely needs to be addressed in the future.
Solved by downgrading to JDK 1.8 102 (why does a jdk uninstall/install take so long....), but this is something that definitely needs to be addressed in the future.
Erel B4X founder Staff member Licensed User Longtime User Nov 30, 2017 #3 I wasn't able to reproduce it. Tested with both Java 9 and the latest Java 8. Were you using 32 bit Java?
I wasn't able to reproduce it. Tested with both Java 9 and the latest Java 8. Were you using 32 bit Java?
erosolmi Member Licensed User Longtime User Jan 2, 2018 #4 I've got the same problem just after creating a private key JDK 1.8.0.152 Using Debug key is OK Attachments jarsigner.error.java.security.InvalidKeyException.PNG 61 KB · Views: 481 Last edited: Jan 2, 2018
erosolmi Member Licensed User Longtime User Jan 2, 2018 #5 OK, saw just now: https://www.b4x.com/android/forum/t...rivate-key-algorithm-is-not-compatible.87699/
OK, saw just now: https://www.b4x.com/android/forum/t...rivate-key-algorithm-is-not-compatible.87699/