Live data from Hacker News

But why can't I send people their passwords?

news.ycombinator.com

141–150 of 181 posts

Re: But why can't I send people their passwords?

#141
post #73

Earlier quoted context omitted.

Yeah, I was surprised to see that this bit wasn't mentioned anywhere. If you are emailing someone their password in plaintext, that means you know their password in plaintext -- which you should not.

You do when they first create it.

And every time they enter it to log in, up until the moment when it's hashed and (maybe the memory is overwritten with zeros before being) garbage collected.

Re: But why can't I send people their passwords?

#142
post #110

Can you please look into Persona and recommend that instead of openid connect? It is a much better approach at decentralized authentication.

I have. Please take a look at another comment that explains the issues with it here: https://news.ycombinator.com/item?id=7943695

I had already replied to that comment.

Re: But why can't I send people their passwords?

#143
post #5

> 7. Fine, but I still get to send users their passwords once they created them so they don’t forget them, right? Email is not a secure medium. It was never designed to be one. It’s susceptible to Man In The Middle (MITM) attacks and a slew of other issues. Also, users might have their email accounts abused or hacked into (how many people do you know who have left their GMail logged in on a public computer?). Would y…

I agree; this point shouldn't be about password reset emails being more secure, it should be about the fact you don't need to be able to email them their password to have a successful account recovery process. That said, it can be more secure. Firstly, people reuse passwords, so intercepting a plaintext password gives you access not only to the account on that site, but also several others. Secondly, if the link expi…

Exactly. This action is so obviously horrendous it's had to believe it still happens. Once a password hits your inbox, you can almost count on it living forever. And Basically with one 5 second search of my inbox for "password" a thief could easily discover my password that I use for almost every web site.

It's totally irresponsible for a service provider to essentially reveal a secret like that (without asking or really, ever).

Re: But why can't I send people their passwords?

#145

Earlier quoted context omitted.

I have never thought of that, ever. I'm not being sarcastic. Usually I think of email as existing on some secure server, I never thought that backups are kept, maybe in a different medium which is then open to vulnerabilities.

This is why, for example, Amazon S3 has a little checkbox on each bucket to encrypt the contents of the bucket. At first glance this might seem a little silly. Amazon has the key. (You don't even get to see the key yourself.) So Amazon can read all your data. And every time you read from the bucket it's automatically decrypted, so the encryption won't protect you from anyone who has somehow achieved permission to rea…

I just recently got this email from AWS:

Dear Amazon S3 Customer,

Amazon S3 now supports server side encryption with customer-provided keys (SSE-C), a new encryption option for Amazon S3. When using SSE-C, Amazon S3 encrypts your objects with the custom encryption keys that you provide. Since Amazon S3 performs the encryption for you, you get the benefits of using your encryption keys without the cost of writing or executing your own encryption code.

Re: But why can't I send people their passwords?

#146

Earlier quoted context omitted.

I love this analogy. But, to continue it a little further, the article and discussion are about "preventing meat from rotting during transportation," and you seem to be saying, "screw it, the customer should know not to buy the meat if it's gone bad." Going even further: most countries have consumer protection laws that prevent things like selling rotting meat.

and you seem to be saying If you have given an untrusted third party site the credentials that you use on other sites, that meat is complete fetid. It is now deadly. This whole discussion is arguing about what to do once the meat is rotten, rather than daring to maybe discuss not selling rotten meat in the first place. When a site gets compromised and the passwords may get stolen (because of weak or no cryptography),…

> As an aside, I marvel that some defensive imbecile keeps coming deep into this thread to downvote me.

Comments like this are the "rotting meat" of Hacker News. Please just leave them out of your posts.

Re: But why can't I send people their passwords?

#147

Earlier quoted context omitted.

This is why, for example, Amazon S3 has a little checkbox on each bucket to encrypt the contents of the bucket. At first glance this might seem a little silly. Amazon has the key. (You don't even get to see the key yourself.) So Amazon can read all your data. And every time you read from the bucket it's automatically decrypted, so the encryption won't protect you from anyone who has somehow achieved permission to rea…

I just recently got this email from AWS: Dear Amazon S3 Customer, Amazon S3 now supports server side encryption with customer-provided keys (SSE-C), a new encryption option for Amazon S3. When using SSE-C, Amazon S3 encrypts your objects with the custom encryption keys that you provide. Since Amazon S3 performs the encryption for you, you get the benefits of using your encryption keys without the cost of writing or e…

Wait. how exactly do you transfer the encryption key to amazon?

And do they keep your key?

How long?

Re: But why can't I send people their passwords?

#148
post #98
post #71

Earlier quoted context omitted.

You can't say "there's no excusing it" and "cause of their own demise". Yes, you absolutely can and should say that. This isn't human nature, but is simply accepted and defended behavior that gets caught out again, and again, and again. I have absolutely no doubt that many visitors to HN are guilty of this, and instead of confronting the reality of their insecurity, pretend it's someone else's fault. Each time some r…

It is complete idiocy to use passwords across services. Utter insanity. It is the worst possible practice imaginable, and is never, ever excusable. It's one thing to argue for improving people's password practices, but please don't pretend that there's no reason for their behavior. The vast majority of people who share passwords between sites experience no repercussions from their choice. And choosing not to create a…

I'm a software developer, but I'm done trying to remember passwords for every single site.

What do I do?

I just don't use the sites.

I've restricted, and continue to pare down, the sites that I use on the internet.

It's the truth.

I do keep my amazon.com account, so I can order paper and cardboard books the local bookstores don't carry, and read them on the sofa at my house, next to my floor lamp.

Re: But why can't I send people their passwords?

#149
post #146

Earlier quoted context omitted.

and you seem to be saying If you have given an untrusted third party site the credentials that you use on other sites, that meat is complete fetid. It is now deadly. This whole discussion is arguing about what to do once the meat is rotten, rather than daring to maybe discuss not selling rotten meat in the first place. When a site gets compromised and the passwords may get stolen (because of weak or no cryptography),…

> As an aside, I marvel that some defensive imbecile keeps coming deep into this thread to downvote me. Comments like this are the "rotting meat" of Hacker News. Please just leave them out of your posts.

[deleted]

Re: But why can't I send people their passwords?

#150
post #5

> 7. Fine, but I still get to send users their passwords once they created them so they don’t forget them, right? Email is not a secure medium. It was never designed to be one. It’s susceptible to Man In The Middle (MITM) attacks and a slew of other issues. Also, users might have their email accounts abused or hacked into (how many people do you know who have left their GMail logged in on a public computer?). Would y…

If someone hacks into your email account, they can just trawl through the email archive and harvest passwords from past password reminder emails. With a temporary reset token, they have to initiate a password reset request, which you should notice: (a) you might notice the email if you have e.g. push notifications enabled, or if the attacker doesn't delete it quickly enough, and (b) your real password will suddenly s…

You're current password shouldn't stop working because otherwise that can be used as a denial of service without otherwise compromising the security of either the user or the site if the email address is known.
Post reply on HN