summaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/hooks
diff options
context:
space:
mode:
authorFlorin Peter <github@florin-peter.de>2013-05-23 23:56:31 +0200
committerFlorin Peter <github@florin-peter.de>2013-05-23 23:56:31 +0200
commit6c8de5ae6d11886d498e810808484a2bdfeaef12 (patch)
tree7d9b7ffca8faa83e1d3c599f10f1a64f71660eda /apps/files_encryption/hooks
parentadc930d9f934fab352f4b21d8aa3710ff9db239b (diff)
downloadnextcloud-server-6c8de5ae6d11886d498e810808484a2bdfeaef12.tar.gz
nextcloud-server-6c8de5ae6d11886d498e810808484a2bdfeaef12.zip
fixes after review from @DeepDiver1975
Diffstat (limited to 'apps/files_encryption/hooks')
-rw-r--r--apps/files_encryption/hooks/hooks.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/hooks/hooks.php b/apps/files_encryption/hooks/hooks.php
index 53afefc721b..2066300a163 100644
--- a/apps/files_encryption/hooks/hooks.php
+++ b/apps/files_encryption/hooks/hooks.php
@@ -189,7 +189,7 @@ class Hooks {
// Save public key
$view->file_put_contents( '/public-keys/'.$user.'.public.key', $keypair['publicKey'] );
- // Encrypt private key empthy passphrase
+ // Encrypt private key empty passphrase
$encryptedPrivateKey = Crypt::symmetricEncryptFileContent( $keypair['privateKey'], $newUserPassword );
// Save private key