aboutsummaryrefslogtreecommitdiffstats
path: root/apps/encryption/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* fix setting up encryption sectionArthur Schiwon2017-06-231-2/+16
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* adapt encryptionArthur Schiwon2017-06-233-5/+200
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Update comments to NextcloudMorris Jobke2017-04-114-6/+6
| | | | | | | * based on PR by @Ardinis * see #4311 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Use master key for public links as wellVincent Petry2017-03-241-4/+15
|
* Fix public link for master keyVincent Petry2017-03-241-1/+1
| | | | | In public link mode there is no session, so the code should use the public key instead.
* Updated UI messages relating to the encryption functionalityMatthew Setter2017-03-221-1/+1
| | | | | | | | | | | | The reason for updating these messages, is that grammatically they're not quite correct. They showed a combination of: - Related phrases, which could be either separated or joined better - Related sentences, but which should be expressed as separate ones They were also missing full-stops to end the them. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* always throw a encryption exceptionBjoern Schiessle2017-03-141-5/+4
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* create new encryption keys on password reset and backup the old oneBjoern Schiessle2017-01-102-24/+45
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* check if session is initializedBjoern Schiessle2016-11-233-3/+18
| | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* init Session/privateKeys on Master KeyMaxence Lange2016-11-221-0/+3
| | | I can't find another way to init the session ...
* Move console command registration to info.xml for encryption as well as ↵Thomas Müller2016-10-121-9/+8
| | | | | | files_external Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix encryption appJoas Schilling2016-09-121-1/+0
|
* rename IAdmin to ISettings, the interface is not bound to a specific ↵Arthur Schiwon2016-08-111-2/+2
| | | | settings scope
* fixes, improvements, and another app:Arthur Schiwon2016-08-112-1/+127
| | | | | | | * setupSettings now also triggered on enable * fixes detection of present admin section or settings in the DB * add update routine in such cases * encryption app migrated
* More casingJoas Schilling2016-08-081-3/+3
|
* Update with robinJoas Schilling2016-07-211-1/+1
|
* Fix apps/Joas Schilling2016-07-2123-28/+52
|
* fix stringsMorris Jobke2016-06-201-1/+1
|
* Update license headersLukas Reschke2016-05-2619-26/+26
|
* don't fail on "bad signature" during login. Most likely this happens becauseBjörn Schießle2016-05-251-0/+7
| | | | | the login password changed at the user back-end (e.g ldap). Such failures will be handled after login correctly by allowing the user to adjust the passwords
* Move Encryption app to PSR-4 (#24524)Joas Schilling2016-05-1223-0/+1295
| | | | | | | | * Move Encryption to PSR-4 * Move encryption tests to PSR-4 * Fix the tests
* if we don't have a encrypted file key we can return a empty string right awayBjoern Schiessle2016-04-261-5/+8
|
* don't create a private-/public-key pair for each user if the master key is ↵Bjoern Schiessle2016-04-261-21/+60
| | | | enabled
* Merge pull request #22791 from owncloud/enc_master_key_improvementsVincent Petry2016-04-212-17/+17
|\ | | | | Enc master key improvements
| * replaceUserKeys() actually deletes the users keys -> update method name and ↵Bjoern Schiessle2016-03-181-1/+3
| | | | | | | | doc-block
| * only create and update user specific key if no master key is enabledBjoern Schiessle2016-03-182-16/+14
| |
* | Introduce isReadyForUser and verify in file transfer ownership - fixes #23786Thomas Müller2016-04-152-0/+14
|/
* 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-015-5/+0
|
* Update author informationLukas Reschke2016-03-011-0/+1
| | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
* make decrypt all work with the master keyBjoern Schiessle2016-02-292-24/+35
|
* 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 update instead of put for encryption versionVincent Petry2016-02-091-1/+1
| | | | | | Saves a call to fetch the file id which didn't even work for a reason. This fix properly sets the version in the database.
* Use cache and add testsLukas Reschke2016-02-092-15/+12
|
* 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-092-5/+31
|
* 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-093-13/+53
| | | | 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
|