diff --git a/src/rageshake/submit-rageshake.ts b/src/rageshake/submit-rageshake.ts index 680dabe4cb..d15f3d9870 100644 --- a/src/rageshake/submit-rageshake.ts +++ b/src/rageshake/submit-rageshake.ts @@ -87,10 +87,9 @@ async function collectBugReport(opts: IOpts = {}, gzipLogs = true): Promise
{ if (!cryptoApi) { return {}; } - const keys = [`ed25519:${client.getDeviceEd25519Key()}`]; - if (client.getDeviceCurve25519Key) { - keys.push(`curve25519:${client.getDeviceCurve25519Key()}`); - } + + const ownDeviceKeys = await cryptoApi.getOwnDeviceKeys(); + + const keys = [`curve25519:${ownDeviceKeys.curve25519}`, `ed25519:${ownDeviceKeys.ed25519}`]; + const crossSigningStatus = await cryptoApi.getCrossSigningStatus(); const secretStorage = client.secretStorage; const sessionBackupKeyFromCache = await cryptoApi.getSessionBackupPrivateKey();