diff --git a/src/storage/nssdb/mod.rs b/src/storage/nssdb/mod.rs index a356774..a147728 100644 --- a/src/storage/nssdb/mod.rs +++ b/src/storage/nssdb/mod.rs @@ -149,7 +149,7 @@ impl NSSStorage { &mut info.manufacturer, ); if self.config.password_required { - info.flags = CKF_LOGIN_REQUIRED; + info.flags |= CKF_LOGIN_REQUIRED; } Ok(info) }