News for hackers. Stuff that matters.
Re:Show HN: Evilpass – A slightly evil password strength che... by agentgt on Saturday February 18, 2017 @11:15AM (#13675241)
I'm starting to come of the opinion that systems should probably not let users pick their passwords.

That is they get to pick a generated password (by the system) that is easy to remember. Maybe from 10 or so.

There are password generators that use multiple words but are really long (eg you have probably seen the new router passwords that are like this).

I have even thought maybe emojis might make for better passwords for some users.

Re:Show HN: Evilpass – A slightly evil password strength che... by dheera on Saturday February 18, 2017 @02:16PM (#13676176)
Almost all of my passwords are:

    password = base64.b64encode(pbkdf2(master_password + '/' + domain, b'', 100000+n, keylen=16))[0:16].decode() + '$1Aa'
where master_password is not written or stored anywhere, domain is the domain name of the service in question, and n is the nth password generated for the service in question (since some services force you to change passwords every N months).

'$1Aa' is to appease stupid websites that require a symbol, number, uppercase, and lowercase letter.

Truncation to 16 characters is to appease stupid websites that limit passwords to 20 characters.

I also use the same thing for the answers to all "security" questions online, where I just plug in the security question as domain. (They're basically de-security questions, since, you know, a lot of people in this world know what my favorite color is and what streets I used to live on).

I should probably use HMAC but whatever.

The only passwords I have that are not part of this system are my computer's root password, e-mail password, and bank account passwords; for those I just memorized random strings).

This system gives me the following advantages:

* Peace of mind that I don't have to trust a 3rd party, closed-source password manager

* No need to cloud-sync anything across machines. No need to access the internet.

* I can calculate my passwords without a database, so if I have to randomly reformat my machine while travelling I can still compute my passwords and login to everything I need to.

Re:Show HN: Evilpass – A slightly evil password strength che... by nickysielicki on Saturday February 18, 2017 @02:51PM (#13676361)
> Truncation to 16 characters is to appease stupid websites that limit passwords to 20 characters.

This is something that drives me up the wall. I understand that you have to impose some kind of limit on password length to avoid abuse, but there's virtually no reason to cap it at anything less than 32 characters. I think a cap of 128 characters is completely reasonable and likely to appease even the most paranoid of users-- it all hashes to the same size anyway.

Another thing that irritates me is when registration forms enforce max password length via javascript or maxLength, without describing the max length in writing somewhere on the page. If I generate a password and I paste it into that field, I have no way of knowing if it has been truncated or not. I can't count how many times I've registered for a website and then had to immediately recover the password because of this. The time that stands out most to me is when this happened with my bank! Come on!

Pro-tip to any web developers out there: providing some kind of visual cue that the password I've entered is at the maximum length of the field (and that it was possibly truncated) is a good solution to an edge case that I feel is rarely considered.

Re:Show HN: Evilpass – A slightly evil password strength che... by keitmo on Saturday February 18, 2017 @04:43PM (#13676868)
I had something similar happen on a financial site years ago. The logon page silently truncated passwords to N characters, while the password reset page silently truncated to N+1 characters. My default randomly generated password length was, of course greater than N+1.
Re:Show HN: Evilpass – A slightly evil password strength che... by pvdebbe on Sunday February 19, 2017 @03:21AM (#13678711)
Paypal does it.
Re:Show HN: Evilpass – A slightly evil password strength che... by Godel_unicode on Sunday February 19, 2017 @12:10AM (#13678286)
That type of truncation virtually always happens in JavaScript in my experience, leading to my favorite greasemonkey script; showing what happened to the text in a masked edit field in a pop-up window on form action.
Re:Show HN: Evilpass – A slightly evil password strength che... by savanaly on Saturday February 18, 2017 @08:43PM (#13677756)
I tried to do something like this but ran into two problems:

1. it's not always clear what the domain is. Sometimes a company has more than one portal to enter a login. Now I have to remember which one I was using when I created the account. I can try to use the company name but that's ambiguous as well because sometimes the portal's or product's name is different from the company's name and now I have to remember what the "domain" is.

2. Different services have mutually contradictory requirements for passwords. You mentioned you add '$1Aa' to appease some websites, but I have encountered ones that have a no symbols rule, or some that have minimum length 12 while others that have maximum length 10.

I believe the most reasonable solution is to use a password manager.

Re:Show HN: Evilpass – A slightly evil password strength che... by dheera on Saturday February 18, 2017 @09:34PM (#13677885)
One option would be to host a public text file (on Github, even) that describes various services, their password requirements, domain aliases, and have the script tack on the approriate strings based on the public text file. Others could even use the same script and submit pull requests describing new services they encounter.

My main objective is to eliminate personal databases.

Re:Show HN: Evilpass – A slightly evil password strength che... by Kliment on Sunday February 19, 2017 @06:23AM (#13679200)
Okay, so say I submit a pull request for a phishing domain pretending to be an alias of something, and months/years later trick you into visiting it. Seems risky to me.
Re:Show HN: Evilpass – A slightly evil password strength che... by dheera on Sunday February 19, 2017 @12:03PM (#13680621)
This would only be risky if I got phished into visiting your phishy domain AND was stupid enough to consciously want to enter a password into it, in which case the risks are the same as if I used a human-memorized password.

My password "manager" doesn't automatically fill in passwords until I consciously ask it to.

But some amount of human oversight over those pull requests would be in order.

Re:Show HN: Evilpass – A slightly evil password strength che... by bytesandbots on Saturday February 18, 2017 @02:37PM (#13676286)
I wanted to do something similar with a slightly different formula but got into major issues. I couldn't log in from any other computer without opening a terminal and typing code for two minutes. I couldn't use it from a mobile on the go. key logger was even more dangerous since now the attacker could learn all my passwords instead instead of just one.
Re:Show HN: Evilpass – A slightly evil password strength che... by dheera on Saturday February 18, 2017 @02:43PM (#13676321)
I don't run the computation on devices I don't own, in case my master password gets leaked by a keylogger. If I have to login to a non-sensitive site on someone else's machine, I compute the password on my phone and the type it in manually.
Re:Show HN: Evilpass – A slightly evil password strength che... by bytesandbots on Saturday February 18, 2017 @02:47PM (#13676348)
Sounds ok. Thanks
Re:Show HN: Evilpass – A slightly evil password strength che... by bytesandbots on Saturday February 18, 2017 @02:45PM (#13676334)
To add to that

4. You will need a clipboard everytime to copy paste which is not very safe

Suggestion: Add a salt parameter to make it less deterministic, keep these salt in a personal database

Re:Show HN: Evilpass – A slightly evil password strength che... by dheera on Saturday February 18, 2017 @02:55PM (#13676377)
The clipboard is indeed unsafe. I don't use the clipboard. On my Linux machines I use xte (apt-get install xautomation) to have my script enter the password after a delay of 3 seconds which is enough for me to switch windows and click on the password field where it needs to be entered.

On phones I just type it in after looking at it, or compute on my computer and punch into my phone. I can memorize a 20-character string for a short time. In the future I might make a device to plug in via OTG cable, emulating a USB keyboard, to enter the password into phone apps. Another option for phones is key injection using /dev/uinput which is accessible if you run Cyanogenmod.

Re:Show HN: Evilpass – A slightly evil password strength che... by Cyph0n on Saturday February 18, 2017 @03:06PM (#13676423)
> I can memorize a 20-character string for a short time.

Now I see why such a system works for you. Very few people can do that in case you didn't know.

Re:Show HN: Evilpass – A slightly evil password strength che... by dfox on Saturday February 18, 2017 @07:45PM (#13677548)
There is probably some room for optimizing this by changing the used character set or using some rules for producing "pronounceable" strings.
Re:Show HN: Evilpass – A slightly evil password strength che... by Spivak on Sunday February 19, 2017 @03:33PM (#13681817)
There is already a tool that can do this for you: pwgen. It's probably in your repositories but you can also get it here.

https://sourceforge.net/projects/pwgen/

Re:Show HN: Evilpass – A slightly evil password strength che... by dfox on Monday February 20, 2017 @03:44PM (#13690737)
What I meant is that it would be interesting to plug such tool as an final encoding step of some variant of KDF(master, domain)
Re:Show HN: Evilpass – A slightly evil password strength che... by dheera on Saturday February 18, 2017 @09:37PM (#13677893)
We could use entropy from the PBKDF2 output to select English words from the OED.

https://xkcd.com/936/

Re:Show HN: Evilpass – A slightly evil password strength che... by andreareina on Saturday February 18, 2017 @11:33PM (#13678209)
Re:Show HN: Evilpass – A slightly evil password strength che... by hellofunk on Saturday February 18, 2017 @02:57PM (#13676383)
I did something similar to this for a long time, but had constant headaches because URLs and domain names often change for services as companies consolidate, etc. Drove me nuts, I had to remember the old domain name. Now I just use 1Password (which may or may not be the best choice in password managers).
Re:Show HN: Evilpass – A slightly evil password strength che... by robk on Saturday February 18, 2017 @04:55PM (#13676919)
This exactly! So annoying when this happens. UK government loves doing this especially for various business logins.
Re:Show HN: Evilpass – A slightly evil password strength che... by cm2187 on Saturday February 18, 2017 @05:50PM (#13677138)
That's basically the idea behind SQRL but with public/private key cryptography instead of a password.

By the way what do you do when you have more than one account or when the website wants you to reset your password (because they leaked it again...)?

Re:Show HN: Evilpass – A slightly evil password strength che... by popey456963 on Saturday February 18, 2017 @05:57PM (#13677165)
I assume he just increments 'n' by one, or perhaps some other arbitrary figure like 100.
Re:Show HN: Evilpass – A slightly evil password strength che... by hayksaakian on Saturday February 18, 2017 @02:37PM (#13676283)
This sounds really cool, now why wouldn't the general population do it this way, even assuming it was packaged in a convenient open source app?
Re:Show HN: Evilpass – A slightly evil password strength che... by FabHK on Saturday February 18, 2017 @03:05PM (#13676420)
There are apps that do this, the magical password generator that doesn't need to sync anything.

However, this well known method has many flaws:

* very hard to satisfy all site-specific password requirements (need symbols, no symbols, at least 8 characters, at most 8 characters, etc. etc.)

You can work around this by storing site-specific requirements, but then you need to sync again, basically.

* very hard to version: if LinkedIn screws up again and you need to reset your LinkedIn password, but don't want to replace all your other passwords by changing the master password, what do you do? You can version by including a version number or so pre-hash, or increase the number of rounds (as the GP suggests) but then you need to sync the version number (or remember it or try), so you're back to square 1.

* Also, might want to use Scrypt or Argon2 or so instead.

There are other problems. See related HN discussions for these frequently suggested storage-less "password managers":

https://news.ycombinator.com/item?id=12889807

https://news.ycombinator.com/item?id=11557662

Re:Show HN: Evilpass – A slightly evil password strength che... by nmat on Saturday February 18, 2017 @02:29PM (#13676238)
How do you login to sites on your phone?
Re:Show HN: Evilpass – A slightly evil password strength che... by dheera on Saturday February 18, 2017 @02:41PM (#13676307)
A Python script on my Android phone computes the above. I might write a native app later. I'm also thinking of making something at my desk that emulates a USB keyboard that I plug into my phone with an OTG cable to enter the computed password automatically.

For less-sensitive sites (i.e. things that aren't going to screw me over if my account is hacked), I just save the computed password into the Chrome password manager. The computed password can't be feasibly used to get my master password anyway.

For many sites it's possible to stay logged in with a session cookie without saving the password.

Re:Show HN: Evilpass – A slightly evil password strength che... by Spivak on Sunday February 19, 2017 @03:31PM (#13681809)
This seems like a lot of effort to have a worse experience than a typical password manager.

What does this give you that, say, KeePass doesn't?

Re:Show HN: Evilpass – A slightly evil password strength che... by revelation on Saturday February 18, 2017 @12:05PM (#13675526)
Sounds like you actually want client certificates.

If only our ancestors didn't so royally screw that up.. they took the brilliant public-key crypto and even just through the bazillion different encoding schemes and various "cert store" madness have made its use entirely untenable. The whole "the service can't know the password" problem was entirely solved and look where we stand today.

Re:Show HN: Evilpass – A slightly evil password strength che... by homakov on Saturday February 18, 2017 @12:11PM (#13675564)
Are they still working? anyone ever used it as auth method?
Re:Show HN: Evilpass – A slightly evil password strength che... by drdaeman on Saturday February 18, 2017 @02:09PM (#13676136)
The foundation is solid. The UI is terrible and browser vendors don't do anything about it (sort of catch-22 here)

A sane certificate management UI (not hidden beneath 5+ clicks, and not full of useless distractions like "software security token" that scare users away), key escrow protocol (opt-in), transparent certificate sync (yes, has downsides, but no worse than password sync), and some JS APIs to manage certs - that can do miracles. But that won't happen.

Re:Show HN: Evilpass – A slightly evil password strength che... by homakov on Saturday February 18, 2017 @03:25PM (#13676501)
That will happen - truefactor.io
Re:Show HN: Evilpass – A slightly evil password strength che... by drdaeman on Saturday February 18, 2017 @06:00PM (#13677184)
Sorry, this doesn't look attractive to me. Among the downsides I see, the important one is that it requires a whole new software stack. That had been tried many times - I'm afraid, unless you have some really huge corporation backing the project (one that can really push it), it just won't fly.

What's good about TLS is that it's ubiquitous and you don't need anything special to deploy it. Got nginx, Apache or Caddy? Add a single directive (e.g. ssl_verify_client for nginx) and you're almost there, all the validation is already implemented, just tie the keys to your accounts system.

Re:Show HN: Evilpass – A slightly evil password strength che... by homakov on Sunday February 19, 2017 @12:41AM (#13678354)
That software stack is made to fix previous problems. Backed up as a password, deterministic and scales easily.

It is new (tiny and well thought through) API but nobody used client certs anyway, as we found out in this very thread.

Re:Show HN: Evilpass – A slightly evil password strength che... by 0x0 on Saturday February 18, 2017 @02:26PM (#13676226)
It was used on startssl.com, at least before they got in cahoots with wosign and subsequently got de-listed as a CA for various shady practices. I haven't checked since.

Also, I think Chrome is in the process of removing support for <keygen> (and client side certificates in general?), so whatever opportunity existed for making this common has now passed.

Re:Show HN: Evilpass – A slightly evil password strength che... by theamk on Saturday February 18, 2017 @03:11PM (#13676445)
I remember this on startssl.com, and experience (or at least Firefox's implementation) was horrible.

-I had to refresh certificate once per year, which is very inconvenient, as I would go to startssl.com once per year total

- Half of the time something would go wrong with keygen in firefox and it would not remember my certificate at all. This is when you discover that all the security is simply bypassed when you send email to support.

- And worst of all, it was not very secure at all -- a malware on my computer would totally steal a certificate and keysniff the password for it. Compare with Google Authenticator or SMS auth, where I would be safe as long as my cell phone is not compromized at the same time.

Re:Show HN: Evilpass – A slightly evil password strength che... by 0x0 on Saturday February 18, 2017 @03:54PM (#13676618)
True, the implementations were lacking some finesse. But a proper keychain type cert store handled by the operating system should in theory be able to protect the certificate against usermode malware (perhaps by only coughing up the certificate to an application signed with the same code signing ID as the application that inserted the certificate, and/or after an elevated password prompt)
Re:Show HN: Evilpass – A slightly evil password strength che... by dantiberian on Saturday February 18, 2017 @04:45PM (#13676882)
The behaviour you describe here is how Keychain works on macOS.
Re:Show HN: Evilpass – A slightly evil password strength che... by cookiecaper on Saturday February 18, 2017 @01:01PM (#13675811)
It was used on an IE-only project I worked on many years ago. It was very difficult for users to manage and was used in addition to individual credentialing with a username/password. The certificate would identify the physical location, so there'd be one per client installed onto all the machines from which the site could be used.
Re:Show HN: Evilpass – A slightly evil password strength che... by homakov on Saturday February 18, 2017 @01:31PM (#13675955)
Ah, no wonder it's dead.
Re:Show HN: Evilpass – A slightly evil password strength che... by revelation on Saturday February 18, 2017 @12:15PM (#13675588)
Chrome blocked client certificate generation by default from version 49, I think you have to enable it specifically now and in general the process is messy (difficult to tell if your private key info is lost or where it ended up).

Firefox still works. No idea if people use it for auth, but it is popular when requesting a certificate.

Re:Show HN: Evilpass – A slightly evil password strength che... by iMerNibor on Saturday February 18, 2017 @12:47PM (#13675730)
I've used it for internal (internet exposed due to remote) services before - works in ff, the only issue I've had is remembering them
Re:Show HN: Evilpass – A slightly evil password strength che... by z3t4 on Saturday February 18, 2017 @01:07PM (#13675839)
the rng in js is not good enough for crypto. but if you send the cert including key to the browser most browsers know what to do and will auto use it. there are different formats for different browsers though. and the server also needs to have a cert
Re:Show HN: Evilpass – A slightly evil password strength che... by 0x0 on Saturday February 18, 2017 @02:28PM (#13676235)
You could have used <keygen> (when it was still implemented in browsers) and avoid performing any crypto maths in JS. :)
Re:Show HN: Evilpass – A slightly evil password strength che... by cozzyd on Saturday February 18, 2017 @07:08PM (#13677411)
MIT does (did?)
Re:Show HN: Evilpass – A slightly evil password strength che... by Daniel_Marcos on Saturday February 18, 2017 @11:53AM (#13675458)
Emojis in passwords would both make passwords more secure and easier to remember for some people. The drawback is that they're very hard to enter in normal, physical keyboards.
Re:Show HN: Evilpass – A slightly evil password strength che... by Swizec on Saturday February 18, 2017 @12:01PM (#13675499)
Macs come with a built-in emoji keyboard. Cmd+ctrl+space

But does it really improve security that much? If password is short, it's still gonna be quick to crack.

Re:Show HN: Evilpass – A slightly evil password strength che... by mcintyre1994 on Saturday February 18, 2017 @01:38PM (#13675994)
Another problem that's easy to overlook until it isn't is entering your password in front of people - if you're selecting stuff on screen then that's a lot more likely to be seen than typing on the keyboard.
Re:Show HN: Evilpass – A slightly evil password strength che... by zer0t3ch on Saturday February 18, 2017 @07:25PM (#13677479)
> If password is short, it's still gonna be quick to crack

Only if the cracker is brute-forcing instead of using common passwords mixed with dictionary words, and if the brute-forcer thought to implement emojis. Given how many emojis there are, it would by psychotic to include them in a brute-force attack unless you already know the person used emojis.

Re:Show HN: Evilpass – A slightly evil password strength che... by teej on Saturday February 18, 2017 @12:15PM (#13675586)
There are ~1800 widely supported emojis. That blows out the search space. There are 10^19 possible passwords for a 6 character alphanum+emoji, the same as a 10 character password using just alphanum + simple keyboard symbols.
Re:Show HN: Evilpass – A slightly evil password strength che... by eslaught on Saturday February 18, 2017 @12:29PM (#13675638)
But what's the actual distribution of usage of emoji? I'm guessing there is a small-ish set that people actually use, just like there is a small-ish set of words that people will pick from if you ask them to pick a passphrase containing "random" words.

Unless you pick the passphrase for them, you're not really gaining the advantage of the search space size.

Re:Show HN: Evilpass – A slightly evil password strength che... by MichaelGG on Saturday February 18, 2017 @12:31PM (#13675646)
Except people will probably stick to a few common ones and do a pattern. Love eyes x2 heart heart, thumbs up -- just like people don't pick words uniformly.
Re:Show HN: Evilpass – A slightly evil password strength che... by mistercow on Saturday February 18, 2017 @03:28PM (#13676516)
If they're randomly generated, are they still going to be easy to remember? User-chosen emoji passwords would probably be even weaker than user-chosen passphrases.
Re:Show HN: Evilpass – A slightly evil password strength che... by mynewtb on Saturday February 18, 2017 @12:03PM (#13675512)
And a change in keyboard layout or font could easily render the user lost.
Re:Show HN: Evilpass – A slightly evil password strength che... by grapeshot on Saturday February 18, 2017 @12:06PM (#13675533)
The other drawback to emojis was that they used to completely crash Chrome's password manager, but I just checked again and it seems it's been fixed.
Re:Show HN: Evilpass – A slightly evil password strength che... by balladeer on Saturday February 18, 2017 @01:37PM (#13675988)
I have actually used this ":-) buddha sporty donkey ;-)" for "laughing buddha sporty donkey winking" in the past. Not Emojis though.

PS. No I don't use it anymore. And yes xkcd 936 was my inspiration.

Re:Show HN: Evilpass – A slightly evil password strength che... by herrkanin on Saturday February 18, 2017 @12:05PM (#13675524)
This requires that everyone uses password managers that either work across all their platforms or that they know how to access and look up passwords for. I don't think the general user is ready for that.
Re:Show HN: Evilpass – A slightly evil password strength che... by csydas on Saturday February 18, 2017 @09:08PM (#13677827)
I had proposed a similar idea at my last place of employment at a smaller University when I was spearheading an initiative to revamp our identity management system. The system itself needed to be rebuilt at it was hacked together by our former Systems Lead to replace an ancient server that handled everything, and while it worked, it was far from ideal.

Initially we just wanted to implement zxcvbn and be done with it, but due to some in office politics, we had to take it a step further and do a password policy review; our federated login across so many systems resulted in some really bizarre password requirements, so we wanted to simplify it and push users towards passphrases for more secure passwords.

The idea I was pushing was that we'd basically just spend an afternoon coming up with as many benign questions as we could to get a list of about 400-500 some questions, on account creation, the user would be queried for 3-4 of the questions randomly, and a system would generate a passphrase based on the answers provided with a bit of security fuzziness (maybe a substitution or two, random order, underscores or spaces, etc) to the passphrase to ensure it met what zccvbn considered secure.

I'm not a security guy as much as I'd like to be, so I don't quite know what harm there is in such a system, but it seemed like a good idea at the time. The biggest problem as we could tell it would be the user would forget the password or be annoyed by long passwords, and even if you knew the entire list, it seemed unlikely you could figure out which questions they got and in what order, and the number of questions seemed to prevent even educated guesses by spouses/stalkers.

It was ultimately shot down by politics because the President of the University couldn't come up with a valid password using this system. (he insisted he must be able to use his password scheme, which it turns out always included the university mascot name, which was part of the forbidden list) Currently I think it just runs with the simplified rules requiring at least 8 characters and meeting a security rating of at least 4 per zxcvbn.

Re:Show HN: Evilpass – A slightly evil password strength che... by kolinko on Saturday February 18, 2017 @08:04PM (#13677613)
I'd prefer there to be no passwords at all, aside from my e-mail password.

If I want to log in, an e-mail is sent to my mail, and an optional 2FA on my mobile.

If my mail is compromised, all the other passwords can be reset anyway.

Re:Show HN: Evilpass – A slightly evil password strength che... by Fiahil on Saturday February 18, 2017 @01:35PM (#13675972)
Keep in mind that, a lot of really poorly designed system are not sanitizing properly user input. I am prepared to bet a lot on the simple idea that an UTF-8 password might break so much of them...
Re:Show HN: Evilpass – A slightly evil password strength che... by JoshTriplett on Saturday February 18, 2017 @04:30PM (#13676799)
> That is they get to pick a generated password (by the system) that is easy to remember. Maybe from 10 or so.

I think we need to get away from the idea that people should memorize passwords at all. The default should be "generate long password (or encryption key for sites that support it) and put it in your browser's password manager". You only need to memorize the main passphrase for your system-level encryption.

Re:Show HN: Evilpass – A slightly evil password strength che... by dpweb on Saturday February 18, 2017 @12:44PM (#13675709)
Better to just ditch passwords altogether.

If maybe 5% of the accesses the site requires authentication (the other 95% passthru cause you have the cookie) - make that 5% use a text code to your phone. EDIT: App on yr phone, not an SMS

No more passwords.

Re:Show HN: Evilpass – A slightly evil password strength che... by fpgaminer on Saturday February 18, 2017 @12:51PM (#13675753)
Text messages are incredibly insecure because of how easy it is for someone to take over your phone number.
Re:Show HN: Evilpass – A slightly evil password strength che... by dTal on Saturday February 18, 2017 @07:32PM (#13677506)
Yet another reason to use SMS encryption (which seems oddly rare) like SilenceIM (formerly SMSSecure, formerly the dropped SMS code in TextSecure [now Signal]).
Re:Show HN: Evilpass – A slightly evil password strength che... by dpweb on Saturday February 18, 2017 @12:55PM (#13675777)
So Google and Microsoft use 2FA cause texts are more insecure? If I lose control of my phone they're into all my websites anyway.
Re:Show HN: Evilpass – A slightly evil password strength che... by simple10 on Saturday February 18, 2017 @01:07PM (#13675840)
Yes, texts are insecure for 2FA. It's better to use Google Authenticator or similar.

https://www.wired.com/2016/06/hey-stop-using-texts-two-facto...

Re:Show HN: Evilpass – A slightly evil password strength che... by pdpi on Saturday February 18, 2017 @01:07PM (#13675841)
Not losing control of your phone. Losing control of your phone _number_.

There's plenty of stories around of spear phishing attacks involving attackers taking over the victim's phone number. Mobile operators are notoriously vulnerable to that sort of shenanigans.

Re:Show HN: Evilpass – A slightly evil password strength che... by kkl on Saturday February 18, 2017 @01:08PM (#13675843)
Losing control of your actual phone is not the same as losing control of your phone number.

I'm not sure about Microsoft, but Google supports several other 2FA mechanisms in addition to SMS.

Re:Show HN: Evilpass – A slightly evil password strength che... by beefhash on Saturday February 18, 2017 @12:49PM (#13675741)
Which then requires:

1. every site to obtain some automatable way to send text messages, which can get mildly expensive,

2. people to acquire at least one burner phone for authentication because they don't want $randomwebsite to have their real phone number, and

3. users to give up some degree of anonymity because the country of origin can't be hidden behind a proxy, as the phone number gives it away.

This sounds like an overall loss for everybody to me.

Re:Show HN: Evilpass – A slightly evil password strength che... by OJFord on Saturday February 18, 2017 @06:23PM (#13677253)
> I have even thought maybe emojis might make for better passwords for some users.

hunter2-esque "how do you know my password?!" would be rife!

Re:Show HN: Evilpass – A slightly evil password strength che... by cm2187 on Saturday February 18, 2017 @05:48PM (#13677133)
If you choose passwords for your users you might as well use a base64 256bit key.
Re:Show HN: Evilpass – A slightly evil password strength che... by gluczywo on Saturday February 18, 2017 @01:51PM (#13676068)
systems should probably not let users pick their passwords. That is they get to pick a generated password (by the system)

It implies that the system knows plaintext password. Even if the system deletes the password and keeps a hash, it remains the problem of distributing that password to the client in a secure way.

Re:Show HN: Evilpass – A slightly evil password strength che... by nickodell on Saturday February 18, 2017 @02:03PM (#13676112)
Most services don't hash the password before sending it to the service, so it's going to pass through the service at some point.
Re:Show HN: Evilpass – A slightly evil password strength che... by gluczywo on Saturday February 18, 2017 @02:57PM (#13676388)
You are right. The second point remains valid though.
Re:Show HN: Evilpass – A slightly evil password strength che... by andreareina on Saturday February 18, 2017 @11:41PM (#13678225)
If the client can securely transmit the password to the system for verification, the system can securely transmit it to the user in the first place.
Re:Show HN: Evilpass – A slightly evil password strength che... by drdaeman on Saturday February 18, 2017 @02:05PM (#13676116)
Absolute majority of systems know the plaintext password on sign-up and subsequent logins. Don't think SRP or any similar protocols are any common.
Re:Show HN: Evilpass – A slightly evil password strength che... by remus on Saturday February 18, 2017 @02:20PM (#13676194)
Depends on the system. If it's a website of some description you could always generate the password in the clients browser. Obviously you'd then need to be pretty careful to generate your suggested passwords in a secure way, because any attacker would have visibility of your password generating system.
Re:Show HN: Evilpass – A slightly evil password strength che... by nmat on Saturday February 18, 2017 @02:18PM (#13676185)
>It implies that the system knows plaintext password

No it doesn't, the password can be generated client side. I know that client side code is not safe, but the purpose here is to protect people who are not tech savvy enough to figure that out.

Re:Show HN: Evilpass – A slightly evil password strength che... by hueving on Saturday February 18, 2017 @02:30PM (#13676248)
>it remains the problem of distributing that password to the client in a secure way.

That's no different. It uses the same channel the user would send the password to it.

Re:Show HN: Evilpass – A slightly evil password strength che... by gluczywo on Saturday February 18, 2017 @02:56PM (#13676379)
With the difference that when user types the password it is not displayed on the screen. Server-side generated password must be somehow presented to the user.