Commit Graph

645 Commits (fd86d76f98f58ef232de58cc55401d85de262d0a)

Author SHA1 Message Date
Bjoern Schiessle fd86d76f98 new folder structure for keys 12 years ago
Bjoern Schiessle 4643a5d238 replace \OC:: with \OC::->getSession() 12 years ago
Bjoern Schiessle 917bef39b7 don't store private public-share-key in session 12 years ago
Bjoern Schiessle f274833403 remove unused variable 12 years ago
Vincent Petry 391ece46e3 Fix file upload to ext storage when recovery key is enabled 12 years ago
Bjoern Schiessle f6efbfcf0b listen to the post_passwordReset hook, backup the old keys and create a new key pair for the user 12 years ago
Joas Schilling b228226700 Fix single run of encryption tests and usages of uniqid() and fopen() 12 years ago
Bjoern Schiessle 2af7256267 only set the values we need and make sure that we write the file info for both 12 years ago
Bjoern Schiessle 3d19bb2e51 also try to get file info from part file 12 years ago
Bjoern Schiessle a10ae2816e clean up encryption exceptions 12 years ago
Bjoern Schiessle c2a45c1238 throw exception if private key is missing 12 years ago
Bjoern Schiessle 0580c232d7 still try to encrypt files, even if the session is not initialized. The stream wrapper will throw an error which is better than silently continue. 12 years ago
jknockaert 4faee4011d initialisation of cipher 12 years ago
Lukas Reschke b3a04840b5 Add type hinting to functions 12 years ago
Lukas Reschke 2d2a4741ce Make files non executable 12 years ago
jknockaert da44150a15 small fix 12 years ago
jknockaert d277ef6ac2 bugfixes 12 years ago
Jörn Friedrich Dreyer cb3a4d22b1 make tests compatible with hook based skeleton generation 12 years ago
jknockaert 1b7e9d66b3 ok; still some bugs that had to be fixed 12 years ago
jknockaert 3be57d0169 small fix 12 years ago
jknockaert e318858152 rework getFileSize 12 years ago
Thomas Müller d37eee09a5 fixing usage of EncryptionException 12 years ago
Bjoern Schiessle 9147219377 we also encrypt/decrypt files in the versions folder for previews and if encryption is enabled/disabled 12 years ago
Vincent Petry 1e631754d7 Fix share key finding algorithm in various cases 12 years ago
Volkan Gezer 01808c8c84 fix typo 12 years ago
Bjoern Schiessle a280859bf8 make sure that we really catch the files folder only 12 years ago
Bjoern Schiessle 2ee14c4734 create backup from all keys before recovery 12 years ago
Vincent Petry da9f9ae9b3 Remove passing by reference to allow for proper GC 12 years ago
Jörn Friedrich Dreyer f551917a3c kill OC::$session 12 years ago
Bjoern Schiessle da1feafc78 fix detection of system wide mount points 12 years ago
Bjoern Schiessle 0b3ddbed68 add logout hook to remove keys from session 12 years ago
Bjoern Schiessle c738f71657 make the versions and encryption app aware of the copy operation 12 years ago
Bjoern Schiessle de9d3797ff update existing unit tests 12 years ago
Bjoern Schiessle 4bbdcfbccf support aes 256 12 years ago
Bjoern Schiessle 8105f2ac8a introduce some encryption exceptions and catch additional error cases 12 years ago
Thomas Müller 064ac77e44 Kill legacy encryption migration 12 years ago
Bjoern Schiessle ddac446c5b always take unencrypted size 12 years ago
Bjoern Schiessle 673b0f5eb9 add owner as parameter for delShareKey 12 years ago
Bjoern Schiessle 618c9fd033 improved error message 12 years ago
Bjoern Schiessle e4c45b5e26 check if file exists before deleting keys, and add debug output for every 12 years ago
Bjoern Schiessle 706a8ace58 normalize path before comparison to make sure that we always find the mount point 12 years ago
Bjoern Schiessle 3d0805f27d always use a \OC\Files\View 12 years ago
Bjoern Schiessle 709691548d always use oc filesystem for rename operation 12 years ago
Bjoern Schiessle 9c45a3196b add unit tests 12 years ago
Bjoern Schiessle 6b85fe819c always use '/' as directory seperator 12 years ago
Bjoern Schiessle e20bb71a42 remove unused code 12 years ago
Robin Appelman 790d51ea1e Fix checking for external share in encryption 12 years ago
Bjoern Schiessle 277f25222a if file doesn't exist, check parent folder 12 years ago
Bjoern Schiessle c580aeb455 exclude mounted server-to-server shares from encryption 12 years ago
Bjoern Schiessle 961317d911 make sure to enable incognito mode when mounting a public link and update init status of the encryption app 12 years ago