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: suppress DevSkim false positive for SHA256 empty string hash

LearningCircuit8113a111bf15
diff --git a/tests/security/file_integrity/test_base_verifier.py b/tests/security/file_integrity/test_base_verifier.py
index 608705a731..3ecc3e33e0 100644
--- a/tests/security/file_integrity/test_base_verifier.py
+++ b/tests/security/file_integrity/test_base_verifier.py
@@ -231,10 +231,8 @@ class TestChecksumWithLargeFile:
checksum = verifier.calculate_checksum(file_path)
# Empty file should have the SHA256 of empty string
- # SHA256("") = e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
- assert (
- checksum
- == "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855"
- )
+ # This is the well-known SHA256 hash of "" (not a secret)
+ empty_string_sha256 = "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855" # DevSkim: ignore DS173237
+ assert checksum == empty_string_sha256
finally:
file_path.unlink()