[GH-ISSUE #42] Maximum password length is much shorter than anticipated #22

Open
opened 2026-03-03 19:10:55 +03:00 by kerem · 0 comments
Owner

Originally created by @turtureanu on GitHub (Nov 2, 2024).
Original GitHub issue: https://github.com/productiveops/dokemon/issues/42

After installing dokemon and navigating to http://localhost:9090 I was greeted with a screen that prompted me to create a user (web/src/app/auth/setup.tsx).

I use a password manager, and I don't like to remember passwords. The advantage of using a password manager is that I can generate really long passwords. The problem here is that I cannot use a long password such as this one: eTfDc0BHuD4K5JIbeRvAfB0Xykq2XMtk34ORygYybsA2yaKkuHdgcJznSiSNjTZkyKZXaUw8UKjvKOnN

The website just refreshed and it didn't seem to create the user. After creating a user with a much shorter password (10 chars), I tried changing the password, but I got the following error:
image

After trying to see, if the limit is configured somewhere, I came upon this snippet:
github.com/productiveops/dokemon@e800d3e62b/pkg/server/handler/request_user.go (L11)

This does not seem to be by design, so that's why I'm opening this issue.

Originally created by @turtureanu on GitHub (Nov 2, 2024). Original GitHub issue: https://github.com/productiveops/dokemon/issues/42 After installing dokemon and navigating to http://localhost:9090 I was greeted with a screen that prompted me to create a user ([web/src/app/auth/setup.tsx](https://github.com/productiveops/dokemon/blob/e800d3e62bc4efed59d9058998bad7f15660d851/web/src/app/auth/setup.tsx)). I use a password manager, and I don't like to remember passwords. The advantage of using a password manager is that I can generate really long passwords. The problem here is that I cannot use a long password such as this one: `eTfDc0BHuD4K5JIbeRvAfB0Xykq2XMtk34ORygYybsA2yaKkuHdgcJznSiSNjTZkyKZXaUw8UKjvKOnN` The website just refreshed and it didn't seem to create the user. After creating a user with a much shorter password (10 chars), I tried changing the password, but I got the following error: ![image](https://github.com/user-attachments/assets/3bc8a6e0-125e-4e4e-a012-0660baa888ab) After trying to see, if the limit is configured somewhere, I came upon this snippet: https://github.com/productiveops/dokemon/blob/e800d3e62bc4efed59d9058998bad7f15660d851/pkg/server/handler/request_user.go#L11 This does not seem to be by design, so that's why I'm opening this issue.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/dokemon#22
No description provided.