Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:122857 X-Original-To: internals@lists.php.net Delivered-To: internals@lists.php.net Received: from php-smtp4.php.net (php-smtp4.php.net [45.112.84.5]) by qa.php.net (Postfix) with ESMTPS id A03871A009C for ; Tue, 2 Apr 2024 13:36:30 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1712065018; bh=OOzrcbEpWNvx2kd4J2CoPKCIyRd8uXxsKAv9aDqTRHs=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=NR1g+CpcmG6enWCjXTg3U5PzPDjXLgt9VQHHC7Jhyv2++2Dp5u6DTS19itf/vIrBP 7RulwOyn+M02EPSwW6OO2Mpt6hFyUJaLii1wQhJNYwotC9Xad2hgWNTqIemylOdR8H UfAZf/ZTmrx4pkSrQf6/L+zTTCG7nyZiFu69RWfQIEFRM8FRt4evcVJdj/z1wRtjPA 3ximR5g4JXXCI4v7Oqg2D8/lFor1F47g3KITVzhB/d0jBDjHFClhFDC9AVnAZescf2 eEB015ny44Bn3L/3ZKbY46p0xhCjWVkY05bOLH+dN12hhuTyc6QpFN64S4xyc9GzA9 Y/yLxh8qTLI+g== Received: from php-smtp4.php.net (localhost [127.0.0.1]) by php-smtp4.php.net (Postfix) with ESMTP id 694D618006F for ; Tue, 2 Apr 2024 13:36:57 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-13) on php-smtp4.php.net X-Spam-Level: *** X-Spam-Status: No, score=3.6 required=5.0 tests=BAYES_50,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,DMARC_MISSING,SPF_HELO_PASS, SPF_SOFTFAIL,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=4.0.0 X-Spam-Virus: No X-Envelope-From: Received: from xdebug.org (xdebug.org [82.113.146.227]) by php-smtp4.php.net (Postfix) with ESMTP for ; Tue, 2 Apr 2024 13:36:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=php.net; s=mail; t=1712064988; bh=OOzrcbEpWNvx2kd4J2CoPKCIyRd8uXxsKAv9aDqTRHs=; h=Date:From:To:cc:Subject:In-Reply-To:References:From; b=TVk/09yEaQSAw7w3CN7genedX59qWGL7JJ06wPzdOZmQ+YI6tMzAsOy/3l6QPUEq3 ToN515WDsDPigSmObI/5wgaOxbRK3S5KEqL7fBZGjxHrJgnT3hCZMHZoL4C0lkd/54 Gj5hJXuIwegsS3DoZqxXCcNspwXxVJmNYT7c/kCJ8wViz6NXqYxkJWXJLyf6Sjaa8s HbV34kqR854HooETBEees47C/KKBjctxOImHgNXfAZqouLnqj5UNa09xH/RnNM+Fm+ RArmzZbNmg8iKw2I9SQFHk+ikzo11eEyHnv2GW//1ELFsMzNr6Ps7pcc7P3tEgTS6s eMfMxF7Ld5zHA== Received: from localhost (localhost [IPv6:::1]) by xdebug.org (Postfix) with ESMTPS id AE89A10C0D2; Tue, 02 Apr 2024 14:36:27 +0100 (BST) Date: Tue, 2 Apr 2024 14:36:27 +0100 (BST) To: Jakub Zelenka cc: Marco Pivetta , Ben Ramsey , Bob Weinand , Daniil Gentili , PHP Internals List Subject: Re: [PHP-DEV] Consider removing autogenerated files from tarballs In-Reply-To: Message-ID: <95c92b6a-6788-fddb-a130-e4d122338b68@php.net> References: <9008050F-4EE1-4E19-B513-654602E118A7@benramsey.com> Precedence: bulk list-help: list-post: List-Id: internals.lists.php.net MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-600893831-1712064987=:14553" From: derick@php.net (Derick Rethans) This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-600893831-1712064987=:14553 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE On Sat, 30 Mar 2024, Jakub Zelenka wrote: > On Sat, Mar 30, 2024 at 7:08=E2=80=AFAM Marco Pivetta wrote: > > > > I understand that the XZ project had signed releases too: that still=20 > > means that downstream consumers would need to trust the release=20 > > managers anyway, and reproduce the whole chain themselves. > > > > I suppose that's part of OP's concern. > > > I agree that compromised RM is a problem that we should look into. >=20 > We have been actually already discussing something similar. I have=20 > been thinking about it and it could be potentially used for all=20 > builds. The idea is that we would setup worklfow on CI that would run=20 > on tag push and it would call (authenticated https request)=20 > downloads.php.net server that could do the actual build, sign them and=20 > return the hashes to the CI job which would display them and do extra=20 > verification (probably its own build to verify that download server=20 > work as expected). =2E.. > It needs more thinking to iron out all details and make sure it is a=20 > secure but I think it would be something worth to look at. I don't mind coming up with an automated way, but we probably should not=20 use the *downloads* server. All it does is serve files. It has no=20 compiler or anything else. It's a storage optimised instance with little=20 CPU. On CI we already test the builds, what does stop us from also just=20 having it make the tarball and attach it as an artefact? We can then=20 setup somethin gon the downloads server to pull these artefacts. In=20 fact, this is exactly what we're already hoping to do for Windows=20 downloads too. Having it all in one place is probably even better (and=20 easier). Of course, having CI make the tarballs means we need to trust that CI=20 isn't compromised ;-). cheers, Derick --=20 https://derickrethans.nl | https://xdebug.org | https://dram.io Author of Xdebug. Like it? Consider supporting me: https://xdebug.org/suppo= rt mastodon: @derickr@phpc.social @xdebug@phpc.social --8323329-600893831-1712064987=:14553--