mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-11 00:44:50 +01:00
Problem: curve messages can be replayed
Solution: ensure message short nonces are strictly increasing and validate them
This commit is contained in:
@@ -90,6 +90,7 @@ namespace zmq
|
||||
std::string status_code;
|
||||
|
||||
uint64_t cn_nonce;
|
||||
uint64_t cn_peer_nonce;
|
||||
|
||||
// Our secret key (s)
|
||||
uint8_t secret_key [crypto_box_SECRETKEYBYTES];
|
||||
|
||||
Reference in New Issue
Block a user