🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: linux.debian.bugs.dist
Article #3784

Bug#1152488: [Pkg-openssl-devel] Bug#1152488: openssl: please include a configuration drop-in directory

#3784
From: Sebastian Andrzej Siewior
Date: Sun, 08 Nov 2026 14:50
31 lines
4093 bytes
On 2026-11-07 20:41:31 [-0300], Daniel Ramos wrote:
> Hello Sebastian,
Hi Daniel,

> thank you, the debdiff against 3.6.5-1 is attached.
> 
> It does three things:
> 1. A Debian patch appends `.include /etc/ssl/openssl.cnf.d` to apps/openssl.cnf, with a comment for whoever writes a snippet.
> 2. debian/openssl.dirs ships /etc/ssl/openssl.cnf.d empty.
> 3. A new autopkgtest, drop-in-directory, puts a snippet there that activates the legacy provider, checks that MD4 and SHA-256 work, then removes it and checks that legacy is gone.
> 
> What I measured in a testing container, on 3.6.5-1 and on the built 3.6.5-2:
> - An empty or a missing directory changes nothing, so the copy of openssl.cnf in libcrypto3-udeb is safe.
> - A snippet with `legacy = legacy_sect` in [provider_sect] and `activate = 1` in [default_sect] gives both providers.
> - A snippet that activates legacy alone drops the default provider, which is why the comment asks for `activate = 1` in [default_sect].
> - A snippet that cannot be parsed makes OpenSSL ignore the whole configuration, as a broken openssl.cnf does today.
> - OpenSSL reads the directory in readdir order (OPENSSL_DIR_read in crypto/conf/conf_def.c), so the comment asks snippets not to set the same name.
> - The package builds and its test suite passes (4980 tests).
> - The new test script, run as root, fails on 3.6.5-1 with the directory made by hand and passes after upgrading to 3.6.5-2; the unmodified conffile is replaced on upgrade.
> 
> Fedora ships the same idea as /etc/pki/tls/openssl.d (its openssl.spec creates it and lists it as %dir).
> If you prefer another name or another place for the include, I will change it.

I kept it as-is, doesn't look that bad. Could you forward that upstream?
It looks usefull and I don't think it needs to be limited to Debian.
I picked it for the unstable branch.
	https://salsa.debian.org/debian/openssl/-/jobs/10615896

> Daniel

Sebastian
Technical Details
Message-ID: <NXcnv-aDcz-5@gated-at.bofh.it>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
References: <NWXy9-aubj-7@gated-at.bofh.it> <NWXy9-aubj-5@gated-at.bofh.it> <NXcnv-aDcz-7@gated-at.bofh.it> <NWXy9-aubj-7@gated-at.bofh.it> <NXcnv-aDcz-7@gated-at.bofh.it>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!srl.newsdeef.eu!news.corradoroberto.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Newsgroups: linux.debian.bugs.dist
Subject: Bug#1152488: [Pkg-openssl-devel] Bug#1152488: openssl: please include a configuration drop-in directory
Date: Sun, 08 Nov 2026 15:50:01 +0100
Message-ID: <NXcnv-aDcz-5@gated-at.bofh.it>
References: <NWXy9-aubj-7@gated-at.bofh.it> <NWXy9-aubj-5@gated-at.bofh.it> <NXcnv-aDcz-7@gated-at.bofh.it> <NWXy9-aubj-7@gated-at.bofh.it> <NXcnv-aDcz-7@gated-at.bofh.it>
X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org  Sun Nov  8 14:43:08 2026
Old-Return-Path: <debbugs@buxtehude.debian.org>
X-Spam-Flag: NO
X-Spam-Score: -1.45
Reply-To: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>, 1152488@bugs.debian.org
Resent-To: debian-bugs-dist@lists.debian.org
Resent-Cc: pkg-openssl-devel@alioth-lists.debian.net
X-Debian-Pr-Message: followup 1152488
X-Debian-Pr-Package: openssl
X-Debian-Pr-Source: openssl
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
X-Greylist: delayed 56630 seconds by postgrey-1.37 at buxtehude; Sun, 08 Nov 2026 14:41:23 UTC
X-Debian-Message: from BTS
X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/2001466
List-ID: <debian-bugs-dist.lists.debian.org>
List-URL: <https://lists.debian.org/debian-bugs-dist/>
Approved: robomod@news.nic.it
Lines: 31
Organization: linux.* mail to news gateway
Sender: robomod@news.nic.it
X-Original-Cc: 1152488@bugs.debian.org
X-Original-Date: Sun, 8 Nov 2026 15:41:15 +0100
X-Original-Message-ID: <avCKC34NnAsPBs5Y@breakpoint.cc>
X-Original-References: <179330970638.1310205.11317159910613497248@yahoo.com> <20261107225724.9b4RbZ7K@breakpoint.cc> <179409489117.338233.13623614350093873565@yahoo.com> <179330970638.1310205.11317159910613497248@yahoo.com> <179409489117.338233.13623614350093873565@yahoo.com>