Live data from Hacker News

Debian must ship reproducible packages

lists.debian.org

71–80 of 178 posts

Re: Debian must ship reproducible packages

#71
post #36

Earlier quoted context omitted.

all I get is this: > Forbidden > You are not allowed to access this! (yes, with HTML tags on display) :) EDIT: I also found a "I Challenge Thee" page in history. did I just get blocked by antibot measures? why???

Do you have JavaScript disabled? They put one of those anti-scraper things on it.

nope, it's enabled. I can pass Cloudflare, reCaptcha, whatever Microsoft is doing, and Annubis, but Debian caught me off-guard

Re: Debian must ship reproducible packages

#72

Earlier quoted context omitted.

> for example the stream of issues from npm et al. Curious, what distros where affected by npm supply chain attacks?

It's npm that's affected, therefore it's not even considered when choosing language/ecosystem for writing distro tools. You'll find no sane distro writing package manager in javascript precisely to avoid this joke of a supply chain.

I quite like the OpenBSD approach to Go and Rust projects in ports. They store all the dependencies and their hashes in the build recipe, not trusting the project ones. And they’re more readable.

Here is jujutsu’s list of dependencies[0] and their hashes[1]. As an aside, that’s why I don’t like those packages managers. Something like Python’s numpy or lib curl, get sliced into atomic portions.

[0]: https://github.com/openbsd/ports/blob/master/devel/jujutsu/c...

[1]: https://github.com/openbsd/ports/blob/master/devel/jujutsu/d...

Re: Debian must ship reproducible packages

#73
post #52

Earlier quoted context omitted.

There was no bug or attack on Debian since 2007 that reproducible packages would prevent. "Well worth it" is not correct. And it just ups the the contribution barrier to Debian higher, I already heard a lot of people complaining that contributing to Debian is hard and while in past I defended it by "they need all the checks and bounds to make sure packages play with eachother nicely", this is just step that makes it…

It makes shipping backdoors a whole lot harder, yes.

Hmm, it prevents Trojan binaries which is a small subset of backdoor IMHO.

Defense in depth obviously is a good thing

Re: Debian must ship reproducible packages

#74

I am always surprised Debian are leading this and not the commercial vendors. You'd think big organisations paying for RHEL and Ubuntu would be beating down the door for verifiable binaries.

Reproducible builds exist to reduce the need for trust, while commercial vendors are in the business of selling trust.

Re: Debian must ship reproducible packages

#75
post #30

Earlier quoted context omitted.

Several actually. Pypi is regularly targeted in this way.

But how many of those attackers also had the ability to publish a github commit but didn't to remain more stealthy.

This question is meaningless. Attackers will pick the best attack if they have more at their disposal. The fact that they didn't push a commit shows it's better not to. So closing that attack is good.

Re: Debian must ship reproducible packages

#76
post #68

Earlier quoted context omitted.

Reproducible builds are applicable not only to respond to ‘attacks’, a subject you seem to be bikeshedding, but also for other reasons too. Anyone having to maintain a code base or a distributed fleet of devices will gain from this decision, immensely, as their operational periods come and go. Reproducible builds are about longevity as much as they are about security . Please don’t make bold claims about ‘no reason a…

I longevity is harmed though. Your certs need to expire in a few years we think that your toolchain will not be downloadable.

Those problems need to be solved as well.

Re: Debian must ship reproducible packages

#77

Earlier quoted context omitted.

> for example the stream of issues from npm et al. Curious, what distros where affected by npm supply chain attacks?

It's npm that's affected, therefore it's not even considered when choosing language/ecosystem for writing distro tools. You'll find no sane distro writing package manager in javascript precisely to avoid this joke of a supply chain.

ECMA-262 doesn't require the use of NPM or NodeJS. (In fact, they are at odds, even 10+ years after modules were standardized in ES6.)

Re: Debian must ship reproducible packages

#78

So much time has been wasted on reproducible builds which could have better spent on securing more important parts of Debian. Practically minor changes like a build timestamp being different is not an issue.

Yes, making sure build timestamps are reproducible isn't a security win.

What is a win is that two independent parties can run the same build, and get the same binaries.

This is important because it removes trust from builders: anyone can verify their output.

It just so happens that unimportant things like build versions impede that.

Re: Debian must ship reproducible packages

#79
post #68

Earlier quoted context omitted.

I longevity is harmed though. Your certs need to expire in a few years we think that your toolchain will not be downloadable.

Those problems need to be solved as well.

I don't think they do, actually. Longevity sounds good, but in reality anything that's old probably has critical security holes and so you shouldn't use it anyway.

Re: Debian must ship reproducible packages

#80
post #15

Debian, like any other legacy distro, mush became declarative, because the '80s model of manual deploy and the absurd pain of D/I and Preseed must end.

I've been 100% on NixOS on many years, but it's Debian that really drove this project.

They're still a pragmatic choice for many usecases.

Post reply on HN