whatsrc new feature: Cargo.lock file tracking

2024-05-06 Thread kpcyrd
Cargo.lock are also 100% identical with the _orig.tar files uploaded to the rust-* namespace in Debian by the Debian-Rust team: https://wiki.debian.org/Teams/RustPackaging cheers, kpcyrd PS: this also works in some cases now: https://whatsrc.org/artifact/git:64a5f90b44bc845a4c59f37cb49d9b7693cde6b5

Re: Tracking source code: whatsrc.org

2024-04-30 Thread kpcyrd
12450e02443e16786d3d745b31 A pointer like "instead of `git archive`, run: ..." would already be helpful, if somebody wants to write a patch, the relevant code location would be: https://github.com/kpcyrd/what-the-src/blob/8d9b18f54770a2c2830986af89af15b39c49c70c/src/git.rs#L110-L126 Th

Tracking source code: whatsrc.org

2024-04-23 Thread kpcyrd
/blake2b:babc1506eca6dc5bd48e58fabfd42502d33b506b2e600b7aa98126a6deb0d68e14dc692abb0ef5079e3ccf710648f0b82fe1b404303d932f2156104c479442ec I'm interested in adding NixOS as a 5th distribution, but I'm not sure how to get the relevant data. Help welcome in https://github.com/kpcyrd/what-the-src/issues/12. The existing rpm tooling may also work for OpenSUSE but I haven't tried yet. The site operates fairly co2 efficient (due

Bootstrapping and autotools

2024-04-18 Thread kpcyrd
ped from source" if autoreconf is used as part of the build instead of executing some pre-compiled `./configure` script. This however means that, to compile bash, one needs to compile autotools first. curious, kpcyrd

Re: Which conferences are folks attending these days?

2024-04-18 Thread kpcyrd
On 4/18/24 3:45 PM, Chris Lamb wrote: To that end, what conferences are folks on this list still going to, and, hopefully, still getting something from? I mean, there must be some exceptions other than FOSDEM… :) For me personally, in no particular order: - The Chaos Communication

Re: Please review the draft for March's report

2024-04-11 Thread kpcyrd
April, so it makes sense it's not being mentioned in the report for March. Sorry for the confusion on my end. cheers, kpcyrd

Re: Please review the draft for March's report

2024-04-10 Thread kpcyrd
On 4/10/24 12:58 PM, Chris Lamb wrote: https://reproducible-builds.org/reports/2024-03/?draft > Reproducible builds developer kpcyrd reported that that the Arch Linux "minimal container userland" is now 100% reproducible after work by developers dvzv and Foxboron on the

Re: New supply-chain security tool: backseat-signed

2024-04-06 Thread kpcyrd
ource code build process" is clearly just the build process in a trenchcoat. cheers, kpcyrd

Re: New supply-chain security tool: backseat-signed

2024-04-04 Thread kpcyrd
in Debian as sole permitted form of source. I'd be fine with that. cheers, kpcyrd

Re: New supply-chain security tool: backseat-signed

2024-04-04 Thread kpcyrd
On 4/3/24 4:21 AM, Adrian Bunk wrote: On Wed, Apr 03, 2024 at 02:31:11AM +0200, kpcyrd wrote: ... I figured out a somewhat straight-forward way to check if a given `git archive` output is cryptographically claimed to be the source input of a given binary package in either Arch Linux or Debian

New supply-chain security tool: backseat-signed

2024-04-02 Thread kpcyrd
what to code review. This is also why I think code signing by upstream is somewhat low priority, since the big distros can form consensus around "what's the source code" regardless. https://github.com/kpcyrd/backseat-signed The README shows how to verify Arch Linux and Debian build

Re: Arch Linux minimal container userland 100% reproducible - now what?

2024-03-29 Thread kpcyrd
tioned above. http://allanmcrae.com/about/ cheers, kpcyrd

The upstream xz repository and the xz tarballs have been backdoored

2024-03-29 Thread kpcyrd
https://www.openwall.com/lists/oss-security/2024/03/29/4 Exciting times

Re: Arch Linux minimal container userland 100% reproducible - now what?

2024-03-28 Thread kpcyrd
aving achieved reproducible builds first. cheers, kpcyrd

Re: Arch Linux minimal container userland 100% reproducible - now what?

2024-03-21 Thread kpcyrd
ir gitlab that could be used to track this topic (or work on it): https://gitlab.kitware.com/cmake/cmake/-/issues/25804 cheers, kpcyrd

Arch Linux minimal container userland 100% reproducible - now what?

2024-03-20 Thread kpcyrd
ebian's libnettle[6]. [4]: https://github.com/kpcyrd/repro-env [5]: https://tracker.debian.org/pkg/rust-repro-env [6]: https://tracker.debian.org/pkg/nettle cheers, kpcyrd

Reproducible Arch Linux in 2024/Q1 (irregular status update)

2024-03-12 Thread kpcyrd
with the build time embedded in it. Most unreproducible packages fall into on of those buckets. The only build path related problem in Arch Linux, are randomized filenames or directory names that sometimes get embedded into the binary. Anyway, cheers kpcyrd

Forensic tool release: archlinux-userland-fs-cmp (reproducible pre-compiled binary available)

2024-01-31 Thread kpcyrd
hello, I released a tool recently that I'd like to share with this list: https://github.com/kpcyrd/archlinux-userland-fs-cmp It's supposed to be used from a rescue image (any Linux) with an Arch install mounted to e.g. /mnt. It does the following: - Open /mnt/var/lib/pacman and extract

Reproducible esp32c3 firmware with Rust, repro-env and Arch Linux

2023-12-04 Thread kpcyrd
for about 6-8€. To document my build environment I used repro-env[2] together with Arch Linux because its archive[3] is very reliable and contains all the different Rust development tools I needed. [1]: https://github.com/esp-rs [2]: https://github.com/kpcyrd/repro-env [3]: https

Re: Reproducibility terminology/definitions

2023-11-09 Thread kpcyrd
quot; (this is a common issue with snapshot.debian.org). The remaining uncertainty in this space are things like "do we expect old releases to continue to be reproducible, and if so, for how long". This is a controversial topic because it would require a public archive of all old build dependencies (that not every project is willing/able to commit to). I hope somebody considers this email useful. cheers, kpcyrd

Re: Pitfall of using shortened git hashes compiled into code

2023-09-19 Thread kpcyrd
e --tags) % ssh kpc...@some.build.server.example.com "echo $pkgver" uid=1016(kpcyrd) gid=1021(kpcyrd) groups=1021(kpcyrd),965(docker),985(users),998(wheel)-1-g7f856c3 % ``` Enjoy

Reproducible Arch Linux (August 2023)

2023-08-24 Thread kpcyrd
an attempt to get the 2nd issue resolved (before or during the summit). The PEP-518 approach is more labour intensive and gives an estimated 1% improvement from 86%->87% reproducible. The second issue I'm not sure and can't give an estimate. cheers, kpcyrd

Unreproducible tar files on go.googlesource.com

2023-07-18 Thread kpcyrd
2023-07-18 11:32 cmd/govulncheck/doc.go [kpcyrd@build ~]$ tar tvvf /var/lib/archbuilddest/srcdest/govulncheck-1.0.0.tar.gz | head -rw-r--r-- 0/0 63 2023-07-18 09:33 .gitignore -rw-r--r-- 0/0 995 2023-07-18 09:33 CONTRIBUTING.md -rw-r--r-- 0/01479 2023-07-18 09

repro-env v0.3.0 released

2023-07-14 Thread kpcyrd
hello list, I've released v0.3.0 of repro-env: https://github.com/kpcyrd/repro-env/releases/tag/v0.3.0 It removes the need for a working shared-mime-info environment, the only runtime dependencies are now: - Linux unprivileged user-namespaces enabled - podman installed - catatonit installed

Shipping reproducible binaries on github: repro-env

2023-07-08 Thread kpcyrd
github.com/kpcyrd/repro-env It works by adding two more files into your git repository that work together like Cargo.toml/Cargo.lock or package.json/package-lock.json: - **repro-env.toml**: this describes the environment you're aiming for, eg. "the latest debian bookworm, with rust an

Re: Building a reproducible Linux kernel

2023-05-31 Thread kpcyrd
essary source code here: https://github.com/kpcyrd/archlinux-linux-reproducible/ This is the patch: https://github.com/kpcyrd/archlinux-linux-reproducible/commit/19f4a7fa430292ab29c22bb58e17fddb4fbf39e0 Also 'thank you' to Michael who sent me an email off-list to help me with instructions

Re: Introducing: Semantically reproducible builds

2023-05-29 Thread kpcyrd
pinned by their sha256sum, so it's very clear what should be reviewed, with no ambiguity of some .gitignore being present or absent. cheers, kpcyrd

Re: Introducing: Semantically reproducible builds

2023-05-27 Thread kpcyrd
diff (that would reveal my backdoor). If I intentionally introduce some benign difference in the semantic diff it's picking that up as the reason for a mismatch and moves on (leaving my non-benign changes unreported). https://twitter.com/kpcyrd/status/1575080558572449792 On top of developme

Build the ring rust crate with a stable build path

2023-05-07 Thread kpcyrd
"GCC: (GNU) 13.1.1 20230429". And obviously to change the binary output is the whole point of releasing a new compiler version. Linux distributions are using buildinfo files for this, I'm not aware of any github native solutions for this. I hope somebody considers this useful. Cheers, kpcyrd

Re: Debian and reproducible-builds.org incoherence?

2023-04-12 Thread kpcyrd
ing is still unclear! Cheers, kpcyrd

Re: Please review the draft for January's report

2023-02-02 Thread kpcyrd
On 2/2/23 21:14, Chris Lamb wrote: Please review the draft for January's Reproducible Builds report: There was a recent update on rb-general@ by Akihiro Suda about SOURCE_DATE_EPOCH in BuildKit v0.11 that I consider very noteworthy (although it was technically in February). :)

Re: citests vs. (verification |re)builds

2022-11-13 Thread kpcyrd
n "Who is involved?" on the website, having results to show is a much higher involvement than having a manual somewhere. PS: vagrant, please get an irc bouncer. cheers, kpcyrd

Re: repro-get: reproducible apt, dnf, apk, and pacman, with content-addressing

2022-10-21 Thread kpcyrd
ry to work around this the same way https://github.com/chainguard-dev/apko does, by manually creating a container .tar. cheers, kpcyrd

git 2.38.0: Change in `git archive` output

2022-10-16 Thread kpcyrd
00d302bc52d0d9d5a3d4738bb525066c710 I don't know if there's some kind of gzip standard that could be used to align the git internal gzip implementation with gnu gzip. I'm not saying this is necessarily a bug or regression but it makes it harder to reproduce github tar balls from a git repository. Just sharing what I've debugged. :) cheers, kpcyrd

auth-tarball-from-git: verifying tarballs with signed git tags using reproducible builds

2022-05-31 Thread kpcyrd
ohai! I blogged about a new tool[1] that can be used to verify a tarball from a signed git tag, while still pinning the sourcecode with >= sha256sum: https://vulns.xyz/2022/05/auth-tarball-from-git/ Let me know what you think - that's all, kpcyrd [1]: https://github.com/kpcyrd/auth-tarb

Release rebuilderd-debian-buildinfo-crawler

2022-02-13 Thread kpcyrd
hi! I've released a tool that pulls a Package.xz binary package index, then parses the html of the https://buildinfos.debian.net/ directory listings until it finds one that matches the Package in Package.xz. https://github.com/kpcyrd/rebuilderd-debian-buildinfo-crawler This is a workaround

rebuilderd 0.18.1 release

2021-12-17 Thread kpcyrd
shoutout to @jvoisin, @SantiagoTorres and @repi for their contributions. <3 [1]: https://github.com/kpcyrd/rebuilderd [2]: https://github.com/sponsors/kpcyrd cheers, kpcyrd

rebuilderd 0.16.3 released

2021-11-27 Thread kpcyrd
hi! I've released rebuilderd v0.16.3, this release is mostly refactoring to support "build groups", meaning it's now possible to have one build reproduce multiple artifacts at once. The full changelog for the 0.16.x series can be found at: https://github.com/kpcyrd/rebuilderd/re

Seeking funding

2021-10-19 Thread kpcyrd
any questions. Thanks! [1]: https://github.com/sponsors/kpcyrd [2]: https://github.com/kpcyrd/rebuilderd

rebuilderd v0.15.0 release

2021-10-18 Thread kpcyrd
hi! I've released rebuilderd v0.15.0, all instances that we're aware of have already upgraded. Changelog can be found here: https://github.com/kpcyrd/rebuilderd/releases/tag/v0.15.0 I've published an intro on how rebuilderd works and a walkthrough on how to write custom integrations on twitter

i-probably-didnt-backdoor-this: Reproducible Builds for upstreams

2021-08-19 Thread kpcyrd
hi! I uploaded a github repo that distributes a Hello World in various formats (ELF binary, Docker image, 3rd party(!) Arch Linux package) and documented every file and command needed to reproduce the artifacts bit-for-bit: https://github.com/kpcyrd/i-probably-didnt-backdoor-this I'm not very

Re: Help us map the reproducible builds ecosystem

2021-08-02 Thread kpcyrd
On Mon, Aug 02, 2021 at 11:07:21AM +0100, Chris Lamb wrote: > Really appreciated. As a reminder, we're looking for entities that are > participating in some way in reproducible builds or have done so in > the past. This could be technology projects, organisations, > individuals, etc. and indeed

Seeking Help: grub man pages not reproducible

2021-07-25 Thread kpcyrd
Hello! One of the rebuilderd based Arch Linux rebuilders flagged a design issue in grub that likely affects all distros: │ ├── usr/share/man/man8/grub-install.8.gz │ │ ├── grub-install.8 │ │ │ @@ -112,15 +112,15 @@ │ │ │ is only available on EFI. │ │ │ .TP │ │ │

Re: How could we accelerate *deployment* of verified reproducible builds?

2021-01-30 Thread kpcyrd
On Sat, Jan 30, 2021 at 12:22:55PM +, Holger Levsen wrote: > On Fri, Jan 29, 2021 at 05:39:01PM -0500, David A. Wheeler wrote: > > What would be especially helpful for accelerating deployment of verified > > reproducible builds in a few key places? E.g., what tools, infrastructure, > >

Re: Please review the draft for November's report

2020-12-10 Thread kpcyrd
On Thu, Dec 10, 2020 at 02:51:16PM +, Chris Lamb wrote: > Chris Lamb wrote: > > > Please review the draft for November's Reproducible Builds report: > > This has now been published; many thanks to all who contributed. > > Please share the following URL: > >

Re: Infrastructure tasks of the RB Team to help

2020-11-24 Thread kpcyrd
On Tue, Nov 24, 2020 at 02:05:55PM -0600, jathan wrote: > On 23/11/2020 15:23, Holger Levsen wrote: > > or you could maybe help with getting this archlinux rebuilderd set up > > set up on r-b.o infrastructure? > > It is a good proposal to help with > the Arch Linux rebuilder set up on r-b.o

Disabling automatic notifications in #reproducible-builds

2020-11-12 Thread kpcyrd
Hello! Since the list is fairly low traffic and most discussion happens in the irc channel anyway I'd like to suggest moving most, if not all, notifications by KGB-{1,2} into a different channel. I suspect that only very few people actually use them and valuable discussion disappears quickly

Announcing rebuilderd 0.5.0

2020-11-02 Thread kpcyrd
to restart the daemon and your workers after updating, rebuilderd-worker 0.4.0 can't be used with a 0.5.0 rebuilderd daemon. Instructions to setup your own rebuilder can be found in the Arch Wiki[5]. There are pre-compiled binaries available for debian at: https://github.com/kpcyrd/rebuilderd

Re: Evaluation of bundling .buildinfo in .deb proposal

2020-08-31 Thread kpcyrd
I'm a bit short on time, sorry in advance if the email is a little short/blunt: - What was the original motivation of putting the size and checksum of the package into the buildinfo file? We aren't tracking this info in Arch Linux and it turned out we didn't need those fields to implement a

Re: Please review the draft for May's report

2020-06-10 Thread kpcyrd
On Wed, Jun 10, 2020 at 11:51:44AM -0400, Leo Wandersleb wrote: > Sure but I found it confusing in combination with the quorum logic. If I trust > my 12 sock puppets, I can reach any quorum that only requires 5 signatures. > Some > slightly stronger concept of identity is needed if you go by a

Re: Reproducible Builds Verification Format

2020-05-20 Thread kpcyrd
On Wed, May 20, 2020 at 02:17:56PM +, Holger Levsen wrote: > > The buildinfo is an output of the initial build and becomes an input for > > the rebuilder, but a rebuilder is always going to use the official > > buildinfo when verifying the official package. I'm not sure if the > > buildinfo of

Re: Reproducible Builds Verification Format

2020-05-14 Thread kpcyrd
On Thu, May 14, 2020 at 02:10:04PM +0200, Marek Marczykowski-Górecki wrote: > > This is an implementation detail, isn't it? A buildinfo wouldn't be > > required if > > you are in an environment where the build environment doesn't change. But in > > many cases, this isn't the case. Dependencies we

Re: Reproducible Builds Verification Format

2020-05-13 Thread kpcyrd
On Wed, May 13, 2020 at 09:39:40AM +0200, Arnout Engelen wrote: > This seems useful, though I think it is helpful to describe the > relationship between > the 'buildinfo' and such a 'rebuild result'. > > It is already common practice for a reproducible build to record a > 'buildinfo' with >

Re: Reproducible Builds Verification Format

2020-05-13 Thread kpcyrd
I think it makes sense to clarify who's supposed to consume the output, almost all of the data in there is only useful for plumbing by r-b and distro people and I don't think that needs to be signed beyond transport security. The target "audience" of a rebuilder are package managers like pacman

Running an independent Arch Linux rebuilder in 4 easy steps

2020-04-21 Thread kpcyrd
for the "hands-off, everything just works™" experience. The setup documentation can be found in the Arch Linux wiki[1]. [1]: https://wiki.archlinux.org/index.php/Rebuilderd The code can be found here: https://github.com/kpcyrd/rebuilderd https://github.com/archlinux/archlinux-repro Pl

rebuilderd release and DiVOC Arch Linux Rebuilding workshop

2020-04-13 Thread kpcyrd
that it's considered experimental (and shouldn't be exposed to the internet yet). [2]: https://github.com/kpcyrd/rebuilderd The project consists of 3 components: - rebuilderd: the brain that keeps track of the pkg states, queue and hands out tasks to workers - rebuilderd-worker: receives a task from

Re: [rb-general] What is the goal of reproducible builds?

2019-12-09 Thread kpcyrd
I personally joined the project because I'm interested in independent verification of binaries, from the point of view as both a publisher and a user of binaries. While I think the other efforts are very valid and important as well and efforts building on top of each other, I'd rather keep this