1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-21 12:05:42 +01:00
bitwarden-server/test/Infrastructure.EFIntegration.Test
Kyle Spearrin 6f04298e17
Data protection for user columns at rest (#2571)
* ServerProtectedData for user entity

* remove using statements

* formatting

* use data protection libs

* no async

* add data protection to ef user repo

* switch to `SetApplicationName` per ASPNET docs

* null checks

* cleanup

* value converter for EF

* new line at eof

* fix using

* remove folder ref

* restore ctor

* fix lint

* use global constant

* UseApplicationServiceProvider for integration tests

* implement constant for DatabaseFieldProtectedPrefix

* Fix EF IntegrationTest

* restore original values after protect and save

* lint fixes

* Use Constants

Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
2023-01-18 13:16:57 -05:00
..
AutoFixture [SG-167] Implement Passwordless Authentication via Notifications (#2276) 2022-09-26 13:21:13 -04:00
Helpers Data protection for user columns at rest (#2571) 2023-01-18 13:16:57 -05:00
Repositories [SM-394] Secrets Manager (#2164) 2023-01-13 15:02:53 +01:00
Infrastructure.EFIntegration.Test.csproj [SM-151] Move EF Dapper tests to Infrastructure.EFIntegration.Test (#2204) 2022-08-29 09:40:59 -04:00
packages.lock.json [SM-394] Secrets Manager (#2164) 2023-01-13 15:02:53 +01:00