You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Encripted server makes mobile logged accounts unusable #13727
Have a OC 8.0 server unencrypted.
Have a user account with several files, pictures and documents.
Have the mobile client installed.
Have the user logged in the mobile client.
Steps to reproduce
Enable encryption on server.
Log out and log in with an administrator account in the server using web UI.
From mobile client (who was previously logged in using a regular user account) try to browse your files, pictures, documents.
Expected behaviour
You are still able to browse your files from mobile clients.
Actual behaviour
Files are blocked and you can't open it without any advice.
Note: While doing the same steps using a OC 7 server, mobile clients can browse their files without problems.
Server configuration
Operating system:
Ubuntu 14.04 LTS
Web server:
Apache
Database:
MySQL
PHP version:
5.5.9
ownCloud version: (see ownCloud admin page)
{"installed":true,"maintenance":false,"version":"8.0.0.1","versionstring":"8.0 beta 1","edition":"Enterprise"}
Updated from an older ownCloud or fresh install:
fresh
List of activated apps:
none
The content of config/config.php:
Are you using external storage, if yes which one: local/smb/sftp/...
no
like on the web interface and the desktop client you also need to re-login with your mobile client. Not sure what's the best way to do it.... Maybe stop the client and re-start it.
Why not writing a key to the session when login happened with enabled encryption and if encryption is enabled then check for that key using a hook or some kind of magic?
@schiesbn Yes logging out and logging in allows the mobile client to show the files again, but this is a regression problem because OC 7 server allowed client to browse files without problems.
@SergioBertolinSG I don't think this is a regression, this is the way it always worked. Unless the older versions of the mobile client would re-login every time for every request.
because OC 7 server allowed client to browse files without problems.
@SergioBertolinSG are you sure ? Were you able to download the files ?
From what I remember, there might have been a time where the encryption app did not try to prevent users to download encrypted files, and this was added later. Maybe browsing the files worked but downloading didn't ?
Activity
[-]Encripted server makes logged accounts unusable[/-][+]Encripted server makes mobile logged accounts unusable[/+]schiessle commentedon Jan 28, 2015
like on the web interface and the desktop client you also need to re-login with your mobile client. Not sure what's the best way to do it.... Maybe stop the client and re-start it.
LukasReschke commentedon Jan 28, 2015
Why not writing a key to the session when login happened with enabled encryption and if encryption is enabled then check for that key using a hook or some kind of magic?
SergioBertolinSG commentedon Jan 28, 2015
@schiesbn Yes logging out and logging in allows the mobile client to show the files again, but this is a regression problem because OC 7 server allowed client to browse files without problems.
DeepDiver1975 commentedon Jan 28, 2015
scheduling this for 8.1 - the described scenario is not that critical from my pov.
I'd expect encryption being enabled before users are starting to upload files.
PVince81 commentedon Feb 4, 2015
@SergioBertolinSG I don't think this is a regression, this is the way it always worked. Unless the older versions of the mobile client would re-login every time for every request.
DeepDiver1975 commentedon Mar 2, 2015
We would need some mechanism to invalidate a user session see https://github.com/owncloud/security-tracker/issues/31
PVince81 commentedon Sep 21, 2015
@SergioBertolinSG is this really a regression ? I had the feeling that it's the way it's always worked before.
PVince81 commentedon Nov 2, 2015
@SergioBertolinSG are you sure ? Were you able to download the files ?
From what I remember, there might have been a time where the encryption app did not try to prevent users to download encrypted files, and this was added later. Maybe browsing the files worked but downloading didn't ?
SergioBertolinSG commentedon Nov 6, 2015
With encryption 2.0 (8.1) this issue won't happen again.
Just tested in 8.2.1rc1 with iOS client, no problems.