Closed campeon23 closed 1 year ago
Changes Implemented:
The decryption process has been overhauled to handle decrypted content in-memory by default. This modification bolsters security by substantially reducing the risk of inadvertent exposure on disk. New tests were introduced to ascertain both the safety and the efficacy of the in-memory decryption method. Pertinent documentation has been refreshed to encompass this change, with a clear exposition on the motivation for this security-centric improvement. Thank you to everyone involved in identifying the potential risk and working collaboratively on this enhancement.
Description: In our decryption routine, decrypted content gets written back to the disk. This approach could expose sensitive plaintext content, even if temporarily.
Recommendation: Refrain from writing decrypted content back to the disk unless there's a compelling requirement. Ideally, handle decrypted content solely in memory.
Example Fix:
Acceptance Criteria:
Severity Level: Medium