lotr-api icon indicating copy to clipboard operation
lotr-api copied to clipboard

Problems when signing up/login in using long passwords

Open Gimleux opened this issue 4 years ago • 3 comments

I signed up using a generated 256 character password. I received a positive feedback submitting, but when I tried to log in, a message appeared, informing me, that the password would be incorrect. As I was using a password storage and tried it multiple times, this should not be the case. Afterwards, I signed up, using another email and a shorter password and everything worked fine.

Gimleux avatar May 30 '21 15:05 Gimleux

Hi there, thanks for reporting! We will definitively have a look into that issue.

gitfrosh avatar Jun 01 '21 19:06 gitfrosh

Hi, I just tried to reproduce this error but I was able to register and login with 256 character long password.

I also tried longer passwords and it worked too but it was the case only for simple passwords. (only letters)

When I used a 256 chars (upper and lower case letters and digits) password (generated in keypass), it gave me the same behavior as @Gimleux reported.

EDIT: It works until 254 length password provided, otherwise it fails.

MateuszKikmunter avatar Jul 08 '21 11:07 MateuszKikmunter

We would probably need some kind of password rule set, that supports users while settings up their accounts and catches known problems with those kinds of passwords.

gitfrosh avatar Oct 04 '21 09:10 gitfrosh