mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-08-28 14:07:13 +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": "Konfig ECH",
|
||||
"pinnedPeerCertSha256": "SHA-256 Sertifikat Peer Tersemat",
|
||||
"pinnedPeerCertSha256Tip": "Hash SHA-256 berenkode Base64 dari sertifikat peer. Hanya panel — tidak ditulis ke konfig xray server, tetapi disertakan dalam link berbagi agar klien dapat menyematkan sertifikat.",
|
||||
"pinnedPeerCertSha256Placeholder": "hash base64, dipisah koma",
|
||||
"pinnedPeerCertSha256Tip": "Hash SHA-256 dari sertifikat peer sebagai string heksadesimal (mis. e8e2d3…), dipisah koma. Hanya panel — tidak ditulis ke konfig xray server, tetapi disertakan dalam link berbagi agar klien dapat menyematkan sertifikat.",
|
||||
"pinnedPeerCertSha256Placeholder": "hash heksadesimal, dipisah koma",
|
||||
"generateRandomPin": "Hasilkan hash acak",
|
||||
"getNewEchCert": "Dapatkan sertifikat ECH baru",
|
||||
"show": "Tampilkan",
|
||||
|
||||
Reference in New Issue
Block a user