grafana/pkg/services/sqlstore
Jo 44fa0697ce
Auth: Signing Key persistence (#75487)
* signing key wip

use db keyset storage

add signing_key table

add testing for key storage

add ES256 key tests

Remove caching and implement UpdateOrCreate

Stabilize interfaces

* Encrypt private keys

* Fixup signer

* Fixup ext_jwt

* Add GetOrCreatePrivate with automatic key rotation

* use GetOrCreate for ext_jwt

* use GetOrCreate in id

* catch invalid block type

* fix broken test

* remove key generator

* reduce public interface of signing service
2023-10-04 10:37:27 +02:00
..
migrations Auth: Signing Key persistence (#75487) 2023-10-04 10:37:27 +02:00
migrator Instrumentation: Improve instrumentation for database migrations (#74659) 2023-09-11 14:10:21 +03:00
permissions Auth: Implement requester interface in access control module (#74289) 2023-09-06 11:16:10 +02:00
searchstore User: Support sort query param for user and org user, search endpoints (#75229) 2023-09-28 10:16:18 +02:00
session Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
sqlutil Chore: remove xorm from preference (#53803) 2022-08-17 22:07:20 -04:00
bulk_test.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
bulk.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
database_wrapper.go Tracing: Standardize on otel tracing (#75528) 2023-10-03 14:54:20 +02:00
logger.go Chore: use any rather than interface{} (#74066) 2023-08-30 18:46:47 +03:00
session_test.go SQLStore: Fix SQLite error propagation if query retries are disabled (#64904) 2023-03-17 12:57:13 +02:00
session.go Tracing: Standardize on otel tracing (#75528) 2023-10-03 14:54:20 +02:00
sqlstore_metrics_test.go Metrics: Fixed grafana_database_conn_* metrics, and added new go_sql_stats_* metrics as eventual replacement (#54405) 2022-08-31 08:54:32 -04:00
sqlstore_metrics.go Metrics: Fixed grafana_database_conn_* metrics, and added new go_sql_stats_* metrics as eventual replacement (#54405) 2022-08-31 08:54:32 -04:00
sqlstore_test.go SQLStore: Fix regression in PostgreSQL connection string (#71368) 2023-07-11 16:47:35 +03:00
sqlstore.go SQLStore: Fix race condition in RecursiveQueriesAreSupported (#75274) 2023-09-22 11:30:14 +01:00
tls_mysql.go Handle ioutil deprecations (#53526) 2022-08-10 15:37:51 +02:00
transactions_test.go SQLStore: Add test for nested transactions events (#60500) 2023-01-23 14:17:56 +01:00
transactions.go SQLStore: Add test for nested transactions events (#60500) 2023-01-23 14:17:56 +01:00
user_test.go Bug(sqlstore): fix issue with postgres unable to find existing main organization (#73789) 2023-08-30 11:45:20 -04:00
user.go Bug(sqlstore): fix issue with postgres unable to find existing main organization (#73789) 2023-08-30 11:45:20 -04:00