netbird/management/server/activity/sqlite
Bethuel Mmbaga 82739e2832
[management] fix legacy decrypting of empty values (#2595)
* allow legacy decrypting on empty values

* validate source size and padding limits

* added tests

---------

Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>
Co-authored-by: Maycon Santos <mlsmaycon@gmail.com>
2024-09-15 16:22:46 +02:00
..
crypt_test.go [management] fix legacy decrypting of empty values (#2595) 2024-09-15 16:22:46 +02:00
crypt.go [management] fix legacy decrypting of empty values (#2595) 2024-09-15 16:22:46 +02:00
migration_test.go [management] Add GCM encryption and migrate legacy encrypted events (#2569) 2024-09-11 20:09:57 +03:00
migration.go [management] Add GCM encryption and migrate legacy encrypted events (#2569) 2024-09-11 20:09:57 +03:00
sqlite_test.go Add context to throughout the project and update logging (#2209) 2024-07-03 11:33:02 +02:00
sqlite.go [management] Add GCM encryption and migrate legacy encrypted events (#2569) 2024-09-11 20:09:57 +03:00