encrypt/decrypt and db interaction

This commit is contained in:
2022-12-03 21:47:09 -08:00
parent 196510e9a2
commit 1e4e1c9a5f
9 changed files with 375 additions and 49 deletions

View File

@ -6,6 +6,7 @@
use std::str::FromStr;
mod errors;
mod clientinfo;
mod ipc;
mod state;
mod server;
@ -13,7 +14,7 @@ mod storage;
fn main() {
let initial_state = match state::AppState::new(state::SessionStatus::Locked, None) {
let initial_state = match state::AppState::new() {
Ok(state) => state,
Err(e) => {eprintln!("{}", e); return;}
};