marinofaggiana hace 4 años
padre
commit
57d7a4db97

+ 0 - 2
iOSClient/Nextcloud-Bridging-Header.h

@@ -23,5 +23,3 @@
 #import "NCRichDocumentTemplate.h"
 #import "HCFeatures.h"
 #import "NCComments.h"
-
-#import "NCNetworkingEndToEnd.h"

+ 2 - 2
iOSClient/Settings/NCEndToEndInitialize.swift

@@ -218,10 +218,10 @@ class NCEndToEndInitialize : NSObject  {
                         print(privateKeyChiper)
                         
                         NCCommunication.shared.storeE2EEPrivateKey(privateKey: privateKeyChiper) { (account, privateKey, errorCode, errorDescription) in
-                            
+                       
                             if (errorCode == 0 && account == self.appDelegate.activeAccount) {
                                 
-                                CCUtility.setEndToEndPrivateKey(account, privateKey: privateKey)
+                                CCUtility.setEndToEndPrivateKey(account, privateKey: privateKeyString! as String)
                                 CCUtility.setEndToEndPassphrase(account, passphrase: e2ePassphrase)
                                 
                                 // request publicKey Server()