routing header correctly arrives at hidden service in route message handling flow
Pesky wrong nonce made the reply and reply header not decrypt correctly, only visible by the lack of magic prefixes on the routing header.
This commit is contained in:
@@ -26,6 +26,7 @@ var (
|
||||
// keys using ECDH.
|
||||
func GetBlock(from *prv.Key, to *pub.Key) (block cipher.Block) {
|
||||
secret := ecdh.Compute(from, to)
|
||||
log.T.S("secret", secret)
|
||||
block, _ = aes.NewCipher(secret[:])
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user