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: add DevSkim ignore comments for test code false positives

LearningCircuit3292898eef7e
diff --git a/tests/database/test_sqlcipher_integration.py b/tests/database/test_sqlcipher_integration.py
index 17484c0fff..2fdb335f1e 100644
--- a/tests/database/test_sqlcipher_integration.py
+++ b/tests/database/test_sqlcipher_integration.py
@@ -1195,6 +1195,7 @@ class TestSQLCipherIntegration:
assert kdf is not None, "cipher_kdf_algorithm should return a value"
kdf_name = str(kdf[0]).upper()
# Should be PBKDF2_HMAC_SHA512, PBKDF2_HMAC_SHA256, or PBKDF2_HMAC_SHA1
+ # DevSkim: ignore DS126858 - Testing valid SQLCipher KDF algorithms including legacy SHA1
valid_kdfs = [
"PBKDF2_HMAC_SHA512",
"PBKDF2_HMAC_SHA256",
@@ -1222,6 +1223,7 @@ class TestSQLCipherIntegration:
)
hmac_name = str(hmac[0]).upper()
# Should be HMAC_SHA512, HMAC_SHA256, or HMAC_SHA1
+ # DevSkim: ignore DS126858 - Testing valid SQLCipher HMAC algorithms including legacy SHA1
valid_hmacs = ["HMAC_SHA512", "HMAC_SHA256", "HMAC_SHA1"]
assert any(h in hmac_name for h in valid_hmacs), (
f"Unknown HMAC algorithm: {hmac[0]}"
@@ -1260,6 +1262,7 @@ class TestSQLCipherIntegration:
conn.close()
# Different raw key should fail
+ # DevSkim: ignore DS173237 - Test dummy key, not a real secret
wrong_key = (
"1111111111111111111111111111111111111111111111111111111111111111"
)
@@ -2034,6 +2037,7 @@ class TestSQLCipherIntegration:
pysqlcipher3 = get_sqlcipher_module()
+ # DevSkim: ignore DS126858 - Testing different KDF algorithms including legacy SHA1
kdf_algorithms = [
"PBKDF2_HMAC_SHA256",
"PBKDF2_HMAC_SHA512",
@@ -2079,6 +2083,7 @@ class TestSQLCipherIntegration:
pysqlcipher3 = get_sqlcipher_module()
+ # DevSkim: ignore DS126858 - Testing different HMAC algorithms including legacy SHA1
hmac_algorithms = [
"HMAC_SHA256",
"HMAC_SHA512",