1
0
mirror of https://github.com/matrix-org/matrix-authentication-service.git synced 2025-08-09 04:22:45 +03:00

Allow loading private keys from files

This commit is contained in:
Quentin Gliech
2022-01-26 18:29:11 +01:00
parent c7a243a3a1
commit 79d7561d93
2 changed files with 84 additions and 35 deletions

View File

@@ -253,6 +253,7 @@ impl ServerCommand {
let key_store = config
.oauth2
.key_store()
.await
.context("could not import keys from config")?;
// Wrap the key store in an Arc
let key_store = Arc::new(key_store);