oobmigrations: Extract encryption tasks
There are no commits yet
Push commits to the source branch or add previously merged commits to review them.
Created by: efritz
Cleanup encryption in the database and run background encryption as a worker task (not out-of-band migrations). Partial fix to #38050 (closed) and #38052 (closed).
This PR changes (roughly by commit):
worker
service that encrypts/decrypts values in the databaseALLOW_DECRYPTION
flag that stops encrypted writes and flips the background task directionPre-work to this PR:
internal/encryption
package (new helpers.go
file)Existing and new unit tests. End-to-end testing done by encrypting/decrypting values in a local instance.
Push commits to the source branch or add previously merged commits to review them.