refactor: enhance security standards and resolve CI/CD pipeline issues - #11
Conversation
9c1dfc2 to
932edc9
Compare
2d78c42 to
9f36cae
Compare
|
Noticed the Crucially, I found that this directory isn't present on Waiting on a review from @hshanmug12, @maheshmunnangi, @rashmiadvani, and @srpatcha to move this forward once we sort out the environment issues. |
76f4cea to
a6245ed
Compare
|
@srpatcha @hshanmug12 @maheshmunnangi @rashmiadvani Looks like src/edb/core/ was restored on master, so I just rebased to resolve the merge conflicts. All those mypy type annotation errors are also fixed in this update, which should unblock the python (3.12) CI job. |
Description
Technical updates to improve cryptographic robustness for data at rest and align the container environment with security best practices. These changes resolve a deterministic salt issue and ensure the API follows a configurable CORS policy. Additionally, the CI/CD pipeline has been stabilized by addressing type-checking violations, fixing linting errors, and adding the missing lock file.
Changes
os.urandom) inEncryptionManagerto enhance key derivation.EncryptionManagerto satisfymypystrict mode.cors_originsconfiguration inEDBConfigto eliminate hardcoded wildcard origins in the API layer.Dockerfileto implement a non-root user (edb) and properly manage data directory permissions.package-lock.jsonto resolve frontend CI caching failures.rufflinting requirements.Testing
EncryptionManagercompatibility with the existing decryption logic through manual inspection.Dockerfilelocally to confirm successful user creation and permission assignment.ruff check .passes completely for the entire project.mypyrequirements.Checklist