Update initial migration with tables related to e2ee #33

Merged
serra merged 4 commits from serra/e2ee into feature/e2ee 2026-09-17 02:15:47 +03:00
Owner

Create the following tables:

  • device_keys - needed for overall e2ee
  • one_time_keys - needed for overall e2ee, claimed by clients looking to start an e2ee room with other client
  • cross_signing_keys - needed for cross-signing devices to expand web of trust
  • key_backup_versions - needed to organize room key backups
  • key_backups - the actual backed up keys
  • to_device_messages - mini-events not part of the DAG that are used to organize device verification
Create the following tables: - device_keys - needed for overall e2ee - one_time_keys - needed for overall e2ee, claimed by clients looking to start an e2ee room with other client - cross_signing_keys - needed for cross-signing devices to expand web of trust - key_backup_versions - needed to organize room key backups - key_backups - the actual backed up keys - to_device_messages - mini-events not part of the DAG that are used to organize device verification
Add some e2ee related tables to migration
Some checks failed
run bromal ci pipeline / build and run tests (push) Successful in 6m13s
run bromal ci pipeline / run linters (push) Successful in 7m37s
run bromal ci pipeline / generate sbom (push) Failing after 4m40s
f8341fd379
Signed-off-by: Serra Allgood <serra@allgood.dev>
Signed-off-by: Serra Allgood <serra@allgood.dev>
Complete schema migration changes
All checks were successful
run bromal ci pipeline / build and run tests (push) Successful in 5m44s
run bromal ci pipeline / generate sbom (push) Successful in 4m57s
run bromal ci pipeline / run linters (push) Successful in 6m57s
fa36eb897a
Signed-off-by: Serra Allgood <serra@allgood.dev>
serra 2026-09-15 01:32:56 +03:00
serra self-assigned this 2026-09-15 01:33:31 +03:00
serra force-pushed serra/e2ee from fa36eb897a
All checks were successful
run bromal ci pipeline / build and run tests (push) Successful in 5m44s
run bromal ci pipeline / generate sbom (push) Successful in 4m57s
run bromal ci pipeline / run linters (push) Successful in 6m57s
to d84d1f1a19
Some checks failed
run bromal ci pipeline / build and run tests (push) Successful in 6m54s
run bromal ci pipeline / run linters (push) Successful in 9m10s
run bromal ci pipeline / generate sbom (push) Failing after 5m45s
2026-09-15 12:49:10 +03:00
Compare
Correct column type and name for device_keys.public_key
Some checks failed
run bromal ci pipeline / run linters (push) Has been cancelled
run bromal ci pipeline / generate sbom (push) Has been cancelled
run bromal ci pipeline / build and run tests (push) Has been cancelled
4367bb5b68
Signed-off-by: Serra Allgood <serra@allgood.dev>
serra force-pushed serra/e2ee from 4367bb5b68
Some checks failed
run bromal ci pipeline / run linters (push) Has been cancelled
run bromal ci pipeline / generate sbom (push) Has been cancelled
run bromal ci pipeline / build and run tests (push) Has been cancelled
to 6f954b5465
All checks were successful
run bromal ci pipeline / build and run tests (push) Successful in 4m51s
run bromal ci pipeline / run linters (push) Successful in 5m47s
run bromal ci pipeline / generate sbom (push) Successful in 3m50s
2026-09-16 14:23:34 +03:00
Compare
[10] Update unique index on one_time_keys
All checks were successful
run bromal ci pipeline / build and run tests (push) Successful in 4m58s
run bromal ci pipeline / run linters (push) Successful in 5m39s
run bromal ci pipeline / generate sbom (push) Successful in 3m53s
1f09205ce7
#10

Signed-off-by: Serra Allgood <serra@allgood.dev>
igor approved these changes 2026-09-16 19:49:21 +03:00
serra merged commit 1f09205ce7 into feature/e2ee 2026-09-17 02:15:47 +03:00
Sign in to join this conversation.
No reviewers
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
main/bromal!33
No description provided.