From owner-freebsd-ports@freebsd.org Wed Mar 31 14:03:11 2021 Return-Path: Delivered-To: freebsd-ports@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3E16F5796A2 for ; Wed, 31 Mar 2021 14:03:11 +0000 (UTC) (envelope-from kremels@kreme.com) Received: from mail.covisp.net (mail.covisp.net [65.121.55.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4F9ShG3prqz3PSl for ; Wed, 31 Mar 2021 14:03:10 +0000 (UTC) (envelope-from kremels@kreme.com) Content-Type: text/plain; charset=utf-8 Subject: Re: Lessons from the PHP git repo "hack" From: "@lbutlr" In-Reply-To: <20210331135819.rzy3weyxunobnne6@nexus.home.palmen-it.de> Date: Wed, 31 Mar 2021 08:03:09 -0600 Content-Transfer-Encoding: quoted-printable Message-Id: <1035BFA8-667D-45CD-9066-848351F648EF@kreme.com> References: <6314D726-F55D-4374-AB63-B17B7B3E4D14@kreme.com> <20210331135819.rzy3weyxunobnne6@nexus.home.palmen-it.de> To: FreeBSD X-Mailer: Apple Mail (2.3654.80.0.2.43) X-Rspamd-Queue-Id: 4F9ShG3prqz3PSl X-Spamd-Bar: - Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of kremels@kreme.com designates 65.121.55.42 as permitted sender) smtp.mailfrom=kremels@kreme.com X-Spamd-Result: default: False [-1.40 / 15.00]; ARC_NA(0.00)[]; RBL_DBL_DONT_QUERY_IPS(0.00)[65.121.55.42:from]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; FROM_HAS_DN(0.00)[]; R_SPF_ALLOW(-0.20)[+mx:c]; MISSING_MIME_VERSION(2.00)[]; MIME_GOOD(-0.10)[text/plain]; TO_MATCH_ENVRCPT_ALL(0.00)[]; DMARC_NA(0.00)[kreme.com]; RCPT_COUNT_ONE(0.00)[1]; SPAMHAUS_ZRD(0.00)[65.121.55.42:from:127.0.2.255]; TO_DN_ALL(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.996]; RCVD_COUNT_ZERO(0.00)[0]; FROM_EQ_ENVFROM(0.00)[]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:209, ipnet:65.112.0.0/12, country:US]; MID_RHS_MATCH_FROM(0.00)[]; MAILMAN_DEST(0.00)[freebsd-ports]; RCVD_IN_DNSWL_LOW(-0.10)[65.121.55.42:from] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Mar 2021 14:03:11 -0000 On 31 Mar 2021, at 07:58, Felix Palmen wrote: > * @lbutlr [20210331 07:47]: >> Which brings me to the reason for this post, as it seems that the >> ports collection of FreeBSD 13.x will be in the same position, = running >> a private git server network and using GitHub as a mirror and I = wonder >> if some lessons from php's experience with this should be considered >> for this setup before it's implemented. >=20 > Apart from the fact there's only one ports tree=E2=80=A6 How does that make any difference? If someone gains access to the repo = and makes changes everyone gets this changes. > I'd say the lesson is keep your systems updated and pay attention to > keep your credentials safe/secret. I don't see how Github would = prevent > such an incident any better. That is making an assumption that the people running the php git server = were incompetent, which is not something I am willing to do at this = point. --=20 But I been sane a long while now, and change is good.