Hi Andrea, sure, it was really only a quick hack/proof of concept and I am not too attached to it :-). It has several shortcomings; overcoming them would have involved much more time than I was willing to invest in this "hack". I have now looked at how other browsers do it:
Safari: http://www.macworld.com/article/2058081/how-to-use-icloud-keychain.html(see the Generate a password section) Chrome: https://sites.google.com/a/chromium.org/dev/developers/design-documents/password-generation(in development?) Firefox: only through extensions (e.g. https://addons.mozilla.org/cs/firefox/addon/secure-password-generator/) I tend to like the Chrome approach, although discoverability is probably not as good. The Safari approach (similar to my current one), doesn't allow for pwd customization. What do you think? I don't have experience with UI design and, obviously, I am not the right person to see the usability shortcomings since I know pretty well what I want from the feature :-) Or, of course, you might decide, that the feature is not worth the trouble and I will keep using the command line utility pwgen (after all, it is not such a big deal). Or I'll wait for extension support to arrive and then write an extension :-) Best, Jonathan 2013/11/13 andrea diamantini <[email protected]> > Hi Jonathan, > I'm a bit unsure about this patch. While this surely solves your "special" > case, what about the average user? I let my wife trying it and she couldn't > understand the need for it and how it really woks. Perhaps she is a bit > lower than average ;) > I'd like to hear someone else opinion about. > > > 2013/11/10 Jonathan Verner <[email protected]> > >> Hello, >> >> for some time now, I have been using the pwgen utility to generate >> random passwords for all the different web accounts I register. >> While this works it would be much nicer to have this integrated into >> the browser. So this past Saturday I sat down and implemented a >> proof of concept integration for rekonq (see attached patch). >> >> My implementation adds a "Generate random password" context menu action >> when >> the menu is shown above a password input field. This action >> >> 1. generates a random password of length 20 chars >> 2. fills in the password input field with the password >> 3. iterates over all password fields in the same form >> and fills them with the password (since registration >> forms often have a confirm password field) >> 4. copies the password to the clipboard >> >> The generator uses qrand to generate the passwords, which are >> alphanumeric. It >> tries to use /dev/urandom or, if not available, the number of milliseconds >> since 1/1/1970 to seed the random number generator on first use. >> >> What do you think? >> >> Best, >> >> Jonathan Verner >> _______________________________________________ >> rekonq mailing list >> [email protected] >> https://mail.kde.org/mailman/listinfo/rekonq >> >> > > > -- > > Andrea Diamantini > WEB: http://www.adjam.org > > rekonq project > WEB: http://rekonq.kde.org > IRC: rekonq@freenode > >
_______________________________________________ rekonq mailing list [email protected] https://mail.kde.org/mailman/listinfo/rekonq
