News for hackers. Stuff that matters.
Re:Now I understand why almost no one uses encrypted email by bszupnick on Thursday April 16, 2020 @10:33AM (#22889745)
As someone who worked as a pen-tester, security is almost ALWAYS at odds with convenience.

Making better security less and less inconvenient is the name of the game. Even if 100% security would be as easy as ticking a box, though, the fact of the matter is that most people don't care and if it's not "secure by default", it simply will stay not secure.

Maybe a synonym for "turned on by default" is "absolutely zero inconvenience or attention needed"

Re:Now I understand why almost no one uses encrypted email by jidiculous on Thursday April 16, 2020 @10:51AM (#22889939)
Honestly, this makes me appreciate Signal all the more – it seems the only barrier is getting friends to adopt it, but if used by an organization could it be an alternative to E2EE email?
Re:Now I understand why almost no one uses encrypted email by NikolaeVarius on Thursday April 16, 2020 @11:05AM (#22890124)
In my experience, the client is stupidly buggy. I've lost messages silently multiple times. This is a known issue and after losing several key messages stopped using it.

So, IMO the barrier is, "actually working"

https://github.com/signalapp/Signal-Android/issues/5253 https://github.com/signalapp/Signal-Android/search?q=missing...

Re:Now I understand why almost no one uses encrypted email by asdf-asdf-asdf on Thursday April 16, 2020 @12:17PM (#22890881)
it probably should be mentioned that the first github issue you linked is about signal loosing SMS-messages, not signal-messages. so for the case mentioned by the parent (" getting friends to adopt it") it is not really relevant.
Re:Now I understand why almost no one uses encrypted email by Vinnl on Thursday April 16, 2020 @03:22PM (#22892552)
One thing I've been able to tell friends is to just replace their default SMS app with Signal, since they're not particularly attached to that app anyway. Then, at least their messages to me will then be encrypted, and every additional person I get to install Signal will have an additional contact being able to use it/join a group.
Re:Now I understand why almost no one uses encrypted email by QuinnWilton on Thursday April 16, 2020 @10:47PM (#22895759)
This works until they either switch back to their original app or get a new phone and don't install signal on it. If you stop using Signal you need to deregister your phone number from the service, but many people don't know or care to do that.

If they don't, anyone who has ever used Signal to communicate with them will be silently unable to contact them anymore.

Re:Now I understand why almost no one uses encrypted email by Vinnl on Friday April 17, 2020 @05:09AM (#22897406)
True. The former hasn't been a problem for me, the latter's becoming increasingly less so now that more and more people have switched, and people are starting to more consciously use it every now and then for one of the few Signal groups we have - but it certainly was a problem at first.
Re:Now I understand why almost no one uses encrypted email by strbean on Thursday April 16, 2020 @08:00PM (#22894854)
I did that, but it was disappointing losing my message history for SMS messages when my phone boot-looped and I had to re-flash.
Re:Now I understand why almost no one uses encrypted email by brokenmachine on Friday April 17, 2020 @12:29AM (#22896203)
It would have been the same outcome regardless of what SMS app you were using.
Re:Now I understand why almost no one uses encrypted email by dnh44 on Thursday April 16, 2020 @04:07PM (#22892964)
I use it both on iOS and macOS and it’s become substantially better in the last year or so, especially in terms of the two clients syncing with each other.
Re:Now I understand why almost no one uses encrypted email by blablabla123 on Thursday April 16, 2020 @06:16PM (#22894127)
That's just my opinion, but to me E2EE from Whatsapp/Signal/Telegram is just Marketing. The trust is worse than Trust on first use (TOFU) since it can change repeatedly, most people install it through the Play Store so one might argue that it is in a certain sense as secure as closed-source software and the whole key exchange is hidden from the user. Not to mention that most Smartphones are blackboxes to a large part and phone number based apps are vulnerable to sim hijacking (yes we see when the key changes, but nobody cares and it's difficult to reestablish the trust).

Probably depends on the use-case, but as a normal user that lives in a non-repressive state, there is little value in using Signal. (FWIW Signal uses central servers, so in a repressive state it can just be turned off?) GPG based security is superior and not tied to a blackbox platform...

Re:Now I understand why almost no one uses encrypted email by tialaramex on Thursday April 16, 2020 @07:53PM (#22894809)
Let's address these one by one:

"[A correspondent's security code which is the only way to be sure you aren't MITM'd] can change repeatedly": It will tell you this happened, allowing you to take whatever action you think is appropriate. Also like modern TLS the behaviour is that you are always protected by the protocol from passive eavesdroppers regardless. Pervasive Monitoring Is An Attack and so protection against this is far more than "just Marketing".

"Most people install it through the Play Store": Play Store APKs are signed by their creator, not (only) by Google. If Open Whisper Systems says you're getting Signal, Google don't get to substitute something else except if you buy a Google phone and only then by replacing your OS.

"Phone number based apps are vulnerable to SIM hijacking". Signal users can choose to "lock" their account with a PIN so that an apparently new phone with that number doesn't get access unless its owner presents the PIN.

Assuming that you think the phrase "non-repressive state" includes countries like the US that spend billions of dollars to spy on their own citizens, just the first item is already a huge benefit.

Harvesting every single SMS message is trivial and so undoubtedly the NSA does it, they can run simple keyword matching an statistical analysis, and keep everything in case it's interesting. Each SMS message carries the sender, recipient and full text. In contrast harvesting even the encrypted Signal messages is difficult, and even with a successful (and relatively unlikely) breach of Open Whisper Systems itself neither the contents or in most cases senders are revealed by doing this. (Messages to friends or to those happy to receive messages from strangers don't need to reveal who sent them to Signal's own systems, only to the recipient). So instantly such government bulk collection isn't possible.

GPG's security is definitely not "superior" because it's based on the PGP hybrid crypto which is from last century. For example there's no Forward Secrecy, so it makes sense to steal encrypted PGP data on the expectation that you'll some day be able to decrypt it. In contrast old Signal encrypted messages are probably completely useless because the keys needed to decrypt them likely no longer exist anywhere. PGP offers only a signature mechanism, so a recipient can prove you sent a message, whereas in Signal the recipient only has their own certainty that it's not a forgery - nobody else could have forged it, but they easily could and so they can't use that as proof of anything.

Re:Now I understand why almost no one uses encrypted email by lmm on Thursday April 16, 2020 @09:21PM (#22895329)
> "Phone number based apps are vulnerable to SIM hijacking". Signal users can choose to "lock" their account with a PIN so that an apparently new phone with that number doesn't get access unless its owner presents the PIN.

But it's only OWS that control that check, right?

> Harvesting every single SMS message is trivial and so undoubtedly the NSA does it, they can run simple keyword matching an statistical analysis, and keep everything in case it's interesting. Each SMS message carries the sender, recipient and full text. In contrast harvesting even the encrypted Signal messages is difficult, and even with a successful (and relatively unlikely) breach of Open Whisper Systems itself neither the contents or in most cases senders are revealed by doing this. (Messages to friends or to those happy to receive messages from strangers don't need to reveal who sent them to Signal's own systems, only to the recipient). So instantly such government bulk collection isn't possible.

Comparing to SMS is a strawman. If the best thing you can say for your crypto is that it's more secure than SMS, it sucks.

Practically Signal offers little advantage over any messenger with transport encryption (e.g. Facebook Messenger): in both cases you pretty much have to trust the organisation itself.

> GPG's security is definitely not "superior" because it's based on the PGP hybrid crypto which is from last century.

It's based on a mature cryptosystem which we know the NSA tried and failed to break. That's better than using something novel and unproven.

> For example there's no Forward Secrecy, so it makes sense to steal encrypted PGP data on the expectation that you'll some day be able to decrypt it. In contrast old Signal encrypted messages are probably completely useless because the keys needed to decrypt them likely no longer exist anywhere.

True as far as it goes (though the PGP standard has good support for key rotation via subkeys - it would be good to improve the UX around this), but think about your threat model - reading messages from 10 years ago might not be the biggest vulnerability. In contrast, using Signal means an attacker who gains access to one person's phone has immediate access to phone numbers for all their contacts - which for a government means probably getting immediate access to their names, addresses, and real-time locations.

Signal does do a few good things that PGP-based cryptosystems don't. But the downsides massively outweigh the upsides in my book.

Re:Now I understand why almost no one uses encrypted email by couchand on Thursday April 16, 2020 @09:42PM (#22895446)
> Practically Signal offers little advantage over any messenger with transport encryption (e.g. Facebook Messenger): in both cases you pretty much have to trust the organisation itself.

There's a critical difference you're papering over: the level of trust that is required is very different. With transport encryption you have to trust that the infrastructure is secured on an ongoing basis. With end-to-end encryption implemented in a real-world app (i.e. distributed through a walled garden) you need only trust that the version of the app delivered to you is based on the code it claims to be.

> Signal does do a few good things that PGP-based cryptosystems don't. But the downsides massively outweigh the upsides in my book.

One of the things Signal does well that PGP systems don't is actually being usable by real humans, which for a security system is everything.

Re:Now I understand why almost no one uses encrypted email by lmm on Thursday April 16, 2020 @11:36PM (#22895975)
> With transport encryption you have to trust that the infrastructure is secured on an ongoing basis.

If we're talking about a government bulk surveillance programme then not really - servers and infrastructure change all the time and sysadmins are naturally curious. An ever-expanding pool of people at Facebook (or wherever) would have to be on board with the surveillance programme for it to be worth setting up.

> With end-to-end encryption implemented in a real-world app (i.e. distributed through a walled garden) you need only trust that the version of the app delivered to you is based on the code it claims to be.

Those walled gardens don't let you pin a fixed version of that app, and OWS stops people from redistributing the APK or putting it up on open-source app stores, with their rationale being that they can't handle old versions of the app using their servers. So in reality you have to trust them on an ongoing basis.

> One of the things Signal does well that PGP systems don't is actually being usable by real humans, which for a security system is everything.

Being secure is everything. Usability is important, but better a secure system that only a few people can use than an insecure system that everyone can use.

Re:Now I understand why almost no one uses encrypted email by couchand on Friday April 17, 2020 @01:47AM (#22896558)
The fanciest lock in the world does nothing if it's too much trouble for people to actually lock it.
Re:Now I understand why almost no one uses encrypted email by tialaramex on Thursday April 16, 2020 @10:17PM (#22895609)
> But it's only OWS that control that check, right?

This is moving the goal posts. Your quoted threat model was "SIM hijacking" not an insider attack.

> Practically Signal offers little advantage over any messenger with transport encryption (e.g. Facebook Messenger): in both cases you pretty much have to trust the organisation itself.

Only if you squint enough to believe that there's no difference in what you have to trust them to do and for how long which is a stretch.

You must trust Facebook to hold on to your messages without ever choosing to look at them for any reason even though they easily could, indefinitely. If you subsequently decide this trust was misplaced, too bad, they've got all your data.

Whereas you only have to trust OWS to not have hidden some backdoor in the software they publish, which they've no incentive to do, at the point where you use the software.

Re:Now I understand why almost no one uses encrypted email by vpEfljFL on Thursday April 16, 2020 @04:08PM (#22892980)
Could you please explain to me why Signal is the superior messaging platform?

I can't understand why it requires ID/passport from you to use it. I guess if you want to use an encrypted messaging platform then you don't want it to be tied to the government issued ID.

p.s. you phone number is tied you your ID, so it's basically your ID

Re:Now I understand why almost no one uses encrypted email by dublinben on Thursday April 16, 2020 @05:54PM (#22893955)
It sounds like you are worried about a threat model (being identified by your government) that Signal is not designed to, nor attempts to address. There are some workarounds that may satisfy your needs, such as using a different phone number provided by Google Voice or Twilio.[0]

It may not be for you, but Signal does a very good job of solving the problems it does aim to solve for the millions of people who use it.

[0]https://medium.com/@mshelton/using-signal-without-giving-you...

Re:Now I understand why almost no one uses encrypted email by some_random on Thursday April 16, 2020 @04:15PM (#22893054)
In comparison to what other messaging platforms? What do you mean it requires ID/passport? It uses phone number as a "username", which is why it's easy to use.
Re:Now I understand why almost no one uses encrypted email by DenseComet on Thursday April 16, 2020 @05:10PM (#22893612)
Some countries require ID/passport to just get a phone number. This could potentially be sidestepped by getting a Twilio number or Google Voice number, but that causes it to be far from frictionless.
Re:Now I understand why almost no one uses encrypted email by NikolaeVarius on Thursday April 16, 2020 @06:03PM (#22894023)
This is like complaining that you need to sign up for the internet using personal info to get onto the net.
Re:Now I understand why almost no one uses encrypted email by vpEfljFL on Thursday April 16, 2020 @06:34PM (#22894269)
Unless if ISP positions itself as rigid security service devoted to provide you security features and some famous people recommend using it in order to transfer sensitive documents.
Re:Now I understand why almost no one uses encrypted email by llukas on Thursday April 16, 2020 @07:29PM (#22894648)
They do not promise anonymous transfers. They promise encrypted transfers.
Re:Now I understand why almost no one uses encrypted email by zokier on Thursday April 16, 2020 @07:30PM (#22894651)
Public internet access, both in the form of hotspots and computers, are perfectly usable (if not terribly secure). But you cannot use Signal with a payphone.
Re:Now I understand why almost no one uses encrypted email by couchand on Thursday April 16, 2020 @09:45PM (#22895465)
Such access is FAR LESS secure for most real humans' threat models.
Re:Now I understand why almost no one uses encrypted email by tptacek on Thursday April 16, 2020 @11:03AM (#22890083)
Yes.
Re:Now I understand why almost no one uses encrypted email by JoeAltmaier on Thursday April 16, 2020 @10:47AM (#22889891)
That's a leap, from 'some security' to 'absolutely zero inconvenience'. There's no middle ground? Don't we all use passwords now for many things? That's not zero attention needed.
Re:Now I understand why almost no one uses encrypted email by jandrese on Thursday April 16, 2020 @08:18PM (#22894977)
Often the mentality you will find is "any hole is a hole that will be exploited", so they make these incredibly difficult systems with perfect security that nobody ever uses because they're so hard to use.

SSH is flawed in that you have to trust the host the first time you connect to it. For most people this is a reasonable tradeoff, but for security nerds it can be an impossible barrier to adoption. This is why some SSH servers spit out big long hexcodes or weird picture things, you are supposed to securely message the owner of the server to verify it before you accept it. Details are of course left up to the user because any default system you set up will of course be exploited. It's head of line security exploits all the way down.

Re:Now I understand why almost no one uses encrypted email by lordlimecat on Friday April 17, 2020 @08:23AM (#22898360)
A lot of folks here pretending that ssh implies ssh-keyex. There's also gssapi-keyex which has no such tofu issues.
Re:Now I understand why almost no one uses encrypted email by 0xff00ffee on Thursday April 16, 2020 @11:01AM (#22890064)
Password managers have turned this into near-zero inconvenience: when I arrive at the login page my UID and PW are already filled in.

(I also have three hard tokens for from banks and investments, two ubikeys (both for LastPass, one in storage), and google authenticator on my iphone for anyone that offers it... so I've taken a step backward for added security.)

Re:Now I understand why almost no one uses encrypted email by JoeAltmaier on Thursday April 16, 2020 @11:05AM (#22890119)
All that took very much more than zero effort to set up. More evidence than people will put up with inconvenience for security.
Re:Now I understand why almost no one uses encrypted email by setr on Thursday April 16, 2020 @11:15AM (#22890227)
I think for most people, they're trading less convenience (manually dealing with passwords, and the randomly changing rules and resets different places use) for more convenience (autofill, managed & synced)

Which happens to also be more secure.

Re:Now I understand why almost no one uses encrypted email by Spivak on Thursday April 16, 2020 @04:06PM (#22892956)
Sure, but people with PW managers are reducing their long-term inconvenience by paying a little bit up front. I don't use a PW manager for any security benefit but because it makes it easier to sign into things.

Hell, I store my 2FA keys in my pw manager and have it autofill those too -- a reduction in security! But there are some services that refuse to not spam your phone number if you don't set up some 2FA.

Re:Now I understand why almost no one uses encrypted email by kevin_thibedeau on Thursday April 16, 2020 @08:38PM (#22895098)
I keep my passwords in my head because I can't put up with managing a dozen different authentication schemes, any one of which could be compromised or lost at the worst possible time.
Re:Now I understand why almost no one uses encrypted email by happytoexplain on Thursday April 16, 2020 @10:54AM (#22889968)
My interpretation of the parent post was not that there is no middle ground, but that if a user can use a service without engaging in an extra step to increase security, they will do so, no matter how easy the extra step is. Passwords are not an extra step - they are required.
Re:Now I understand why almost no one uses encrypted email by JoeAltmaier on Thursday April 16, 2020 @10:59AM (#22890033)
Passwords are optional for some things (spreadsheets, SSL keys) - would be interesting to get the actual stats on how often they get used.
Re:Now I understand why almost no one uses encrypted email by pfundstein on Thursday April 16, 2020 @07:28PM (#22894637)
Counterpoint: SSH, HTTPS, SMTPS, IMAPS, etc, all require no more interaction from the user than their insecure counterparts.
Re:Now I understand why almost no one uses encrypted email by wuunderbar on Thursday April 16, 2020 @07:56PM (#22894826)
> SSH

Still requires a passphrase or initializing a keypair on the client & server.

> HTTPS

HTTPS requires user interaction when a site forgets to renew a certificate.

Also SSH and HTTPS don't compare well. One does client authentication, the other doesn't.

Re:Now I understand why almost no one uses encrypted email by couchand on Thursday April 16, 2020 @09:36PM (#22895417)
You absolutely can do client authn in HTTPS, but it's rarely done outside intranet apps and high-security banking.
Re:Now I understand why almost no one uses encrypted email by lordlimecat on Friday April 17, 2020 @08:19AM (#22898342)
Your complaint about a login system is about its authentication, in a discussion on encryption and key exchange?

The obvious point being made is that going from SMS -> E2E should be as seamless as from telnet -> ssh.

SMS and messaging systems generally do require some level of authentication so you're making a ridiculous comparison.

Re:Now I understand why almost no one uses encrypted email by de_watcher on Friday April 17, 2020 @08:51AM (#22898533)
auth_pam/auth_basic in the nginx config and the http/https does authentication.

And far less space to mess things up than with coding a fancy login page.

Re:Now I understand why almost no one uses encrypted email by recursive on Thursday April 16, 2020 @07:52PM (#22894799)
Counterpoint: I work for a company that sells software to mostly big companies. Sometimes they want to host it themselves. Creating valid certificates usable for HTTPS is a never-ending support issue.
Re:Now I understand why almost no one uses encrypted email by lordlimecat on Friday April 17, 2020 @08:21AM (#22898350)
Someone else suggested acme. What about SCEP (aka Microsoft NDES)?

There are a number of ways to cut certs internally.

Re:Now I understand why almost no one uses encrypted email by recursive on Friday April 17, 2020 @12:44PM (#22900555)
Looks promising. I hadn't heard of it before. Although I'm not super close to the operational/deployment side of things.
Re:Now I understand why almost no one uses encrypted email by couchand on Thursday April 16, 2020 @09:37PM (#22895426)
You should support ACME.
Re:Now I understand why almost no one uses encrypted email by johannes1234321 on Thursday April 16, 2020 @09:43PM (#22895457)
Doesn't help on the intranet that easily, when the application runs on a domain not on public DNS. Also ACME can be problematic from policy POV.
Re:Now I understand why almost no one uses encrypted email by couchand on Thursday April 16, 2020 @09:53PM (#22895502)
My working theory is that the Venn diagram of organizations self-hosting software on an intranet with private DNS and organizations that don't have an internal CA is almost entirely disjoint.

Are the policy concerns you raise related to the above, or something else?

Re:Now I understand why almost no one uses encrypted email by de_watcher on Friday April 17, 2020 @09:14AM (#22898671)
Your diagram is wrong tho.
Re:Now I understand why almost no one uses encrypted email by recursive on Thursday April 16, 2020 @10:00PM (#22895529)
Some of our customers have no trouble with certificates. The others have never heard of ACME.
Re:Now I understand why almost no one uses encrypted email by couchand on Thursday April 16, 2020 @10:05PM (#22895557)
But they shouldn't have to have heard of ACME to use it. If they're hosting your software on a publicly-accessible server, the UX should be roughly:

- user checks box that says they want certs issued automatically.

- your software handles the rest.

Of course there are plenty of details for the engineers to work out, but the end user shouldn't need to know any of them.

Re:Now I understand why almost no one uses encrypted email by recursive on Friday April 17, 2020 @12:30AM (#22896207)
The ones that are self-hosting are more-or-less doing it specifically so that they can use non-publicly-accessible servers. So I guess that won't work.

I was thinking that you were imagining that they would need to set up some kind of internal ACME infrastructure or something. Now I see you were just imagining certbot. Maybe half the domains I've seen used aren't actually publicly resolvable. Once I saw one that was, but was actually owned by someone else.

Anyway, there is no easy way out.

Re:Now I understand why almost no one uses encrypted email by sz4kerto on Thursday April 16, 2020 @03:15PM (#22892491)
We're developing an electronic health record platform that stores data encrypted in a way that we don't have the decryption key. We don't have end-to-end encryption, but if you got a database dump then it'd be quite tricky to decrypt what's in it as data belonging to a person can be unlocked with a secret that the person has, and we don't; only in memory when serving the user.

So we're very far from perfect, but still better than most providers in this space. However, the fact that we can't easily do database migrations, debugging, etc makes our lives extremely hard, and it's much more difficult to compete in terms of UX.

Re:Now I understand why almost no one uses encrypted email by mazsa on Thursday April 16, 2020 @04:45PM (#22893359)
FHE?
Re:Now I understand why almost no one uses encrypted email by sz4kerto on Thursday April 16, 2020 @05:19PM (#22893682)
PKB
Re:Now I understand why almost no one uses encrypted email by mazsa on Thursday April 16, 2020 @05:52PM (#22893943)
I like your mission. But how do you (as VP of E) do it? Do you have a public description? I guess it's not Fully Homomorphic Encryption.
Re:Now I understand why almost no one uses encrypted email by ses1984 on Thursday April 16, 2020 @10:53AM (#22889960)
Security is convenient. Losing your sensitive data is pretty damn inconvenient.
Re:Now I understand why almost no one uses encrypted email by happytoexplain on Thursday April 16, 2020 @10:57AM (#22890004)
This is true, but not pragmatic.
Re:Now I understand why almost no one uses encrypted email by jerf on Thursday April 16, 2020 @10:55AM (#22889975)
There is a useful idea called Pareto Optimality: https://en.wikipedia.org/wiki/Pareto_efficiency

If you measure two things, you can draw the "frontier" between them, sketching out the max of X that you can have while having an amount of Y. This will draw a graph where the lower left is the part you can reach, and the the upper right is the part you can't, e.g. you can't have 100% security and 100% usability.

When you are on that frontier, than the two things are in apparent opposition to each other, in the sense that you can't get more of one without having less of the other. However, if you are not on that frontier, then suddenly the conflict evaporates, because you can indeed have more of one without less of the other.

(Almost everything we ever talk about as software engineers being in "opposition" to each other is actually in this relationship. Sometimes optimality on one axis is so easy to achieve that it's still practical to discuss the two things as being in "opposition", but most of the time, before worrying about to things being in opposition it should first be checked that we are indeed on this optimality frontier. Otherwise we risk constraining our thoughts into a win/lose frame and miss the win/win options on the table.)

All of that is a lead up to my claim that the idea that GPG is on the Pareto frontier for usability and security doesn't pass the smell test. In fact it manages to have such a bad UI that it adversely impacts the security it can provide. It isn't just what git calls the "porcelain", either; some of the fundamental data structures GPG uses are just not quite right and produce fundamental confusion. It certainly doesn't help that the UI is so obscure that even a heavy user can be confused by everything that is going on.

GPG really needs a total UI overhaul, but I think this is one of those cases where the existence of an apparently "blessed" product (the GPG distribution itself) prevents anything better from being able to get enough of a foothold to succeed. If you waved a magic wand and made me the PM over the GPG product, I'd be putting out a call to the community to make a better UI, no holds barred (i.e., fundamental data structure changes are on the table and while I wouldn't necessarily want to promise a lack of backwards compatibility, don't be afraid to break it), and in a year we'll circle back around to the proposals and the GPG project itself will bless one of them. But that probably won't happen. (And I personally lack the bandwidth and the gpg street cred, so "why don't you do it" isn't a terribly practical response.)

Re:Now I understand why almost no one uses encrypted email by 6510 on Thursday April 16, 2020 @12:02PM (#22890742)
If I say "Public private key cryptography" it is like music to my ears. The term is near poetic. The experience is so hard to explain I think I have to make a drawing.

https://i.ibb.co/DgQ82kt/gnuPG.png

Re:Now I understand why almost no one uses encrypted email by hinkley on Thursday April 16, 2020 @11:06AM (#22890132)
Turns out the Pareto frontier explains a big chunk of my thesis on performance vs readability.
Re:Now I understand why almost no one uses encrypted email by andybak on Thursday April 16, 2020 @11:21AM (#22890308)
These things usually form triangles with "cheap, good, fast: pick any two" being the canonical case.

What's the 3rd point in your triangle? I suspect it's "developer time" or "price" which boil down to the same thing depending on who's doing the measuring.

Re:Now I understand why almost no one uses encrypted email by hinkley on Thursday April 16, 2020 @12:13PM (#22890843)
We are essentially talking about situations where variables are partly independent, and here you are trying to bring everything back to a zero sum game already. I shouldn’t be responding at all, but ok, I’ll bite.

Skill.

Writing slow, unmaintainable code is usually a false economy. But many people just don’t know any better.

Take the refactoring Extract Variable, which is probably the simplest example. You name an intermediate value, thereby documenting it. Then hoist it out of the loop, making it faster, shorter, and clear that this value should not change.

Re:Now I understand why almost no one uses encrypted email by jerf on Thursday April 16, 2020 @11:45AM (#22890570)
Triangles are just a convenient way to frame the three-dimensional relationship. Theoretically you can take it to any number of dimensions with fairly obvious extensions to the definition; however, it starts to become computationally expensive and human-impractical to gain much understanding that way.

This is why almost no matter what you put on the points of the triangle, it works; as long as on the frontier there is at least some opposition, it works. The times you can have all of X and all of Y are rare, and all of three things essentially unheard of.

Re:Now I understand why almost no one uses encrypted email by csours on Thursday April 16, 2020 @06:15PM (#22894121)
> Making better security less and less inconvenient is the name of the game.

Bingo. It's really easy to overlook UX, but it's the name of the game for actually improving things. Dev Experience too. There's a perverse problem in secure development, where you need to know enough to figure out why something is going wrong, but you must not leak information.

Re:Now I understand why almost no one uses encrypted email by happytoexplain on Thursday April 16, 2020 @10:43AM (#22889857)
I'm a little baffled as to why this is getting downvoted. It seems so true and uncontroversial.
Re:Now I understand why almost no one uses encrypted email by naasking on Thursday April 16, 2020 @11:53AM (#22890646)
It seems true because people don't consider disasters, like the mortgage crisis, or this pandemic.

Consider the magnitude of inconvenience from having your identity stolen. I think it dwarfs any minor inconvniences needed to secure your identity.

That said, no doubt user-computer interaction should study security a little more I think.

Re:Now I understand why almost no one uses encrypted email by kube-system on Thursday April 16, 2020 @03:35PM (#22892665)
> Consider the magnitude of inconvenience from having your identity stolen. I think it dwarfs any minor inconvniences needed to secure your identity.

It's not as simple as a boolean situation, though. There's not any single set of security steps that a person can take to definitively 'secure their identity'.

It's a gigantic continuum, where inconvenience asymptotically increases as you approach complete security. Everyone chooses some amount of risk which is less than complete security. The only real argument is over which point along the continuum is appropriate. There is no one correct answer, either.

Re:Now I understand why almost no one uses encrypted email by jiggawatts on Thursday April 16, 2020 @06:33PM (#22894254)
> security is almost ALWAYS at odds with convenience.

I hate this attitude. Vehemently. It's borderline ethically irresponsible to say it out loud, because it gives muggles the notion that they can save costs by reducing security, which is often simply not true.

Security is very often the cheaper option, or at least the smoother one. Certainly from an end-users' point of view, it's more convenient.

Let me list some examples:

Windows v1909 has a bunch of hardware-enfoced security turned on by default (=low admin effort), invisibly to the end user (=convenient). Older operating systems either have none of this, or it's a manual task to enable these optional features (=expensive).

A good HR automation process means that when a new employee starts, they automatically gain access to whatever they need, and nothing they don't. This is great for the user, because "everything just works" and they have everything they need available (=convenient), but it's secure because there is no error-prone manual processes to grant them access to things (=cheaper).

Windows 10 Hello for Business is essentially a virtual smart card stored in the TPM chip of your laptop, secured with a PIN or biometrics as a second factor. It uses modern cryptography and works transparently with Kerberos. It's as strong as a Smart Card but is more automatic than a password.(=convenient) It requires no hardware to deploy, and essentially eliminates a bunch of attack vectors (=cost neutral or even cheaper).

Simply enabling WSUS or leaving Windows in automatic patch mode is literally the cheapest and most secure option, yet many organisations insist on spending tons of time, effort, and money on "managing" their patches. This inevitably results in totally unnecessary paper pushing, and no measurable benefit. Meanwhile, Microsoft releases protocol-breaking changes (such as the CredSSP thing recently) in waves, with the "enabling" patch one month, and then the "enforcing" patch the next month. Smooth as silk. Except for every. Single. One. Of my customers that insisted on "managing" their patches in quarterly rollouts or whatever that had a major outage because they skipped patches.

You get the idea. There is a "happy" path of less effort, more convenience, yet very good security. Not perfect, but good enough.

Conversely, this attitude of "we must reduce security to reduce costs or improve convenience" is just insane. I've seen people go out of their way to purposefully weaken the default security of a system because of this logic.

So please. Even if you know better, just never, ever say anything like this out loud. The world is full of Muggles, and they hear this shit and do random stupid stuff that lets the Chinese government steal our hard work.