mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-09-04 09:27:15 +00:00
fix(tls): correct pinned cert SHA-256 hint to hex, not base64
xray-core hex-decodes pinnedPeerCertSha256 and the panel forwards the value as-is into share links and the JSON subscription, so clients hex-decode it too. The tooltip/placeholder wrongly said base64 (copied from the retired pinnedPeerCertificateChainSha256 field), and the "generate random hash" button emitted base64 via btoa, producing an unusable pin. Tooltip/placeholder now say hex across all locales and the generator emits hex. Closes #4793
This commit is contained in:
@@ -555,8 +555,8 @@
|
||||
"echKey": "ECH key",
|
||||
"echConfig": "Config ECH",
|
||||
"pinnedPeerCertSha256": "SHA-256 do cert. do par fixado",
|
||||
"pinnedPeerCertSha256Tip": "Hashes SHA-256 codificados em Base64 do certificado do par. Apenas no painel — não é gravado na config xray do servidor, mas é incluído nos links de compartilhamento para que clientes possam fixar o certificado.",
|
||||
"pinnedPeerCertSha256Placeholder": "hash(es) base64, separados por vírgula",
|
||||
"pinnedPeerCertSha256Tip": "Hashes SHA-256 do certificado do par como string hexadecimal (ex. e8e2d3…), separados por vírgula. Apenas no painel — não é gravado na config xray do servidor, mas é incluído nos links de compartilhamento para que clientes possam fixar o certificado.",
|
||||
"pinnedPeerCertSha256Placeholder": "hash(es) hexadecimal, separados por vírgula",
|
||||
"generateRandomPin": "Gerar hash aleatório",
|
||||
"getNewEchCert": "Obter novo certificado ECH",
|
||||
"show": "Mostrar",
|
||||
|
||||
Reference in New Issue
Block a user