Commit Graph

96 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 10 years ago
Joas Schilling e6eb74958f Remove unnecessary DB prefixes from existing query builder usages 11 years ago
Bjoern Schiessle 854fd63ea9 use uid as additional information for salt 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 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 85c3b9d5cf only cleanUp the remaining keys if the migration really finished succesfully 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
Bjoern Schiessle ed3dc199ae remove files_encryption from database at the end of the migration process 11 years ago
Bjoern Schiessle d743d6d356 add hint to exception 11 years ago
Bjoern Schiessle 68db3059ee detect migration status 11 years ago
Bjoern Schiessle 5549641f1f improve error messages displayed to the user 11 years ago
Joas Schilling 30d165ebf2 Add missing import for the exception 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
Bjoern Schiessle ccbefb6e75 delete all file keys doesn't need the encryption module as parameter; implement rmdir; getFileKeyDir should also work for part files and complete directories 11 years ago
Jan-Christoph Borchardt 35292eb66c rename to 'Default encryption module' 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 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