AutoTLS Integration Action Plan for py-libp2p #1006
Fatumayattani
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
AutoTLS Integration Action Plan for py-libp2p
Related Issue: #555
Hi everyone
This is a proposed action plan for adding AutoTLS support to
py-libp2pto make TLS configuration seamless, automated, and aligned with what’s already available in go-libp2p and js-libp2p.The goal is to introduce a modular AutoTLS layer that supports both ephemeral self-signed certificates (for quick dev and test setups) and ACME/Let’s Encrypt certificates for production environments.
Proposed File & Module Structure
Core Functional Components
1. AutoTLS Manager (
manager.py)2. ACME Client (
acme_client.py)3. Cache Layer (
cache.py)4. Configuration (
config.py)Centralizes all environment variables and defaults.
Allows users to opt in to ACME or stay with ephemeral mode.
Supports flags like:
5. Transport Integration (
transport.py)Testing Strategy
Unit Tests
Integration Tests
Edge Cases
Summary of the Plan
libp2p/security/tls/layer.This plan is designed to deliver a complete and well-structured AutoTLS feature set while staying fully aligned with libp2p’s security design principles and the approaches used in other language implementations.
cc @seetadev @acul71 @pacrob @yashksaini-coder (collaborator)
Beta Was this translation helpful? Give feedback.
All reactions