forked from AvANa-BBS/freepto-lb
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
certificates in firefox are now an hook
cert8.db was more similar to a binary than to a config file. A simple chroot hook will populate it in a more reviewable way. Also, it will "fetch" from freepto-certificates in a more natural way.
- Loading branch information
Showing
3 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/usr/bin/env bash | ||
|
||
dir=$(find /etc/skel/.mozilla/firefox/*/ -maxdepth 0 -type d) | ||
if [[ ! -d "$dir" ]]; then | ||
echo "Not valid profiledir: $dir" | ||
exit 1 | ||
fi | ||
dpkg -L freepto-certificates | egrep '^/usr/share/ca-certificates/.*\.crt$' | while read crt; do | ||
name=$(basename "$crt" .crt) | ||
certutil -A -n "$name" -t TC,, -i "$crt" -d "$dir" | ||
done | ||
|
Binary file removed
BIN
-128 KB
config/includes.chroot/etc/skel/.mozilla/firefox/wgrlpdsn.paranoid/cert8.db
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -37,3 +37,6 @@ spice-vdagent | |
# graphical tools | ||
lshw-gtk | ||
evince-gtk | ||
|
||
# security | ||
libnss3-tools |