Summary: | >=dev-libs/nss-3.24 - Add USE flag to enable SSL key logging | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | miro.rovis |
Component: | Current packages | Assignee: | Mozilla Gentoo Team <mozilla> |
Status: | RESOLVED OBSOLETE | ||
Severity: | minor | CC: | whissi |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
nss-3.24-allow-sslkeylogfile.patch
nss-3.25-allow-sslkeylogfile.patch |
Description
miro.rovis
2016-06-26 08:39:10 UTC
From https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_3.24_release_notes#Notable_changes_in_NSS_3.24: > Disable (by default) NSS support in optimized builds for logging > SSL/TLS key material to a logfile if the SSLKEYLOGFILE environment > variable is set. To enable the functionality in optimized builds, you > must define the symbol NSS_ALLOW_SSLKEYLOGFILE when building NSS. Created attachment 440042 [details, diff] nss-3.25-allow-sslkeylogfile.patch It is possible to have SSLKEYLOGFILE logging and the optimized Firefox build, and without use of the local overlay. But by use of this small patch (see the attachment): nss-3.25-allow-sslkeylogfile.patch Set the /etc/portage/bashrc exactly as currently on: https://wiki.gentoo.org/wiki//etc/portage/patches ( precisely: https://wiki.gentoo.org/wiki//etc/portage/patches#Enabling_.2Fetc.2Fportage.2Fpatches_for_all_ebuilds but the local link names in that wiki page need fixing) Create dir: mkdir -pv /etc/portage/patches/dev-libs/nss-3.25/ and: mv -iv nss-3.25-allow-sslkeylogfile.patch \ /etc/portage/patches/dev-libs/nss-3.25/ Next, when: emerge -1 nss , there should be a line at the start: * "User patches applied. (only that non-verbose notice, but the patch is applied) And there should be, at the later stretch of compile, the -DNSS_ALLOW_SSLKEYLOGFILE=1 added to lots of lines of the compilation. After nss has compiled, Firefox can be recompiled without the debug useflag, and all the network will have the secrets logs, as set with that env variable. It will be great when we get a useflag for this functionality! Regards! --- Miroslav Rovis Zagreb, Croatia http://www.CroatiaFidelis.hr If you feel I have closed your bug and it is still a current issue, please reopen and update it completely. We will not work bugs that have no ebuild in tree any longer or can not be reproduced with a current system. Thank You for your support and understanding The Mozilla Team |