Merge pull request #6321 from matrix-org/dbkr/clarify_abbreviations

Clarify the keys we use when submitting rageshakes
This commit is contained in:
David Baker 2021-07-07 11:06:39 +01:00 committed by GitHub
commit e1fb811088
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,15 +93,15 @@ async function collectBugReport(opts: IOpts = {}, gzipLogs = true) {
body.append("cross_signing_supported_by_hs",
String(await client.doesServerSupportUnstableFeature("org.matrix.e2e_cross_signing")));
body.append("cross_signing_key", crossSigning.getId());
body.append("cross_signing_pk_in_secret_storage",
body.append("cross_signing_privkey_in_secret_storage",
String(!!(await crossSigning.isStoredInSecretStorage(secretStorage))));
const pkCache = client.getCrossSigningCacheCallbacks();
body.append("cross_signing_master_pk_cached",
body.append("cross_signing_master_privkey_cached",
String(!!(pkCache && await pkCache.getCrossSigningKeyCache("master"))));
body.append("cross_signing_self_signing_pk_cached",
body.append("cross_signing_self_signing_privkey_cached",
String(!!(pkCache && await pkCache.getCrossSigningKeyCache("self_signing"))));
body.append("cross_signing_user_signing_pk_cached",
body.append("cross_signing_user_signing_privkey_cached",
String(!!(pkCache && await pkCache.getCrossSigningKeyCache("user_signing"))));
body.append("secret_storage_ready", String(await client.isSecretStorageReady()));