apple / apple/swift-http-api-proposal
Add a `PeerCertificate` server capability
Open
kind/feature
- Dominant language
- Swift
- Stars
- 66
- Forks
- 21
- Avg merge
- 7h 39m
- Merged PRs (30d)
- 2
Description
We should provide an `HTTPServerCapability` for exposing the validated peer certificate chain.
This was added to the `NIOHTTPServer` in https://github.com/swift-server/swift-http-server/pull/92 but should be upstreamed to the `HTTPServer` abstract API.
Contributor guide
Research direction
Start by reading the existing PeerCertificate capability in NIOHTTPServer pull request #92, then compare it with the HTTPServer abstract API in this repository. Upstream the capability so the abstract API exposes the validated peer certificate chain, matching the existing implementation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- backend-api-design
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 65/100