feat: end to end encryption
This commit is contained in:
parent
4fb79ebb4c
commit
7fc71b3968
7 changed files with 461 additions and 65 deletions
|
@ -166,7 +166,12 @@ pub fn get_server_keys(db: State<'_, Database>) -> Json<String> {
|
|||
.body(),
|
||||
)
|
||||
.unwrap();
|
||||
ruma_signatures::sign_json(db.globals.server_name(), db.globals.keypair(), &mut response).unwrap();
|
||||
ruma_signatures::sign_json(
|
||||
db.globals.server_name(),
|
||||
db.globals.keypair(),
|
||||
&mut response,
|
||||
)
|
||||
.unwrap();
|
||||
Json(response.to_string())
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue