I am trying to recreate the same blowfish results which Wildfire generates for the purpose of reproducing the same password as in the jiveUser encryptedpassword field. I have read through src/java/org/jivesoftware/wildfire/auth/AuthFactory.java
The first them I am trying to figure out is whether it is using CBC or ECB mode. If it is CBC where is the initialization vector stored ? So I am assuming ECB.
I have the passwordKey from the DB and have tried the following so far:
PEAR crypt_blowfish ( http://pear.php.net/package/Crypt_Blowfish/ )
None of those produce the same encryptedpassword (nor can they decrypt for that matter).
Would anyone happen to know what I am doing wrong or has anyone successfully gotten the same encrypted results as wildfire using php or any other language (preferably PHP or something I can run via command line). I could only find two relating posts:
But it seems neither of those came up with a resolution other than not using the blowfish encrypted passwords.
Any and all help is welcome !