Commit Graph

67 Commits (cdeb2052bb4feebc2566bf03a9316cd4e21040b3)

Author SHA1 Message Date
Joas Schilling 4a6808a0f4 Simplify the test 11 years ago
Bjoern Schiessle 4ef9df8750 skip user if we don't have a public key 11 years ago
Bjoern Schiessle 70a44621be check recovery setting for the right user 11 years ago
Bjoern Schiessle 29bcfb2fdb method shouldn't be static 11 years ago
Bjoern Schiessle d5cbb66b66 also create encryption keys for empty files 11 years ago
Bjoern Schiessle df428b76ac skip update of encryption keys if file is not encrypted 11 years ago
Bjoern Schiessle 27683f9442 fall back to the ownCloud default encryption module and aes128 if we read a encrypted file without a header 11 years ago
Thomas Müller fc4127dd62 add $encryptionModuleId to methods of Keys/IStorage 11 years ago
Thomas Müller c6e243928c move creation of shared key to the login handler - fixes #15705 11 years ago
Bjoern Schiessle 7d4b1b52d0 always create a new instance of the encryption module 11 years ago
Bjoern Schiessle e93f262eac display warning if password changed or if the keys are not initialized 11 years ago
Bjoern Schiessle 959665003b decrypt private key for public shares correctly 11 years ago
Bjoern Schiessle e3d77c4b01 add migration script from old encryption to new one 11 years ago
Bjoern Schiessle 389a101de6 make sure that encrypted private keys always have a header 11 years ago
Thomas Müller cbe30f740e remove calculateUnencryptedSize() - not needed 11 years ago
Thomas Müller f816acde27 fix reading of private key 11 years ago
Bjoern Schiessle d1fa3c6b32 add unit test for crypt.php 11 years ago
Lukas Reschke ec69f2838c Fix typos and some other adjustments 11 years ago
Lukas Reschke 4ca6419475 Fix PHPDoc 11 years ago
Bjoern Schiessle 4ce5669419 read cipher from key header and always write a key header if a new private key is stored 11 years ago
Bjoern Schiessle 215a9bcbc3 fix function call 11 years ago
Thomas Müller a4483243ac fixing license headers - encryption code related 11 years ago
Thomas Müller 111fbabfb4 PHPDoc cleanup - clean code \o/ 11 years ago
Bjoern Schiessle e8fa3a2370 fix versions download and previews 11 years ago
Thomas Müller 4c899238e9 fixing unit test execution 11 years ago
Bjoern Schiessle 2511c32e61 add more descriptive message to the exception, will be displayed to the user 11 years ago
Thomas Müller 664b2bb7af cleaning up exception mess 11 years ago
Thomas Müller feb9a6e216 Set human readable module ids 11 years ago
Thomas Müller 43c0af2580 Fix shouldEncrypt and don't throw exception id fileKey not present - can happen 11 years ago
Bjoern Schiessle a057108c0c make recovery key work 11 years ago
Thomas Müller cac83642f2 Finally fixing encryption with public share 11 years ago
Thomas Müller d203296e35 only encrypt files and files_versions 11 years ago
Thomas Müller 035646c0f6 fix exception handling 11 years ago
Bjoern Schiessle d90663704c fix hook registration 11 years ago
Clark Tomlinson 505e0eaf61 remove useless setup base class 11 years ago
Clark Tomlinson 1fb29ec546 adding hook manager test 11 years ago
Bjoern Schiessle 4efbcb0280 cleanup keymanager test and add some additional tests 11 years ago
Bjoern Schiessle dac94679c6 delete recovery keys on disable 11 years ago
Clark Tomlinson ea6b53042d fixing test helper and undoing fubar in class... 11 years ago
Clark Tomlinson 48e3864c77 💯% coverage for session class 11 years ago
Bjoern Schiessle 1358d07d35 let user enable recovery key 11 years ago
Bjoern Schiessle e4895bda01 add helper class accessible for encryption modules to ask for a list of users with access to a file, needed to apply the recovery key to all files 11 years ago
Bjoern Schiessle 4b4aeaa5b2 fix set recovery key and implement change password 11 years ago
Bjoern Schiessle 4843e5ce30 use password change logic to userhooks to avoid recursions 11 years ago
Bjoern Schiessle 0f28d538a0 add session class to handle all session operations 11 years ago
Clark Tomlinson e6dc6944c2 moving methods to their final places 11 years ago
Thomas Müller 1b42b492dc kill OC_FileProxy 💥 11 years ago
Thomas Müller dbdd754c3f Further cleanup of files_encryption 11 years ago
Bjoern Schiessle a85e2e0bfd make recovery settings work 11 years ago
Bjoern Schiessle 2331298380 fix parameter declaration and class initialisation 11 years ago