Describe the bug
When using Collectives with Server Side Encryption (Master Key) enabled, some users can see the page tree and page titles but cannot read the page content.
The page opens, but the content is empty and Nextcloud logs the following exception:
OC\Encryption\Exceptions\DecryptionFailedException
Cannot decrypt this file, probably this is a shared file.
Please ask the file owner to reshare the file with you.
The behaviour is inconsistent:
the affected user can read pages they created themselves.
other members cannot read pages created by this user.
the affected user cannot read pages created by other members.
other members can collaborate normally with each other.
Even more confusing:
a newly created page is initially readable by everyone.
after a few minutes, the page becomes unreadable for the affected user.
the page title remains visible but the content is empty.
This only happens for one LDAP user. Other users work normally.
To Reproduce
Steps to reproduce the behavior:
Unfortunately, we have not found a reliable way to reproduce the issue from scratch.
Observed scenario:
Server Side Encryption (Master Key) enabled.
LDAP users.
Create a Collective.
Several users edit pages.
One specific LDAP user starts being unable to read pages created by other users.
Other users also cannot read pages created by this user.
New pages may initially work, but after a few minutes they become unreadable.
Expected behavior
All members of the Collective should be able to read and edit pages according to their permissions.
No decryption error should occur.
Server details:
Collectives app version: 4.4.1
Nextcloud version: 32.0.6.1
PHP Version: (fill with php -v)
Database: MariaDB (please specify version)
Client details:
LDAP / Active Directory authentication
Server Side Encryption enabled
Master Key mode
Cron background jobs enabled and running correctly
Nextcloud log (data/nextcloud.log)
Nextcloud log
OC\Encryption\Exceptions\DecryptionFailedException
Cannot decrypt this file, probably this is a shared file.
Please ask the file owner to reshare the file with you.
Stack trace:
OC\Encryption\Exceptions\DecryptionFailedException
Cannot decrypt this file, probably this is a shared file.
Please ask the file owner to reshare the file with you.
...
(data/http/nextcloud/apps/encryption/lib/Crypto/Encryption.php:315)
Browser log
No Javascript errors.
The request succeeds but the page content cannot be decrypted.
Describe the bug
When using Collectives with Server Side Encryption (Master Key) enabled, some users can see the page tree and page titles but cannot read the page content.
The page opens, but the content is empty and Nextcloud logs the following exception:
OC\Encryption\Exceptions\DecryptionFailedException
Cannot decrypt this file, probably this is a shared file.
Please ask the file owner to reshare the file with you.
The behaviour is inconsistent:
the affected user can read pages they created themselves.
other members cannot read pages created by this user.
the affected user cannot read pages created by other members.
other members can collaborate normally with each other.
Even more confusing:
a newly created page is initially readable by everyone.
after a few minutes, the page becomes unreadable for the affected user.
the page title remains visible but the content is empty.
This only happens for one LDAP user. Other users work normally.
To Reproduce
Steps to reproduce the behavior:
Unfortunately, we have not found a reliable way to reproduce the issue from scratch.
Observed scenario:
Server Side Encryption (Master Key) enabled.
LDAP users.
Create a Collective.
Several users edit pages.
One specific LDAP user starts being unable to read pages created by other users.
Other users also cannot read pages created by this user.
New pages may initially work, but after a few minutes they become unreadable.
Expected behavior
All members of the Collective should be able to read and edit pages according to their permissions.
No decryption error should occur.
Server details:
Collectives app version: 4.4.1
Nextcloud version: 32.0.6.1
PHP Version: (fill with php -v)
Database: MariaDB (please specify version)
Client details:
LDAP / Active Directory authentication
Server Side Encryption enabled
Master Key mode
Cron background jobs enabled and running correctly
Nextcloud log (data/nextcloud.log)
Nextcloud log
OC\Encryption\Exceptions\DecryptionFailedException
Cannot decrypt this file, probably this is a shared file.
Please ask the file owner to reshare the file with you.
Stack trace:
OC\Encryption\Exceptions\DecryptionFailedException
Cannot decrypt this file, probably this is a shared file.
Please ask the file owner to reshare the file with you.
...
(data/http/nextcloud/apps/encryption/lib/Crypto/Encryption.php:315)
Browser log
No Javascript errors.
The request succeeds but the page content cannot be decrypted.