Skip to content

Commit 1953ba3

Browse files
committed
Apply fixes
1 parent 235f3bc commit 1953ba3

File tree

4 files changed

+3
-4
lines changed

4 files changed

+3
-4
lines changed

crates/bitwarden-core/src/key_management/crypto.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ pub fn make_user_signing_keys_for_enrollment(
617617
mod tests {
618618
use std::num::NonZeroU32;
619619

620-
use bitwarden_crypto::{Pkcs8PrivateKeyDerContentFormat, RsaKeyPair};
620+
use bitwarden_crypto::RsaKeyPair;
621621

622622
use super::*;
623623
use crate::Client;

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ impl TryFrom<String> for DeviceKey {
8989
#[cfg(test)]
9090
mod tests {
9191
use super::*;
92-
use crate::{derive_symmetric_key, BitwardenLegacyKeyBytes, BitwardenLegacyKeyContentFormat};
92+
use crate::{derive_symmetric_key, BitwardenLegacyKeyBytes};
9393

9494
#[test]
9595
fn test_trust_device() {

crates/bitwarden-crypto/src/signing/signature.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ impl CoseSerializable<CoseSign1ContentFormat> for Signature {
192192
#[cfg(test)]
193193
mod tests {
194194
use super::*;
195-
use crate::{content_format::Bytes, CoseKeyBytes, SignatureAlgorithm};
195+
use crate::{CoseKeyBytes, SignatureAlgorithm};
196196

197197
const VERIFYING_KEY: &[u8] = &[
198198
166, 1, 1, 2, 80, 55, 131, 40, 191, 230, 137, 76, 182, 184, 139, 94, 152, 45, 63, 13, 71,

crates/bitwarden-crypto/src/signing/signed_object.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,6 @@ mod tests {
172172
use serde::{Deserialize, Serialize};
173173

174174
use crate::{
175-
content_format::{Bytes, CoseSign1ContentFormat},
176175
CoseKeyBytes, CoseSerializable, CoseSign1Bytes, CryptoError, SignatureAlgorithm,
177176
SignedObject, SigningKey, SigningNamespace, VerifyingKey,
178177
};

0 commit comments

Comments
 (0)