From nobody Wed Aug 3 23:37:24 2022 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4LypDv3GSsz4Y7XM for ; Wed, 3 Aug 2022 23:37:35 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: from mail.evolve.de (mail.evolve.de [213.239.217.29]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA512 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mail.evolve.de", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LypDs4svpz3jC8; Wed, 3 Aug 2022 23:37:33 +0000 (UTC) (envelope-from grembo@freebsd.org) Received: by mail.evolve.de (OpenSMTPD) with ESMTP id 8fc189eb; Wed, 3 Aug 2022 23:37:25 +0000 (UTC) Received: by mail.evolve.de (OpenSMTPD) with ESMTPSA id 347f07a4 (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO); Wed, 3 Aug 2022 23:37:25 +0000 (UTC) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 (1.0) Subject: Re: poudriere overlay: passing down git ENV variables (problem: self signed certificates) From: Michael Gmelin In-Reply-To: Date: Thu, 4 Aug 2022 01:37:24 +0200 Cc: freebsd-ports@freebsd.org Message-Id: References: To: Tatsuki Makino X-Mailer: iPhone Mail (19F77) X-Rspamd-Queue-Id: 4LypDs4svpz3jC8 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=softfail (mx1.freebsd.org: 213.239.217.29 is neither permitted nor denied by domain of grembo@freebsd.org) smtp.mailfrom=grembo@freebsd.org X-Spamd-Result: default: False [-2.60 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-1.000]; MV_CASE(0.50)[]; MIME_GOOD(-0.10)[text/plain]; ASN(0.00)[asn:24940, ipnet:213.239.192.0/18, country:DE]; MLMMJ_DEST(0.00)[freebsd-ports@freebsd.org]; FREEMAIL_TO(0.00)[hotmail.com]; R_DKIM_NA(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_COUNT_THREE(0.00)[3]; RCVD_TLS_LAST(0.00)[]; FREEFALL_USER(0.00)[grembo]; ARC_NA(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; FROM_HAS_DN(0.00)[]; DMARC_NA(0.00)[freebsd.org]; TO_DN_SOME(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all]; MID_RHS_MATCH_FROM(0.00)[] X-ThisMailContainsUnwantedMimeParts: N > On 4. Aug 2022, at 01:32, Tatsuki Makino wrot= e: >=20 > =EF=BB=BFI looked into this wondering why the poudriere is not blocking th= e propagation of the value, but the poudriere is not being affected by the v= alue. > Then, I think that is the reason why we are not getting the results we nee= d :) >=20 > Of course, a better solution would be to set up the verification so that i= t does not need to be bypassed. >=20 > Regards The requester might also use a letsencrypt issued cert (using dns01 in case t= he site it isn=E2=80=99t available publicly). In theory, a self-signed cert can be more secure if you pin it, but since th= eir approach was ignoring cert verification completely, this level of securi= ty probably isn=E2=80=99t what they were going for. Cheers Michael > . >=20 > Michael Gmelin wrote on 2022/08/04 07:58: >>> Thanks, I simply copy and pasted what the requester used (assuming they a= lready tested that exact value outside of poudriere), since my response was a= bout the mechanics of how to get that variable in and not its name. >>>=20 >> p.s. I also agree that adding the self signed cert to the trust bundle is= preferable to just not checking ssl at all. Git allows configuring these se= tting per domain by the way. I learned today that there is a service called b= adssl.com, which provides a couple of subdomains to simulate various error s= cenarios, which is quite useful when testing. >=20