Skip to content

Password verification failure on self-hosted Cap #1357

@bapspatil

Description

@bapspatil

Description

I've self-hosted Cap and set a password for one of my videos as test1234 (example), but when I open the video page in incognito and enter test1234 as the password, it throws a "Failed to verify password" error.

Reproduction

  1. Set a password for a video.
  2. Access the video in incognito.
  3. Enter the password; it currently fails to be verified.

Additional Context

  • Cap version: 0.82
  • Operating system, version: macOS Tahoe 26.1
  • Device (optional):

Cap's debug logs from the server:

2025-11-05T18:07:11.854091327Z Error verifying video password: Error: Encryption failed: Invalid encryption key format: Encryption key must be 32 bytes (64 hex characters)
2025-11-05T18:07:11.854130067Z     at f (.next/server/chunks/ssr/_c88f4be9._.js:1:1204)
2025-11-05T18:07:11.854139097Z     at async l (.next/server/chunks/ssr/[root-of-the-server]__7a711fbf._.js:2:12843)
2025-11-05T18:07:11.854146907Z     at async g (.next/server/chunks/ssr/_bf3018eb._.js:1:8414)
2025-11-05T18:07:11.854154017Z     at async o (.next/server/chunks/ssr/_bf3018eb._.js:2:1902)
2025-11-05T18:07:11.854179727Z     at async M (.next/server/chunks/ssr/_bf3018eb._.js:2:6986)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions