Skip to content
Snippets Groups Projects
  1. Nov 27, 2019
  2. Nov 26, 2019
    • Arturo Herrero's avatar
      Encrypt application settings with pre and post deployments · aaae14c0
      Arturo Herrero authored and Alessio Caiazza's avatar Alessio Caiazza committed
      We had concerns about the cached values on Redis with the previous two
      releases strategy:
      
      First release (this commit):
        - Create new encrypted fields in the database.
        - Start populating new encrypted fields, read the encrypted fields or
          fallback to the plaintext fields.
        - Backfill the data removing the plaintext fields to the encrypted
          fields.
      Second release:
        - Remove the virtual attribute (created in step 2).
        - Drop plaintext columns from the database (empty columns after
          step 3).
      
      We end up with a better strategy only using migration scripts in one
      release:
        - Pre-deployment migration: Add columns required for storing encrypted
          values.
        - Pre-deployment migration: Store the encrypted values in the new
          columns.
        - Post-deployment migration: Remove the old unencrypted columns
      aaae14c0
    • Arturo Herrero's avatar
      Encrypt application setting tokens · 9183bf94
      Arturo Herrero authored and Alessio Caiazza's avatar Alessio Caiazza committed
      This is the plan to encrypt the plaintext tokens:
      
      First release (this commit):
        1. Create new encrypted fields in the database.
        2. Start populating new encrypted fields, read the encrypted fields or
           fallback to the plaintext fields.
        3. Backfill the data removing the plaintext fields to the encrypted fields.
      
      Second release:
        4. Remove the virtual attribute (created in step 2).
        5. Drop plaintext columns from the database (empty columns after step 3).
      9183bf94
    • GitLab Bot's avatar
      6a4ffad4
  3. Nov 25, 2019
  4. Nov 22, 2019
  5. Nov 21, 2019
  6. Nov 20, 2019
  7. Nov 19, 2019
  8. Nov 18, 2019
  9. Nov 16, 2019
  10. Nov 15, 2019
  11. Nov 14, 2019
  12. Nov 13, 2019
  13. Nov 12, 2019
  14. Nov 11, 2019
  15. Nov 09, 2019
  16. Nov 08, 2019
  17. Nov 07, 2019
  18. Nov 06, 2019
  19. Nov 05, 2019
Loading