summaryrefslogtreecommitdiffstats
path: root/apps/encryption/lib/crypto
Commit message (Collapse)AuthorAgeFilesLines
* Move Encryption app to PSR-4 (#24524)Joas Schilling2016-05-124-1889/+0
| | | | | | | | * Move Encryption to PSR-4 * Move encryption tests to PSR-4 * Fix the tests
* don't create a private-/public-key pair for each user if the master key is ↵Bjoern Schiessle2016-04-261-21/+60
| | | | enabled
* Introduce isReadyForUser and verify in file transfer ownership - fixes #23786Thomas Müller2016-04-151-0/+13
|
* Merge pull request #23192 from ↵Thomas Müller2016-03-161-0/+7
|\ | | | | | | | | owncloud/make-ancient-users-happy-with-totally-untested-stuff Fallback for crappy ancient distributions
| * Fallback for crappy ancient distributionsLukas Reschke2016-03-121-0/+7
| | | | | | | | Fixes https://github.com/owncloud/core/issues/23181
* | allow group shares, even if not all public keys are availableBjoern Schiessle2016-03-151-1/+5
|/
* Remove Scrutinizer Auto FixerLukas Reschke2016-03-012-2/+0
|
* make decrypt all work with the master keyBjoern Schiessle2016-02-291-23/+34
|
* remember signature version and only set it on update to make sure that otherBjoern Schiessle2016-02-101-12/+21
| | | | apps like files_versions still get the old signature version
* use the version of the original file if we write the part file to have a ↵Bjoern Schiessle2016-02-101-15/+30
| | | | proper version if we move the file over to the original location
* Use cache and add testsLukas Reschke2016-02-091-4/+5
|
* don't decrease ->version for part files but only a local variable, otherwise ↵Bjoern Schiessle2016-02-091-4/+8
| | | | it can happen that we decrease it twice and end up with the wrong value
* realPath should contain the path to the file we want to read, e.g. the ↵Bjoern Schiessle2016-02-091-1/+1
| | | | version and not the original file
* Use database for keeping track of the versionLukas Reschke2016-02-091-2/+9
|
* Use number of chunk for HMAC as wellLukas Reschke2016-02-092-14/+16
| | | | Prevents switching single blocks within the encrypted file.
* Keep track of file versionLukas Reschke2016-02-092-13/+34
| | | | This way it is not possible anymore for an external storage admin to put up old versions of the file.
* Clarify documentationLukas Reschke2016-02-091-0/+2
|
* Use hash with appended "a" of the original password for the authenticationLukas Reschke2016-02-091-3/+4
|
* fixing unit testsBjörn Schießle2016-02-091-1/+1
|
* Use random_bytes instead OpenSSLLukas Reschke2016-02-091-8/+1
|
* meta data are at the end of the fileBjörn Schießle2016-02-091-1/+1
|
* always use default cipher for write operations, no matter how the file was ↵Björn Schießle2016-02-091-3/+3
| | | | encrypted before
* make it backward compatible to work with signed and un-signed filesBjörn Schießle2016-02-092-10/+19
|
* sign all encrypted blocks and check signature on decryptBjörn Schießle2016-02-092-27/+117
|
* Add note about the addPadding functionLukas Reschke2016-02-091-0/+4
|
* Use an actual 16 byte long IVLukas Reschke2016-02-091-17/+2
| | | | The previous IV was actually 12 byte extended to 16 byte using base64. As the encrypted file should be fine with containing binary data as well we can simply remove the encoding like that here.
* Use AES-256-CTR as defaultLukas Reschke2016-02-091-22/+38
| | | | CTR is recommended over CFB mode.
* Happy new year!Thomas Müller2016-01-124-4/+8
|
* getMediumStrengthGenerator is deprecated and does not do anything anymoreRoeland Jago Douma2016-01-111-1/+1
|
* Use PHP polyfillsLukas Reschke2015-12-111-23/+8
|
* User IUser::getEMailAddress() all over the placeThomas Müller2015-12-021-6/+8
|
* Scrutinizer Auto-FixesScrutinizer Auto-Fixer2015-11-272-16/+15
| | | | This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
* make encryption configurable for home storageBjoern Schiessle2015-10-271-0/+6
|
* Update license headersLukas Reschke2015-10-261-0/+1
|
* Fix "Call to a member function getUID() on boolean" in CryptJoas Schilling2015-10-221-4/+4
|
* update licence headers via scriptMorris Jobke2015-10-052-2/+0
|
* add some output to explain the pre-conditions for decrypt-allBjoern Schiessle2015-10-051-0/+6
|
* no need to list users if all users already had a key-pairBjoern Schiessle2015-09-241-0/+6
|
* fix small typoBjoern Schiessle2015-09-211-1/+1
|
* occ script to disable encryption and to decrypt all files againBjoern Schiessle2015-09-152-1/+178
|
* Function does return voidLukas Reschke2015-09-151-2/+1
| | | | This function does return void and not a bool.
* enable usage of a master keyBjoern Schiessle2015-09-071-14/+25
|
* return false if private key is not validBjoern Schiessle2015-08-301-1/+1
|
* Merge pull request #18423 from owncloud/occ_encrypt_allBjörn Schießle2015-08-282-0/+443
|\ | | | | occ command line tool to encrypt all files
| * occ tool to encrypt all filesBjoern Schiessle2015-08-262-0/+443
| |
* | use uid as additional information for saltBjoern Schiessle2015-08-071-6/+9
| |
* | use password hash instead of the plain password to encrypt the private keyBjoern Schiessle2015-08-071-9/+130
|/
* update license headers and authorsMorris Jobke2015-06-252-1/+6
|
* add hint to exceptionBjoern Schiessle2015-06-081-5/+4
|
* improve error messages displayed to the userBjoern Schiessle2015-05-271-1/+1
|