Peter Štibraný
7268d6c1bc
admin api: Fix reencryption of private_key in signing_key table, introduce test for reencryption ( #105010 )
...
* Add integration test for reencrypting secrets.
Rotate keys before reencryption.
Test for setting table from enterprise repo.
2025-05-15 09:51:25 +02:00
Mihai Doarna
82a5913dfa
SSO: Fix secrets migration for LDAP in SSO settings ( #94252 )
...
fix secrets migration for LDAP in SSO settings
2024-10-04 18:18:53 +03:00
Mihai Doarna
4bf9405ce4
SSO: add SSO settings to secrets migrator ( #86913 )
...
* add sso settings to secrets migrator
* unify SSO settings in all log lines
2024-04-25 18:30:23 +03:00
Joan López de la Franca Beltran
cc65b4d46a
Secrets: Make the Migrator extensible ( #67307 )
...
* [Chore] Remove setting provider from secret service
Co-authored-by: Tania B <yalyna.ts@gmail.com >
Co-authored-by: Joan López de la Franca Beltran <joanjan14@gmail.com >
* Add a ShouldBeRedacted func
Co-authored-by: Tania B <yalyna.ts@gmail.com >
Co-authored-by: Joan López de la Franca Beltran <joanjan14@gmail.com >
* Secrets: Make Migrator extensible
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
Co-authored-by: Tania B <yalyna.ts@gmail.com >
* Alerting: Fix tests after refactor
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
Co-authored-by: Tania B <yalyna.ts@gmail.com >
* Remove commented code no longer used
* Fix Wire bindings
Co-authored-by: Tania B <yalyna.ts@gmail.com >
* Add constructors to secrets
* Linting
* Undo undesired change
---------
Co-authored-by: gamab <gabi.mabs@gmail.com >
Co-authored-by: Tania B <yalyna.ts@gmail.com >
Co-authored-by: Gabriel MABILLE <gamab@users.noreply.github.com >
2023-06-19 23:44:01 +02:00
Kristin Laemmert
05709ce411
chore: remove sqlstore & mockstore dependencies from (most) packages ( #57087 )
...
* chore: add alias for InitTestDB and Session
Adds an alias for the sqlstore InitTestDB and Session, and updates tests using these to reduce dependencies on the sqlstore.Store.
* next pass of removing sqlstore imports
* last little bit
* remove mockstore where possible
2022-10-19 09:02:15 -04:00
Kristin Laemmert
c61b5e85b4
chore: replace sqlstore.Store with db.DB ( #57010 )
...
* chore: replace sqlstore.SQLStore with db.DB
* more post-sqlstore.SQLStore cleanup
2022-10-14 15:33:06 -04:00
Sofia Papagiannaki
8b77ee2734
SQLStore: Ensure that sessions are always closed ( #55864 )
...
* SQLStore: Ensure that sessions are always closed
Delete `NewSession()` in favour of `WithDbSession()`
* Add WithDbSessionForceNewSession to the interface
* Apply suggestions from code review
2022-09-29 15:55:47 +03:00
Joan López de la Franca Beltran
38bcd37fba
Encryption: Move secrets migrations into secrets.Migrator ( #51014 )
2022-07-04 12:17:21 +02:00