mirror of
https://github.com/XTLS/REALITY.git
synced 2026-09-22 23:08:01 +03:00
Do not show ciphertext SessionID or full AuthKey
This commit is contained in:
@@ -220,8 +220,7 @@ func Server(ctx context.Context, conn net.Conn, config *Config) (*Conn, error) {
|
||||
break
|
||||
}
|
||||
if config.Show {
|
||||
fmt.Printf("REALITY remoteAddr: %v\ths.clientHello.sessionId: %v\n", remoteAddr, hs.clientHello.sessionId)
|
||||
fmt.Printf("REALITY remoteAddr: %v\ths.c.AuthKey: %v\n", remoteAddr, hs.c.AuthKey)
|
||||
fmt.Printf("REALITY remoteAddr: %v\ths.c.AuthKey[:16]: %v\n", remoteAddr, hs.c.AuthKey[:16])
|
||||
}
|
||||
block, _ := aes.NewCipher(hs.c.AuthKey)
|
||||
aead, _ := cipher.NewGCM(block)
|
||||
|
||||
Reference in New Issue
Block a user