Add security headers to engineblock
Maintainers usually reply within 1 day
@baszoetekouw is already working on this.
Since Oct 21, 2024.
Assessment
This issue has not been assessed yet.
Description
This CSP header is reported to work:
Retrieved CSP value: ["default-src 'self'; font-src 'self'; style-src 'self' 'sha256-c823gKh+osiEtapTIYig0VtEe3NHj+8T2vWNPUjhcNQ=' 'sha256-47DEQpj8HBSa+/TImW+5JCeuQeRkm5NMpJWZG3hSuFU='; script-src 'unsafe-inline' 'self'; img-src 'self' https://*.openconext.org:* data:; frame-ancestors 'none'; form-action 'self' https:; base-uri 'none';"]
The style-src hash is necessary for the metadata page; the script-src: unsafe-inline for the json in the WAYF. Both should be fixed (by using an external stylesheet and by loading the json from an API-endpoint, respectively):
- https://github.com/OpenConext/OpenConext-engineblock/issues/1331
- https://github.com/OpenConext/OpenConext-engineblock/issues/1332
frame-ancestors needs careful consideration.
- Dominant language
- Jinja
- Stars
- 16
- Forks
- 20
- Avg merge
- 1d 21h
- Merged PRs (30d)
- 12
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from OpenConext/OpenConext-deploy
-
infra
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
OpenConext/OpenConext-deploy#485 ·
Maintainers usually reply within 1 day
-
Add allowlist for incoming HTTP headersMay be free again @baszoetekouw claimed this 41 days ago, and no pull request is open. Open
OpenConext/OpenConext-deploy#762 · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
OpenConext/OpenConext-deploy#735 ·
Maintainers usually reply within 1 day
-
Split off SURFconext-specififc Manage schemas to surfconext-deploy-environmentsMay be free again @baszoetekouw claimed this 101 days ago, and no pull request is open. Open
OpenConext/OpenConext-deploy#727 · 1 assignee ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 52/100
OpenConext/OpenConext-deploy#669 · 3 comments ·
Maintainers usually reply within 1 day