2023-05-05 08:13:50 +00:00
|
|
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
|
|
|
2023-09-21 12:19:38 +00:00
|
|
|
exports[`<SecureBackupPanel /> handles error fetching backup 1`] = `
|
|
|
|
<div>
|
|
|
|
<div
|
|
|
|
class="mx_SettingsSubsection_text"
|
|
|
|
>
|
|
|
|
Back up your encryption keys with your account data in case you lose access to your sessions. Your keys will be secured with a unique Security Key.
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_SettingsSubsection_text"
|
|
|
|
>
|
|
|
|
Unable to load key backup status
|
|
|
|
</div>
|
|
|
|
<details>
|
2023-10-12 08:50:49 +00:00
|
|
|
<summary
|
|
|
|
class="mx_SecureBackupPanel_advanced"
|
|
|
|
>
|
2023-09-21 12:19:38 +00:00
|
|
|
Advanced
|
|
|
|
</summary>
|
|
|
|
<table
|
|
|
|
class="mx_SecureBackupPanel_statusList"
|
|
|
|
>
|
|
|
|
<tr>
|
|
|
|
<th
|
|
|
|
scope="row"
|
|
|
|
>
|
|
|
|
Backup key stored:
|
|
|
|
</th>
|
|
|
|
<td>
|
|
|
|
not stored
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th
|
|
|
|
scope="row"
|
|
|
|
>
|
|
|
|
Backup key cached:
|
|
|
|
</th>
|
|
|
|
<td>
|
|
|
|
not found locally
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th
|
|
|
|
scope="row"
|
|
|
|
>
|
|
|
|
Secret storage public key:
|
|
|
|
</th>
|
|
|
|
<td>
|
|
|
|
not found
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th
|
|
|
|
scope="row"
|
|
|
|
>
|
|
|
|
Secret storage:
|
|
|
|
</th>
|
|
|
|
<td>
|
|
|
|
not ready
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</details>
|
|
|
|
</div>
|
|
|
|
`;
|
|
|
|
|
2023-05-05 08:13:50 +00:00
|
|
|
exports[`<SecureBackupPanel /> suggests connecting session to key backup when backup exists 1`] = `
|
|
|
|
<div>
|
2023-05-18 22:32:10 +00:00
|
|
|
<div
|
|
|
|
class="mx_SettingsSubsection_text"
|
|
|
|
>
|
|
|
|
Back up your encryption keys with your account data in case you lose access to your sessions. Your keys will be secured with a unique Security Key.
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_SettingsSubsection_text"
|
|
|
|
>
|
|
|
|
<span>
|
|
|
|
This session is
|
2024-09-13 11:34:15 +00:00
|
|
|
<strong>
|
2023-05-18 22:32:10 +00:00
|
|
|
not backing up your keys
|
2024-09-13 11:34:15 +00:00
|
|
|
</strong>
|
2023-05-18 22:32:10 +00:00
|
|
|
, but you do have an existing backup you can restore from and add to going forward.
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
<div
|
|
|
|
class="mx_SettingsSubsection_text"
|
|
|
|
>
|
|
|
|
Connect this session to key backup before signing out to avoid losing any keys that may only be on this session.
|
|
|
|
</div>
|
|
|
|
<details>
|
2023-10-12 08:50:49 +00:00
|
|
|
<summary
|
|
|
|
class="mx_SecureBackupPanel_advanced"
|
|
|
|
>
|
2023-05-18 22:32:10 +00:00
|
|
|
Advanced
|
|
|
|
</summary>
|
|
|
|
<table
|
|
|
|
class="mx_SecureBackupPanel_statusList"
|
|
|
|
>
|
|
|
|
<tr>
|
|
|
|
<th
|
|
|
|
scope="row"
|
|
|
|
>
|
|
|
|
Backup key stored:
|
|
|
|
</th>
|
|
|
|
<td>
|
|
|
|
not stored
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th
|
|
|
|
scope="row"
|
|
|
|
>
|
|
|
|
Backup key cached:
|
|
|
|
</th>
|
|
|
|
<td>
|
|
|
|
not found locally
|
|
|
|
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th
|
|
|
|
scope="row"
|
|
|
|
>
|
|
|
|
Secret storage public key:
|
|
|
|
</th>
|
|
|
|
<td>
|
|
|
|
not found
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th
|
|
|
|
scope="row"
|
|
|
|
>
|
|
|
|
Secret storage:
|
|
|
|
</th>
|
|
|
|
<td>
|
|
|
|
not ready
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th
|
|
|
|
scope="row"
|
|
|
|
>
|
2023-09-22 10:57:11 +00:00
|
|
|
Latest backup version on server:
|
2023-05-18 22:32:10 +00:00
|
|
|
</th>
|
|
|
|
<td>
|
|
|
|
1
|
2023-09-22 10:57:11 +00:00
|
|
|
(
|
|
|
|
Algorithm:
|
|
|
|
|
|
|
|
<code>
|
|
|
|
test
|
|
|
|
</code>
|
|
|
|
)
|
2023-05-18 22:32:10 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<th
|
|
|
|
scope="row"
|
|
|
|
>
|
2023-09-22 10:57:11 +00:00
|
|
|
Active backup version:
|
2023-05-18 22:32:10 +00:00
|
|
|
</th>
|
|
|
|
<td>
|
2023-09-22 10:57:11 +00:00
|
|
|
None
|
2023-05-18 22:32:10 +00:00
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
|
|
|
|
<div />
|
|
|
|
</details>
|
|
|
|
<div
|
|
|
|
class="mx_SecureBackupPanel_buttonRow"
|
|
|
|
>
|
|
|
|
<div
|
2024-03-05 04:25:47 +00:00
|
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_primary_outline"
|
2023-05-18 22:32:10 +00:00
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
|
|
|
>
|
|
|
|
Connect this session to Key Backup
|
|
|
|
</div>
|
2023-05-05 08:13:50 +00:00
|
|
|
<div
|
2024-03-05 04:25:47 +00:00
|
|
|
class="mx_AccessibleButton mx_AccessibleButton_hasKind mx_AccessibleButton_kind_danger_outline"
|
2023-05-18 22:32:10 +00:00
|
|
|
role="button"
|
|
|
|
tabindex="0"
|
2023-05-05 08:13:50 +00:00
|
|
|
>
|
2023-05-18 22:32:10 +00:00
|
|
|
Delete Backup
|
2023-05-05 08:13:50 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
`;
|