8 ms·
I don't understand why 1Password's approach to the cloud - syncing via Dropbox or Google Drive - is considered that much more secure than LastPass. If anything
by rwhitman 11y ago
I don't understand why 1Password's approach to the cloud - syncing via Dropbox or Google Drive - is considered that much more secure than LastPass. If anything relying on Dropbox has always seemed to me to be a huge liability
- dragontamer 11y agoIf you wanted security, you'd use a SHA256 hash of a master-password + domain name. http://angel.net/~nic/passwdlet.html http://angel.net/~nic/passwdlet.html Storage is unnecessary. LastPass, 1Password... every one of them has centralized storage. No one needs a central server, but a central server is the only way a "service" can sell itself.
- tiglionabbit 11y agoI like this idea. I think I'll try this out for all those random dumb websites that want passwords. You linked to the old version btw. Updated version is here: http://angel.net/~nic/passwdlet.domain.html http://angel.net/~nic/passwdlet.domain.html
- StavrosK 11y agoThere are multiple problems with this approach. SHA is way too fast, some site is always going to have Auth requirements that won't be the same as the ones you have set (one service wants mandatory special characters, one wants mandatory alphanumeric only), and, most importantly, you can't change the passwords unless you change the master password and remember which you used where.
- dragontamer 11y agoFair point. But proper key strengthening is a well-known solution to this well-known problem. The general methodology of using password-safe hash + master password + domain name is useful. As you note, SHA isn't appropriate for this purpose. PBKDF2-strenghtened SHA, SCrypt, BCrypt and other functions should be used.
- StavrosK 11y agoI agree, I wish browsers performed some key strengthening built in.
- andrewaylett 11y agoHow do you generate a different password after that one's been found to be stored in plaintext and the admin resets all of the passwords? Or, and more to the point, having generated a different password how do you remember which sites need a V1 password and which need V2? When sites introduce silly rules around password structure, how do you make sure your passwords conform? And even if you could guarantee you'll never hit any of these issues, shouldn't you be using a key-derivation function, rather than a hash? I entrust my passwords to KeePass, as I trust its authors to have more of a clue than me and it lets me store arbitrary data rather than restricting me to a specific class of generated password. That file can then be replicated to enough of my devices that it's available when I need it, without a third-party having enough access to the data to be able to issue even the kind of security alert we see here.
- dragontamer 11y ago> Or, and more to the point, having generated a different password how do you remember which sites need a V1 password and which need V2? > When sites introduce silly rules around password structure, how do you make sure your passwords conform? Store _THESE_ rules in a central database. Not the passwords. Those rules can be public at no cost to security to the end user. But LastPass, KeePass, OnePass and all sorts of Password generators store the actual friggen password, instead of salts or public information (like "5th password on gmail")
- dchest 11y agohttp://crypto.stackexchange.com/a/5691/291 http://crypto.stackexchange.com/a/5691/291
- gregmac 11y agoI use LastPass to also store the username I used, which is handy given that: 1. Some sites use email, others use username (and sometimes your usual username is taken), and a handful of sites assign you something (eg: with an old VoIP provider I used to use, I had to log in with my customer number instead of a username) 2. I use a unique email address on every site, in the form "domain-i-am-logging-into.com@something.mydomain.com", though occasionally I have "companyname@something.mydomain.com" (eg: I use "amazon@" because I my account works with both amazon.ca and amazon.com) LastPass remembers all this crap for me, and it also lets me keep other notes, password history, etc, as well as being quite convenient.
- ecdavis 11y agoI've considered this before. It's a nice idea, but it suffers due to the arbitrary length and complexity requirements that many sites place on passwords.
- dragontamer 11y agoI've actually got a very basic solution to that. Use lowercase hexadecimal as the "baseline" password. From there, truncate to the length requirement, and add symbols to the end to guarantee complexity requirement. For example, "masterpass gmail.com" will md5sum to "194b52e5". If a password requires symbols, add a "!" to the end. If it requires a capitol letter, add "A" to the end. Add in the order of "number->letter->symbol". So... a site that requires numbers, capitol letters, and symbols would be: "194b52e51A!". (The hashed password, followed by '1A!')
- AdamGibbins 11y agoThat does't sound simple, because I'm not going to remember the site specific password requirements for each of the 250 logins I have within my password manager.
- lost_my_pwd 11y agoIt's a matter of target payoff. Dropbox, Drive, etc. are not specific to just storing password DBs. If my account is compromised, the attacker has one DB for their effort. If a cloud storage is compromised, the attacker has to scan through everything looking for DB files. LastPass cloud storage is meant only for storing password DBs, so an attacker knows that within a single target lies a large trove a specific type of data.
- savanaly 11y agoI don't understand this. So LastPass could increase their security by including a bunch of pictures of puppies in their folder for me? Why not do it then?
- acdha 11y agoI don't really buy it but I've heard the theory expressed that LastPass is more of a target because an attacker knows that a compromise could get millions of valid logins but something like Dropbox is less of a known quantity with more things to sift through. I'm skeptical that a) our hypothetical attacker couldn't search for files to get all of those synced 1Password files or b) that such a complete compromise wouldn't turn over enough interesting personal docs to make the potential resale value quite lucrative – “They got my tax return but fortunately not my nytimes.com password!”. In either case, pure worst-case analysis isn't terribly useful without some concept of relative likelihood.
- lost_my_pwd 11y agoIf one were looking to steal a bunch of jewelry, would it make more sense to hit a jewelry store or some large shopping mall?
- rwhitman 11y agoThere are several ways to expose data on dropbox as the result of human error that don't apply to lastpass
- newman314 11y agoDropbox is not the only option. While not officially supported, I sync 1Password just fine using BTSync in local mode (no tracker, no relay). Sure, it's kind of a pain (I can only sync on my home network) but worth the trade off to me. I mean how often do you have to sync passwords?
- monokrome 11y agoAdd a VPN and you can sync from anywhere :)
- x3n0ph3n3 11y agoConsider using dynamic DNS for a central home server and predefined hosts in your mobile devices or laptops.
- newman314 11y agoI think I did set this up but was not working for some reason. However, it's not a high priority item to debug.
- x3n0ph3n3 11y agoI use it with a private BTSync network that I control completely.
- tzs 11y agoAccording to other comments here, your LastPass master password is used both to encrypt your stored passwords and as the password to log into their cloud storage. So someone compromising the login processing would also get the keys to the password encryption for the compromised accounts. With 1Password and Dropbox the 1Password master password and the Dropbox login password should be unrelated. My Dropbox password, in fact, is a long password generated by 1Password's password generator. If someone gets a hold of it by compromising Dropbox, they might then get a copy of my encrypted passwords, but they get no clue to my 1Password master password. There is some unencrypted non-password data in 1Password's data, so I'd not be happy if Dropbox were compromised, but it would not be a disaster.