Marino Faggiana 7 жил өмнө
parent
commit
5ff6994b24

+ 0 - 2
iOSClient/Security/NCEntoToEndInterface.swift

@@ -174,7 +174,6 @@ class NCEntoToEndInterface : NSObject, OCNetworkingDelegate  {
             
             // --------- verify privateKey encrypt/decrypt asymmetric key ---------
             
-            /*
             let publicKey = CCUtility.getEndToEndPublicKey(self.appDelegate.activeAccount)
             guard let encryptData = NCEndToEndEncryption.sharedManager().encryptAsymmetricString(self.ASYMMETRIC_STRING_TEST, publicKey: publicKey) else {
                 
@@ -202,7 +201,6 @@ class NCEntoToEndInterface : NSObject, OCNetworkingDelegate  {
                 
                 return
             }
-            */
             
             // Save to keychain
             CCUtility.setEndToEndPrivateKeyCipher(self.appDelegate.activeAccount, privateKeyCipher: metadataNet.key)