NetBSD Problem Report #58974

From www@netbsd.org  Tue Jan  7 19:29:24 2025
Return-Path: <www@netbsd.org>
Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256
	 client-signature RSA-PSS (2048 bits) client-digest SHA256)
	(Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified))
	by mollari.NetBSD.org (Postfix) with ESMTPS id 246E01A9238
	for <gnats-bugs@gnats.NetBSD.org>; Tue,  7 Jan 2025 19:29:24 +0000 (UTC)
Message-Id: <20250107192922.D0C1B1A923B@mollari.NetBSD.org>
Date: Tue,  7 Jan 2025 19:29:22 +0000 (UTC)
From: campbell+netbsd@mumble.net
Reply-To: campbell+netbsd@mumble.net
To: gnats-bugs@NetBSD.org
Subject: security/p11-kit abuses mozilla-rootcerts for non-TLS trust anchors
X-Send-Pr-Version: www-1.0

>Number:         58974
>Category:       pkg
>Synopsis:       security/p11-kit abuses mozilla-rootcerts for non-TLS trust anchors
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 07 19:30:01 +0000 2025
>Originator:     Taylor R Campbell
>Release:        current
>Organization:
The NetBSD#11 Foundacertification
>Environment:
>Description:
security/p11-kit is currently built to depend on security/mozilla-rootcerts and use its cacert.pem file as trust anchors.

But mozilla-rootcerts cacert.pem is intended only for _TLS_ trust anchors.  p11-kit doesn't do TLS as far as I know.  It's not clear it makes sense to bake any trust anchors into it.
>How-To-Repeat:
code inspection
>Fix:
1. Determine whether my assessment that we shouldn't bake any trust anchors in is right.
2. If so, nix the DEPENDS+=mozilla-rootcerts and the MESON_ARGS+=-Dtrust_paths=... settings.

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.47 2022/09/11 19:34:41 kim Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2025 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.