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