mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-22 10:57:07 -08:00
app-misc/ca-certificates: Fixed removal of untrusted certs (#616002).
Package-Manager: Portage-2.3.6, Repoman-2.3.3
This commit is contained in:
@@ -138,9 +138,15 @@ src_compile() {
|
||||
fi
|
||||
|
||||
if ! use insecure_certs ; then
|
||||
elog "To prevent applications relying on system's trusted root certificate store"
|
||||
elog "from using CAs where at least one major browser vendor Gentoo is following"
|
||||
elog "has decided to apply trust level restrictions, the following"
|
||||
elog "certificate(s) were removed:"
|
||||
# Remove untrusted certs from StartCom and WoSign (bug #598072)
|
||||
rm "${c}"/mozilla/StartCom* || die
|
||||
rm "${c}"/mozilla/WoSign* || die
|
||||
elog "$(find "${c}" -type f \( \
|
||||
-iname '*startcom*' \
|
||||
-o -iname '*wosign*' \
|
||||
\) -printf '%P removed; see https://bugs.gentoo.org/598072 for details\n' -delete)"
|
||||
fi
|
||||
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user