diff --git a/src-tauri/Cargo.toml b/src-tauri/Cargo.toml index 7e35bc25..ebf1a404 100644 --- a/src-tauri/Cargo.toml +++ b/src-tauri/Cargo.toml @@ -17,7 +17,6 @@ tauri-plugin-dialog = "2" tauri-plugin-fs = "2" tauri-plugin-shell = "2" tauri-plugin-http = "2" -tauri-plugin-updater = "2" rusqlite = { version = "0.31", features = ["bundled-sqlcipher-vendored-openssl"] } serde = { version = "1", features = ["derive"] } serde_json = "1" diff --git a/src-tauri/src/db/connection.rs b/src-tauri/src/db/connection.rs index 18ee72af..490b1911 100644 --- a/src-tauri/src/db/connection.rs +++ b/src-tauri/src/db/connection.rs @@ -9,7 +9,7 @@ pub fn open_encrypted_db(path: &Path, key: &str) -> anyhow::Result { conn.execute_batch("SELECT count(*) FROM sqlite_master;")?; // Set SQLCipher settings for AES-256 conn.execute_batch( - "PRAGMA cipher_page_size = 4096; \ + "PRAGMA cipher_page_size = 16384; \ PRAGMA kdf_iter = 256000; \ PRAGMA cipher_hmac_algorithm = HMAC_SHA512; \ PRAGMA cipher_kdf_algorithm = PBKDF2_HMAC_SHA512;", diff --git a/src-tauri/src/lib.rs b/src-tauri/src/lib.rs index a755974e..a8e3ed5b 100644 --- a/src-tauri/src/lib.rs +++ b/src-tauri/src/lib.rs @@ -51,7 +51,6 @@ pub fn run() { .plugin(tauri_plugin_fs::init()) .plugin(tauri_plugin_shell::init()) .plugin(tauri_plugin_http::init()) - .plugin(tauri_plugin_updater::Builder::new().build()) .manage(app_state) .invoke_handler(tauri::generate_handler![ // DB / Issue CRUD