cloudflare / cloudflare/quiche

Connection.peer_cert_chain() is not exposed via FFI

Open
#1,797 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
11.8k
Forks
1.1k
Avg merge
3d 7h
Merged PRs (30d)
16

Description

As of version 0.21.0, [Connection.peer_cert](https://docs.rs/quiche/0.21.0/quiche/struct.Connection.html#method.peer_cert) is exposed via FFI as `quiche_conn_peer_cert` but [Connection.peer_cert_chain](https://docs.rs/quiche/0.21.0/quiche/struct.Connection.html#method.peer_cert_chain) isn't.

Could an extra `quiche_conn_peer` FFI function be added too?

Contributor guide

Open the contributing guide

Research direction

Start by comparing the existing FFI exposure of Connection.peer_cert, documented as quiche_conn_peer_cert, with the Connection.peer_cert_chain API in the linked Rust documentation. Done means peer_cert_chain is exposed through a corresponding FFI function with behavior consistent with the existing peer-certificate binding.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
networking
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.