Conversation
|
Thanks for this, and for the tests! The with-block cleanup is a good idea. The problem is this branch was created before #3 was merged, so right now it would revert the integrity-check work from #3 (it removes EXPECTED_ENC_SHA256 / EXPECTED_META_SHA256, the hashlib/hmac imports, and VaultLoadError). Could you rebase onto the latest main and re-apply just the file-handle with blocks on top of the current code? Once it's rebased with no conflicts and CI is green, I'll review and merge. Quick steps: git remote add upstream https://github.com/CyberSunil/LLMVault.git # once |
closes #25
wraps file open calls in expert_vault.py inside with blocks to ensure file handles are properly closed on exit or on decryption errors
changes:
testing: