Marino Faggiana 7 年之前
父節點
當前提交
5ff6994b24
共有 1 個文件被更改,包括 0 次插入2 次删除
  1. 0 2
      iOSClient/Security/NCEntoToEndInterface.swift

+ 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)