Skip to content

WIP: encrypt issue and note table

Yuanchen Lu requested to merge test-gitlab1/gitlab:issue-encryption into master

What does this MR do?

This MR encrypts Issue table and Note table at rest using Openssl encryption mechanism. Issue/note create/update is encrypted before writing data to Postgres. I understand this decryption approach might cause risks, as it requires every issue reference needs to be encrypted/decrypted. I'm open for advice on how to best implement this at app level.

Screenshots

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Ray Paik

Merge request reports