`step ca renew` doesn't handle quoted arguments in `--exec` parameter
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 45/100
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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.
- Ngôn ngữ chính
- Go
- Star
- 4.3k
- Fork
- 320
- Merge trung bình
- 2 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 11
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của smallstep/cli
-
[Bug]: `Match exec "step ssh check-host %h"` causes SSH connections through ProxyJump to hangĐang mởbug needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement needs triage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 32/100
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement needs triage
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 57/100
smallstep/cli#1713 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
build s390x and riscv64 binariesĐang mởenhancement needs triage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
smallstep/cli#1710 · 1 bình luận · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: `step ca provisioner add --ca-config` requires `--ca-url`/`--root` even for purely local/offline editsCó thể đã có người làm @vulragrag-star đã nhận 51 ngày trước. Đang mởbug needs triage
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 20/100
smallstep/cli#1705 · 1 reaction ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của smallstep/cli
Issue tương tự
-
csp-probe needs efqdn to probe CSP domainsCó thể đã có người làm @unknownhackerworld đã nhận 1 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
projectdiscovery/httpx#2725 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
Maintainer thường phản hồi trong vòng 1 ngày
-
category:helper tech-debt
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
LanternOps/breeze#11285 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Query cache: a failed cache page read leaves the set request's read lock held, so the scan hangsĐang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
turbot/steampipe-plugin-sdk#986 · 1 bình luận ·
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100