From 558a934842a9f66a873f24b8107fca1fc68fb791 Mon Sep 17 00:00:00 2001 From: Maxence Lange Date: Tue, 22 Nov 2016 13:19:42 -0100 Subject: init Session/privateKeys on Master Key I can't find another way to init the session ... --- apps/encryption/lib/KeyManager.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/encryption/lib') diff --git a/apps/encryption/lib/KeyManager.php b/apps/encryption/lib/KeyManager.php index 26f023ed8f9..96264d01363 100644 --- a/apps/encryption/lib/KeyManager.php +++ b/apps/encryption/lib/KeyManager.php @@ -406,6 +406,9 @@ class KeyManager { } if ($this->util->isMasterKeyEnabled()) { + if ($this->session->getStatus() === Session::NOT_INITIALIZED) + $this->init('', ''); + $uid = $this->getMasterKeyId(); } -- cgit v1.2.3