Kunena 7.0.5 & Kunena 6.4.11 – Security Updates Released

The Kunena team has announce the arrival of Kunena 7.0.5 [K 7.0.5] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0.

The Kunena team is also pleased to announce the eleventh version of Kunena 6.4, a native Joomla extension for Joomla! 5.0, 5.1, 5.2, 5.3, 5.4 and 6.0.

This category contains miscellaneous, uncategorised third-party extensions (e.g. JomSocial, Community Builder, etc.) relating to older versions of Kunena that are no longer supported.

This category may also contain a few topics relating to K 1.6 that may have been moved here possibly by mistake.

The topics in this category are for historical interest only. Owing to the structural differences between K 1.6 and K 1.7, the ideas in these topics may not work with later versions and, for that reason, the topics are locked.

Question Password Migration

More
17 years 3 months ago #6131 by pixuk
Password Migration was created by pixuk
Hi,

I have a large and active site that I'm bringing over to Kunena. The biggest challenge (apart from the sheer weight of the data) is that the legacy forum stores passwords in one-way SHA256 encryption, so I have no way of converting that over to Kunena format.

However, I have an idea. If I bring the password over to a new field in its existing SHA256 code to sit alongside the Kunena data, I can then intercept the login of the site / forum, and do the following:

- Is legacy-password field populated? Yes/No
- If No, perform standard site login
- If Yes, encrypt the given password using SHA256, and compare it against the legacy-password field
- If no match, abandon login as fail
- If a match, encode the given password into Kunena encrypted format and write that into the Kunena password field. Delete the contents of the legacy-password field so it won't be checked on future logins.

So, the question is (having never written a Joomla / Kunena extension before), can anyone point me at a core bit of code that handles the login site-wide? Do Kunena and Joomla both have their own login routines which need to be modified?

I suspect, since many other forums (fora?) use their own password encryption method, a plugin such as this may be useful in a more generic way.

Please Log in or Create an account to join the conversation.

More
17 years 3 months ago #6136 by Matias
Replied by Matias on topic Re:Password Migration
Kunena itself has nothing to do with authentication, this part is handled by Joomla. So you would need to write Joomla plugin to handle that information. You can also use your own table in the database to save external passwords.

Please Log in or Create an account to join the conversation.

More
17 years 3 months ago #6144 by forum-migrations
Ok if i understood

The legacy forum have an assimetrycal password encryption of SHA256

You need to convert it to Joomla, MD5:salt

You can modify the authentication Joomla file for modify the way the users log in, how? with insertion of code that capture the password when users log-in, make new encryption by apply the joomla encryption and store it on the table

Please Log in or Create an account to join the conversation.

More
17 years 2 months ago #6234 by pixuk
Replied by pixuk on topic Re:Password Migration
Yes, that sounds pretty much like it.

Another option that comes to mind, as this is a completely fresh install, is to replace the MD5:salt encryption with SHA256, then doing away with the need to convert a users password on login.

Please Log in or Create an account to join the conversation.

More
17 years 2 months ago #6289 by beat
Replied by beat on topic Re:Password Migration
or just write a joomla 1.5 authentication plugin (or a cb 1.2 authentication plugin).

See LDAP or google ones in joomla 1.5.

Those auto-create the user in joomla, based on external refs.

Beat B)
CB Team

Please Log in or Create an account to join the conversation.

More
17 years 2 months ago #6332 by pixuk
Replied by pixuk on topic Re:Password Migration
Thanks Beat,

That's exactly what I did, and it works a treat.

Didn't realise how easy Joomla makes it to modify / augment the code. :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.230 seconds