Andrew Rioux 4449a771e2
feat: added connection and authentication
client can now generate a server binary, and try to connect to it and
get capabilities
2023-09-02 22:29:13 -04:00

11 lines
266 B
Rust

use ed25519_dalek::Keypair;
use serde::{Deserialize, Serialize};
#[derive(Serialize, Deserialize)]
pub struct ClientConfig {
pub keypair: Keypair,
pub enc_pubkey: ecies_ed25519::PublicKey,
pub enc_privkey: ecies_ed25519::SecretKey,
pub port: u16,
}