Joas Schilling
|
0215b004da
|
Update with robin
|
2016-07-21 18:13:58 +02:00 |
Joas Schilling
|
813f0a0f40
|
Fix apps/
|
2016-07-21 18:13:57 +02:00 |
Lukas Reschke
|
aba539703c
|
Update license headers
|
2016-05-26 19:57:24 +02:00 |
Joas Schilling
|
4a3311f430
|
Move Encryption app to PSR-4 (#24524)
* Move Encryption to PSR-4
* Move encryption tests to PSR-4
* Fix the tests
|
2016-05-12 09:42:19 +02:00 |
Bjoern Schiessle
|
d86f8ba5f8
|
if we don't have a encrypted file key we can return a empty string right away
|
2016-04-26 11:06:55 +02:00 |
Bjoern Schiessle
|
088ffd05d7
|
don't create a private-/public-key pair for each user if the master key is enabled
|
2016-04-26 11:06:55 +02:00 |
Vincent Petry
|
b50d3255fb
|
Merge pull request #22791 from owncloud/enc_master_key_improvements
Enc master key improvements
|
2016-04-21 11:48:26 +02:00 |
Björn Schießle
|
a3381b1d0c
|
we need to initialize the mount points of the given user before we recover
access to his files
|
2016-04-19 17:04:21 +02:00 |
Roeland Jago Douma
|
7f4f0b20ad
|
Fix encryption tests
|
2016-04-08 15:23:17 +02:00 |
Bjoern Schiessle
|
89223379ad
|
replaceUserKeys() actually deletes the users keys -> update method name and doc-block
|
2016-03-18 11:06:14 +01:00 |
Bjoern Schiessle
|
5e267589d4
|
only create and update user specific key if no master key is enabled
|
2016-03-18 11:06:14 +01:00 |
Bjoern Schiessle
|
9de4a8338e
|
allow group shares, even if not all public keys are available
|
2016-03-15 11:33:19 +01:00 |
Lukas Reschke
|
c353d51810
|
Remove Scrutinizer Auto Fixer
|
2016-03-01 17:48:23 +01:00 |
Lukas Reschke
|
933f60e314
|
Update author information
Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
|
2016-03-01 17:25:15 +01:00 |
Bjoern Schiessle
|
95ea2ccb53
|
make decrypt all work with the master key
|
2016-02-29 14:54:32 +01:00 |
Bjoern Schiessle
|
9dc759b4dc
|
remember signature version and only set it on update to make sure that other
apps like files_versions still get the old signature version
|
2016-02-10 13:27:32 +01:00 |
Lukas Reschke
|
ca350294a6
|
Add tests for setVersion
|
2016-02-09 23:43:28 +01:00 |
Lukas Reschke
|
6724f76573
|
Use cache and add tests
|
2016-02-09 23:43:27 +01:00 |
Björn Schießle
|
9bb97c714b
|
fixing unit tests
|
2016-02-09 23:43:26 +01:00 |
Björn Schießle
|
40a5ba72fc
|
sign all encrypted blocks and check signature on decrypt
|
2016-02-09 23:43:25 +01:00 |
Lukas Reschke
|
d25b8dacb3
|
Use AES-256-CTR as default
CTR is recommended over CFB mode.
|
2016-02-09 23:43:24 +01:00 |
Thomas Müller
|
e0aa6e01ab
|
Merge pull request #21612 from owncloud/fix_21598
fix public link sharing if the master key is enabled
|
2016-01-13 10:34:48 +01:00 |
Thomas Müller
|
682821c71e
|
Happy new year!
|
2016-01-12 15:02:18 +01:00 |
Björn Schießle
|
46f6c289ca
|
only use master key ID if a user is logged in. Otherwise keep the public link share key
|
2016-01-11 13:09:06 +01:00 |
Lukas Reschke
|
00a01a8de2
|
Fix PHPDoc + Add handling for error cases
Makes static code analyzers happier.
|
2016-01-07 21:30:44 +01:00 |
Roeland Jago Douma
|
1f715289bf
|
Removed deprecated function OC_User::deleteUser
Replaced with proper OCP calls
|
2015-12-17 16:18:40 +01:00 |
Roeland Jago Douma
|
835911bce5
|
Removed deprecated private OC_User::createUser
All function calls are replaced with the recommended (which was already
the body of the function).
|
2015-12-17 16:18:40 +01:00 |
Scrutinizer Auto-Fixer
|
be4c3a8b56
|
Scrutinizer Auto-Fixes
This commit consists of patches automatically generated for this project on https://scrutinizer-ci.com
|
2015-11-27 15:32:44 +00:00 |
Bjoern Schiessle
|
5fad45b230
|
make encryption configurable for home storage
|
2015-10-27 14:24:20 +01:00 |
Lukas Reschke
|
8f09d5b67c
|
Update license headers
|
2015-10-26 14:04:01 +01:00 |
Robin Appelman
|
d636bce8a4
|
fix encryption migration test
|
2015-10-16 21:41:51 +02:00 |
Robin Appelman
|
8efd037eb8
|
Make shared folder size propagation test work with object home storage
|
2015-10-16 21:41:51 +02:00 |
Morris Jobke
|
b945d71384
|
update licence headers via script
|
2015-10-05 21:15:52 +02:00 |
Thomas Müller
|
b59c42e5df
|
Merge pull request #18983 from owncloud/fix_18926
check for the right user if we can change his password
|
2015-09-18 11:59:57 +02:00 |
Bjoern Schiessle
|
9bd4f2d41e
|
occ script to disable encryption and to decrypt all files again
|
2015-09-15 22:39:44 +02:00 |
Bjoern Schiessle
|
7f459c64cb
|
check for the right user if we can change his password
|
2015-09-14 11:49:16 +02:00 |
Bjoern Schiessle
|
b2e6d7b5f4
|
occ command to enable master key
|
2015-09-08 14:58:42 +02:00 |
Bjoern Schiessle
|
acfc7d7c4d
|
enable usage of a master key
|
2015-09-07 16:08:41 +02:00 |
Bjoern Schiessle
|
166e57cf61
|
return false if private key is not valid
|
2015-08-30 15:31:19 +02:00 |
Bjoern Schiessle
|
f893de4136
|
use login name for password reset
|
2015-08-30 15:31:19 +02:00 |
Björn Schießle
|
6e210d960c
|
Merge pull request #18423 from owncloud/occ_encrypt_all
occ command line tool to encrypt all files
|
2015-08-28 20:44:55 +02:00 |
Bjoern Schiessle
|
8c08dd0ac2
|
occ tool to encrypt all files
|
2015-08-26 14:58:22 +02:00 |
Lukas Reschke
|
cca35f0c3e
|
Merge pull request #18121 from owncloud/enc_improve_privkey_encryption
use password hash to encrypt private key
|
2015-08-24 12:03:27 +02:00 |
Joas Schilling
|
e6eb74958f
|
Remove unnecessary DB prefixes from existing query builder usages
|
2015-08-10 16:21:41 +02:00 |
Bjoern Schiessle
|
62bc0e5264
|
use password hash instead of the plain password to encrypt the private key
|
2015-08-07 15:21:08 +02:00 |
Bjoern Schiessle
|
2f4bebb045
|
only update database on the first run (first run = we have a version number from the old encryption app)
|
2015-07-31 10:47:02 +02:00 |
Joas Schilling
|
f77e5f411d
|
Fix existing usages by removing the quotes
|
2015-07-21 15:25:47 +02:00 |
Joas Schilling
|
de348180ae
|
Use the public interface and our method instead of the doctrine thing
|
2015-07-21 15:25:47 +02:00 |
Bjoern Schiessle
|
570dd17d4f
|
fix mount point detection
|
2015-07-20 16:00:33 +02:00 |
Bjoern Schiessle
|
4dba920fdd
|
unit tests
|
2015-07-17 15:19:10 +02:00 |
Bjoern Schiessle
|
3000f0125f
|
don't move keys if the key where already moved in a previous migration run
|
2015-07-17 15:19:10 +02:00 |
Thomas Müller
|
d6f02eb703
|
Merge pull request #17500 from owncloud/encryption_migration_improvements
Only clean up if migration finished succesfully
|
2015-07-16 14:03:21 +02:00 |
Bjoern Schiessle
|
1e284b15ff
|
only create new key pair if both keys are missing
|
2015-07-08 19:08:41 +02:00 |
Bjoern Schiessle
|
876d7c160d
|
more secure way to update the database
|
2015-07-08 13:26:53 +02:00 |
Morris Jobke
|
f63915d0c8
|
update license headers and authors
|
2015-06-25 14:13:49 +02:00 |
Joas Schilling
|
d3e3a84cae
|
Move the helpful method to the TestCase class
|
2015-06-03 12:33:29 +02:00 |
Bjoern Schiessle
|
68db3059ee
|
detect migration status
|
2015-05-27 21:00:02 +02:00 |
Joas Schilling
|
30d165ebf2
|
Add missing import for the exception
|
2015-05-18 15:45:47 +02:00 |
Joas Schilling
|
4444db61b7
|
Add a unit test for the decrypt method
|
2015-05-18 15:45:11 +02:00 |
Bjoern Schiessle
|
7676166254
|
add l10n to constructor
|
2015-05-18 15:43:53 +02:00 |
Vincent Petry
|
86cf8e1f68
|
Merge pull request #16404 from owncloud/enc_encrypt_files_in_trash
also encrypt files in trash bin
|
2015-05-18 14:59:34 +02:00 |
Bjoern Schiessle
|
7d492fefae
|
also encrypt files in trash bin
|
2015-05-18 12:51:47 +02:00 |
Bjoern Schiessle
|
887be709f5
|
a new approach to display the error message
|
2015-05-18 10:15:17 +02:00 |
Björn Schießle
|
2ce01ee0bf
|
Merge pull request #15938 from owncloud/enc_update_recovery_share_key
[encryption] check recovery key setting for the correct user
|
2015-05-05 10:48:09 +02:00 |
Thomas Müller
|
0f7b8dd338
|
Merge pull request #15752 from owncloud/feature/fix-encryption-return-values
[enc2] fixing return values and adding tests
|
2015-05-04 11:44:15 +02:00 |
Joas Schilling
|
4a6808a0f4
|
Simplify the test
|
2015-04-30 12:04:02 +02:00 |
Bjoern Schiessle
|
4ef9df8750
|
skip user if we don't have a public key
|
2015-04-30 12:04:02 +02:00 |
Bjoern Schiessle
|
70a44621be
|
check recovery setting for the right user
|
2015-04-30 11:38:53 +02:00 |
Clark Tomlinson
|
4209757d61
|
Merge pull request #15919 from owncloud/enc_handle_empty_files
Encryption improve handling of empty and unencrypted files
|
2015-04-29 19:32:02 -04:00 |
Bjoern Schiessle
|
d5cbb66b66
|
also create encryption keys for empty files
|
2015-04-28 20:21:53 +02:00 |
Bjoern Schiessle
|
df428b76ac
|
skip update of encryption keys if file is not encrypted
|
2015-04-28 20:21:53 +02:00 |
Bjoern Schiessle
|
7d05f387fb
|
make sure that we create a header for the encrypted private key
|
2015-04-28 13:00:09 +02:00 |
Bjoern Schiessle
|
27683f9442
|
fall back to the ownCloud default encryption module and aes128 if we read a encrypted file without a header
|
2015-04-27 13:01:18 +02:00 |
Clark Tomlinson
|
8c0856779b
|
change error codes to 400
|
2015-04-24 09:42:02 -04:00 |
Clark Tomlinson
|
1747117edf
|
destupify tests
|
2015-04-22 10:46:56 -04:00 |
Clark Tomlinson
|
c81bc152d7
|
fixing return values and adding tests
|
2015-04-22 10:46:55 -04:00 |
Thomas Müller
|
b78e76a1cb
|
Merge pull request #15677 from owncloud/enc_reset_private_key_password
[encryption] let user update the private key password
|
2015-04-20 20:48:12 +02:00 |
Joas Schilling
|
04674c06cc
|
Dont use the old .status way
|
2015-04-20 18:26:14 +02:00 |
Joas Schilling
|
3f96662609
|
Fix several minor things
|
2015-04-20 17:44:34 +02:00 |
Bjoern Schiessle
|
d0a6fb1f2c
|
let user update the private key password in case the login password was changed from outside
|
2015-04-17 20:11:22 +02:00 |
Bjoern Schiessle
|
195a48b2b8
|
fix change password if no user is logged in, occ call
|
2015-04-17 13:26:38 +02:00 |
Bjoern Schiessle
|
959665003b
|
decrypt private key for public shares correctly
|
2015-04-16 14:15:04 +02:00 |
Bjoern Schiessle
|
e3d77c4b01
|
add migration script from old encryption to new one
|
2015-04-16 14:15:04 +02:00 |
Bjoern Schiessle
|
d1fa3c6b32
|
add unit test for crypt.php
|
2015-04-10 15:12:57 +02:00 |
Clark Tomlinson
|
4098f5f7fd
|
adding test for user hooks
|
2015-04-07 11:49:50 -04:00 |
Thomas Müller
|
a4483243ac
|
fixing license headers - encryption code related
|
2015-04-07 17:02:49 +02:00 |
Clark Tomlinson
|
d637bffac6
|
adding user setup test and adding 4 tests to keymanager
|
2015-04-07 13:30:31 +02:00 |
Clark Tomlinson
|
28c8017928
|
adding recoverFileTest
|
2015-04-07 13:30:31 +02:00 |
Clark Tomlinson
|
c7c3caedf5
|
adding recovery tests
|
2015-04-07 13:30:31 +02:00 |
Bjoern Schiessle
|
a7e7151364
|
remove unused code
|
2015-04-07 13:30:31 +02:00 |
Bjoern Schiessle
|
e8fa3a2370
|
fix versions download and previews
|
2015-04-07 13:30:31 +02:00 |
Thomas Müller
|
4c899238e9
|
fixing unit test execution
|
2015-04-07 13:30:30 +02:00 |
Clark Tomlinson
|
e507dc11a0
|
adding util test and reducing keymanager instances to one in test
|
2015-04-07 13:30:30 +02:00 |
Clark Tomlinson
|
1fb29ec546
|
adding hook manager test
|
2015-04-07 13:30:29 +02:00 |
Bjoern Schiessle
|
c9ca068427
|
keyManagerTest: remove code which is no longer needed
|
2015-04-07 13:30:29 +02:00 |
Bjoern Schiessle
|
4efbcb0280
|
cleanup keymanager test and add some additional tests
|
2015-04-07 13:30:29 +02:00 |
Clark Tomlinson
|
ea6b53042d
|
fixing test helper and undoing fubar in class...
|
2015-04-07 13:30:29 +02:00 |
Clark Tomlinson
|
48e3864c77
|
💯% coverage for session class
|
2015-04-07 13:30:29 +02:00 |
Clark Tomlinson
|
e6dc6944c2
|
moving methods to their final places
and updating test some.
|
2015-04-07 13:30:28 +02:00 |
Clark Tomlinson
|
d15c2e52b0
|
cleanup and removing cachefactory
|
2015-04-07 13:30:27 +02:00 |