Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: Search is incredibly slow with client side encryption and 235 imported passwords #645

Open
6 tasks done
HolgerHees opened this issue Mar 16, 2024 · 0 comments
Open
6 tasks done
Labels
bug Something in the app is not working as expected

Comments

@HolgerHees
Copy link

⚠️ This issue respects the following points: ⚠️

  • This is a single bug, not a question or a configuration/webserver/proxy issue.
  • This is not a bug in the browser extension or another client.
  • This issue is not already reported on Github (I've searched it).
  • Nextcloud Server and the Passwords App is up to date. See Nextcloud Apps.
  • There are no warnings and errors reported in the Passwords App settings in the admin area
  • The following apps are not installed: Rainloop

Server Information

{
    "version": {
        "server": "28.0.3.2",
        "app": "2024.3.20",
        "lsr": false,
        "php": "8.2.17",
        "cronPhp": "8.2.17"
    },
    "environment": {
        "os": "Linux",
        "architecture": "x86_64",
        "bits": 64,
        "database": "mysql",
        "cron": "cron",
        "proxy": false,
        "sslProxy": false,
        "subdirectory": false
    },
    "services": {
        "images": "imagick",
        "favicons": "default",
        "previews": "default",
        "security": "hibp",
        "words": "auto",
        "previewApi": false,
        "faviconApi": false
    },
    "status": {
        "autoBackupRestored": false
    },
    "settings": {
        "channel": "stable",
        "nightlies": false,
        "handbook": false,
        "performance": 5
    },
    "encryption": {
        "sse": {
            "SSEv1r1": false,
            "SSEv1r2": false,
            "SSEv2r1": false,
            "SSEv3r1": false,
            "none": true,
            "default": "none"
        },
        "cse": {
            "CSEv1r1": true,
            "none": false,
            "default": "CSEv1r1"
        }
    }
}

Client Information

Browser and Version: Firefox 123.0.1
Client OS and Version: openSUSE 15.5

Bug description

I run passwords with client side encryption enabled and 235 encrypted password.

If I use the embedded search, each time I type a character it tooks >1 seconds to calculate the search results.

This means if I type a word with 4 characters, it takes 4-6 seconds until it is finished and i see a delay of >1 second after each character.

If I use the embedded search in keeweb or passman (client side encryption enabled too) with the same amount of passwords, it calculates the search result <100ms which feels like immediately and gives a much smoother text search writing feeling.

Currently, this is the last blocker which prevents me from migrating away from keeweb. And I don't want to migrate to passman, because I have the feeling that this app (passwords) has much more active development.

Steps to reproduce

  1. Open the app
  2. Import 235 passwords
  3. Enable client side encryption
  4. Type a search word of 4 characters
  5. Wait 6 seconds

Expected behavior

  1. Open the app
  2. Import 235 passwords
  3. Enable client side encryption
  4. Type a search word of 4 characters
  5. Don't wait 6 seconds

Nextcloud Logs

No response

Browser Logs

No response

@HolgerHees HolgerHees added the bug Something in the app is not working as expected label Mar 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something in the app is not working as expected
Projects
None yet
Development

No branches or pull requests

1 participant