Skip to content

Commit

Permalink
fixup! Expose the support to import and export a secrets bundle
Browse files Browse the repository at this point in the history
  • Loading branch information
poljar committed May 21, 2024
1 parent 4be534b commit 94020b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/store.rs
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ impl RoomKeyInfo {
}
}

/// Struct containing the bundle of secrets to fully activate a new devices for
/// Struct containing the bundle of secrets to fully activate a new device for
/// end-to-end encryption.
#[derive(Debug)]
#[wasm_bindgen]
Expand All @@ -186,7 +186,7 @@ pub struct SecretsBundle {
#[derive(Debug)]
#[wasm_bindgen(getter_with_clone)]
pub struct BackupSecretsBundle {
/// The backup decryption key.
/// The backup decryption key, encoded as unpadded base64.
pub key: String,
/// The backup version which this backup decryption key is used with.
pub backup_version: String,
Expand Down
4 changes: 3 additions & 1 deletion src/vodozemac/ecies.rs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ pub struct Ecies {
impl Ecies {
/// Create a new, random, unestablished ECIES session.
///
/// This method will use the `MATRIX_QR_CODE_LOGIN` info.
/// This method will use the
/// [`MATRIX_QR_CODE_LOGIN`](https://github.com/matrix-org/matrix-spec-proposals/pull/4108)
/// info for domain separation when creating the session.
#[wasm_bindgen(constructor)]
pub fn new() -> Self {
let inner = ecies::Ecies::new();
Expand Down

0 comments on commit 94020b6

Please sign in to comment.