manage handshake wiip

This commit is contained in:
2026-01-09 01:03:40 +01:00
parent cd2f87cb81
commit 9fc33804d0
6 changed files with 145 additions and 212 deletions

View File

@@ -1,6 +1,5 @@
use std::io::Read;
use crate::messages_structure::HandshakeMessage;
use bytes::Bytes;
use p256::EncodedPoint;
use p256::ecdsa::{
@@ -148,10 +147,7 @@ mod tests {
println!("pubkey : {}", formatted_pubkey);
}
///
/// signs a message
///
#[test]
/*#[test]
fn signing_message() {
let username = String::from("gamixtreize");
let crypto_pair = CryptographicSignature::new(username.clone());
@@ -160,5 +156,5 @@ mod tests {
let signed_message = sign_message(&crypto_pair, &ser);
println!("unsigned_message: {:?}", ser);
println!("signed_message: {:?}", signed_message);
}
}*/
}