use USK as we'll only have that around when using key sharing
This commit is contained in:
+2
-2
@@ -29,8 +29,8 @@ export async function enable4SIfNeeded() {
|
|||||||
if (!cli.isCryptoEnabled() || !SettingsStore.isFeatureEnabled("feature_cross_signing")) {
|
if (!cli.isCryptoEnabled() || !SettingsStore.isFeatureEnabled("feature_cross_signing")) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
const masterPK = cli.getCrossSigningId();
|
const usk = cli.getCrossSigningId("user_signing");
|
||||||
if (!masterPK) {
|
if (!usk) {
|
||||||
await accessSecretStorage();
|
await accessSecretStorage();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user