Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

Format recovery key nonce cloning

Prateek Sunal0be1eb26cf25
diff --git a/rust/core/src/auth/key_gen.rs b/rust/core/src/auth/key_gen.rs
index 1a411ae2bd..ebe214530e 100644
--- a/rust/core/src/auth/key_gen.rs
+++ b/rust/core/src/auth/key_gen.rs
@@ -142,9 +142,7 @@ pub fn generate_key_attributes_for_new_password_with_strength(
recovery_key_encrypted_with_master_key: existing_attributes
.recovery_key_encrypted_with_master_key
.clone(),
- recovery_key_decryption_nonce: existing_attributes
- .recovery_key_decryption_nonce
- .clone(),
+ recovery_key_decryption_nonce: existing_attributes.recovery_key_decryption_nonce.clone(),
};
Ok((key_attributes, login_key))