Switch to Ed25519 signature + XChaCha20
also add infoq nodeinfo
This commit is contained in:
@@ -541,7 +541,7 @@ impl NetworkManager {
|
||||
|
||||
// Decode envelope header (may fail signature validation)
|
||||
let envelope =
|
||||
Envelope::from_data(data).map_err(|_| "envelope failed to decode".to_owned())?;
|
||||
Envelope::from_signed_data(data).map_err(|_| "envelope failed to decode".to_owned())?;
|
||||
|
||||
// Get routing table and rpc processor
|
||||
let (routing_table, rpc) = {
|
||||
|
||||
Reference in New Issue
Block a user