netbird/management/server/activity
Bethuel Mmbaga cf6210a6f4
[management] Add GCM encryption and migrate legacy encrypted events (#2569)
* Add AES-GCM encryption

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

* migrate legacy encrypted data to AES-GCM encryption

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

* Refactor and use transaction when migrating data

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

* Add events migration tests

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

* fix lint

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

* skip migrating record on error

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

* Preallocate capacity for nonce to avoid allocations in Seal

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>

---------

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>
2024-09-11 20:09:57 +03:00
..
sqlite [management] Add GCM encryption and migrate legacy encrypted events (#2569) 2024-09-11 20:09:57 +03:00
codes.go Use fixed activity codes (#1846) 2024-04-15 14:15:46 +02:00
event.go Enable review linter with exported docs check (#1647) 2024-02-29 16:05:31 +01:00
store.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00