Skip to main content

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 -keypass pjircpjirc12345 pixx.jar pjirc
jarsigner -verify -verbose -certs pixx.jar

-----end of batchfile.bat------






Now you can use pjirc without having the 2nd boring message regarding the mixed signatures for the code.




-------------------------------------------------------------------------------


Some links that I've visited as reference

# keytool.exe and jarsigner.exe from the Sun Java Software Development Kit (version 1.4.2_06)

    web: java.sun.com/j2se/1.4.2/
    download: java.sun.com/j2se/1.4.2/download.html

# openssl.exe from the Win32 OpenSSL library (version 0.9.7e)

    web: http://www.openssl.org/
    download: www.openssl.org/related/binaries.html

# thawtecleaner.jar from Richard Dallaway

    web: www.dallaway.com/acad/webstart/
    download: www.dallaway.com/acad/webstart/thawtecleaner.jar

# signcode.exe from the Microsoft Authenticode Software Development Kit

    web: msdn.microsoft.com/workshop/security/authcode/intro_authenticode.asp
    download: download.microsoft.com/download/b/e/f/bef2551b-401d-4311-ab8f-13d3892b8154/codesigningx86.exe


http://www.pantaray.com/signcode.html
http://forum.pjirc.com/viewtopic.php?p=2832

Comments

Popular posts from this blog

Moodle 3.8.1+ - path leak via errors in several files

Moodle 3.8.1+ ----------------------------------------------- File: admin/mailout-debugger.php #!/usr/bin/php Notice : Disabled. in \admin\mailout-debugger.php on line 73 File: admin/settings/appearance.php Notice : Undefined variable: hassiteconfig in \admin\settings\appearance.php on line 10 Fatal error : Uncaught Error: Call to undefined function has_any_capability() in \admin\settings\appearance.php:10 Stack trace: #0 {main} thrown in \admin\settings\appearance.php on line 10 File: admin/settings/badges.php Notice : Undefined variable: hassiteconfig in \admin\settings\badges.php on line 30 Fatal error : Uncaught Error: Call to undefined function has_any_capability() in \admin\settings\badges.php:30 Stack trace: #0 {main} thrown in \admin\settings\badges.php on line 30 File: admin/settings/courses.php Notice : Undefined variable: hassiteconfig in \admin\settings\courses.php on line 32 Fatal error : Uncaught Error: Call to undefined function

2022 - Remove (the too many) Ads from Memu launcher

Simple method Download from pureapk "MEmu Launcher2" ex: MEmu Launcher2_v6.0.9_apkpure.com Install "System app remover" (root) remove from system apps the "memu launcher 2" import the "purified" MEmu Launcher2 apk with the Memu utility ("apk" on the right toolbar) Longer method Install "Export Apk" Export the memu launcher2  Install purify https://github.com/echo-devim/purify/raw/master/Purify.apk use purify with the exported memu launcher 2 Install "System app remover" (root) remove from system apps the "memu launcher 2" import the "purified" MEmu Launcher2 apk with the Memu utility ("apk" on the right toolbar)