openclaw config-gen.py: openclaw.json with secrets is not written with mode 600
メンテナーはふだん 1 日以内に返信
評価
- 難易度
- 1/5
- 見積もり時間
- 1時間未満
- 初心者へのやさしさ
- 25/100
調査の方向性
Read packs/openclaw/resources/config-gen.py around lines 70–71. The issue identifies two changes: create ~/.openclaw/ when needed and write openclaw.json with mode 600. Verify both behaviors with a focused check; the issue says the code was not run, and pull request #127 is already open.
索引モデルが issue の本文から書いたものです。
説明
packs/openclaw/resources/config-gen.py lines 70-71 write openclaw.json with the default umask. The file holds the gateway token and possibly API keys, but the script does not set mode 600.
Also, the script fails if ~/.openclaw/ does not exist yet.
Fix: create the directory (os.makedirs(..., exist_ok=True)) and write the file with mode 600 (for example os.open(path, os.O_WRONLY|os.O_CREAT|os.O_TRUNC, 0o600)).
Found by a static read of the code at commit 1f66a8f. The code was not run.
- 主要言語
- Shell
- スター
- 73
- フォーク
- 11
- 平均マージ
- 6時間 46分
- マージ済み PR(30日)
- 5
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
inceptionstack/lowkey のほかの issue
-
bug good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 90/100
inceptionstack/lowkey#135 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
inceptionstack/lowkey#134 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 1/5 1時間未満 初心者へのやさしさ 94/100
inceptionstack/lowkey#133 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
inceptionstack/lowkey#131 ·
メンテナーはふだん 1 日以内に返信
-
bug good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
inceptionstack/lowkey#130 ·
メンテナーはふだん 1 日以内に返信
inceptionstack/lowkey の issue をすべて見る
似ている issue
-
e2e-failure ready-to-code
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
redhat-developer/rhdh-plugin-export-overlays#4391 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation good first issue
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
graygarbage/HermesKey#20 ·
-
review-bot
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
midagedev/bloomery#151 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
needs-triage
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
mattpocock/skills#1269 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 2 日以内に返信