diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-11-20 11:02:22 +0100 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-11-20 11:02:22 +0100 |
commit | 0c24c7c4203071542d1f1acc447bb6c6b18148db (patch) | |
tree | 14ddd6b250c938dba8d68a0697f957e308338c15 /apps/files_encryption/lib/stream.php | |
parent | 8bc339413ba2221fea9447f91ae093f3f1cf2ab4 (diff) | |
download | nextcloud-server-0c24c7c4203071542d1f1acc447bb6c6b18148db.tar.gz nextcloud-server-0c24c7c4203071542d1f1acc447bb6c6b18148db.zip |
only check if the key file exists to decide if it is an encrypted file or not.
This solves problems with external storage which doesn't support fseek
Diffstat (limited to 'apps/files_encryption/lib/stream.php')
-rw-r--r-- | apps/files_encryption/lib/stream.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_encryption/lib/stream.php b/apps/files_encryption/lib/stream.php index 1738955d1aa..206e3469023 100644 --- a/apps/files_encryption/lib/stream.php +++ b/apps/files_encryption/lib/stream.php @@ -250,7 +250,7 @@ class Stream { // Fetch and decrypt keyfile // Fetch existing keyfile - $this->encKeyfile = Keymanager::getFileKey($this->rootView, $this->userId, $this->relPath); + $this->encKeyfile = Keymanager::getFileKey($this->rootView, $this->relPath); // If a keyfile already exists if ($this->encKeyfile) { |