Skip to content

Instantly share code, notes, and snippets.

@Gottox
Created October 21, 2014 08:01
Show Gist options
  • Save Gottox/0983f82d96e94c76e654 to your computer and use it in GitHub Desktop.
Save Gottox/0983f82d96e94c76e654 to your computer and use it in GitHub Desktop.
/src/prae/qabel-desktop(master ✗) java -jar build/libs/qabel-desktop.jar --module ../qabel-helloworld-module/build/libs/qabel-helloworld-module-0.1.jar:de.qabel.helloworld.QblHelloWorldModule
Exception in thread "main" java.lang.ExceptionInInitializerError
at de.qabel.core.crypto.QblPrimaryKeyPair.<init>(QblPrimaryKeyPair.java:23)
at de.qabel.core.crypto.QblKeyFactory.generateQblPrimaryKeyPair(QblKeyFactory.java:83)
at de.qabel.desktop.QblMain.loadContacts(QblMain.java:48)
at de.qabel.desktop.QblMain.main(QblMain.java:37)
Caused by: java.lang.SecurityException: JCE cannot authenticate the provider BC
at javax.crypto.Cipher.getInstance(Cipher.java:642)
at javax.crypto.Cipher.getInstance(Cipher.java:580)
at de.qabel.core.crypto.CryptoUtils.<init>(CryptoUtils.java:69)
at de.qabel.core.crypto.CryptoUtils.<clinit>(CryptoUtils.java:33)
... 4 more
Caused by: java.util.jar.JarException: file:/home/tox/dev/src/prae/qabel-desktop/build/libs/qabel-desktop.jar has unsigned entries - de/qabel/desktop/QblMain.class
at javax.crypto.JarVerifier.verifySingleJar(JarVerifier.java:462)
at javax.crypto.JarVerifier.verifyJars(JarVerifier.java:322)
at javax.crypto.JarVerifier.verify(JarVerifier.java:250)
at javax.crypto.JceSecurity.verifyProviderJar(JceSecurity.java:161)
at javax.crypto.JceSecurity.getVerificationResult(JceSecurity.java:187)
at javax.crypto.Cipher.getInstance(Cipher.java:638)
... 7 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment