6 ms·
Even major browsers store/show passwords in clear text, can it be that wrong? ;)
by dgesang 13y ago
Even major browsers store/show passwords in clear text, can it be that wrong? ;)
- graue 13y agoThat's different. Browsers need to show your password to external websites to prove to others that you're you. This requires storing the actual password. They expose saved passwords in the UI because if they didn't, it would create a false sense of security. There's always going to be some way to get the saved passwords, or the feature wouldn't work. The router admin interface only needs to check your password. It can do that by storing only a cryptographic hash, not the password itself.
- darkmighty 13y agoI think they could however, as a default behavior, store each password encrypted individually using itself as a key, that way no plaintext passwords would need to be stored at all.
- kcorbitt 13y agoThen you would have to type in the password each time you wanted to use it anyway. Not much sense in storing anything in that case. :)
- dgesang 13y agoIt does make a lot of sense, actually, as you need to remember only one master key instead of multiple login-password combinations.
- derefr 13y agoThat's different from "using itself as a key", which is what the GGP said.
- darkmighty 13y agoYup that's right, my bad. I were thinking of a way of somehow not requiring input yet providing passwords without plaintext storage. What would actually work I guess would be storing a hash of <the password, a unique string provided through https auth>. So for the first time the browser would hash the pass and afterwards just provide the pass to the server as a hash without requiring input, acting as a normal pass to the server. However, that would either require some sort of universal agreement among browsers to work, which is tricky to require, or some browser-server protocol in which the browser would only carry such procedure to supported servers. If a supported server is accessed through a non-supported browser, the server itself would perform the hash. Probably too much of a hassle just in name of abolishing plaintext passwords on browsers, but I couldn't think of anything simpler. However, fun to imagine :) Obs: This would have the extra bonus of depriving knowledge of plaintext passwords to servers (in case they are compromised, the attacker would not get to try the pass across other services) and preventing password extraction through impersonation of webpages (although this is already guaranteed by https to some extent).
- entropy_ 13y agoIf servers accepted a hash of a password instead of the actual password then the hash becomes the password. Ie, possession of the hash is equivalent to possession of the password since it can be used to authenticate. Therefore, this is no different than storing them in plaintext. Furthermore, it would mean that if the hashes got stolen because a server was compromised those could be used as passwords and that would make it pointless to hash them in the first place. In other words, no, that wouldn't work.
- dTal 13y agoAnd if you need to log in from a different computer? All you are suggesting is replacing one password with another, harder to remember password. The system where the server only stores salted hashes and hashes your password server-side every time you log in is called "good practice". If you're allowing dedicated protocols and hard-to-remember keys, just use public/private keys.
- xtreme 13y agoBrowsers need to store the passwords in plaintext, because they need to populate the password field when you visit that website. However, you can store them encrypted using a master password and decrypt them once per session.
- derefr 13y agoAnd, on OSX at least, every browser does this anyway, since the Keychain is right there to make use of and unlocking it is built into the OS. I'm really surprised Windows has no equivalent to this.
- girvo 13y agoMy issue with Keychain is that unlocking it once keeps it unlocked, and my sessions on my iMac last forever (I rarely turn it off or log off) Any ideas on the best way of tackling that? Perhaps I'm using it incorrectly?
- derefr 13y agoYou're using Keychain correctly, but using your computer's authentication system incorrectly. Desktop environments in general (in Windows, OSX, Linux, etc.) assume that you will lock your session whenever you are not present and in control of the computer. (Thus, Keychain locks when the session is locked.) This is currently a big hassle to do, but all other security on the system is built up around that concept. Really, PCs need something like TouchID. Or something like pairing to your phone, and then detecting it in proximity and prompting a TouchID confirmation from it. Phone goes out of proximity = computer locks.
- reginaldjcooper 13y ago> This is currently a big hassle to do ⇧⌃⏏ is insufficient?
- derefr 13y ago
- bigiain 13y agoA browser has to be able to supply clear-text passwords to websites, so strong hashing and discarding the clear-text won't work in their use-case. Your router only need to authenticate your password, so it _should_ be using bcrypt/scrypt/pbkdf2 to hash the password and not storing it anywhere in clear-text.
- dgesang 13y agoAnyone noticed the smiley? Still, not protecting user passwords with a master-key makes it way too easy to read them. B2T now.