Zach
170c33a475
feat: encrypt gitsshkeys.private_key at rest via dbcrypt ( #25872 )
...
Adds an optional dbcrypt wrapper around gitsshkeys.private_key. The
column is encrypted on insert and update through enterprise/dbcrypt when
external token encryption is configured, and decrypted on read.
A new private_key_key_id column references
dbcrypt_keys(active_key_digest) so revocation safety is enforced by the
existing foreign key. Rows with a NULL key_id stay plaintext and remain
readable. Existing plaintext rows can be backfilled by running `coder
server dbcrypt rotate`.
Generated with assistance from Coder Agents.
2026-06-02 08:36:01 -06:00
..
2025-08-20 12:19:14 +01:00
2026-06-02 13:25:44 +02:00
2026-05-22 09:50:01 +02:00
2026-05-22 07:53:23 +02:00
2026-05-29 12:01:37 +01:00
2026-05-29 10:08:25 -04:00
2026-03-16 15:30:25 -05:00
2026-03-26 10:36:40 +00:00
2026-02-24 15:27:03 +00:00
2026-04-07 07:24:53 -07:00
2026-05-29 12:50:39 +02:00
2026-02-06 09:52:17 -07:00
2026-05-05 22:37:13 +02:00
2026-04-08 11:08:09 +01:00
2026-04-10 10:48:54 -04:00
2026-05-22 09:50:01 +02:00
2026-05-26 19:31:52 +00:00
2026-04-07 07:24:53 -07:00
2024-09-26 21:01:49 +01:00
2023-09-15 15:09:40 +01:00
2026-03-10 13:52:55 -04:00
2026-03-12 21:32:57 +00:00
2026-06-02 08:36:01 -06:00
2026-05-20 22:40:50 +00:00
2026-05-20 22:40:50 +00:00
2026-03-04 12:54:39 +02:00
2025-08-30 03:39:37 +10:00
2023-06-25 13:17:00 +00:00
2026-05-12 08:54:53 -04:00
2026-04-26 14:49:10 -07:00
2025-03-20 13:41:54 +01:00
2026-03-12 21:32:57 +00:00
2026-03-24 10:13:25 -08:00
2026-03-17 12:16:43 -07:00
2025-11-20 17:12:25 +01:00
2025-11-20 17:12:25 +01:00
2025-10-07 13:10:38 +00:00
2025-10-07 13:10:38 +00:00
2026-04-10 09:50:11 -05:00
2025-10-07 13:10:38 +00:00
2023-11-21 11:21:25 +00:00
2024-11-05 08:12:56 -06:00
2023-07-27 02:21:04 +10:00
2026-01-12 18:19:19 -08:00
2026-05-05 22:37:13 +02:00
2026-05-01 15:00:08 -05:00
2026-02-24 17:04:42 +00:00
2025-01-31 13:55:46 +01:00
2025-10-28 03:16:41 +11:00
2026-02-05 14:38:55 -06:00
2025-05-29 08:55:19 -05:00
2026-03-12 21:32:57 +00:00
2025-05-14 12:21:36 -05:00
2025-12-12 11:41:46 +00:00
2024-05-20 13:30:19 +00:00
2025-10-07 13:10:38 +00:00
2026-03-18 09:30:22 -05:00
2026-05-22 02:16:01 +02:00
2026-03-12 21:32:57 +00:00
2026-05-11 09:07:30 -06:00
2026-05-20 00:09:09 +02:00
2026-05-28 10:00:37 -05:00
2026-01-30 17:19:19 +00:00
2024-03-06 09:23:57 -05:00
2025-03-03 18:41:01 +01:00
2026-05-18 08:33:29 -04:00
2026-03-12 21:32:57 +00:00
2025-03-20 14:10:45 +00:00
2026-02-24 17:04:42 +00:00
2023-08-16 15:22:00 +03:00
2026-03-12 21:32:57 +00:00
2026-04-17 22:47:08 -04:00
2024-11-16 21:56:19 +01:00
2024-11-16 21:56:19 +01:00
2026-03-17 12:16:43 -07:00
2026-04-29 12:24:26 -08:00