mirror of
https://github.com/eycorsican/leaf.git
synced 2026-12-05 08:01:26 +00:00
leaf trusts only the public CAs for plugin downloads, so a local https server cannot be tried against leaf itself. leaf-plugin-verify links leaf as a library and can: serve plugin files over local https with faults on request, fill a plugin's url, sha256 and size into a conf, run a prefetch that prints the events an app's callback receives, and start leaf trusting the local CA or with a library registered as a builtin. docs/plugin-verification.md walks through downloads, their failure modes, builtins and their fallback, and the static link, with the output each step should produce. The README points to it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
329 B
JSON
14 lines
329 B
JSON
{
|
|
"log": { "level": "info", "output": "console" },
|
|
"inbounds": [
|
|
{
|
|
"tag": "ss-in",
|
|
"protocol": "shadowsocks",
|
|
"address": "127.0.0.1",
|
|
"port": 8388,
|
|
"settings": { "method": "aes-128-gcm", "password": "verify-password" }
|
|
}
|
|
],
|
|
"outbounds": [{ "tag": "direct", "protocol": "direct" }]
|
|
}
|