MarkusR Well-Known Member Licensed User Longtime User Feb 13, 2018 #1 i got message ( its with java jdk-9.0.1 & jdk-9.0.4 B4A Version: 7.80 Parse den Code. (0.00s) Kompiliere den Code. (0.01s) Kompiliere Layoutcode. (0.00s) Organisiere Libraries. (0.00s) Generiere R Datei. (0.40s) Kompiliere generierten Java Code. (0.73s) Convert byte code - optimized dex. (0.26s) Packe Dateien. (0.45s) Kopieren von Bibliothek Ressourcen (0.00s) Signiere Paketdatei (privater Key). Error jarsigner: unable to sign jar: java.security.InvalidKeyException: The security strength of SHA-1 digest algorithm is not sufficient for this key size Click to expand...
i got message ( its with java jdk-9.0.1 & jdk-9.0.4 B4A Version: 7.80 Parse den Code. (0.00s) Kompiliere den Code. (0.01s) Kompiliere Layoutcode. (0.00s) Organisiere Libraries. (0.00s) Generiere R Datei. (0.40s) Kompiliere generierten Java Code. (0.73s) Convert byte code - optimized dex. (0.26s) Packe Dateien. (0.45s) Kopieren von Bibliothek Ressourcen (0.00s) Signiere Paketdatei (privater Key). Error jarsigner: unable to sign jar: java.security.InvalidKeyException: The security strength of SHA-1 digest algorithm is not sufficient for this key size Click to expand...
Erel B4X founder Staff member Licensed User Longtime User Feb 13, 2018 #2 Check these discussions: https://www.b4x.com/android/forum/p...algorithm+is+not+sufficient+for+this+key+size Specifically this one: https://www.b4x.com/android/forum/t...rivate-key-algorithm-is-not-compatible.87699/ Upvote 0
Check these discussions: https://www.b4x.com/android/forum/p...algorithm+is+not+sufficient+for+this+key+size Specifically this one: https://www.b4x.com/android/forum/t...rivate-key-algorithm-is-not-compatible.87699/
MarkusR Well-Known Member Licensed User Longtime User Feb 13, 2018 #3 thanks erel, i will use this keytool example from you. please add this in private sign key window in next version for others. Upvote 0
thanks erel, i will use this keytool example from you. please add this in private sign key window in next version for others.
MarkusR Well-Known Member Licensed User Longtime User Feb 13, 2018 #4 SOLVED i used this batch but my tablet (android 6.0) said app was not installed. it happened with the b4a bridge, then i used the usb cable, a message box pop up, certificate replace, ok. i installed via usb and it works now also with b4a bridge. this i used in cmd window, it ask something and you just need to answer Code: D:\Java\jdk-9.0.4\bin\keytool -genkey -v -keystore E:\MR_B4A\mr.keystore -alias b4a -validity 3650 -keysize 1024 Last edited: Mar 12, 2018 Upvote 0
SOLVED i used this batch but my tablet (android 6.0) said app was not installed. it happened with the b4a bridge, then i used the usb cable, a message box pop up, certificate replace, ok. i installed via usb and it works now also with b4a bridge. this i used in cmd window, it ask something and you just need to answer Code: D:\Java\jdk-9.0.4\bin\keytool -genkey -v -keystore E:\MR_B4A\mr.keystore -alias b4a -validity 3650 -keysize 1024