-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
also validate certificates for embedded content that goes to a different domain #14
Comments
The current code hooks into the nsIWebProgressListener interface, It seems we need to be able to find a lower-level interface that is Certificate prompts can now be overridden on a per-channel basis. This Other extensions (e.g., firebug) must already do something along these Sometimes poking through the mozilla source using mxr.mozilla.org is In addition to figuring out how to hook into these requests, we would |
It is actually worse than that - here at github. They insist on using a dozen subsites - gist.github.com, assetsN.github.com (N=1,2,3 so far), etc. I type https://assets1.github.com and get the error page but perspectives won't automatically bypass it (though clicking on the perspectives icon says it has seen the cert for the last few days). login redirects to gist.github.com, also not automatically overridden. I've manually inserted exceptions for these. |
up :) |
Certificate Patrol works with embedded content. http://patrol.psyced.org/ |
I implemented a first draft for embedded content support. You can find the fork here: https://github.com/lambdor/Perspectives/tree/embedded_content Most important question: Usage: How it works: After all the notary queries in observe() are completed process_results_embedded() is called. The embedded-procedure is a very simplified version of process_notary_results() (now named process_results_main()), because we can ignore all the different cases which handle notification updates. Whereas process_results_main() reloads the current tab, process_results_embedded() just silently overrides the security exception for now, but doesn't do any reloading, so you don't see any effect until you reload the page. Querying for embedded content requires the main page fully loaded which again may depend on the users configuration (existing CA certs, existing security overrides). I outlined those conditions in the following decision table:
') This should happen once the main page has been reloaded again triggered by Perspectives. Doing a full page reload once all embedded content requests are finished doesn't work for pages with dynamic requests (AJAX, adding new header nodes etc.). Tell me what you think! |
Related to #20 |
Hi @lambdor , thank you very much for sending the patch! I have some important real life deadlines coming up but I will review this as soon as I can. I may have to fix #123 before looking at this so the existing extension will continue to function when Firefox releases their next update. |
reported by: tz [email protected]
I have a problem since I've disabled most CAs - perspectives will work
for actual web pages, but not other content, e.g. on the page
www.xyz.com, if there is a different "images.xyz.com" which has images
or javascript or whatever but is NOT a page, I get a certificate error
which perspectives cannot bypass (unless I manually type in the URL to
go to the top - I might get a 404, but the SSL will go through and get
perspectives to verify things).
The text was updated successfully, but these errors were encountered: