Skip to content

Commit 94020b6

Browse files
committed
fixup! Expose the support to import and export a secrets bundle
1 parent 4be534b commit 94020b6

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

src/store.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ impl RoomKeyInfo {
174174
}
175175
}
176176

177-
/// Struct containing the bundle of secrets to fully activate a new devices for
177+
/// Struct containing the bundle of secrets to fully activate a new device for
178178
/// end-to-end encryption.
179179
#[derive(Debug)]
180180
#[wasm_bindgen]
@@ -186,7 +186,7 @@ pub struct SecretsBundle {
186186
#[derive(Debug)]
187187
#[wasm_bindgen(getter_with_clone)]
188188
pub struct BackupSecretsBundle {
189-
/// The backup decryption key.
189+
/// The backup decryption key, encoded as unpadded base64.
190190
pub key: String,
191191
/// The backup version which this backup decryption key is used with.
192192
pub backup_version: String,

src/vodozemac/ecies.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,9 @@ pub struct Ecies {
4141
impl Ecies {
4242
/// Create a new, random, unestablished ECIES session.
4343
///
44-
/// This method will use the `MATRIX_QR_CODE_LOGIN` info.
44+
/// This method will use the
45+
/// [`MATRIX_QR_CODE_LOGIN`](https://github.com/matrix-org/matrix-spec-proposals/pull/4108)
46+
/// info for domain separation when creating the session.
4547
#[wasm_bindgen(constructor)]
4648
pub fn new() -> Self {
4749
let inner = ecies::Ecies::new();

0 commit comments

Comments
 (0)