Check, if keytool exists, before trying to execute it
还没有人认领这个 Issue。
评估
调研方向
issue 中没有指定文件或测试。定位调用 keytool 并处理执行失败的 Ruby 代码,然后检查密码是如何包含在错误消息中的;完成的标准是,缺少 keytool 导致的失败和其他执行错误不再泄露密码,并且有测试覆盖这些情况。
由索引模型根据 Issue 内容生成。
描述
Use Case
If keytool does not exist, sensitive Password is not “redacted” in Error-Message:
Error: /Stage[main]/Myprofilemodule/Java_ks[myRootCA]/ensure: change from 'absent' to 'latest' failed:
Execution of 'keytool -importcert -noprompt -alias myrootca -file /etc/pki/tls/certs/myCA_root.pem -keystore /path/to/mykeystore -srcstorepass MyPassword -deststorepass MyPassword' returned 1:
Error: Could not execute posix command: No such file or directory - keytool
Describe the Solution You Would Like
- check, if
keytoolexists, before trying to execute it - prevent Password-Leak in other Error-Situations
- 主要语言
- Ruby
- 星标
- 34
- 派生
- 97
- 平均合并
- 41 分钟
- 30 天内合并 PR
- 2
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
puppetlabs/puppetlabs-java_ks 的其他 Issue
-
bugfix community
难度 3/5 1-2 天 新手友好度 55/100
puppetlabs/puppetlabs-java_ks#476 · 1 条评论 ·
-
难度 4/5 3-5 天 新手友好度 35/100
puppetlabs/puppetlabs-java_ks#462 · 2 条评论 ·
-
community
难度 4/5 3-5 天 新手友好度 35/100
puppetlabs/puppetlabs-java_ks#455 · 1 条评论 · 1 个 reaction ·
-
community
难度 3/5 1-2 天 新手友好度 42/100
puppetlabs/puppetlabs-java_ks#434 ·
查看 puppetlabs/puppetlabs-java_ks 的全部 Issue
相似的 Issue
-
bug f:search
难度 2/5 1-3 小时 新手友好度 78/100
维护者通常 1 天内回复
-
feature
难度 2/5 1-3 小时 新手友好度 60/100
manyfold3d/manyfold#7346 · 1 条评论 ·
维护者通常 1 天内回复
-
🐞 bug pending triage
难度 2/5 1-3 小时 新手友好度 65/100
CircuitVerse/CircuitVerse#8025 · 2 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 72/100
we-promise/sure#4199 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 62/100
riscv/riscv-unified-db#2738 ·
维护者通常 1 天内回复