惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

The GitHub Blog
The GitHub Blog
Martin Fowler
Martin Fowler
Vercel News
Vercel News
U
Unit 42
Engineering at Meta
Engineering at Meta
aimingoo的专栏
aimingoo的专栏
MyScale Blog
MyScale Blog
Y
Y Combinator Blog
阮一峰的网络日志
阮一峰的网络日志
爱范儿
爱范儿
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
B
Blog RSS Feed
N
Netflix TechBlog - Medium
GbyAI
GbyAI
F
Fortinet All Blogs
MongoDB | Blog
MongoDB | Blog
大猫的无限游戏
大猫的无限游戏
C
Check Point Blog
M
MIT News - Artificial intelligence
D
Docker
IT之家
IT之家
Stack Overflow Blog
Stack Overflow Blog

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4
docs: absorb docs sweep · openclaw/openclaw@bb5010b
steipete · 2026-05-23 · via Recent Commits to openclaw:main

@@ -339,6 +339,94 @@ the config fields that accept SecretRefs.

339339

}

340340

```

341341

</Accordion>

342+

<Accordion title="password-store (`pass`)">

343+

Use a small resolver wrapper when you want SecretRef ids to map directly to

344+

`pass` entries. Save this as an executable in an absolute path that passes

345+

your exec-provider path checks, for example

346+

`/usr/local/bin/openclaw-pass-resolver`. The `#!/usr/bin/env node` shebang

347+

resolves `node` from the resolver process `PATH`, so include `PATH` in

348+

`passEnv`. If `pass` is not on that `PATH`, set `PASS_BIN` in the parent

349+

environment and include it in `passEnv` too:

350+351+

```js

352+

#!/usr/bin/env node

353+

const { spawnSync } = require("node:child_process");

354+355+

let stdin = "";

356+

process.stdin.setEncoding("utf8");

357+

process.stdin.on("data", (chunk) => {

358+

stdin += chunk;

359+

});

360+

process.stdin.on("error", (err) => {

361+

process.stderr.write(`${err.message}\n`);

362+

process.exit(1);

363+

});

364+

process.stdin.on("end", () => {

365+

let request;

366+

try {

367+

request = JSON.parse(stdin || "{}");

368+

} catch (err) {

369+

process.stderr.write(`Failed to parse request: ${err.message}\n`);

370+

process.exit(1);

371+

}

372+373+

const passBin = process.env.PASS_BIN || "pass";

374+

const values = {};

375+

const errors = {};

376+377+

for (const id of request.ids ?? []) {

378+

const result = spawnSync(passBin, ["show", id], { encoding: "utf8" });

379+

if (result.status === 0) {

380+

values[id] = result.stdout.split(/\r?\n/, 1)[0] ?? "";

381+

} else {

382+

errors[id] = { message: (result.stderr || `pass exited ${result.status}`).trim() };

383+

}

384+

}

385+386+

process.stdout.write(JSON.stringify({ protocolVersion: 1, values, errors }));

387+

});

388+

```

389+390+

Then configure the exec provider and point `apiKey` at the `pass` entry path:

391+392+

```json5

393+

{

394+

secrets: {

395+

providers: {

396+

pass_store: {

397+

source: "exec",

398+

command: "/usr/local/bin/openclaw-pass-resolver",

399+

passEnv: ["PATH", "HOME", "GNUPGHOME", "GPG_TTY", "PASSWORD_STORE_DIR", "PASS_BIN"],

400+

jsonOnly: true,

401+

},

402+

},

403+

},

404+

models: {

405+

providers: {

406+

openai: {

407+

baseUrl: "https://api.openai.com/v1",

408+

models: [{ id: "gpt-5", name: "gpt-5" }],

409+

apiKey: {

410+

source: "exec",

411+

provider: "pass_store",

412+

id: "openclaw/providers/openai/apiKey",

413+

},

414+

},

415+

},

416+

},

417+

}

418+

```

419+420+

Keep the secret on the first line of the `pass` entry, or customize the

421+

wrapper if you want to return the full `pass show` output instead. After

422+

updating config, verify both the static audit and the exec resolver path:

423+424+

```bash

425+

openclaw secrets audit --check

426+

openclaw secrets audit --allow-exec

427+

```

428+429+

</Accordion>

342430

<Accordion title="sops">

343431

```json5

344432

{