mirror of
https://github.com/eycorsican/leaf.git
synced 2026-12-05 16:02:32 +00:00
A JSON vmess outbound with no security, or one leaf does not implement, was accepted, and every connection through it then failed with "unsupported cipher". The .conf format already defaulted to chacha20-ietf-poly1305; JSON now does the same, and any other value is a configuration error at startup. The value is accepted in any case and stored lowercase, which is the only spelling the cipher table knows.