Skip to content
Snippets Groups Projects

Draft: Make Firefox, Thunderbird and Chromium trust system root certificate store

Open Guido Berhörster requested to merge personal/gber/system-trusted-certs into master
6 unresolved threads

This works by making libnssckbi.so consumers like the mentioned applications use p11-kit.

The change consists of two parts:

  1. A workaround for #704180 p11-kit which unfortunately still does not provide a package which replaces/diverts libnssckbi.so. This can be reverted and replaced with a dependency on such a package as soon as that becomes available.
  2. The removal of the pre-poulation of ~/.pki/nssdb/ in different places as well as policies for Firefox and Thunderbird with the same effect.

Due to the diversion in 1.) the package becomes architecture dependent.

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
54 55 net-tools,
55 56 ng-utils,
56 57 openssl,
58 p11-kit-modules,
  • 62 62 fi
    63 63 esac
    64 64
    65 # remove diversion of libnssckbi.so, workaround until #704180 is resolved
    66 remove_libnssckbi_diversion () {
    67 dpkg-divert --package debian-edu-config --remove --rename \
    68 --divert /usr/lib/@DEB_HOST_MULTIARCH@_libnssckbi.so_libnss3 \
    69 /usr/lib/@DEB_HOST_MULTIARCH@/libnssckbi.so
  • 59 59 fi
    60 60 fi
    61 61
    62
    63 # add diversion for libnssckbi.so and replaces with p11-kit-trust.so,
    64 # workaround until # #704180 is resolved
    65 if dpkg --compare-versions "$2" le "2.12.36"; then
    66 dpkg-divert --package debian-edu-config --add --rename \
    67 --divert /usr/lib/@DEB_HOST_MULTIARCH@_libnssckbi.so_libnss3 \
    68 /usr/lib/@DEB_HOST_MULTIARCH@/libnssckbi.so
  • 1 1 #!/usr/bin/make -f
    2 2
    3 3 DESTDIR=`pwd`/debian/debian-edu-config
    4 SUBSTFILES = \
    5 debian/debian-edu-config.preinst \
    6 debian/debian-edu-config.postrm
    7
    8 debian/%: debian/%.in
    9 sed 's/@DEB_HOST_MULTIARCH@/$(DEB_HOST_MULTIARCH)/g' <$< >$@
  • 1 1 usr/share/debian-edu-config/tools/ldapdump.sh etc/slbackup/pre.d/ldapdump.sh
    2 2 etc/debian-edu/www/index.html.nb-no etc/debian-edu/www/index.html.no
    3 usr/lib/${DEB_HOST_MULTIARCH}/pkcs11/p11-kit-trust.so usr/lib/${DEB_HOST_MULTIARCH}/libnssckbi.so
  • Several changes I'd propose here, most important: introduce an arch-dep bin:pkg which ships the p11-kit-modules related changes.

    Furthermore, please consider shipping a simple /etc/skel file instead.

  • Guido Berhörster added 2 commits

    added 2 commits

    • 55073797 - Make libnssckbi.so consumers trust system root certificate store
    • 124070c6 - Stop adding the DebianEdu root CA to NSS shared database

    Compare with previous version

  • Guido Berhörster added 15 commits

    added 15 commits

    • 124070c6...01e201ca - 13 commits from branch master
    • dda7b262 - Make libnssckbi.so consumers trust system root certificate store
    • 4b63838a - Stop adding the DebianEdu root CA to NSS shared database

    Compare with previous version

  • Mike Gabriel added 35 commits

    added 35 commits

    • 4b63838a...1373cfcc - 33 commits from branch master
    • 608af78c - Make libnssckbi.so consumers trust system root certificate store
    • 909c45c1 - Stop adding the DebianEdu root CA to NSS shared database

    Compare with previous version

  • Please register or sign in to reply
    Loading