From 35800e953e0748ec2e30c9e0c65e540c5ac7a788 Mon Sep 17 00:00:00 2001 From: Matthew <139655695+matthew-abg@users.noreply.github.com> Date: Thu, 19 Mar 2026 14:19:21 +0200 Subject: [PATCH] Commands: `x25519` outputs "Password" -> "Password (PublicKey)" (#5759) https://github.com/XTLS/Xray-core/discussions/5084#discussioncomment-14312223 https://github.com/XTLS/Xray-core/discussions/5123#discussioncomment-14364120 ... --------- Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com> --- main/commands/all/curve25519.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/commands/all/curve25519.go b/main/commands/all/curve25519.go index 6729439a..1194cff1 100644 --- a/main/commands/all/curve25519.go +++ b/main/commands/all/curve25519.go @@ -30,7 +30,7 @@ func Curve25519Genkey(StdEncoding bool, input_base64 string) { fmt.Println(err) return } - fmt.Printf("PrivateKey: %v\nPassword: %v\nHash32: %v\n", + fmt.Printf("PrivateKey: %v\nPassword (PublicKey): %v\nHash32: %v\n", encoding.EncodeToString(privateKey), encoding.EncodeToString(password), encoding.EncodeToString(hash32[:]))