feat(filters): support RFC 9530 Digest Fields in HTTP (Content-Digest / Repr-Digest)
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
Research direction
The existing rfc9421 package and httpMessageSignature filter are the starting point. Look at the filters/builtin or filters/rfc/ directories to understand the pattern. The new filters need to compute and parse RFC 8941 Structured Field byte sequences using crypto/subtle for constant-time verification. Check the linked issue #4209 for context. 'Done' means the filters contentDigest and verifyContentDigest are implemented and tested.
Written by the indexing model from the issue text.
Description
Is your feature request related to a problem? Please describe.
RFC 9421 (HTTP Message Signatures) defers body integrity to RFC 9530 (Digest Fields in HTTP) via content-digest and repr-digest. Skipper currently lacks built-in support to compute or verify RFC 9530 digest fields, preventing complete message body verification in signing workflows.
- #4209
Describe the solution you would like
- Add
rfc/rfc9530to compute and parse RFC 8941 Structured Field byte sequences (sha-256,sha-512) with constant-time verification (crypto/subtle). - Add filters:
contentDigest("sha-256"): Computes body digest and setsContent-Digest.verifyContentDigest("sha-256"): Rejects requests with missing or invalid digests (400 Bad Request).
Describe alternatives you've considered (optional)
- Ad-hoc hash computation in custom Lua filters.
- A routing predicate
ContentDigestValid("sha-256")instead of, or in addition to, the filter.
Additional context (optional)
Complements the existing rfc9421 package and httpMessageSignature filter. Maintainer feedback is welcome on filter package placement (filters/builtin vs. filters/rfc/ vs. filters/digest).
Would you like to work on it?
Yes
- Dominant language
- Go
- Stars
- 3.3k
- Forks
- 410
- Avg merge
- 3d 16h
- Merged PRs (30d)
- 32
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing 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.
More from zalando/skipper
-
backlog bugfix
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
zalando/skipper#2181 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 28/100
zalando/skipper#4447 · 2 comments · 1 reaction ·
Maintainers usually reply within 1 day
-
Predicate argument validation during Eskip parsing can block unrelated route updatesPossibly taken @a4180p claimed this 11 days ago. Open
zalando/skipper#4440 · 5 comments · 1 assignee ·
Maintainers usually reply within 1 day
-
Completed experimental upgrades can open the backend circuit breakerPossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 3/5 1-2 days Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
Experimental upgrades lose server-first frames sent with the handshakePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Maintainers usually reply within 1 day
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
pg-sharding/spqr#3314 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
zalando/postgres-operator#3257 ·
Maintainers usually reply within 2 days
-
[inputs.internal] README lists go_version tag on internal_gather instead of internal_agentPossibly taken @cvas22 claimed this today. Open
Difficulty 1/5 Under an hour Newbie friendliness 90/100
influxdata/telegraf#20264 ·
Maintainers usually reply within 1 day