Enhanced Secure Folder Security #360
Open
+392
−79
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes #349
This PR addresses the security vulnerabilities identified in the secure folder feature, focusing on encryption, key management, and access control.
Key Changes:
Argon2id Implementation: Replaced the previous key derivation function with Argon2id for stronger password hashing. This includes:
Password Strength Validation: Implemented robust password validation to enforce complexity requirements, including:
Secure File Deletion: Enhanced file deletion process to securely erase files by:
AES-256-GCM Encryption: Ensured robust encryption using AES-256-GCM with:
Comprehensive Error Handling: Improved error handling throughout the security pipeline to provide informative messages without leaking sensitive information.
These changes significantly enhance the security of the secure folder feature, addressing the identified vulnerabilities and aligning with industry best practices for encryption and secure data handling.