apple / apple/swift-http-api-proposal

Add a `PeerCertificate` server capability

Open
#179 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.