Skip to main content

Posts

Showing posts with the label solve

Sign java application - solve the mixed signed code of pjirc

How to remove the boring mixed signed code in applets like pjirc (I've done this post for this specific one). Tools needed java JDK  (just download it from the sun/oracle website). http://www.oracle.com/technetwork/java/javase/downloads/index.html I've used the same password ... it's not a good idea .... but who cares. password keystore: pjircpjirc12345 key password: pjircpjirc12345 Remember to have the jdk binaries in the PATH Go to the pjirc folder and rename the irc-unsigned.jar to irc.jar Use those lines in a batch file. Modify them as much as you want. -----batchfile.bat------ keytool -genkey -keyalg rsa -alias pjirc -dname "CN=Trueliar, OU=Somebody, O=SomeCompany, L=Somewhere, ST=Somewhere, C=IT" -storepass pjircpjirc12345 -keypass pjircpjirc12345 keytool -export -alias pjirc -file pjirc.crt -storepass pjircpjirc12345 jarsigner -storepass pjircpjirc12345 -keypass pjircpjirc12345 irc.jar pjirc jarsigner -storepass pjircpjirc12345 -keypa...