-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for signed Releases #3
Comments
There seems to be support for this in BouncyCastle. There is even an example here. It would be interesting to try to sign a |
Yes, that looks to be the same as this one from 2015 although there is not date available on the doc jar page. Maybe there are some subtle differences. Did it compile and not run? Or not compile?
|
I downloaded two jar files from the BouncyCastle webpage. Using $ java -cp bcprov-jdk15on-156.jar -cp bcpg-jdk15on-156.jar org.bouncycastle.openpgp.examples.ClearSignedFileProcessor
Error: A JNI error has occurred, please check your installation and try again
Exception in thread "main" java.lang.NoClassDefFoundError: org/bouncycastle/jce/provider/BouncyCastleProvider
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
at java.lang.Class.privateGetMethodRecursive(Class.java:3048)
at java.lang.Class.getMethod0(Class.java:3018)
at java.lang.Class.getMethod(Class.java:1784)
at sun.launcher.LauncherHelper.validateMainClass(LauncherHelper.java:544)
at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:526)
Caused by: java.lang.ClassNotFoundException: org.bouncycastle.jce.provider.BouncyCastleProvider
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
... 7 more
|
try using
I am pretty sure it's then complaining that I didn't pass an argument so the args[] is empty. |
TODO:
|
Thank you so much for your help. After further consideration we will use some other mechanism to create our PPA. |
Ok. Thanks for letting me know. I hope you'll try again once 1.1 is released. |
Assume this is dead? |
Not intentionally, I just haven't had lots of time, and the webhooks project is more popular. |
I'm making good progress on this. Are you interested in testing it @zedle ? |
absolutely @netwolfuk |
Great @zedle. Thanks for your patience. We have a new baby in the house, so my spare time has dried up a bit . |
@netwolfuk No worries, let me know. Could certainly use this project for our build server. |
add InRelease and Release.gpg files "clear signed" with gpg
The text was updated successfully, but these errors were encountered: