Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

TLS support for Postgres connections (sslmode semantics)

Open
#14 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Quiet
Tech stack
postgresql, rust

Research direction

Start by locating the current Postgres connection setup and read sync-service's connection/manager/connection_resolver.ex for the referenced IPv6→IPv4 fallback pattern. The work is done when tokio-postgres supports rustls TLS with psql-compatible disable, prefer, require, and verify-full semantics, including CA handling and SNI for Neon.

Written by the indexing model from the issue text.

Description

Not planned for near-term implementation — tracking issue.

The engine currently connects to Postgres without TLS support. Most managed Postgres providers (RDS, Cloud SQL, Supabase, Neon) require or strongly default to TLS, so this gates deployments against them.

Scope when picked up: rustls-based TLS in tokio-postgres with psql-compatible sslmode semantics — disable / prefer (attempt TLS, fall back to plain) / require (TLS, no cert verification) / verify-full (CA file + hostname), including SNI (Neon needs it even with verify-none). Upstream reference: sync-service connection/manager/connection_resolver.ex (also covers the IPv6→IPv4 fallback pattern worth copying at the same time).

🤖 Generated with Claude Code

Dominant language
Rust
Stars
31
Forks
7
PR merge metrics
No merged PRs in 30d

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from electric-sql/electric-circuits

All issues in electric-sql/electric-circuits

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.