Allow certificate lifetimes to be given in d,mo,y as well as hours.
维护者通常 1 天内回复
@hslatman 已经在做这个了。
开始于 2024年6月4日。
评估
这个 Issue 还没有评估数据。
描述
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
Currently, certificate lifetimes can only be given in hours, minutes and seconds. If you want to create a cert with a 90 day life, you cant say --not-after 90d but instead have to put --not-after 2160h
We should be able to use time periods in days or years; months might be awkward as they are different lengths and the 'm' would clash with 'minutes' but maybe '1M' could mean '30d'?
I would like to be able to use time windows such as
--not-after 1y--not-after 90d--not-after 3mo(this one I could live without though)
Why is this needed?
This is a relatively simple change that would be a bit improvement on usability when creating longer-lived certificates such as for hosts and services, which typically want to live for 90 days or 1 year. Giving longer times in hours is confusing and error-prone.
- 主要语言
- Go
- 星标
- 4.3k
- 派生
- 320
- 平均合并
- 2 天 3 小时
- 30 天内合并 PR
- 11
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
smallstep/cli 的其他 Issue
-
bug needs triage
难度 2/5 1-3 小时 新手友好度 74/100
维护者通常 1 天内回复
-
enhancement needs triage
难度 4/5 3-5 天 新手友好度 32/100
维护者通常 1 天内回复
-
enhancement needs triage
难度 3/5 1-2 天 新手友好度 57/100
smallstep/cli#1713 · 1 个 reaction ·
维护者通常 1 天内回复
-
enhancement needs triage
难度 4/5 3-5 天 新手友好度 35/100
smallstep/cli#1710 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
[Bug]: `step ca provisioner add --ca-config` requires `--ca-url`/`--root` even for purely local/offline edits可能已有人在做 @vulragrag-star 于 51 天前认领。 未关闭bug needs triage
难度 4/5 3-5 天 新手友好度 20/100
smallstep/cli#1705 · 1 个 reaction ·
维护者通常 1 天内回复
相似的 Issue
-
kind/design sig/ui
难度 1/5 1 小时以内 新手友好度 92/100
kubermatic/dashboard#8449 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 78/100
filecoin-project/curio#1632 ·
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 72/100
-
compose: derived node options overwrite each other's targets可能已有人在做 @yangjj-iso 今天认领。 未关闭
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复