Commit Graph

51 Commits (0fac2e3f3aaaeaddf431f7877ebddb6372a00a42)

Author SHA1 Message Date
Bjoern Schiessle 166e57cf61 return false if private key is not valid 10 years ago
Bjoern Schiessle 8c08dd0ac2 occ tool to encrypt all files 11 years ago
Joas Schilling e6eb74958f Remove unnecessary DB prefixes from existing query builder usages 11 years ago
Bjoern Schiessle 62bc0e5264 use password hash instead of the plain password to encrypt the private key 11 years ago
Bjoern Schiessle 2f4bebb045 only update database on the first run (first run = we have a version number from the old encryption app) 11 years ago
Joas Schilling f77e5f411d Fix existing usages by removing the quotes 11 years ago
Joas Schilling de348180ae Use the public interface and our method instead of the doctrine thing 11 years ago
Bjoern Schiessle 570dd17d4f fix mount point detection 11 years ago
Bjoern Schiessle 4dba920fdd unit tests 11 years ago
Bjoern Schiessle 3000f0125f don't move keys if the key where already moved in a previous migration run 11 years ago
Bjoern Schiessle 1e284b15ff only create new key pair if both keys are missing 11 years ago
Bjoern Schiessle 876d7c160d more secure way to update the database 11 years ago
Morris Jobke f63915d0c8 update license headers and authors 11 years ago
Joas Schilling d3e3a84cae Move the helpful method to the TestCase class 11 years ago
Joas Schilling 30d165ebf2 Add missing import for the exception 11 years ago
Joas Schilling 4444db61b7 Add a unit test for the decrypt method 11 years ago
Bjoern Schiessle 7676166254 add l10n to constructor 11 years ago
Bjoern Schiessle 7d492fefae also encrypt files in trash bin 11 years ago
Bjoern Schiessle 887be709f5 a new approach to display the error message 11 years ago
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 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
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 d1fa3c6b32 add unit test for crypt.php 11 years ago
Thomas Müller a4483243ac fixing license headers - encryption code related 11 years ago
Clark Tomlinson d637bffac6 adding user setup test and adding 4 tests to keymanager 11 years ago
Clark Tomlinson 28c8017928 adding recoverFileTest 11 years ago
Clark Tomlinson c7c3caedf5 adding recovery tests 11 years ago
Bjoern Schiessle a7e7151364 remove unused code 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
Clark Tomlinson e507dc11a0 adding util test and reducing keymanager instances to one in test 11 years ago
Clark Tomlinson 1fb29ec546 adding hook manager test 11 years ago
Bjoern Schiessle c9ca068427 keyManagerTest: remove code which is no longer needed 11 years ago
Bjoern Schiessle 4efbcb0280 cleanup keymanager test and add some additional tests 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
Clark Tomlinson e6dc6944c2 moving methods to their final places 11 years ago
Clark Tomlinson d15c2e52b0 cleanup and removing cachefactory 11 years ago
Thomas Müller 7ffd77fac9 enable encryption unit test execution 11 years ago
Clark Tomlinson 0c2f9ca849 Updating keystorage movement and fixing hooks 11 years ago
Clark Tomlinson 39733c8da1 Initial commit 11 years ago