Compatible with DokuWiki
This plugin uses Tom Wu's implementation of RSA algorithm in JavaScript on the client to encrypt the password with the servers public key. The passwords are sent encrypted over HTTP. No need for HTTPS. Man-in-the-middle attacks are prevented by using a variable token (salt) added to the password before encrypting. Therefore, replay attacks don't work.
With version 20091213 and + , whenever a password has to be entered, it is automagically encrypted by this plugin, be it on the login, profile or admin page.
securelogin version 20091206 and + is compatible with the showlogin plugin.
When securelogin is used, there is always a use securelogin checkbox near the password field. If the browser has no JavaScript or JavaScript is disabled, then obviously, the passwords are sent in clear text, as they are by default with DokuWiki. In this case though, the user will notice the absence of the checkbox.
generate-new-key button.
Tested and found to not be functional under Angua. No checkbox appears on the login screen and I am not sure if the key generation is working. How can I test this? — greenseekergreenseeker
2012/02/02 19:41
It works for me under Angua. I do get a checkbox. Did you manually generate a new key pair on the Admin page (&do=admin&page=securelogin)? If it works the public key should be shown there. — Rik BlokRik Blok
rikblok
2012/02/02 20:17
I did generate the new key, or at least I tried. When I click Generate the page reloads but nothing visibly happens. I tried all available key length options and got the same result. — greenseekergreenseeker
2012/02/02 23:10
I'm not the plugin author so I'm just guessing but have you checked your file/folder permissions? Maybe the keys can't be written on the server. I don't know where they're supposed to be stored. — Rik BlokRik Blok
rikblok
2012/02/03 20:29
The key is stored indata/cache/securelogin.*. — Casper 2012/02/03 22:34
Just checked the permissions again and they're all good.data/cache/securelogin.inianddata/cache/securelogin.keyboth existed with a Feb 2 date, so they were created. I delete and recreated them again but still no checkbox at login. — greenseekergreenseeker
2012/02/04 17:30
Maybe a caching (⇒ delete cache) or template (try default template) problem? — Casper 2012/02/04 19:54
Seems to be an issue with the Arctic template. Odd, I've been using it forever and never had a problem. — greenseekergreenseeker
2012/02/06 19:56
It works for me with the latest Arctic template on Angua. I did have to regenerate my key at some point (but I don't remember if it was related to a DokuWiki or template update). — Rik BlokRik Blok
rikblok
2012/02/08 00:30
I'm not sure what the cause was, but it started working for me after changing to the default template and then back to arctic again. I did this yesterday and it didn't have any effect. — greenseekergreenseeker
2012/02/08 01:25