From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: Re: gnutls 'name-constraints' test failure Date: Sun, 17 Jul 2016 03:32:06 -0400 Message-ID: <20160717073206.GA17182@jasmine> References: <578A854F.30302@cock.li> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:35281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOgYp-00025y-17 for guix-devel@gnu.org; Sun, 17 Jul 2016 03:32:24 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bOgYk-00035O-O2 for guix-devel@gnu.org; Sun, 17 Jul 2016 03:32:21 -0400 Received: from out5-smtp.messagingengine.com ([66.111.4.29]:50204) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bOgYj-00033h-E3 for guix-devel@gnu.org; Sun, 17 Jul 2016 03:32:18 -0400 Content-Disposition: inline In-Reply-To: <578A854F.30302@cock.li> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: nee Cc: guix-devel@gnu.org On Sat, Jul 16, 2016 at 09:04:47PM +0200, nee wrote: > ./certtool: line 83: datefudge: command not found > > You need datefudge to run this test > > FAIL: name-constraints > ====================== > > Loaded 3 certificates, 1 CAs and 0 CRLs > > Subject: C=US,O=Foo Bar Inc.,CN=Foo Bar Sub CA 1,OU=Public Key Infrastructure > Issuer: C=US,O=Foo Bar Inc.,CN=Foo Bar Root CA,OU=Public Key Infrastructure > Output: Not verified. The certificate is NOT trusted. The certificate issuer is unknown. > > Subject: C=US,O=Foo Bar Inc.,CN=Foo Bar Sub CA 1,OU=Public Key Infrastructure > Issuer: C=US,O=Foo Bar Inc.,CN=Foo Bar Root CA,OU=Public Key Infrastructure > Checked against: C=US,O=Foo Bar Inc.,CN=Foo Bar Sub CA 1,OU=Public Key Infrastructure > Output: Verified. The certificate is trusted. > > Subject: C=US,O=Foo Bar Inc.,CN=bazz.foobar.com > Issuer: C=US,O=Foo Bar Inc.,CN=Foo Bar Sub CA 1,OU=Public Key Infrastructure > Checked against: C=US,O=Foo Bar Inc.,CN=Foo Bar Sub CA 1,OU=Public Key Infrastructure > Output: Not verified. The certificate is NOT trusted. The certificate chain uses expired certificate. > > Chain verification output: Not verified. The certificate is NOT trusted. The certificate chain uses expired certificate. > > name constraints test 1 failed The test certificates have expired. I think we need to apply this patch with a graft, from the gnutls_3_4_x branch: https://gitlab.com/gnutls/gnutls/commit/47f25d9e08d4e102572804a2aed186b01db23c65 The effect is to skip the test, because we are missing the datefudge program [0]. Or, we could package datefudge and add it to the gnutls recipe. Thanks to Jookia for the tip. [0] https://packages.debian.org/sid/datefudge