Commit Graph

149 Commits (eb1d5fdaf8b077809100b1db48688301be2c19fb)

Author SHA1 Message Date
Bjoern Schiessle d86f8ba5f8
if we don't have a encrypted file key we can return a empty string right away 10 years ago
Bjoern Schiessle 088ffd05d7
don't create a private-/public-key pair for each user if the master key is enabled 10 years ago
Thomas Müller 50e20e531e
Introduce isReadyForUser and verify in file transfer ownership - fixes #23786 10 years ago
Bjoern Schiessle 89223379ad replaceUserKeys() actually deletes the users keys -> update method name and doc-block 10 years ago
Bjoern Schiessle 5e267589d4 only create and update user specific key if no master key is enabled 10 years ago
Bjoern Schiessle 9de4a8338e allow group shares, even if not all public keys are available 10 years ago
Lukas Reschke 3a5f58c9b0 Fallback for crappy ancient distributions 10 years ago
Lukas Reschke c353d51810 Remove Scrutinizer Auto Fixer 10 years ago
Lukas Reschke 933f60e314 Update author information 10 years ago
Bjoern Schiessle 95ea2ccb53 make decrypt all work with the master key 10 years ago
Bjoern Schiessle 9dc759b4dc remember signature version and only set it on update to make sure that other 10 years ago
Bjoern Schiessle 43ed86313c use the version of the original file if we write the part file to have a proper version if we move the file over to the original location 10 years ago
Vincent Petry 45c78476f5 Use cache update instead of put for encryption version 10 years ago
Lukas Reschke 6724f76573 Use cache and add tests 10 years ago
Bjoern Schiessle 377d7fb8a8 don't decrease ->version for part files but only a local variable, otherwise it can happen that we decrease it twice and end up with the wrong value 10 years ago
Bjoern Schiessle 966eb4b084 realPath should contain the path to the file we want to read, e.g. the version and not the original file 10 years ago
Lukas Reschke 5ccb9dfa7e Use database for keeping track of the version 10 years ago
Lukas Reschke 3badf5caf5 Use number of chunk for HMAC as well 10 years ago
Lukas Reschke b5824f024a Keep track of file version 10 years ago
Lukas Reschke d5c1596887 Clarify documentation 10 years ago
Lukas Reschke 3b62459c41 Use hash with appended "a" of the original password for the authentication 10 years ago
Björn Schießle 9bb97c714b fixing unit tests 10 years ago
Lukas Reschke b9ff16498b Use random_bytes instead OpenSSL 10 years ago
Björn Schießle 61dd191253 meta data are at the end of the file 10 years ago
Björn Schießle e7ff84df5c always use default cipher for write operations, no matter how the file was encrypted before 10 years ago
Björn Schießle cf3a8f274f make it backward compatible to work with signed and un-signed files 10 years ago
Björn Schießle 40a5ba72fc sign all encrypted blocks and check signature on decrypt 10 years ago
Lukas Reschke db8f267647 Add note about the addPadding function 10 years ago
Lukas Reschke 59ebad0b53 Use an actual 16 byte long IV 10 years ago
Lukas Reschke d25b8dacb3 Use AES-256-CTR as default 10 years ago
Thomas Müller 682821c71e Happy new year! 10 years ago
Roeland Jago Douma 876fb83ddc getMediumStrengthGenerator is deprecated and does not do anything anymore 10 years ago
Björn Schießle 46f6c289ca only use master key ID if a user is logged in. Otherwise keep the public link share key 10 years ago
Lukas Reschke 0654d37da8 Remove undefined variable 10 years ago
Lukas Reschke 00a01a8de2 Fix PHPDoc + Add handling for error cases 10 years ago
Lukas Reschke f3360d51c6 Use PHP polyfills 10 years ago
Thomas Müller eebe2b9c23 User IUser::getEMailAddress() all over the place 10 years ago
Scrutinizer Auto-Fixer be4c3a8b56 Scrutinizer Auto-Fixes 10 years ago
Robin Appelman b025f07fb7 Make Cache\Updater per storage 10 years ago
Phil Davis 46261b5ff1 Correct the description of function setEncryptHomeStorage 10 years ago
Bjoern Schiessle 5fad45b230 make encryption configurable for home storage 10 years ago
Lukas Reschke 8f09d5b67c Update license headers 10 years ago
Joas Schilling e0a56317fa Fix "Call to a member function getUID() on boolean" in Crypt 10 years ago
Morris Jobke b945d71384 update licence headers via script 10 years ago
Bjoern Schiessle bf82015254 add some output to explain the pre-conditions for decrypt-all 10 years ago
Bjoern Schiessle 90f1e3dc94 no need to list users if all users already had a key-pair 10 years ago
Bjoern Schiessle daf5d1ff2e fix small typo 10 years ago
Bjoern Schiessle 9bd4f2d41e occ script to disable encryption and to decrypt all files again 10 years ago
Lukas Reschke 7953cc9494 Function does return void 10 years ago
Bjoern Schiessle acfc7d7c4d enable usage of a master key 10 years ago