|
@@ -161,6 +161,8 @@ class NCEntoToEndInterface : NSObject, OCNetworkingDelegate {
|
|
|
|
|
|
let ok = UIAlertAction(title: "OK", style: .default, handler: { (action) -> Void in
|
|
|
|
|
|
+ DispatchQueue.main.async(execute: {
|
|
|
+
|
|
|
let passphrase = passphraseTextField?.text
|
|
|
|
|
|
guard let privateKey = (NCEndToEndEncryption.sharedManager().decryptPrivateKey(metadataNet.key, passphrase: passphrase)) else {
|
|
@@ -210,6 +212,7 @@ class NCEntoToEndInterface : NSObject, OCNetworkingDelegate {
|
|
|
self.getPublicKeyServer()
|
|
|
|
|
|
NCManageDatabase.sharedInstance.addActivityClient("", fileID: "", action: k_activityDebugActionEndToEndEncryption, selector: actionGetEndToEndPrivateKeyCipher, note: "E2E PrivateKey present on Server and stored to keychain", type: k_activityTypeSuccess, verbose: false, activeUrl: "")
|
|
|
+ })
|
|
|
})
|
|
|
|
|
|
let cancel = UIAlertAction(title: "Cancel", style: .cancel) { (action) -> Void in
|