[fractal] session: Don't require master cross-signing key



commit fabbf516feac89a0231fd1cae96f87c32a761dd6
Author: Julian Sparber <julian sparber net>
Date:   Mon Apr 4 12:04:16 2022 +0200

    session: Don't require master cross-signing key

 src/session/mod.rs | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
---
diff --git a/src/session/mod.rs b/src/session/mod.rs
index e8a2a70ca..108884960 100644
--- a/src/session/mod.rs
+++ b/src/session/mod.rs
@@ -838,9 +838,7 @@ impl Session {
         spawn_tokio!(async move {
             if let Some(cross_signing_status) = encryption.cross_signing_status().await {
                 debug!("Cross signing keys status: {:?}", cross_signing_status);
-                cross_signing_status.has_master
-                    && cross_signing_status.has_self_signing
-                    && cross_signing_status.has_user_signing
+                cross_signing_status.has_self_signing && cross_signing_status.has_user_signing
             } else {
                 debug!("Session doesn't have needed cross signing keys");
                 false


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]