File tree Expand file tree Collapse file tree
crates/bitwarden-organization-crypto Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,6 +41,7 @@ crates/bitwarden-crypto/** @bitwarden/team-key-management-dev
4141crates /bitwarden-exporters /** @ bitwarden/team-tools-dev @ bitwarden/team-platform-dev
4242crates /bitwarden-generators /** @ bitwarden/team-tools-dev @ bitwarden/team-platform-dev
4343crates /bitwarden-organization-crypto /** @ bitwarden/team-key-management-dev
44+ crates /bitwarden-organization-invite-link /** @ bitwarden/team-admin-console-dev
4445crates /bitwarden-organizations /** @ bitwarden/team-admin-console-dev
4546crates /bitwarden-policies /** @ bitwarden/team-admin-console-dev
4647crates /bitwarden-send /** @ bitwarden/team-tools-dev @ bitwarden/team-platform-dev
Original file line number Diff line number Diff line change @@ -29,8 +29,8 @@ fn main() {
2929 let key: & InviteKeyData = bundle. dangerous_get_raw_invite_key ( ) ;
3030
3131 // 3. The second part is `InviteKeyEnvelope`. This is the invite
32- // key sealed (a.k.a. sealed) by the org key. `InviteKeyEnvelope`
33- // automatically serializes to `base64` when using serde,
32+ // key sealed by the org key. `InviteKeyEnvelope` serializes to the
33+ // Bitwarden EncString text format (`"2.iv|data|mac"`) when using serde,
3434 // `String::from(&inviteKeyEnvelope)`, or wasm abi serialization.
3535 let organization_wrapped_invitation_key: & InviteKeyEnvelope =
3636 bundle. get_sealed_invite_key_envelope ( ) ;
Original file line number Diff line number Diff line change 11//! The wasm module holds serialization/encoding needed wasm bindings for
22//! any types related to InviteKeyEnvelope. This means base64url for the
3- //! InviteKeyData type, and base64 for the InviteKey type. In order to minimize
4- //! complexity, the actual B64/B64Url encoding/decoding are limited to the
5- //! `From<String>` and `FromStr` implementations. All other serialization
6- //! goes through String to simplify maintenance.
3+ //! InviteKeyData type, and Bitwarden EncString text format (`"2.iv|data|mac"`)
4+ //! for the InviteKeyEnvelope type. In order to minimize complexity, the actual
5+ //! encoding/decoding is limited to the `From<String>` and `FromStr`
6+ //! implementations. All other serialization goes through String to simplify
7+ //! maintenance.
78use std:: str:: FromStr ;
89
910use wasm_bindgen:: convert:: { FromWasmAbi , IntoWasmAbi , OptionFromWasmAbi } ;
You can’t perform that action at this time.
0 commit comments