Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

fix: revert PBKDF2 salt change that broke existing databases

LearningCircuitc99b0ee307c6
diff --git a/src/local_deep_research/database/sqlcipher_utils.py b/src/local_deep_research/database/sqlcipher_utils.py
index 1da67d0e28..75eb0ecb27 100644
--- a/src/local_deep_research/database/sqlcipher_utils.py
+++ b/src/local_deep_research/database/sqlcipher_utils.py
@@ -98,7 +98,8 @@ DEFAULT_KDF_ALGORITHM = "PBKDF2_HMAC_SHA512"
# user's password into a hex key format. The actual encryption salt is
# managed by SQLCipher on a per-database basis, providing proper salt
# uniqueness. See: https://www.zetetic.net/sqlcipher/sqlcipher-api/#key
-PBKDF2_PLACEHOLDER_SALT = b"ldr-sqlcipher-key-derivation"
+# WARNING: Do NOT change this value - it would break all existing databases!
+PBKDF2_PLACEHOLDER_SALT = b"no salt"
def get_sqlcipher_settings(username: Optional[str] = None) -> dict: