M7d follow-ups — remote TLS/auth polish
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 54/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- rust
- Área
- authentication, cli, security
Línea de trabajo
Comienza con docs/remote-tls.md y la especificación de diseño M7d; después, inspecciona crates/clowder-daemon/src/main.rs y remote_tls.rs::load_or_generate. Antes de abordar los elementos exclusivamente de diseño, concéntrate en los dos seguimientos concretos: evita que las credenciales de inicio queden expuestas en los logs y asegúrate de que la rotación de tokens no invalide el certificado ni el pin TOFU. El issue no menciona ninguna prueba, así que confirma los criterios de aceptación con los maintainers.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Context
M7d (#53) shipped opt-in TLS + bearer-token auth + TOFU for the remote daemon. These are the deferred minors from its review and threat model (docs/remote-tls.md, docs/superpowers/specs/2026-08-03-clowder-m7d-remote-tls-auth-design.md). None block use; all are polish/hardening.
Note: the "exposure warning still says NO authentication under TLS" minor was already fixed in the cleanup batch (#54).
Follow-ups
- Token logged in cleartext at info-level (
crates/clowder-daemon/src/main.rs) — the bearer token is printed to the daemon log on startup so the operator can copy it, but it then lands in any log aggregation. Consider redacting from the log and pointing operators atclowder remote-token(which reads the state-dir file) instead, or writing it to a0600file only. - Credential rotation is all-or-nothing (
crates/clowder-daemon/src/remote_tls.rs::load_or_generate) — it only takes the "load" path when all three files (remote-cert.pem,remote-key.pem,remote-token) exist; deleting any one regenerates all three, so "rotate the token" silently also rotates the cert and breaks every client's TOFU pin. Consider independent token rotation (e.g.clowder remote-token --rotatethat regenerates only the token) and/or an explicit--rotate-cert.
Larger deferred items (design-only in the M7d spec)
- mTLS / client certificates — channel-bound client auth instead of a bearer token.
- QUIC transport (
quinn) — if roaming/mux ever matters (M7 deliberately deferred this; TCP+TLS is adequate for a terminal). - Configured-fingerprint pin / pairing UX — an alternative to TOFU that closes the first-connect window (a single pasted "pairing string" of fingerprint + token).
- macOS Keychain storage for the client token (currently config/env only; the Rust forwarder would need
security-framework).
- Lenguaje dominante
- Rust
- Estrellas
- 0
- Forks
- 0
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la 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 richardcase/clowder
-
documentation priority: medium
Dificultad 2/5 Medio día Aptitud para principiantes 82/100
richardcase/clowder#143 ·
-
enhancement github_actions priority: medium rust
Dificultad 4/5 3-5 días Aptitud para principiantes 65/100
richardcase/clowder#142 ·
-
github_actions priority: medium
Dificultad 3/5 1-2 días Aptitud para principiantes 78/100
richardcase/clowder#141 ·
-
bug priority: medium
Dificultad 4/5 3-5 días Aptitud para principiantes 68/100
richardcase/clowder#140 ·
-
bug priority: medium
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
richardcase/clowder#139 ·
Todos los issues de richardcase/clowder
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
ScoopInstaller/Extras#19275 ·
Los mantenedores suelen responder en 1 día
-
area:plugins kind:bug priority:p2 ready
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
bug priority: medium ui
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
storytold/gridcraft#3496 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
bip39: Mnemonic::new_from_phrase rejects phrases with extra or non-space whitespacePosiblemente ocupada @chukwudiikeh la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
Los mantenedores suelen responder en 1 día