Files
brov-macbook/scripts
maksarsanjeev 3c7931d710 Net core: accept Amnezia keys that carry a plain AmneziaWG .conf
Newer Amnezia apps share vpn:// keys whose payload (same base64url + length + zlib
wrapping) is an AmneziaWG .conf ([Interface]/[Peer], AWG 3 fields) instead of the JSON
containers; the parser failed with «Expecting value: line 1 column 2». decode_key()
handles both; --check and the provider build use it. Tested with mihomo -t.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-19 11:19:25 +03:00
..