File tree Expand file tree Collapse file tree 2 files changed +8
-0
lines changed
Expand file tree Collapse file tree 2 files changed +8
-0
lines changed Original file line number Diff line number Diff line change 88//! to prevent key confusion attacks and ensure cryptographic isolation between different
99//! uses of the same master key.
1010
11+ // Zeroize derive macro generates code that triggers false positive unused_assignments
12+ // lint in Rust 1.92+ for #[zeroize(skip)] fields. The TenantKeys.tenant_id field IS read.
13+ #![ allow( unused_assignments) ]
14+
1115use hkdf:: Hkdf ;
1216use sha2:: Sha256 ;
1317use thiserror:: Error ;
Original file line number Diff line number Diff line change 55//! - Write only with new key (migration forward)
66//! - Key version bytes in ciphertext header track which key was used
77
8+ // Zeroize derive macro generates code that triggers false positive unused_assignments
9+ // lint in Rust 1.92+ for #[zeroize(skip)] fields. The KeyRotationState.rotation_active field IS read.
10+ #![ allow( unused_assignments) ]
11+
812use std:: convert:: TryInto ;
913use zeroize:: { Zeroize , ZeroizeOnDrop } ;
1014
You can’t perform that action at this time.
0 commit comments