jinx-vi-0 / passop

A simple and secure password manager
MIT License
19 stars 45 forks source link

Bug Report: Password Input Validation for Existing Passwords #95

Open rairohit17 opened 1 week ago

rairohit17 commented 1 week ago

Description: When attempting to store an existing password, the input validation process enforces validation rules, even though the password has already been created. This causes issues because users are forced to modify their passwords unnecessarily, potentially leading to problems when integrating with other services or remembering their passwords. Input validation should only be enforced when creating a new password, not when storing an existing one.

Steps to reproduce Create a password that does not meet the input validation requirements. Attempt to store this password in the system. Observe that the system rejects the password due to input validation, even though the password already exists and was valid at the time of creation.

Expected behavior The application must accept already existing passwords without validating them

Screencast from 2024-10-13 13-50-46.webm

rairohit17 commented 1 week ago

I would like to contribute by resolving this issue. I believe I can modify the validation logic to ensure that it applies only when creating or updating passwords, while allowing existing passwords to be stored without triggering validation rules.could you assign me this issue @jinx-vi-0