aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_encryption/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* replace \OC:: with \OC::->getSession()Bjoern Schiessle2014-11-251-2/+2
|
* don't store private public-share-key in sessionBjoern Schiessle2014-11-251-17/+10
|
* remove unused variableBjoern Schiessle2014-11-251-1/+0
|
* Fix file upload to ext storage when recovery key is enabledVincent Petry2014-11-201-9/+21
| | | | | | | | Fixes an issue when uploading files to external storage when recovery keys are enabled The Util class only works with real users, so instantiating it with the virtual recovery key user or public key user can cause issues.
* listen to the post_passwordReset hook, backup the old keys and create a new ↵Bjoern Schiessle2014-11-172-0/+13
| | | | key pair for the user
* Merge pull request #12218 from owncloud/issue/10991-fixesMorris Jobke2014-11-171-0/+1
|\ | | | | Issue/10991 Make unit tests pass on windows
| * Fix single run of encryption tests and usages of uniqid() and fopen()Joas Schilling2014-11-171-0/+1
| |
* | Merge pull request #12027 from owncloud/cleanup_exceptionsVincent Petry2014-11-104-90/+34
|\ \ | | | | | | [encryption] clean up encryption exceptions
| * | clean up encryption exceptionsBjoern Schiessle2014-11-074-90/+34
| | |
* | | only set the values we need and make sure that we write the file info for bothBjoern Schiessle2014-11-071-3/+7
| | | | | | | | | | | | | | | the real file and the part file, because some information from the part file might be needed later
* | | also try to get file info from part fileBjoern Schiessle2014-11-071-2/+2
|/ /
* | throw exception if private key is missingBjoern Schiessle2014-11-052-0/+13
| |
* | still try to encrypt files, even if the session is not initialized. The ↵Bjoern Schiessle2014-11-041-2/+1
|/ | | | stream wrapper will throw an error which is better than silently continue.
* Merge pull request #11659 from jknockaert/masterVincent Petry2014-10-301-38/+54
|\ | | | | rework getFileSize
| * initialisation of cipherjknockaert2014-10-281-1/+1
| |
| * small fixjknockaert2014-10-201-0/+1
| |
| * bugfixesjknockaert2014-10-201-5/+6
| |
| * ok; still some bugs that had to be fixedjknockaert2014-10-201-39/+35
| |
| * small fixjknockaert2014-10-191-1/+2
| |
| * rework getFileSizejknockaert2014-10-191-28/+45
| |
* | Add type hinting to functionsLukas Reschke2014-10-241-4/+6
| | | | | | | | It's only reasonable to have proper type hinting here which might even help us to catch bugs.
* | Make files non executableLukas Reschke2014-10-243-0/+0
| | | | | | | | There is not much sense in having these files marked executable, we should avoid that.
* | make tests compatible with hook based skeleton generationJörn Friedrich Dreyer2014-10-201-1/+1
|/
* fixing usage of EncryptionExceptionThomas Müller2014-10-171-3/+4
|
* we also encrypt/decrypt files in the versions folder for previews and if ↵Bjoern Schiessle2014-10-061-3/+8
| | | | encryption is enabled/disabled
* Merge pull request #11137 from owncloud/enc-pregfixVincent Petry2014-09-232-37/+63
|\ | | | | Fix share key pattern matching
| * Fix share key finding algorithm in various casesVincent Petry2014-09-232-37/+63
| | | | | | | | | | | | | | | | | | | | | | Instead of inaccurate pattern matching, use the list of users who we know have access to the file to build the list of share keys. This covers the following cases: - Move/copy files into a subfolder within a share - Unsharing from a user - Deleting files directlry / moving share keys to trashbin
* | fix typoVolkan Gezer2014-09-191-1/+1
| |
* | make sure that we really catch the files folder onlyBjoern Schiessle2014-09-191-1/+1
| |
* | create backup from all keys before recoveryBjoern Schiessle2014-09-191-0/+16
|/
* Remove passing by reference to allow for proper GCVincent Petry2014-09-121-1/+1
| | | | | | | | | | | The garbage collector in PHP 5.3.10 does not properly release the file handle when calling fclose() due to the fact that it is passed by reference. This has the side-effect of preventing file locks to be released as well when the files_locking app is enabled. This fix removes the useless passing by reference and now the file handle and file lock are freed properly.
* kill OC::$sessionJörn Friedrich Dreyer2014-08-291-11/+11
| | | | | | | | | | | | maintain deprecated \OC::$session when getting or setting the session via the server container or UserSession restore order os OC::$session and OC::$CLI remove unneded initialization of dummy session write back session when $useCustomSession is true log warning when deprecated app is used
* Merge pull request #9754 from owncloud/enc_support_aes_256Vincent Petry2014-08-137-60/+304
|\ | | | | [encryption] support aes 256
| * update existing unit testsBjoern Schiessle2014-07-231-1/+1
| |
| * support aes 256Bjoern Schiessle2014-07-237-60/+304
| |
* | fix detection of system wide mount pointsBjoern Schiessle2014-08-121-8/+33
| |
* | add logout hook to remove keys from sessionBjoern Schiessle2014-08-072-0/+9
| |
* | make the versions and encryption app aware of the copy operationBjoern Schiessle2014-07-301-1/+3
|/
* introduce some encryption exceptions and catch additional error casesBjoern Schiessle2014-07-163-25/+69
|
* Kill legacy encryption migrationThomas Müller2014-07-084-187/+2
|
* Merge pull request #9453 from owncloud/enc_fix_wrong_file_sizeFrank Karlitschek2014-07-061-2/+2
|\ | | | | [encryption] always take unencrypted size
| * always take unencrypted sizeBjoern Schiessle2014-07-041-2/+2
| |
* | add owner as parameter for delShareKeyBjoern Schiessle2014-07-041-6/+7
|/
* Merge pull request #9240 from owncloud/enc_check_if_file_existsBjörn Schießle2014-06-301-19/+45
|\ | | | | [encryption] check if file still exists before removing encryption keys
| * improved error messageBjoern Schiessle2014-06-301-7/+8
| |
| * check if file exists before deleting keys, and add debug output for everyBjoern Schiessle2014-06-271-15/+40
| | | | | | | | delete operation
* | normalize path before comparison to make sure that we always find the mount ↵Bjoern Schiessle2014-06-271-1/+2
|/ | | | point
* always use a \OC\Files\ViewBjoern Schiessle2014-06-252-44/+25
|
* always use oc filesystem for rename operationBjoern Schiessle2014-06-251-0/+24
|
* add unit testsBjoern Schiessle2014-06-241-1/+1
|