From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: [PATCHES] profiles: Produce a single-file CA certificate bundle Date: Tue, 03 Mar 2015 21:04:43 +0100 Message-ID: <87egp5u9t0.fsf@gnu.org> References: <87r3u7di49.fsf@netris.org> <20150204123652.GA21908@debian.eduroam.u-bordeaux.fr> <87wq3jah2w.fsf@netris.org> <20150215091632.GA9692@debian> <87sie79km0.fsf@netris.org> <87mw441fdp.fsf@gnu.org> <87sidvhx0t.fsf@netris.org> <87zj7v2gmf.fsf_-_@gnu.org> <87fv9medxv.fsf_-_@netris.org> <87bnkaeb8y.fsf@netris.org> <87a8zuntw7.fsf@gnu.org> <8761ahlvv0.fsf@netris.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48601) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSt3i-0004V0-C4 for guix-devel@gnu.org; Tue, 03 Mar 2015 15:04:54 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YSt3e-0005Oh-Vf for guix-devel@gnu.org; Tue, 03 Mar 2015 15:04:50 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:57048) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YSt3e-0005Ob-S6 for guix-devel@gnu.org; Tue, 03 Mar 2015 15:04:46 -0500 In-Reply-To: <8761ahlvv0.fsf@netris.org> (Mark H. Weaver's message of "Tue, 03 Mar 2015 14:33:07 -0500") 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Mark H Weaver Cc: guix-devel@gnu.org Mark H Weaver skribis: > Fedora's system for handling CA certificates seems to be vastly more > sophisticated than Debian's. All of the single-file bundles are > considered "legacy", and Fedora is able to produce multiple bundles > containing certs trusted for different purposes. > > Doing this job properly will require more research, but it seems to me > that we should be looking to Fedora for guidance: > > http://pkgs.fedoraproject.org/cgit/ca-certificates.git > http://pkgs.fedoraproject.org/cgit/openssl.git > http://pkgs.fedoraproject.org/cgit/gnutls.git Indeed, this looks like a useful source of inspiration. > Andreas Enge writes: >> If we decide to remove certificates, this should not only be done in the >> aggregation phase into one file. They should be removed at the end of the >> nss-certs build, so that also the single certificate files will disappea= r. >> What is left over can be collected into one file as is done now. > > Agreed. For now, I've pushed my recently proposed commits (to support > certificate stores in profiles) along with changes to our 'nss-certs' > package to only install certificates that are annotated with a non-empty > "openssl-trust=3D" comment by our 'certdata2pem.py' (from Fedora). Good. BTW, since the =E2=80=98x509-certificates=E2=80=99 is now gone, I think we = should add =E2=80=98nss-certs=E2=80=99 to =E2=80=98%base-packages=E2=80=99 to get that= works-out-of-the-box property. WDYT? Thanks, Ludo=E2=80=99.