Live data from Hacker News

LessPass: sync-less open source password manager

lesspass.com

211–220 of 247 posts

Re: LessPass: sync-less open source password manager

#211
post #201

Earlier quoted context omitted.

Hi Palant, I found your app in the comment today. So yes, LessPass was developed it independently. And yes we are working in a way to change the number of rounds of PBKDF2. https://github.com/lesspass/lesspass/issues/38 API already evolve ( https://github.com/lesspass/core/commit/70bebd5e5bcd0c9a32ac... ), we are updating the user interface.

I don't think that this is sufficient as long as 8192 is still the default. Personally, I don't think that exposing the number of iteration is a good idea at all - users have no way of knowing how much is enough. Frankly, it took me quite a while to find out what contemporary hardware (especially GPUs) is capable of and how many iterations should be considered safe today.

LessPass starts with 8192 iterations. I prepare the code to increase this number, I will not let users change it. We are creating an interface to change master password and then we will plan a LessPass version change (with a number of iterations changes)

Re: LessPass: sync-less open source password manager

#212
post #90

Nice idea and willing to try it, but.. "The requirement for self-hosting is to have docker and docker-compose installed on your machine." Fsck that. If I will trust this with my passwords, I need to know how to _really_ install it. I can't trust you if all you have to offer is a steaming pile of docker or your idea of how I should run my systems.

If you knew anything about the applications you disparage, you would know how to take a Dockerfile and docker-compose.yml file and determine exactly how to install it on your system. Since that's what they do.

Of course that I know how to do that. What bothers me is the first approach they take.

Re: LessPass: sync-less open source password manager

#213
I wish someone would make a sync-friendly open source password manager. Something like KeePass, but with fewer features, user initiated auto-fill, has a client on just about all platforms, and is designed ground-up to live on a file sync service like Dropbox or Google Drive.

Re: LessPass: sync-less open source password manager

#214

What this seems to be, in essence: password = HMAC(key, website). Why this is bad, compared to an encrypted on-disk key store: 1. A password is now ciphertext, not a block of line noise. Every time you transmit it, you are giving away potential clues of use to an attacker. 2. The search space for possible passwords is bounded if you know the website. You are subject to key guessing attacks. If your key is short, pure…

Simple. encrypt the website with a second key before passing it to the HMAC function.

Re: LessPass: sync-less open source password manager

#215
post #182

Earlier quoted context omitted.

If it takes 1 sec on my device and 1 year on attackers versus If it takes 2 sec on my device and 2 years on attackers My conclusion I will spend one second of my life for each login I do, but I'll gain 1 year of security (or the attacker will have to double his power). Perhaps 5 years to generate, 5 years to break isn't usefull (and the ratio would be terrible). But keeping the same ratio, or even making it a little…

No, dom0 is right. You are spending 2sec computing the result in browser JavaScript. The attacker will throw JS out of the window and spend 0.01sec in hand-optimized C++ or OpenCL code. You gain no security.

Don't get it, would you mind to elaborate?

Because, IMHO, the attacker will always use optimized resources. Be it algorithm, cpu speed, gpu, and so on. If I double the number of interactions, it'll take more or less twice the time. For me or for the attacker. So I'll trade twice my time vs twice his time.

He can reduce his time having more cpu, gpu or finding a better algorithm.

Re: LessPass: sync-less open source password manager

#216
post #95
post #44

A gentle critique: don't use "How it works?" since that is not proper English. "How does it work?" is better.

"How it works" without the question mark is fine, too. The site actually uses "How it works ?" which is a dead giveaway that the author is French. As an ESL speaker myself, I wouldn't nitpick about grammar, though. The language on the site is very good in general, and learning second languages is very difficult. Je sais je ne peux ecriver francais bien. Right?

Yes, I should have added that "How it works" sans question mark is proper as well.

Re: LessPass: sync-less open source password manager

#217

Earlier quoted context omitted.

The GP's points are all a bit weak, especially if this method uses a good KDF like bcrypt to generate the keys. I used SuperGenPass for a while, before switching to KeePass, and the major drawbacks I found were: 1) No way to change a password. None at all. If a site required you to make up a new password, you're out of luck (or you have to come up with a new master password every time and remember which master passwo…

> 3) If someone has a keylogger or otherwise steals your master password, you're done for everywhere. This is not so with password databases, because the attacker also needs the file. It's about equivalent though. If someone can keylog you, they can probably obtain the file. If that's through malware then they simply grab the file with the malware, if that's through a hardware keylogger then they just grab it off you…

Sure, a much more plausible model is that you reuse the master password somewhere vulnerable and it's game over.

Re: LessPass: sync-less open source password manager

#218
post #182

Earlier quoted context omitted.

No, dom0 is right. You are spending 2sec computing the result in browser JavaScript. The attacker will throw JS out of the window and spend 0.01sec in hand-optimized C++ or OpenCL code. You gain no security.

Don't get it, would you mind to elaborate? Because, IMHO, the attacker will always use optimized resources. Be it algorithm, cpu speed, gpu, and so on. If I double the number of interactions, it'll take more or less twice the time. For me or for the attacker. So I'll trade twice my time vs twice his time. He can reduce his time having more cpu, gpu or finding a better algorithm.

Argon2 is slow in the browser, but isn't an inherently slow algorithm.

In other words, you have two algorithms that will each take 1 year on an attacker's machine. Option A takes 1 second on your machine, Option B takes 2 seconds. Option B isn't any better. In fact, it's worse, because it only compromises user experience and potentially leads people down the path of assuming it's more secure than it is.

Re: LessPass: sync-less open source password manager

#219

Earlier quoted context omitted.

Don't get it, would you mind to elaborate? Because, IMHO, the attacker will always use optimized resources. Be it algorithm, cpu speed, gpu, and so on. If I double the number of interactions, it'll take more or less twice the time. For me or for the attacker. So I'll trade twice my time vs twice his time. He can reduce his time having more cpu, gpu or finding a better algorithm.

Argon2 is slow in the browser, but isn't an inherently slow algorithm. In other words, you have two algorithms that will each take 1 year on an attacker's machine. Option A takes 1 second on your machine, Option B takes 2 seconds. Option B isn't any better. In fact, it's worse, because it only compromises user experience and potentially leads people down the path of assuming it's more secure than it is.

Oh, so we're talking about different things (not exactly with you, but in the conversation)

I was thinking about the number of interactions (or any other tunable parameter) in the same algorithm, like Scrypt or bcrypt or PBKDF2.

Of course, you're completely right on your example: change one for another that increases time just in browser doesn't give any gain. It must be harder to the attacker...

Re: LessPass: sync-less open source password manager

#220

Earlier quoted context omitted.

Additionally, You can't change your master password unless you go and change every single password you use. You won't be able to use it on sites with abnormal password requirements (usually bad practices on the part of the site admins but that doesn't mean you can just ignore it).

Schwab used to have (and may still) a maximum password length of 8 chars. Crazy—especially for a site with financial/sensitive information.

Good ol' hunter2, I use it for all my logins
Post reply on HN