Bjoern Schiessle
38e5da05af
only encrypt file to users with encryption keys
12 years ago
Bjoern Schiessle
72eaf2894a
performance improvement, check configuration only if no private key exists
12 years ago
Bjoern Schiessle
fb462e83cc
no longer enforce log out, but provide useful errors/warnings instead
12 years ago
Bjoern Schiessle
3d49631b8d
make sure that initial encryption also starts for a fresh installation
12 years ago
ringmaster
df7bfa4bf0
Don't cache the pkey, skip generation if the keyfile exists
12 years ago
Bjoern Schiessle
bab63c22ee
encryption error messages, distinguish between a re-enabled encryption app and a password change from outside
12 years ago
Bjoern Schiessle
d7dca966a2
improved error messaging, initial commit
12 years ago
Bjoern Schiessle
5ba8d38b7f
remove old comments, TODos, etc.
12 years ago
Bjoern Schiessle
7ce03ba37c
improved error message to refect openSSL PHP extension and stock openSSL configuration issues
12 years ago
Bjoern Schiessle
cfbdad9cdb
catch broken server config and disable encryption app.
12 years ago
Bjoern Schiessle
69173c2a6b
fix test and make warning translatable
12 years ago
Bjoern Schiessle
9253627327
cancel sharing if some users doesn't have a working encryption set-up.
12 years ago
Bjoern Schiessle
b6fa0e4eef
working decrypt files method
12 years ago
Björn Schießle
9575c2f37c
added helper function to escape glob pattern
...
Conflicts:
apps/files_encryption/lib/helper.php
12 years ago
Björn Schießle
f9c337dd21
only escape glob pattern
12 years ago
Björn Schießle
abc2ee2e07
handle rename correctly for system wide mounts
12 years ago
Björn Schießle
f30dd1557e
more verbose error message
12 years ago
Björn Schießle
40e6ede6a2
improved error message
12 years ago
Björn Schießle
9512382ae0
fix error string
12 years ago
Björn Schießle
adcee5b695
check php version, the encryption app needs php >= 5.3.3
12 years ago
Björn Schießle
c4aef89278
introduce pre-disable-app hook and use it for the encryption app to reset migration status if the app was disabled
12 years ago
Björn Schießle
d10ad0d603
Squashed commit of the following:
...
commit 1345201c9da99a82f198e41fba24da6b0d7ae59a
Author: Björn Schießle <schiessle@owncloud.com>
Date: Thu Jun 20 16:27:46 2013 +0200
add l10n support
commit bf2c79c8de8710e839a4a55642a91874c374fa1c
Author: Björn Schießle <schiessle@owncloud.com>
Date: Thu Jun 20 16:19:10 2013 +0200
only init session if openssl extension is loaded
commit cbd52af6afbaa310bb1a534db64ff5e476dfd5d7
Author: Björn Schießle <schiessle@owncloud.com>
Date: Thu Jun 20 12:25:40 2013 +0200
first disable app and than show error page
commit 55baf593179c433642de59552592e6b0f1932880
Author: Björn Schießle <schiessle@owncloud.com>
Date: Thu Jun 20 12:17:34 2013 +0200
typo fixed
commit 1d9bef0b058e7cc3d511b81ae12d5a07660c75b2
Author: Björn Schießle <schiessle@owncloud.com>
Date: Thu Jun 20 12:15:40 2013 +0200
move dependency check to the encryption app
commit c186e95da526f0470e20f014f1bd9513db5518ff
Author: Björn Schießle <schiessle@owncloud.com>
Date: Thu Jun 20 11:13:11 2013 +0200
make sure that openssl is installed and loaded
12 years ago
Björn Schießle
c78a90fd54
use number of manipulated rows as idicator if it was possible to enter the migration mode
12 years ago
Björn Schießle
5fafd55108
make sure that only one process can enter the migration mode
12 years ago
Björn Schießle
d7a9852f7b
use pre_setPassword hook to update the encryption keys if the back-end doesn't support password change; improved output to let the admin know what happened
12 years ago
Florin Peter
dc8bcf0688
reformat code
12 years ago
Björn Schießle
b02f4dc62c
$session->setPrivateKey expects only one parameter
12 years ago
Björn Schießle
471d2b732c
introduce decryptPrivateKey() method which also checks if the result is a valid private key to avoid additional checks on various places
12 years ago
Florin Peter
e9d1ea712c
allow the user to login but do not allow upload and show error message on the web
12 years ago
Florin Peter
2e3bfdb12c
check if the decrypted private key is valid on login and on read/write files
12 years ago
Florin Peter
4a0e69f941
fix login errors while filesystem is not loaded
12 years ago
Florin Peter
986e9dd362
use legacyDecrypt to decrypt key file like the previous files_encryption
12 years ago
Florin Peter
6d94b393bf
fix share and un-share for single file
12 years ago
Florin Peter
d265264542
fix for share folder on external storage
12 years ago
Florin Peter
6ae7bde788
fixed encryption session namespace to avoid problems
12 years ago
Florin Peter
7224fc98b2
replace == with === and replace != with !==
12 years ago
Björn Schießle
df22a7c495
make legacyDecrypt() private als always call legacyBlockDecrypt() from other classes
12 years ago
Björn Schießle
8b35578833
fix migration from old to new encryption
12 years ago
Florin Peter
5d32e214b7
reformat code
12 years ago
Florin Peter
6c8de5ae6d
fixes after review from @DeepDiver1975
12 years ago
Florin Peter
f2b1158add
improved tests
12 years ago
Florin Peter
1c8e5d6873
added test for failed sharing
12 years ago
Florin Peter
1fa2f19ee4
removed dead code for delShareKey
12 years ago
Florin Peter
6980f59b2f
fixed typos
12 years ago
Björn Schießle
eaa61b8539
fix migration to new encryption
12 years ago
Björn Schießle
bf04a21973
set migration status after successful upgrade
12 years ago
Björn Schießle
ca6a77d39b
upgrade from old encryption to the new one needs to generate share keys too
12 years ago
Björn Schießle
9d1e60325c
allow admin to recover users files in case of password lost
12 years ago
Florin Peter
c651950a17
fix for re-share and removed check if file exists because we are sometime into a pre_put_contents hook
12 years ago
Florin Peter
ec2e193a44
removed unused code
12 years ago