Adding public key storage
This commit is contained in:
parent
71b77de447
commit
137ef3d3b1
|
|
@ -22,4 +22,7 @@ url = "2.2.0"
|
|||
uuid = {version = "0.8", features = ["serde", "v4"]}
|
||||
serde = { version = "1.0", features = ["derive"] }
|
||||
serde_json = "1.0"
|
||||
ring = "0.16.20"
|
||||
sodiumoxide = "0.2.6"
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -3,10 +3,12 @@ pub mod prelude;
|
|||
|
||||
use serde::{Deserialize, Serialize};
|
||||
use uuid::Uuid;
|
||||
// use ring::signature::RsaPublicKeyComponents;
|
||||
|
||||
#[derive(Deserialize, Serialize, Debug, Clone)]
|
||||
pub struct ClientDetails {
|
||||
pub uuid: Uuid,
|
||||
pub username: String,
|
||||
pub address: String,
|
||||
// pub public_key: Option<RsaPublicKeyComponents<>>,
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,5 +14,7 @@ serde_json = "1.0"
|
|||
crossbeam = "0.8.0"
|
||||
crossbeam-channel = "0.5.0"
|
||||
zeroize = "1.1.0"
|
||||
ring = "0.16.20"
|
||||
sodiumoxide = "0.2.6"
|
||||
|
||||
foundation = {path = '../foundation'}
|
||||
Loading…
Reference in New Issue