zlacker

[parent] [thread] 30 comments
1. mschwa+(OP)[view] [source] 2025-01-04 10:34:59
I really wish we would take defining what it means for an artifact to be signed more seriously.

Which key(s) is it signed with? What is the hash of the corresponding unsigned artifact?

Signature verification tools should have some option which prints these things in a machine-readable format.

I did some work on reproducibility of Android apps and system images with Nix, and while defining a build step which can automatically establish these relationships sounds a bit goofy, it can make the issues with underspecified edge cases visible by defining verification more strictly. I did not do this to look for those edge cases though.

I am still working on that type of stuff now, but on more fundamental issues of trust we could start addressing with systems like Nix.

replies(1): >>1oooqo+f5
2. 1oooqo+f5[view] [source] 2025-01-04 12:02:07
>>mschwa+(OP)
blame browsers and the url padlock "cuz users are dumb" attitude.

i still believe "pgp is too complex" was the most successful cia counter action after they lost the crypto wars to the people.

solving via nix only works within the flawed assumptions that end users either fully trust google or fdroid and are incapable of anything else.

replies(5): >>486sx3+M9 >>rollca+Tf >>bologn+Fn >>mschwa+lm1 >>ImJama+N74
◧◩
3. 486sx3+M9[view] [source] [discussion] 2025-01-04 13:14:38
>>1oooqo+f5
+1
◧◩
4. rollca+Tf[view] [source] [discussion] 2025-01-04 14:35:00
>>1oooqo+f5
> "pgp is too complex"

PGP is too complex. I've known my way around the command line before I learned how to hand-write, and I have to look up the commands to fetch the keys and/or verify the blob every single time. Keyservers regularly fail to respond. There's no desktop integration to speak of. The entire UX stinks of XKCD 196.

Don't blame CIA for obvious deficiencies in usability.

replies(5): >>Y_Y+an >>bscphi+Tq >>graeme+tr >>ranger+Eg1 >>1oooqo+Na3
◧◩◪
5. Y_Y+an[view] [source] [discussion] 2025-01-04 15:37:53
>>rollca+Tf
I was with you right up until the end. I think the only thing that would stop me from sabotaging a small project like PGP (was in the early days) is moral aversion. FOSS and academic circles where these things originate is generally friendly and open, and there is plenty of money and length of rubber hose for anyone who doesn't welcome the mole into their project.

I'm not saying I have evidence that this happened to PGP specifically, just that it doesn't seem at all implausible. If the CIA told me my code was never to get too easy to use, but otherwise I could live a long and happy life and maybe a couple of government contracts it would be hard to argue.

Why a mass-market interface never took off (GPG and other descendants notwithstanding) may indicate that the whole cryptographic idea is inherently not amenable to user-friendliness, but I don't find that hypothesis as compelling.

(It could also be an unlikely coincidence that there's a good solution not found for lack of looking, but that's even less plausible to me.)

replies(2): >>rollca+6q >>exe34+mN
◧◩
6. bologn+Fn[view] [source] [discussion] 2025-01-04 15:42:03
>>1oooqo+f5
“Users are dumb” is not and was never the attitude. On average, people are average. You’ve just got completely unrealistic expectations of people. You’re asking for the world to be built around your wants, needs, preferences, and areas of expertise. Something this complex in the hands of 99.99% of the population would be entirely useless.
replies(2): >>alex77+ap >>dzikim+vP1
◧◩◪
7. alex77+ap[view] [source] [discussion] 2025-01-04 15:55:44
>>bologn+Fn
A few years ago everyone that had ever used a computer knew what a file and a folder was and could move a document to an USB drive.

Thanks to the efforts of Google to "simplify" smartphones the average young person now couldn't find and double-click a downloaded file if their life depended on it.

In the US, a manual car is considered an anti-theft device. In Europe, basically everyone that isn't obscenely rich has driven a manual car at some point.

People learn what they're expected to learn.

replies(3): >>ANewFo+Lr >>johann+Kt >>arccy+qK
◧◩◪◨
8. rollca+6q[view] [source] [discussion] 2025-01-04 16:04:21
>>Y_Y+an
Then why no such efforts are being pursued for PGP(GPG) nowadays?

signify[1] is approachable at least for the power users - I could print out that man page on a T-shirt. HTTPS is ubiquitous and easy, thanks to ACME & Let's Encrypt. E2EE with optional identity verification is offered in mainstream chat apps.

And of course there are usability improvements to GPG, being made by third parties: Debian introduced package verification a couple decades ago, Github does commit verification, etc. What's to stop e.g. Nautilus or Dolphin from introducing similar features?

[1]: https://man.openbsd.org/signify

replies(1): >>Y_Y+ry
◧◩◪
9. bscphi+Tq[view] [source] [discussion] 2025-01-04 16:11:21
>>rollca+Tf
> I have to look up the commands to fetch the keys and/or verify the blob every single time.

I have no doubt that this is true, but I very much question whether any alternate UX would solve this problem for you, because the arguments for these two tasks are given very obvious names: `gpg --receive-keys <keyIDs>` and `gpg --verify <sigfile>`. There's no real way to make it easier than that, you just have to use it more.

The tool also accepts abbreviations of commands to make things easier, i.e. you could also just blindly type `gpg --receive <keyID>` and it would just work.

replies(1): >>fragme+8S1
◧◩◪
10. graeme+tr[view] [source] [discussion] 2025-01-04 16:16:41
>>rollca+Tf
For what purpose? Setting up PGP signing and encryption for emails in Thunderbird is dead simple. if only I knew anyone else willing to use it!

I think you are right that UI sucks in many cases, but I think its not intrinsic to PGP - its fixable.

replies(4): >>arccy+BK >>jeroen+z41 >>pepa65+Tk3 >>rollca+9u4
◧◩◪◨
11. ANewFo+Lr[view] [source] [discussion] 2025-01-04 16:19:45
>>alex77+ap
Another example would be ctrl+alt+del, ctrl+c, ctrl+v, etc, etc.

Like you said people learn what they're expected to learn.

◧◩◪◨
12. johann+Kt[view] [source] [discussion] 2025-01-04 16:34:16
>>alex77+ap
Back then user base of computers was a lot smaller.

However Whatsapp/signal show how e2e can be done in a user-compatible way. By default it simply exchanges keys and shows a warning when key is changed and those who need/want can verify identity.

Missing there of course openness.

replies(1): >>upofad+MG
◧◩◪◨⬒
13. Y_Y+ry[view] [source] [discussion] 2025-01-04 17:13:32
>>rollca+6q
> Then why no such efforts are being pursued for PGP(GPG) nowadays?

I wonder why there aren't more, but there are some, for example Proton's efforts towards encrypted email.

https://proton.me/support/how-to-use-pgp

(I won't mention the relative shortcomings of HTTPS and E2E chat apps here.)

◧◩◪◨⬒
14. upofad+MG[view] [source] [discussion] 2025-01-04 18:15:34
>>johann+Kt
> ... those who need/want can verify identity.

So the rest are actually OK with Whatsapp/Signal having the opportunity to see their messages? I would submit that most are not even aware of the issue...

The identity thing is basically the usability issue for E2EE messaging. If you don't solve that then you have not actually increased usability in a meaningful way. The PGP community understood this and did things like organize key signing parties. When is the last time anyone did anything like that for any popular E2EE capable instant messenger?

◧◩◪◨
15. arccy+qK[view] [source] [discussion] 2025-01-04 18:52:05
>>alex77+ap
if anything it's Apple / iOS that dumbs down users, Google / Android provide a perfectly fine file picker / file management app.
◧◩◪◨
16. arccy+BK[view] [source] [discussion] 2025-01-04 18:54:05
>>graeme+tr
if only everyone used my preferred set of tools (thunderbird + pgp)...
replies(1): >>exe34+1N
◧◩◪◨⬒
17. exe34+1N[view] [source] [discussion] 2025-01-04 19:16:55
>>arccy+BK
so it's their fault that every other tool maker refuses to provide the facilities at the same level of simplicity? they gave an example to show it was possible, it doesn't mean that their example was the only way - other developers decided that the public was too dumb to use those kinds of tools.
◧◩◪◨
18. exe34+mN[view] [source] [discussion] 2025-01-04 19:18:29
>>Y_Y+an
you'd think if the cia don't want it to happen, then somebody somewhere else would make it though. it's not like the CIA and fsb would collude - they serve different oligarchs.
◧◩◪◨
19. jeroen+z41[view] [source] [discussion] 2025-01-04 22:04:44
>>graeme+tr
I know more people who use terminal user interfaces for email than I know people who use Thunderbird, and I say that as a techie.

The UI still sucks, though, because people ask me what the .ASC attachments sent with all of my emails are and if I've been hacked. When I explain that's for encryption, they may ask how to set that up on their phones if they care, but most of them just look at me funny.

I do use email encryption at my job, through S/MIME, and that works fine. Encryption doesn't need terrible UI, but PGP needs support from major apps (including webmail) for it to gain any traction beyond reporting bug bounties.

◧◩◪
20. ranger+Eg1[view] [source] [discussion] 2025-01-05 00:46:49
>>rollca+Tf
https://www.latacora.com/blog/2019/07/16/the-pgp-problem/
◧◩
21. mschwa+lm1[view] [source] [discussion] 2025-01-05 01:58:15
>>1oooqo+f5
Tools should surface information on the right level of abstraction for their users, and tools should have good UX no matter how much or little their users know.

Signature verification tools on the command line do not surface enough information to make it easy for their users keep track of what the unsigned input was.

I don't think their users are "end users" though. I am concerned about having better UX and making it more accessible to check these things, but for very advanced users, developers and security professionals. I think surfacing this to end users might come a few steps further down that road, but I am not thinking about that yet. I guess that's why you're talking about trust in google or f-droid, because you're thinking about end users already.

For now at least professionals should have an easy time keeping track of what the corresponding unsigned artifact to a signed artifact is, and we are far away from that right now. You have to write code for that, or inspect the binary formats of those signed and unsigned artifacts. That's not good enough. If that code is part of the tool in the first place, that automatically means that the semantics of the signature are much more well defined.

◧◩◪
22. dzikim+vP1[view] [source] [discussion] 2025-01-05 10:43:18
>>bologn+Fn
Imagine we went with "it's unrealistic to expect people to learn reading" - in the end it's just one skill and takes months to comprehend on very basic level.
replies(1): >>1oooqo+Ba3
◧◩◪◨
23. fragme+8S1[view] [source] [discussion] 2025-01-05 11:29:30
>>bscphi+Tq
> There's no real way to make it easier than that

If we accept that the world has moved to webmail, and use a GUI client, then the way to make it easier is bake in into the client and make it seamless so there's no manual futzing with anything. Make it like TLS certs, so there's a padlock icon for encrypted mail, yellow for insecure, and mail that fails validation gets a big red warning.

Unfortunately, purists in the community could not accept that, so it's never happened, and so gpg failed to get critical mass before alternatives popped up.

◧◩◪◨
24. 1oooqo+Ba3[view] [source] [discussion] 2025-01-05 23:48:34
>>dzikim+vP1
well, now that people can work with voice interfaces, you might be surprised sooner than you think.
◧◩◪
25. 1oooqo+Na3[view] [source] [discussion] 2025-01-05 23:51:50
>>rollca+Tf
pgp is only complex because there was a jail sentence to anyone willing to discuss or improve it at the crucial start time. go learn history and rethink your argument.

with that stigma no company invested in that that entire space for decades! we are still gluing scraps from Canadian phds when it comes to pgp UX.

now that crypto is cool you will get keypass, which is the obvious evolution of "url padlock". either the login button is enabled or not. don't question whats happening behind the curtain.

... the fact this entire comment thread is mixing my loose points about the url padlock (consequence) with the CIA actions on pgp (cause)... sigh. I won't bother anymore. enjoy the bliss.

◧◩◪◨
26. pepa65+Tk3[view] [source] [discussion] 2025-01-06 01:47:01
>>graeme+tr
Yes, but making sure you can still read your encrypted emails after something went wrong with your setup and you had to reinstall is already harder. How PGP integrates with a system is not trivial to understand.
◧◩
27. ImJama+N74[view] [source] [discussion] 2025-01-06 11:41:11
>>1oooqo+f5
>i still believe "pgp is too complex" was the most successful cia counter action after they lost the crypto wars to the people.

Do you talk to non-technical people? Some people can hardly turn their computer on. Do you really think PGP is in their grasp?

replies(1): >>defros+484
◧◩◪
28. defros+484[view] [source] [discussion] 2025-01-06 11:44:55
>>ImJama+N74
Thirty four years ago when PGP was released it was far from being the most complex thing that most people using computers and the web as it was at the time had to deal with.

My father, a farmer type born in 1935, managed to use it easily enough when shown how.

It was typical enough of the tools of the time.

replies(1): >>ImJama+3a4
◧◩◪◨
29. ImJama+3a4[view] [source] [discussion] 2025-01-06 12:08:37
>>defros+484
You are not really selling it...

34 years ago the average person did not own a computer. What was computer ownership at in 1990, 10%? The people who owned computers tended to be wealthy, smart or hobbyists which isn't exactly indicative of the average person.

So, your father, who has has somebody who can walk him through it can figure it out. Well guess what, the average person doesn't have a technologically knowledgeable child to show it to them.

replies(1): >>defros+cf4
◧◩◪◨⬒
30. defros+cf4[view] [source] [discussion] 2025-01-06 13:04:10
>>ImJama+3a4
You seem confused, I'm not selling anything, I explained the reality of PGP at the time it was created.

Perhaps you have a literate child that might explain context.

◧◩◪◨
31. rollca+9u4[view] [source] [discussion] 2025-01-06 15:06:49
>>graeme+tr
I agree, but not with the "fixable" part.

Encrypted email is near useless. The metadata (subject, participants, etc) is unencrypted, and often as important as the content itself. There are no ephemeral keys, because the protocol doesn't support it (it's crudely bolted on top of SMTP and optionally MIME). Key exchange is manual and a nuisance few will bother with, and only the most dedicated will rotate their keys regularly. It leaves key custody/management to the user: if there was anything good about the cryptocurrency bubble, it's that it proved that this is NOT something you can trust an average person with.

Signed email is also hard to use securely: unless the sender bothered to re-include all relevant metadata in the message body, someone else can just copy-paste the message content and use it out of context (as long as they can fake the sender header). It's also trivial to mount an invisible salamanders attack (the server needs to cooperate).

The golden standard of E2EE UX are Signal, iMessage, and WhatsApp; all the details of signing and encryption are invisible. Anything less is insecure - because if security is optional or difficult, people will gravitate towards the easy path.

The only use-case I have for PGP is verifying the integrity of downloads, but with ubiquitous HTTPS it's just easier to run sha256sum and trust the hash that was published on the website. The chain of trust is more complicated and centralised (involves CAs and browser vendors), but the UX is simpler, and therefore it does a better job.

[go to top]