Translate postgres sslmode to rustls client config

Đang mở
#401 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@sunng87 đang làm issue này rồi.

Từ ngày 18/2/2026.

  • #408 của @sunng87 — đang mở

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
postgresql, rust
Lĩnh vực
databases, security

Hướng nghiên cứu

The issue names no files or tests. Start by checking the open pull request #408 and the suggested tokio-postgres-rustls library to see what work is already underway and where SSL configuration lives. The work is done when PostgreSQL's default, verify-ca, and verify-full sslmode options are translated into rustls client configuration with the intended certificate verification behavior.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

The postgres sslmode has several options for verifying server certificates, including:

  • default settings (do not verify)
  • verify-ca (just verify ca certificate)
  • verify-full

We will need to support this by translating it into rustls clientconfig because the verification will happen inside rustls.

I think there might be some work already done in library list tokio-postgres-rustls (if i remember the name correctly). If not, we can probably create a new library for benefit both library.

Ngôn ngữ chính
Rust
Star
805
Fork
88
Merge trung bình
1 ngày 7 giờ
Pull request đã merge (30 ngày)
10

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của sunng87/pgwire

Tất cả issue của sunng87/pgwire

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.