jarsigner

Un-Jarsign?

Hello, If I have a JAR (Android APK), and I signed it like this: jarsigner -keystore my.keystore someApk.apk myAlias How do I un-sign it? Because if I open it as a zip file and try to extract the AndroidManifest.xml, they are all messed up. Thanks, Isaac Waller ...

How to verify a jar signed with jarsigner programmatically

I'm wanting to sign a jar using jarsigner, then verify it using a Java application which does not have the signed jar as part of it's classpath (i.e. just using a filesystem location of the jar) Now my problem is getting the signature file out of the jar, is there a simple way to do this? I've had a play with the Inflater and Jar Input...

How can I sign an OSGi bundle with Ant without overwriting the MANIFEST.MF contents?

I have an Eclipse plugin for which I create the OSGi bundle JARs with Ant. I would like to sign them with the Ant task, but that overwrites the MANIFEST.MF contents with the class signatures, making the OSGi bundles unusable. The JDK jarsigner tool has the same behavior. The Eclipse PDE seems to have that functionality, but as far as I ...

Published Android apk gives error "Package file was not signed correctly"

I recently uploaded my application to the android market however it's refusing to run when downloaded due to the error Package file was not signed correctly I first published the packet using eclipse, right click export, creating a keystore then publishing, however it refuses to work. I then downloaded the keytool and jarsigner an...

Android JARSIGNER GUI tool?

Newbie question. After I have written the Android App (easy part) I need to sign it and upload it (seems the hard part) Is there an Open Source app or tool that I can use to do this so that I don't have to write command shell scripts. JARSIGNER looks overly complex. I'm looking for a dead simple Sign-And-Package up tool. I am using E...

Jarsigner: certificate chain not found for ...

I have imported a certificate into a private ~/.keystore file: keytool -list Enter keystore password: Keystore type: JKS Keystore provider: SUN Your keystore contains 1 entry mylyn-mantis, Jul 15, 2010, trustedCertEntry and am trying to sign a jar with it, but I get a 'certificate chain not found' error. jarsigner -verbose /home/...

How do I sign an apk using .key file?

I created an application which is currently on Android market. The key used to sign the application was made using jarsigner. How do I sign using the .key file originally generated? ...

How to renew a jar signature?

Warning: The signer certificate has expired. I get the following when I try to sign with jarsigner, and the output jar doesn't get generated. How do I renew my jar signature? ...

How to know which jars are the unsigned?

jarsigner -verify -verbose -certs /Users/simpatico/ws/MemoPlatform/application/target/webstart/foo/org-netbeans-modules-xml-retriever/org-netbeans-modules-xml-retriever.jar Returns that the jar is indeed signed: ... smk 4996 Mon Aug 02 14:20:54 AST 2010 org/netbeans/modules/xml/retriever/impl/Util.class X.509, CN=Gabriele, ...