[stub] Enforce the use of HTTP Strict Transport Security (HSTS)
Open
Nobody has claimed this yet.
enhancement
priority/undecided
- Dominant language
- Go
- Stars
- 739
- Forks
- 85
- Avg merge
- 5d 5h
- Merged PRs (30d)
- 1
Description
This prevents browsers from connecting to our endpoints whenever there is a TLS error such as unknown CA.
w.Header().Set("Strict-Transport-Security", "max-age=63072000")
Contributor guide
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.
Research direction
No file, test, or entry point is identified in the issue. Start by locating how HTTP responses are constructed for the project's endpoints and determine where the security header should be applied. Done means responses include Strict-Transport-Security with max-age=63072000 and the behavior is covered by appropriate tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100