this post was submitted on 10 Jul 2024
92 points (100.0% liked)

Free and Open Source Software

17922 readers
14 users here now

If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.


This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.

founded 2 years ago
MODERATORS
 

cross-posted from: https://jlai.lu/post/8476122

Zed on Linux is out!

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 39 points 4 months ago (2 children)

Might be neat. Might check it out. But devs really need to stop asking me to install things by curling a script and piping it into my shell. There are better ways to do this. Doing this leaves a massive possible attack surface.

[–] [email protected] 4 points 4 months ago (1 children)

No matter how they package it, running a binary downloaded from Internet has the same attack surface

[–] [email protected] 5 points 4 months ago (1 children)

You are right, except for one detail. Package managers almost always validate the packages using digital signatures, to avoid man-in-the-middle attacks. You don't need to trust the network anymore. Shell scripts piped to a shell don't have that protection. You still have to trust the developers and maintainers, though.

[–] [email protected] 2 points 4 months ago

Shell scripts have md5 signatures

[–] [email protected] 1 points 4 months ago* (last edited 4 months ago)

~~Agree. Not at all a security expert here, but maybe doing it inside a distrobox could be a temporary fix?~~

Forget it, I just tried and it seems it gets installed in your home directory so using distrobox doesn't change anything (apparently, but as I said I'm not an expert so feel free to correct me if I'm wrong).

However, I've seen they also have it available through a bunch of package managers like nix, arch and Fedora