Merge remote-tracking branch 'origin/master' into flub/send-backup

This commit is contained in:
dignifiedquire
2023-03-16 17:50:00 +01:00
43 changed files with 329 additions and 213 deletions

View File

@@ -654,7 +654,7 @@ async fn export_self_keys(context: &Context, dir: &Path) -> Result<()> {
.sql
.query_map(
"SELECT id, public_key, private_key, is_default FROM keypairs;",
paramsv![],
(),
|row| {
let id = row.get(0)?;
let public_key_blob: Vec<u8> = row.get(1)?;