`step ca renew` doesn't handle quoted arguments in `--exec` parameter
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
Línea de trabajo
Start by locating the step ca renew implementation that parses and executes the --exec parameter; the issue does not name a file or test. Check how quoted arguments are currently split and look for relevant command-execution tests. Done means quoted arguments, including the curl -H parameters described here, are passed as intended, or the limitation is documented.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hello!
- Vote on this issue by adding a 👍 reaction
- If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)
Issue details
The implementation blindly splits at spaces regardless of whether they're quoted, so the command is executed differently than e.g., if it were passed as an argument to sh -c.
Why is this needed?
I ran into this issue when trying to use curl to execute a Caddy configuration reload; in this case, it breaks the -H parameters.
I'm calling it an enhancement but this ticket could also be a bug. There's an easy workaround (put the command in a script file) so documenting the limitation would also be an acceptable fix.
- Lenguaje dominante
- Go
- Estrellas
- 4.3k
- Forks
- 320
- Merge medio
- 2 d 3 h
- PR fusionados (30 d)
- 11
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Tiene una 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 smallstep/cli
-
[Bug]: `Match exec "step ssh check-host %h"` causes SSH connections through ProxyJump to hangAbiertobug needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
Los mantenedores suelen responder en 1 día
-
enhancement needs triage
Dificultad 4/5 3-5 días Aptitud para principiantes 32/100
Los mantenedores suelen responder en 1 día
-
enhancement needs triage
Dificultad 3/5 1-2 días Aptitud para principiantes 57/100
smallstep/cli#1713 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
build s390x and riscv64 binariesAbiertoenhancement needs triage
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
smallstep/cli#1710 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
[Bug]: `step ca provisioner add --ca-config` requires `--ca-url`/`--root` even for purely local/offline editsPosiblemente ocupada @vulragrag-star la tomó hace 51 días. Abiertobug needs triage
Dificultad 4/5 3-5 días Aptitud para principiantes 20/100
smallstep/cli#1705 · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de smallstep/cli
Issues similares
-
agent-butler-finding bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
jordansmall/spindrift#6414 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Icinga/icinga-kubernetes#294 ·
Los mantenedores suelen responder en 4 días
-
Cluster details: the Control Plane version field has a different border color than its icon boxAbiertokind/design sig/ui
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
kubermatic/dashboard#8449 ·
Los mantenedores suelen responder en 1 día
-
needs-triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
cli/cli#14962 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
Model conformance driftAbiertomodel-drift
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
Los mantenedores suelen responder en 1 día