Revisit SSL context fallback behavior when system CA store is unavailable
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 25/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Necesita aclaración
- Estado de actividad
- Estancado
- Área
- backend-api-design, security
Línea de trabajo
Start by reading the SSLContextFactory path around set_authority(None)? and the set_client_verify(false) fallback. Determine the intended behavior when the system CA store is unavailable, then define and implement a decided warning, failure, or configuration policy with coverage for that fallback path.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
SSLContextFactory attempts to create a verified SSL context via set_authority(None)?, which asks OpenSSL to use the default system CA store. When the CA store isn't discoverable (e.g. WSL2 without ca-certificates), this fails. Currently we fall back to set_client_verify(false), matching what ponylang/http's HTTPClient did silently.
This means every API call from the library — not just examples — silently downgrades to unverified HTTPS when no CA store is found. That's fine for local development but worth thinking through for a library that sends auth tokens over the wire.
Questions to consider:
- Should the library warn or fail loudly when falling back to unverified SSL?
- Should this be configurable via Credentials or a separate option?
- Is the silent fallback actually the right default for a GitHub API client?
- Lenguaje dominante
- Pony
- Estrellas
- 7
- Forks
- 2
- Merge medio
- 2 h 26 min
- PR fusionados (30 d)
- 7
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de ponylang/github_rest_api
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
ponylang/github_rest_api#108 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
ponylang/github_rest_api#83 ·
Todos los issues de ponylang/github_rest_api
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
microsoft/magentic-ui#588 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
alexgorbatchev/simple-ptt#3 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
CorrelAid/formtransform#44 ·