Skip to content

feat: Add support for Content-Security-Policy #41

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

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

paxuclus
Copy link
Member

@paxuclus paxuclus commented Apr 22, 2025

This adds csp headers and a proxy endpoint to send csp violations to sentry

  • Add support for hashes using Eel Helper
  • Add option to limit sentry requests?
  • Adjust / repair tests
  • Update docs

This adds csp headers and a proxy endpoint to send
csp violations to sentry
@paxuclus paxuclus self-assigned this Apr 22, 2025
This provides a registry for registering unsafe inline scripts.
Their hashes will be added to the "script-src" part of the
Content-Security-Policy header.
@paxuclus paxuclus force-pushed the feature/content-security-policy branch from 0647d38 to f44f1b5 Compare April 25, 2025 10:00
@paxuclus paxuclus force-pushed the feature/content-security-policy branch from f44f1b5 to 606cd84 Compare April 25, 2025 10:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant