gecko-dev/modules/libpref
Dana Keeler 03f94ed489 Bug 1828968 - osclientcerts: make RSA-PSS support configurable via pref. r=jschanck, a=RyanVM
Due to design constraints, it is difficult for osclientcerts to properly
indicate whether or not each known key supports RSA-PSS. Ideally such a
determination would be made close to when a particular key is going to be used,
but due to the design of PKCS#11 and NSS' tight coupling to it, osclientcerts
would have to make this determination when searching for all known keys, which
has been shown to be prohibitively slow on Windows and results in unexpected
dialogs on macOS.

Thus, previously osclientcerts simply assumed all RSA keys supported RSA-PSS.
This has resulted in handshake failures when a server indicates that it accepts
RSA-PSS signatures.

This patch instead makes RSA-PSS support configurable via a pref
(security.osclientcerts.assume_rsa_pss_support). If the pref is true,
osclientcerts assumes all RSA keys support RSA-PSS. If it is false, it assumes
no RSA keys support RSA-PSS.

Differential Revision: https://phabricator.services.mozilla.com/D178241
2023-05-16 21:47:09 +00:00
..
docs Bug 1752332: Update the preferences documentation r=KrisWright 2022-04-27 12:57:39 +00:00
init Bug 1828968 - osclientcerts: make RSA-PSS support configurable via pref. r=jschanck, a=RyanVM 2023-05-16 21:47:09 +00:00
parser
test Bug 1752332: Remove the shouldSanitizeFunction member r=KrisWright 2022-04-27 12:57:38 +00:00
components.conf Bug 1731890 - Adding Utility process with basic sandbox r=agi,nika,bobowen 2022-01-12 20:52:58 +00:00
greprefs.js
moz.build Bug 1758158 - nsWindow's initialize_prefs should use static prefs instead. r=emilio 2022-04-18 01:09:03 +00:00
nsIPrefBranch.idl Bug 1752332: Add a sanitized property to prefs r=KrisWright 2022-04-27 12:57:34 +00:00
nsIPrefLocalizedString.idl
nsIPrefService.idl Bug 1743079 - Remove ResetUserPrefs(), r=KrisWright 2021-12-13 09:27:56 +00:00
nsIRelativeFilePref.idl
nsRelativeFilePref.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
Preferences.cpp Bug 1766866: Restricting other preferences we don't want in the content process r=bholley 2022-05-03 13:42:57 +00:00
Preferences.h Bug 1752332: Remove the shouldSanitizeFunction member r=KrisWright 2022-04-27 12:57:38 +00:00
SharedPrefMap.cpp Bug 1752332: Add a sanitized property to prefs r=KrisWright 2022-04-27 12:57:34 +00:00
SharedPrefMap.h Bug 1752332: Add a sanitized property to prefs r=KrisWright 2022-04-27 12:57:34 +00:00
StaticPrefsBase.h Bug 1752332: Crash if a pref is accessed that shouldn't be r=KrisWright 2022-04-27 12:57:37 +00:00