Skip to content

Commit ffd3197

Browse files
committed
update codeowners and docs
1 parent 2efd393 commit ffd3197

3 files changed

Lines changed: 8 additions & 6 deletions

File tree

.github/CODEOWNERS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ crates/bitwarden-crypto/** @bitwarden/team-key-management-dev
4141
crates/bitwarden-exporters/** @bitwarden/team-tools-dev @bitwarden/team-platform-dev
4242
crates/bitwarden-generators/** @bitwarden/team-tools-dev @bitwarden/team-platform-dev
4343
crates/bitwarden-organization-crypto/** @bitwarden/team-key-management-dev
44+
crates/bitwarden-organization-invite-link/** @bitwarden/team-admin-console-dev
4445
crates/bitwarden-organizations/** @bitwarden/team-admin-console-dev
4546
crates/bitwarden-policies/** @bitwarden/team-admin-console-dev
4647
crates/bitwarden-send/** @bitwarden/team-tools-dev @bitwarden/team-platform-dev

crates/bitwarden-organization-crypto/examples/make_invite_key_bundle.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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();

crates/bitwarden-organization-crypto/src/wasm.rs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
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.
78
use std::str::FromStr;
89

910
use wasm_bindgen::convert::{FromWasmAbi, IntoWasmAbi, OptionFromWasmAbi};

0 commit comments

Comments
 (0)