1 |
commit: b2cae8b25d30cee6412433139fbc323f08cffb8a |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 8 07:38:15 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 8 07:40:50 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b2cae8b2 |
7 |
|
8 |
app-misc/ca-certificates: Fixed removal of untrusted certs (#616002). |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.3 |
11 |
|
12 |
.../ca-certificates/ca-certificates-20161130.3.30.2.ebuild | 10 ++++++++-- |
13 |
1 file changed, 8 insertions(+), 2 deletions(-) |
14 |
|
15 |
diff --git a/app-misc/ca-certificates/ca-certificates-20161130.3.30.2.ebuild b/app-misc/ca-certificates/ca-certificates-20161130.3.30.2.ebuild |
16 |
index a72077ebef8..45efcd9d581 100644 |
17 |
--- a/app-misc/ca-certificates/ca-certificates-20161130.3.30.2.ebuild |
18 |
+++ b/app-misc/ca-certificates/ca-certificates-20161130.3.30.2.ebuild |
19 |
@@ -138,9 +138,15 @@ src_compile() { |
20 |
fi |
21 |
|
22 |
if ! use insecure_certs ; then |
23 |
+ elog "To prevent applications relying on system's trusted root certificate store" |
24 |
+ elog "from using CAs where at least one major browser vendor Gentoo is following" |
25 |
+ elog "has decided to apply trust level restrictions, the following" |
26 |
+ elog "certificate(s) were removed:" |
27 |
# Remove untrusted certs from StartCom and WoSign (bug #598072) |
28 |
- rm "${c}"/mozilla/StartCom* || die |
29 |
- rm "${c}"/mozilla/WoSign* || die |
30 |
+ elog "$(find "${c}" -type f \( \ |
31 |
+ -iname '*startcom*' \ |
32 |
+ -o -iname '*wosign*' \ |
33 |
+ \) -printf '%P removed; see https://bugs.gentoo.org/598072 for details\n' -delete)" |
34 |
fi |
35 |
|
36 |
( |