Skip to content

Encripted server makes mobile logged accounts unusable #13727

Closed

Description

@SergioBertolinSG

Previous requirements

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

  1. Enable encryption on server.
  2. Log out and log in with an administrator account in the server using web UI.
  3. 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

Are you using encryption: yes

Client configuration

Mobile:
iOS client

Activity

  1. changed the title [-]Encripted server makes logged accounts unusable[/-] [+]Encripted server makes mobile logged accounts unusable[/+] on Jan 28, 2015
  2. schiessle commented on Jan 28, 2015

    @schiessle
    Contributor

    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.

  3. LukasReschke commented on Jan 28, 2015

    @LukasReschke
    Contributor

    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?

  4. SergioBertolinSG commented on Jan 28, 2015

    @SergioBertolinSG
    ContributorAuthor

    @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.

  5. added this to the milestone on Jan 28, 2015
  6. DeepDiver1975 commented on Jan 28, 2015

    @DeepDiver1975
    Contributor

    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.

  7. PVince81 commented on Feb 4, 2015

    @PVince81
    Contributor

    @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.

  8. DeepDiver1975 commented on Mar 2, 2015

    @DeepDiver1975
    Contributor
  9. modified the milestones: , on Mar 2, 2015
  10. PVince81 commented on Sep 21, 2015

    @PVince81
    Contributor

    @SergioBertolinSG is this really a regression ? I had the feeling that it's the way it's always worked before.

  11. ghost added this to the backlog milestone on Sep 25, 2015
  12. ghost removed this from the milestone on Sep 25, 2015
  13. PVince81 commented on Nov 2, 2015

    @PVince81
    Contributor

    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 ?

  14. SergioBertolinSG commented on Nov 6, 2015

    @SergioBertolinSG
    ContributorAuthor

    With encryption 2.0 (8.1) this issue won't happen again.
    Just tested in 8.2.1rc1 with iOS client, no problems.

  15. locked as resolved and limited conversation to collaborators on Aug 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions