Provide baseline for starting PSM in an "isolated" mode on the Socket Process
Categories
(Core :: Security: PSM, enhancement, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox65 | --- | affected |
People
(Reporter: mayhemer, Assigned: dragana)
References
(Blocks 2 open bugs)
Details
(Whiteboard: [psm-assigned])
Attachments
(1 file, 4 obsolete files)
(deleted),
patch
|
Details | Diff | Splinter Review |
Reporter | ||
Comment 1•6 years ago
|
||
Reporter | ||
Comment 2•6 years ago
|
||
Reporter | ||
Comment 4•6 years ago
|
||
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Comment 6•6 years ago
|
||
- some methods renamed, as EnsureNSSInitializedChromeOrContent -> EnsureNSSInitializedProcessSpecific
- cert verification is turned off when sockets live on the socket process (as a workaround to allow https pages to load w/o any sec info associated)
- I have added (split) init and shutdown methods to be invoked on chrome or socket process respectively (or all only on the chrome process when socket process is disabled)
The next problem this patch has is SharedSSLState object livetime; it seems to need to live on both the chrome and socket process and also may need to be synced (serialized) between the two. I don't know what all it's used for and how it flows, so hard to say what strategy to choose
Reporter | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 7•6 years ago
|
||
Assignee | ||
Comment 8•6 years ago
|
||
In your comment on phabricator you suggested that the socket process does not need nsNSSComponent. So I was working on such a approach but I hit issue at:
https://searchfox.org/mozilla-central/source/security/manager/ssl/nsNSSCallbacks.cpp#1071
this is called from the socket process.
Can I forward this to the parent process async?
Yes - I think that would be a good idea. (I mean, I don't think it's possible right now, but that's why you're writing this code, right?)
Assignee | ||
Comment 10•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Comment 11•6 years ago
|
||
There are some r+ patches which didn't land and no activity in this bug for 2 weeks.
:dragana, could you have a look please?
For more information, please visit auto_nag documentation.
Assignee | ||
Comment 12•5 years ago
|
||
This is not for m.-c. this is a separate project.
Comment 13•5 years ago
|
||
Updated•5 years ago
|
Description
•