Commit Graph

452 Commits (034968c61243e8335a5e83c4395ec10a094fd764)

Author SHA1 Message Date
Bjoern Schiessle 39d710e737 block file access if share keys are missing 13 years ago
Bjoern Schiessle 909af2b62e don't cache if the encryption is enabled, this can lead to problems during unit testing 13 years ago
Bjoern Schiessle 38e5da05af only encrypt file to users with encryption keys 13 years ago
Bjoern Schiessle 62b8c36a40 check if encryption app is enabled before trying to calculate file size 13 years ago
Bjoern Schiessle 663009f895 fix check if app is enabled 13 years ago
Bjoern Schiessle 4d2dfa98c0 check if key exists before reading it 13 years ago
Bjoern Schiessle 0b98427536 fix check if app is enabled 13 years ago
Bjoern Schiessle 71bbb2ea8b check if key exists before reading it 13 years ago
Bjoern Schiessle 96c27ead92 check if encryption app is enabled 13 years ago
Bjoern Schiessle b2dde14dbc coding style fixes 13 years ago
Bjoern Schiessle 93f4dec798 fix part file handling and real size calculation, this should also solve #4581 13 years ago
Bjoern Schiessle f6830e7462 check shares for the real file and not for the .part file 13 years ago
Bjoern Schiessle 404e36323a first check if a extension exists before comparing it 13 years ago
Bjoern Schiessle 597a3cf1ad handle part files correctly 13 years ago
Bjoern Schiessle 1558cb860c remove test code 13 years ago
Bjoern Schiessle fb462e83cc no longer enforce log out, but provide useful errors/warnings instead 13 years ago
Arthur Schiwon c01675de5d more is_resource checks before readdir 13 years ago
Bjoern Schiessle 3d49631b8d make sure that initial encryption also starts for a fresh installation 13 years ago
ringmaster 39f4538e0f This function doesn't cache anymore. Adjusted PHPDoc to suit. 13 years ago
ringmaster df7bfa4bf0 Don't cache the pkey, skip generation if the keyfile exists 13 years ago
Owen Winkler 9a263a500a Employ config option for OpenSSL config file, if provided. 13 years ago
Owen Winkler fb34f49913 Start a branch for easier OpenSSL configuration. 13 years ago
Bjoern Schiessle 5e508f1ccb improved documentation of the methods 13 years ago
Bjoern Schiessle bab63c22ee encryption error messages, distinguish between a re-enabled encryption app and a password change from outside 13 years ago
Bjoern Schiessle d7dca966a2 improved error messaging, initial commit 13 years ago
Andreas Fischer 83afb46205 Use __DIR__ instead of dirname(__FILE__). 13 years ago
Andreas Fischer 9753e44ac2 Do not use realpath() on includes. 13 years ago
Bjoern Schiessle 1be11bb03d don't change the etags if a file gets encrypted/decrypted to avoid that the sync client downloads all files again 13 years ago
kondou 9e8a6b704d Add _many_ newlines at the end of files 13 years ago
Bjoern Schiessle 7adfc27caf remove whitespaces and some leftover code from testing 13 years ago
Bjoern Schiessle 7b1067c2a0 change decryptUnknownKeyfile() to decryptKeyfile(), we always use openssl_seal 13 years ago
Bjoern Schiessle 0bab8935c9 preserve mtime if file gets encrypted/decrypted 13 years ago
Bjoern Schiessle b982868c14 fix array declaration 13 years ago
Bjoern Schiessle 5ba8d38b7f remove old comments, TODos, etc. 13 years ago
Thomas Müller c458e785a1 fixing typos and PHPDoc 13 years ago
Bjoern Schiessle 512f98cac9 remove todo item 13 years ago
Bjoern Schiessle b39d2d1938 more error messages which might be useful for the user to debug his server config 13 years ago
Bjoern Schiessle 7aeb0068be also write error message to the log 13 years ago
Bjoern Schiessle cfbdad9cdb catch broken server config and disable encryption app. 13 years ago
Bjoern Schiessle 97e910e087 make methods private which are not used from outside 13 years ago
Bjoern Schiessle 23e9721644 use OC\Files\View to read encrypted file, so that it also works with external storages 13 years ago
Bjoern Schiessle 2549322763 we need to use the path relative to data/ 13 years ago
Bjoern Schiessle a212c98125 handle error if we can't handle the given path 13 years ago
Bjoern Schiessle a6ced6b53f remove unused method, the right one is in util.php 13 years ago
Bjoern Schiessle 3640c99462 encrypt/decrypt file versions 13 years ago
Bjoern Schiessle ba18452eda only write keyfiles if it was a new file, otherwise nothing changed 13 years ago
Bjoern Schiessle 223d3c91d6 use path relative to data/ 13 years ago
Bjoern Schiessle a7a7ef2b3a improved error handling 13 years ago
Bjoern Schiessle b6fa0e4eef working decrypt files method 13 years ago
Björn Schießle e15e394fcc add ajax call to decrypt all files 13 years ago