v0.2.6-pre.017

This commit is contained in:
2026-08-22 09:39:13 +02:00
parent 5c0be421da
commit 362123f357
22 changed files with 896 additions and 109 deletions

View File

@@ -1,5 +1,5 @@
// file: crates/ksp-wallet-lib/src/password.rs
// version: 2
// version: 3
/// Owned VIEW password material.
///
@@ -65,6 +65,11 @@ impl OwnerPassword {
pub(crate) fn as_bytes(&self) -> &[u8] {
return self.value.as_bytes();
}
/// Creates one short-lived crate-internal duplicate for authenticated format migration while keeping the public type non-`Clone`.
pub(crate) fn duplicate_for_internal_use(&self) -> Self {
return Self::new(self.value.clone());
}
}
impl std::fmt::Debug for OwnerPassword {