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

client: add key backup functions #154

Merged
merged 14 commits into from
Jan 18, 2024
Merged

client: add key backup functions #154

merged 14 commits into from
Jan 18, 2024

Conversation

sumnerevans
Copy link
Member

Signed-off-by: Sumner Evans sumner@beeper.com

Signed-off-by: Sumner Evans <sumner@beeper.com>
Signed-off-by: Sumner Evans <sumner@beeper.com>
… add helper method

Signed-off-by: Sumner Evans <sumner@beeper.com>
… backup algorithm

Signed-off-by: Sumner Evans <sumner@beeper.com>
Signed-off-by: Sumner Evans <sumner@beeper.com>
Signed-off-by: Sumner Evans <sumner@beeper.com>
Signed-off-by: Sumner Evans <sumner@beeper.com>
@sumnerevans sumnerevans force-pushed the sumner/be-21873 branch 4 times, most recently from 9c0136a to 19f1adb Compare January 17, 2024 21:22
@sumnerevans sumnerevans marked this pull request as ready for review January 17, 2024 21:22
crypto/backup/encryptedsessiondata.go Outdated Show resolved Hide resolved
crypto/keybackup.go Show resolved Hide resolved
…thods

Signed-off-by: Sumner Evans <sumner@beeper.com>
sumnerevans and others added 6 commits January 18, 2024 09:17
Also update the Client to specify the types

Signed-off-by: Sumner Evans <sumner@beeper.com>
Signed-off-by: Sumner Evans <sumner@beeper.com>
Signed-off-by: Sumner Evans <sumner@beeper.com>
This also removes all dependence on libolm for the functions that were
provided by the Utility struct.

The crypto/signatures package should be used for all signature
verification operations, and for the occasional situation where a
base64-encoded SHA-256 hash is required, the olm.SHA256B64 function
should be used.

Signed-off-by: Sumner Evans <sumner@beeper.com>
Signed-off-by: Sumner Evans <sumner@beeper.com>
also log the number of imported sessions for fun

Signed-off-by: Sumner Evans <sumner@beeper.com>
@sumnerevans sumnerevans merged commit 4ef20ba into master Jan 18, 2024
6 checks passed
@sumnerevans sumnerevans deleted the sumner/be-21873 branch January 18, 2024 16:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants