Wednesday, 25 August 2010

use cygwin/cygnus applications/executables without re-installing everything

A Friend asked me how to use cygwin binaries (executables and/or dlls) standalone.
The procedure is very simple and actually worked for me with a lot of execs.

Install cygwin (if you don't have already the files that you need) and move your executable(s) and the related cygnus dlls that are necessary.
For sure you will need cygwin1.dll! (for anything)
Use dependency walker (application) to check for other needed files (suggested method) or just run awk and see the errors of the missing dlls. You shouldn't need to reinstall cygnus after moving awk and the dlls in the same folder.

Tuesday, 24 August 2010

Manually uninstall Adobe (ex Macromedia) Flash | cannot open links in internet explorer

I've lately had a problem with adobe flash (v. 10a?) on windows and I've tried to uninstall it with the uninstaller from adobe (without success).



The folder is
%windir%\system32\Macromed\Flash 


unregister the ocx
regsvr32 /u %windir%\system32\Macromed\Flash\flashVERSION.ocx
and delete the whole folder
%windir%\system32\Macromed\Flash


we can also (facultative) delete the data within this folder
%APPDATA%\Macromedia\Flash Player
 


-----------------------------
Some versions of Flash player 10 have several problems with Internet Explorer 8.
I've encountered the problem that I couldn't open/click the links from any textfield .... quite strange.

For the version 10i of flash I've solved by only reregistering the ocx


regsvr32 %windir%\system32\Macromed\Flash\flash10i.ocx
An easy thing to do ... but bothered me for more than 2 hours -.-

Thursday, 12 August 2010

OpenID Endpoints List

AOL - http://openid.aol.com/username
Blogspot - http://username.blogspot.com/
Certifi.ca - http://certifi.ca/username
Chimp - http://chi.mp/ (tested as specified by the site ... but not working ????)
Claimid - http://claimid.com/username
Facebook - ????
Flickr (yahoo) - http://flickr.com/username
Google - https://www.google.com/accounts/o8/id
Hyves - http://www.hyves.nl/
Identitude - https://username.identitu.de   (Outdated - Site is now for sale ... )
Linuxfeed (Myopenid) - https://openid.linuxfeed.org/
Livejournal - http:// username.livejournal.com
MyID - https://myid.net/ 
MyOpenID - https://myopenid.com/ 
Myspace - http://www.myspace.com/username
Myvidoop - http://username.myvidoop.com
MyDocomo - https://i.mydocomo.com
Steam - http://steamcommunity.com/openid/username
Technorati - http://technorati.com/people/technorati/username/
Tinyid (dead) - http://tinyid.us/username
Typepad - http://profile.typekey.com/username
Virgilio - http://www.myvirgilio.it | http://username.myvirgilio.it
Verisign - http://pip.verisignlabs.com/ 
Wordpress - http://username.wordpress.com
Yahoo - http://me.yahoo.com/

References: http://openiddirectory.com

Friday, 6 August 2010

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