`step ca renew` doesn't handle quoted arguments in `--exec` parameter
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 45/100
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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.
- Linguagem predominante
- Go
- Estrelas
- 4.3k
- Forks
- 320
- Merge médio
- 2d 3h
- PRs com merge (30d)
- 11
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Tem um modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de smallstep/cli
-
[Bug]: `Match exec "step ssh check-host %h"` causes SSH connections through ProxyJump to hangAbertabug needs triage
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
Mantenedores costumam responder em até 1 dia
-
enhancement needs triage
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 32/100
Mantenedores costumam responder em até 1 dia
-
enhancement needs triage
Dificuldade 3/5 1-2 dias Facilidade para iniciantes 57/100
smallstep/cli#1713 · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
enhancement needs triage
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 35/100
smallstep/cli#1710 · 1 comentário · 1 reação ·
Mantenedores costumam responder em até 1 dia
-
[Bug]: `step ca provisioner add --ca-config` requires `--ca-url`/`--root` even for purely local/offline editsTalvez já em andamento @vulragrag-star assumiu há 56 dias. Abertabug needs triage
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 20/100
smallstep/cli#1705 · 1 reação ·
Mantenedores costumam responder em até 1 dia
Todas as issues de smallstep/cli
Issues semelhantes
-
Case detail: main-column section headers are hard to distinguish from body textTalvez já em andamento @yubessy assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
ubie-oss/hecatoncheires#347 ·
Mantenedores costumam responder em até 1 dia
-
[OperatorHub] Add OLM installation method to the documentation #1193Talvez já em andamento @NiccoloFei assumiu hoje. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 70/100
cloudnative-pg/plugin-barman-cloud#1233 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 67/100
Mantenedores costumam responder em até 2 dias
-
build: make check-linter version tests deterministicTalvez já em andamento Um pull request vinculado a esta issue está aberto ou já foi mesclado. Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
Mantenedores costumam responder em até 1 dia