Files
NexusGate/panel-go/testdata/scrypt_vectors.json
aaaamoooo 3951134940
CI / test (push) Canceled after 0s
CI / anytls-smoke (push) Canceled after 0s
feat: Go port of the panel in panel-go/ — drop-in replacement for server.js
Pure-stdlib Go implementation of the whole control plane: same
nexusgate.json schema (unknown fields preserved verbatim, explicit
null/false tri-states modeled), same HTTP API and error strings,
embedded frontend (NG_PUBLIC_DIR override), self-implemented scrypt
auth, X25519 Reality keys, panel-hosted keyStore and heartbeat
reconciliation included. Version stays 0.6.8.

Verified: Go tests 33/33 (scrypt + Reality vectors generated from
the Node implementation, subscription goldens byte-identical),
Node suite 52/52 untouched, differential E2E against the Node
panel 50/50 including two-way DB swap. See panel-go/PARITY.md
and panel-go/INSTALL-GO.md.
2026-10-20 08:21:54 +00:00

33 lines
1.7 KiB
JSON

[
{
"password": "password",
"salt": "0123456789abcdeffedcba9876543210",
"encoded": "scrypt:0123456789abcdeffedcba9876543210:c333395faa1db0ad575a6bf315b798ab2592dc383fc12e004c9dec0ba8b300c95e0b19d641dcb45f9dfed65fc1213a4ac92dd065d029d5dcdc4e7f226cc41836"
},
{
"password": "admin123",
"salt": "aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa",
"encoded": "scrypt:aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa:2848cd08ab0496c46b33b784bdc32c247544c2c02e75b18169d4593bdae61121e13a7861ecc28182e27dab52cffc61da7642b403549ab7fd04c63414d70a3166"
},
{
"password": "",
"salt": "0123456789abcdeffedcba9876543210",
"encoded": "scrypt:0123456789abcdeffedcba9876543210:73e46810e0a589e88a8e3399e6156f45febc2af97943c909390f67e681144308170363363dbd4c40aa4526027dcc0a14b9cc334d6a8b19490096f4678efa856b"
},
{
"password": "密码测试🔐 passphrase",
"salt": "deadbeefcafebabe0123456789abcdef",
"encoded": "scrypt:deadbeefcafebabe0123456789abcdef:80efbc107d84d817600d6b23d0244393b4d48b2bad97cd2287b9a45f72390bb9d1841aaa0085b284bcfbded1070335aff4666460adbd0dcbdce4e6f1177783e0"
},
{
"password": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
"salt": "my-custom-salt",
"encoded": "scrypt:my-custom-salt:0bcdee35103e612e72d18df9ca2a9d0df3be6680e1dbab773dfea7efd642ac970e7bb8e2b50921c5d179cfea8dcc95a747f2d835d50cc4b3f8bff723bfabc06f"
},
{
"password": "correct horse battery staple",
"salt": "00",
"encoded": "scrypt:00:f2d1fc35078e5f73fe37f990d5bb080beb82188dba8ac20eafb60db0321854e06d999bec6b2cee009f45f6e9b52734830669cec9c1388ff05bc5b1b9da807dfb"
}
]