Skip to content

Commit

Permalink
Make fields public
Browse files Browse the repository at this point in the history
  • Loading branch information
Hinton committed Jan 15, 2024
1 parent 09e96bd commit 0596287
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions crates/bitwarden-crypto/src/keys/device_key.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@ pub struct DeviceKey(SymmetricCryptoKey);

#[derive(Debug)]

Check warning on line 13 in crates/bitwarden-crypto/src/keys/device_key.rs

View check run for this annotation

Codecov / codecov/patch

crates/bitwarden-crypto/src/keys/device_key.rs#L13

Added line #L13 was not covered by tests
pub struct CreateDeviceKey {
device_key: DeviceKey,
pub device_key: DeviceKey,
/// UserKey encrypted with DevicePublicKey
protected_user_key: AsymmEncString,
pub protected_user_key: AsymmEncString,
/// DevicePrivateKey encrypted with [DeviceKey]
protected_device_private_key: EncString,
pub protected_device_private_key: EncString,
/// DevicePublicKey encrypted with [UserKey](super::UserKey)
protected_device_public_key: EncString,
pub protected_device_public_key: EncString,
}

// We need to support the following scenarios:
Expand Down

0 comments on commit 0596287

Please sign in to comment.