mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-08-29 06:27:14 +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": "ECH yapılandırması",
|
||||
"pinnedPeerCertSha256": "Sabitlenmiş Peer Sertifikası SHA-256",
|
||||
"pinnedPeerCertSha256Tip": "Peer sertifikasının Base64 kodlu SHA-256 hash'leri. Sadece panel — sunucunun xray yapılandırmasına yazılmaz, ancak istemcilerin sertifikayı sabitleyebilmesi için paylaşım bağlantılarına eklenir.",
|
||||
"pinnedPeerCertSha256Placeholder": "base64 hash(ler), virgülle ayrılmış",
|
||||
"pinnedPeerCertSha256Tip": "Peer sertifikasının SHA-256 hash'leri onaltılık (hex) dizge olarak (örn. e8e2d3…), virgülle ayrılmış. Sadece panel — sunucunun xray yapılandırmasına yazılmaz, ancak istemcilerin sertifikayı sabitleyebilmesi için paylaşım bağlantılarına eklenir.",
|
||||
"pinnedPeerCertSha256Placeholder": "onaltılık (hex) hash(ler), virgülle ayrılmış",
|
||||
"generateRandomPin": "Rastgele hash üret",
|
||||
"getNewEchCert": "Yeni ECH sertifikası al",
|
||||
"show": "Göster",
|
||||
|
||||
Reference in New Issue
Block a user