add method to check if users private/public key exists
show change password form if key couldn't be decrypted
only create new key on password change if a recovery key exists or if the user don't have any private/public keys
fix typo
Merge pull request #6208 from owncloud/enc_only_create_new_key_if_no_other_key_exists

[Encryption] Only create new key if no other key exists
it is not possible to unshare files
get owner from share item, if we expire a share while the user updates his /Shared folder than the owner is different from the currently logged in user
add a optional parameter to skip check for expired files, this is necessary to find out to whom a file was shared after it was expired.
set unencrypted_size to 0 after decryption... so that the unencrypted_size gets re-calculated if encryption was enabled again
correctly propagate the return value of ldap_set_option
otherwise LDAP_OPT_REFERRALS won't be set to 0 and in turn
active directory paging will stop working
(Operations error on ldap_control_paged_result_response)
Users of getFolderContent are mostly interested in the unecrypted file size
Don't try to encrypt a file when the temp file isn't created
XSendfile and encryption don't work together

The file on disk is encrypted, and not readable on client systems
reuse etags when doing a background scan
extend test case for etag preservation
get rid of failing test that don't cause additional downloads
Merge pull request #6225 from owncloud/stable6-backgroundscan-reuse-etag

Stable6 backgroundscan reuse etag
Catch exceptions from background jobs and log them
remove background jobs if they are failing
Dont use exceptions for the backgroundjob test cases