Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Element-R: Stub interface for secure key backup #3623

Closed
wants to merge 9 commits into from

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jul 26, 2023

Based on #3624

I realised that the BackupManager interface is only used within the js-sdk, so I have made it properly internal.

Closes https://github.com/vector-im/crypto-internal/issues/105


This change is marked as an internal change (Task), so will not be included in the changelog.

@richvdh richvdh added the T-Task Tasks for the team like planning label Jul 26, 2023
@richvdh richvdh force-pushed the rav/element-r/43_securebackup_interface branch from 8bd05b4 to 1c9ebcc Compare July 26, 2023 11:25
I need a way to mark devices as trusted for the backup tests.
The user and device IDs are in the test data, so no need to pass them in
Make it use the CryptoApi rather than legacy `MatrixClient.crypto`, and use a
pre-signed backup instead of requiring a "blindlySignAnything" method.
@richvdh richvdh force-pushed the rav/element-r/43_securebackup_interface branch from 1c9ebcc to 2f4c1a6 Compare July 26, 2023 15:29
@richvdh richvdh changed the base branch from develop to rav/element-r/44_set_device_verified July 26, 2023 15:29
@richvdh richvdh marked this pull request as ready for review July 26, 2023 16:20
@richvdh richvdh requested a review from a team as a code owner July 26, 2023 16:20
@richvdh richvdh requested review from t3chguy and florianduros and removed request for a team July 26, 2023 16:20
@richvdh richvdh marked this pull request as ready for review July 26, 2023 21:17
src/crypto-api.ts Outdated Show resolved Hide resolved
@richvdh
Copy link
Member Author

richvdh commented Jul 27, 2023

Ugh, I don't think I want to do this after all.

@richvdh richvdh marked this pull request as draft July 27, 2023 09:28
Base automatically changed from rav/element-r/44_set_device_verified to develop July 27, 2023 12:16
@richvdh richvdh closed this Jul 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
T-Task Tasks for the team like planning
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant