-
Notifications
You must be signed in to change notification settings - Fork 643
Recheck Mozilla's Observatory after #586 is fixed #585
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
Comments
I think most issues here are rather easy to fix, so it should be worth it. However, as far as the header issues go, I assume it can be done in Rust (like you would do
Anyway, that's something that contributors can't do much about, since the webserver configuration is obviously not in the repo... :) Anyway, if @carols10cents decides that this issue should be fixed, I suggest we implement the |
I think this is worth fixing, but I'm not familiar with these headers or their implications. crates.io is hosted on heroku so we don't really control the web server config. It looks like rails apps (lots of which are hosted on heroku) just add the CSP header in the application, so that should be fine (https://github.com/blog/1477-content-security-policy) I'd love if someone could turn each of the tasks into an issue, or at least a checklist in this issue, so we can track who's working on what and what is done or not, and discuss any issues/implications! |
Oh FWIW we do have some control of a frontend server and we should also be able to set headers ourselves through middleware and such. |
Thank you for making #586 with a checklist for all the headers, @Insomgla! I've changed the title of this one to check how we're doing after those get taken care of. |
As mentioned in #597, crates.io now gets an A-! Closing! |
Crates currently scores 15/100 in Mozilla’s Obervatory. I’m not familiar enough with the codebase to know how many of these policies can’t be implemented for a technical reason, but it seems like Crates could be doing better. For comparison, NPM scores 75/100 and rubygems scores 50/100.
The text was updated successfully, but these errors were encountered: