docs: the TLS key troubleshooting entry quotes one warning and overstates who could read the key

未关闭 适合新手
#948 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 5 天内回复

还没有人认领这个 Issue。

评估

难度
1/5
预计耗时
1-3 小时
新手友好度
82/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
rust
领域
documentation

调研方向

阅读 docs/troubleshooting.md:129 和 :145 中关于 TLS 私钥的条目,然后将其中引用的警告文本与 crates/app/src/serve_helpers.rs:234-289 中的情况进行比较。更新措辞,使搜索结果能匹配这些警告,并让关于谁能够读取该密钥的说明反映其之前的权限。两项陈述都准确涵盖所述情况时,任务即完成;issue 没有指定要运行的测试。

由索引模型根据 Issue 内容生成。

描述

documentation

Two sentences in the TLS private key entry of docs/troubleshooting.md do not match the warnings that extenddb serve prints (#921).

The heading quotes one warning of six

docs/troubleshooting.md:129 quotes the warning as "had permissions ". Only the warning for a key the server narrowed starts that way (crates/app/src/serve_helpers.rs:234). The other five start with "has permissions" (serve_helpers.rs:239, :261, :272, :280 and :289). In docs/troubleshooting.md, "has permissions" matches only the config file entry at line 147. An operator who searches for the text of one of those five warnings lands on that entry.

"any local user could read the key"

docs/troubleshooting.md:145 says: "While its mode was wider, any local user could read the key." The server also narrows a key that it owns at 0640 (the test a_group_readable_key_is_set_to_0600 in serve_helpers.rs). Before that, only the members of the key's group could read it. The sentence holds for a key that others could read, such as 0644.

主要语言
Rust
星标
517
派生
60
平均合并
5 天 21 小时
30 天内合并 PR
110

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ExtendDB/extenddb 的其他 Issue

查看 ExtendDB/extenddb 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。