Backport support for fallback keys

This commit is contained in:
Neil Alexander 2024-12-15 10:40:55 +00:00
parent 23e097c3f0
commit b302ef01cb
No known key found for this signature in database
GPG key ID: A02A2019A2BB0944
13 changed files with 446 additions and 20 deletions

View file

@ -35,6 +35,7 @@ func DeviceOTKCounts(ctx context.Context, keyAPI api.SyncKeyAPI, userID, deviceI
return queryRes.Error
}
res.DeviceListsOTKCount = queryRes.Count.KeyCount
res.DeviceListsUnusedFallbackAlgorithms = queryRes.UnusedFallbackAlgorithms
return nil
}