Public share fails when master key is enabled #21598

GitHubUser4234 opened this Issue Jan 11, 2016 · 4 comments


None yet

7 participants



When master key is enabled in ownCloud 8.2.1, and a public link is accessed by a public user, the following screen is shown:


(In words: error "Private Key missing for user: please try to log-out and log-in again" shows up in browser)

However, any logged in user can download the file by accessing the same public link. A related pubShare_<xxx>.shareKey exists. No errors found in the ownCloud log.

In case this is a bug, it's really a show stopper to us. Please help, thanks.

rullzer commented Jan 11, 2016


@PVince81 PVince81 added this to the 9.0-current milestone Jan 11, 2016

I can reproduce this on master and stable8.2 branches.

Steps to reproduce:

  1. Enable encryption with default module.
  2. Run occ encryption:enable-master-key
  3. Upload some files.
  4. Public share one file.
  5. Open it in another browser.
@schiessle schiessle self-assigned this Jan 11, 2016

fix is here: #21612

@SergioBertolinSG @GitHubUser4234 maybe you can give it a try and report back? Thanks!


Great, thanks a lot @schiesbn 😃

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment