fix for broken tests
This commit is contained in:
parent
1fbdc3ce8f
commit
63a790b415
|
@ -53,14 +53,9 @@ class Hooks {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
\OC_FileProxy::$enabled = false;
|
|
||||||
|
|
||||||
$encryptedKey = Keymanager::getPrivateKey( $view, $params['uid'] );
|
$encryptedKey = Keymanager::getPrivateKey( $view, $params['uid'] );
|
||||||
|
|
||||||
\OC_FileProxy::$enabled = true;
|
$privateKey = Crypt::symmetricDecryptFileContent( $encryptedKey, $params['password'] );
|
||||||
|
|
||||||
//$privateKey = Crypt::symmetricDecryptFileContent( $encryptedKey, $params['password'] );
|
|
||||||
$privateKey = Crypt::symmetricDecryptFileContent( $encryptedKey, "helloworld" );
|
|
||||||
|
|
||||||
$session = new Session( $view );
|
$session = new Session( $view );
|
||||||
|
|
||||||
|
@ -87,12 +82,8 @@ class Hooks {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
\OC_FileProxy::$enabled = false;
|
|
||||||
|
|
||||||
$publicKey = Keymanager::getPublicKey( $view, $params['uid'] );
|
$publicKey = Keymanager::getPublicKey( $view, $params['uid'] );
|
||||||
|
|
||||||
\OC_FileProxy::$enabled = false;
|
|
||||||
|
|
||||||
// Encrypt existing user files:
|
// Encrypt existing user files:
|
||||||
// This serves to upgrade old versions of the encryption
|
// This serves to upgrade old versions of the encryption
|
||||||
// app (see appinfo/spec.txt)
|
// app (see appinfo/spec.txt)
|
||||||
|
|
Loading…
Reference in New Issue