Skip to content

Commit 8b60da9

Browse files
authored
profiles: remove mkdir ~/.pki (netblue30#6732)
To reduce clutter in the user home. This appears to be a legacy path and the relevant profiles already create an XDG path as well: mkdir ${HOME}/.local/share/pki From nss 3.111[1]: /** * Return the path to user's NSS database. * We search in the following dirs in order: * (1) $HOME/.pki/nssdb; * (2) $XDG_DATA_HOME/pki/nssdb if XDG_DATA_HOME is set; * (3) $HOME/.local/share/pki/nssdb (default XDG_DATA_HOME value). * If (1) does not exist, then the returned dir will be set to either * (2) or (3), depending if XDG_DATA_HOME is set. */ The XDG path has apparently been supported since nss 3.42, which was released on 2019-01-25[2] [3] [4]. Misc: The original path was first added on commit 3a71eb2 ("added mkdir in all whitelisted profiles", 2016-02-18) and the XDG path was first added on commit 63c3505 ("Add '$HOME/.local/share/pki' to blacklist", 2019-02-03). Relates to netblue30#4262. [1] https://github.com/nss-dev/nss/blob/NSS_3_111_RTM/lib/sysinit/nsssysinit.c#L64-L72 [2] https://github.com/nss-dev/nss/blob/NSS_3_42_RTM/lib/sysinit/nsssysinit.c#L65-L73 [3] nss-dev/nss@7f21d4f [4] https://github.com/nss-dev/nss/releases/tag/NSS_3_42_RTM
1 parent 2f1b51a commit 8b60da9

9 files changed

+0
-9
lines changed

etc/profile-a-l/chromium-common.profile

-1
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ blacklist ${PATH}/wget
3232
blacklist ${PATH}/wget2
3333

3434
mkdir ${HOME}/.local/share/pki
35-
mkdir ${HOME}/.pki
3635
whitelist ${HOME}/.local/share/pki
3736
whitelist ${HOME}/.pki
3837
whitelist /usr/share/mozilla/extensions

etc/profile-a-l/ephemeral.profile

-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ include disable-programs.inc
2424
# enforce private-cache
2525
#mkdir ${HOME}/.cache/ephemeral
2626
mkdir ${HOME}/.local/share/pki
27-
mkdir ${HOME}/.pki
2827
# enforce private-cache
2928
#whitelist ${HOME}/.cache/ephemeral
3029
whitelist ${HOME}/.local/share/pki

etc/profile-a-l/ferdi.profile

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ include disable-programs.inc
2121
mkdir ${HOME}/.cache/Ferdi
2222
mkdir ${HOME}/.config/Ferdi
2323
mkdir ${HOME}/.local/share/pki
24-
mkdir ${HOME}/.pki
2524
whitelist ${DOWNLOADS}
2625
whitelist ${HOME}/.cache/Ferdi
2726
whitelist ${HOME}/.config/Ferdi

etc/profile-a-l/firefox-common.profile

-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ include disable-proc.inc
4444
include disable-programs.inc
4545

4646
mkdir ${HOME}/.local/share/pki
47-
mkdir ${HOME}/.pki
4847
whitelist ${DOWNLOADS}
4948
whitelist ${HOME}/.local/share/pki
5049
whitelist ${HOME}/.pki

etc/profile-a-l/franz.profile

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ include disable-programs.inc
2121
mkdir ${HOME}/.cache/Franz
2222
mkdir ${HOME}/.config/Franz
2323
mkdir ${HOME}/.local/share/pki
24-
mkdir ${HOME}/.pki
2524
whitelist ${DOWNLOADS}
2625
whitelist ${HOME}/.cache/Franz
2726
whitelist ${HOME}/.config/Franz

etc/profile-m-z/midori.profile

-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ mkdir ${HOME}/.local/share/midori
3434
mkdir ${HOME}/.local/share/pki
3535
mkdir ${HOME}/.local/share/webkit
3636
mkdir ${HOME}/.local/share/webkitgtk
37-
mkdir ${HOME}/.pki
3837
whitelist ${DOWNLOADS}
3938
whitelist ${HOME}/.cache/gnome-mplayer/plugin
4039
whitelist ${HOME}/.cache/midori

etc/profile-m-z/otter-browser.profile

-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ include disable-xdg.inc
2323
mkdir ${HOME}/.cache/Otter
2424
mkdir ${HOME}/.config/otter
2525
mkdir ${HOME}/.local/share/pki
26-
mkdir ${HOME}/.pki
2726
whitelist ${DOWNLOADS}
2827
whitelist ${HOME}/.cache/Otter
2928
whitelist ${HOME}/.config/otter

etc/profile-m-z/rambox.profile

-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ include disable-programs.inc
1717

1818
mkdir ${HOME}/.config/Rambox
1919
mkdir ${HOME}/.local/share/pki
20-
mkdir ${HOME}/.pki
2120
whitelist ${DOWNLOADS}
2221
whitelist ${HOME}/.config/Rambox
2322
whitelist ${HOME}/.local/share/pki

etc/profile-m-z/seamonkey.profile

-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ mkdir ${HOME}/.cache/mozilla
2121
mkdir ${HOME}/.gnupg
2222
mkdir ${HOME}/.mozilla
2323
mkdir ${HOME}/.local/share/pki
24-
mkdir ${HOME}/.pki
2524
whitelist ${DOWNLOADS}
2625
whitelist ${HOME}/.cache/gnome-mplayer/plugin
2726
whitelist ${HOME}/.cache/mozilla

0 commit comments

Comments
 (0)