nextcloud / nextcloud/richdocuments

Time for password input to short

Open
#4,181 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs discussion
Dominant language
JavaScript
Stars
453
Forks
147
Avg merge
14h 54m
Merged PRs (30d)
83

Description

Describe the bug
Opening an ODF document which is encrypted via password you have 15 seconds to type the password. That's to short.

To Reproduce
Steps to reproduce the behavior:

  1. Create an ODT file, save it with a long password and upload it to nextcloud.
  2. Open the file in nextcloud web interface
  3. Try to enter password or do nothing
  4. After 15 seconds you get a white error screen "Laden des Dokuments fehlgeschlagen Nextcloud Office konnte nicht geladen werden - Bitte später erneut versuchen." Close

Expected behavior
The time to enter the password should be increased to 1-2 minutes min.

Client details:
It's not browser/client related.

Server details

Operating system:
Ubuntu 24.04.1 LTS

Nextcloud version:
29.0.8snap1

Version of the richdocuments app
richdocuments: 8.4.8

Version of Collabora Online
richdocumentscode: 24.4.802

Configuration of the richdocuments app

{
    "apps": {
        "richdocuments": {
            "disable_certificate_verification": "yes",
            "enabled": "yes",
            "installed_version": "8.4.8",
            "types": "prevent_group_restriction",
            "wopi_url": "https:\/\/*******\/extra-apps\/richdocumentscode\/proxy.php?req="
        }
    }
}
{
    "apps": {
        "richdocumentscode": {
            "enabled": "yes",
            "installed_version": "24.4.802",
            "types": ""
        }
    }
}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the issue with an encrypted ODT opened through the Nextcloud web interface, using the reported 15-second password window. Trace the web document-opening flow to find where that timeout is set, then verify that users have 1–2 minutes to enter the password without the document failing.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.