#219 Long password generates 401

Open
opened 1 week ago by TB1234 · 4 comments
TB1234 commented 1 week ago

Description - describe the bug / feature / suggestion in brief : a long password (in may case > 60 character, multiple words, generated by KeePass seperated by space) generate a auth failed on login. If I change the password to a shorter one, the login works. The password is correct because I filled it with KeePass.

Expected behaviour - describe what should be the expected result : successfull login (200)

GitNex version : 2.2.2 / build 72

Gitea version : 1.10.0

Android version : LineageOS 16.0-20191126-NIGHTLY (Anroid 9)

Screenshots - if any: ./.

Logs - if any : ./.

#### Description - describe the bug / feature / suggestion in brief : a long password (in may case > 60 character, multiple words, generated by KeePass seperated by space) generate a auth failed on login. If I change the password to a shorter one, the login works. The password is correct because I filled it with KeePass. #### Expected behaviour - describe what should be the expected result : successfull login (200) #### GitNex version : 2.2.2 / build 72 #### Gitea version : 1.10.0 #### Android version : LineageOS 16.0-20191126-NIGHTLY (Anroid 9) #### Screenshots - if any: ./. #### Logs - if any : ./.
mmarif commented 1 week ago
Owner

Can you share a test password here(not your actual password) so I can test it. Almost similar to the one which generate 401 error.

Can you share a test password here(not your actual password) so I can test it. Almost similar to the one which generate 401 error.
mmarif added the
Investigate
label 1 week ago
TB1234 commented 1 week ago
Poster

Hello,

yes, here is my old one, which did not work until I changed it to a new, shorter one (whitout quotes): “anhäkeln sonntäglich Kinderbuchautorin Grundausstattung Seraphim Schabbes verschwörerisch”

Hello, yes, here is my old one, which did not work until I changed it to a new, shorter one (whitout quotes): "anhäkeln sonntäglich Kinderbuchautorin Grundausstattung Seraphim Schabbes verschwörerisch"
mmarif commented 1 week ago
Owner

I am away right now to test it. But you have special characters which may not be the problem. But space maybe a problem, can remove the space and try.

I am away right now to test it. But you have special characters which may not be the problem. But space maybe a problem, can remove the space and try.
TB1234 commented 1 week ago
Poster

It looks like it is a problem with some special character. But I did not find out which character create the problem.

I cannot use my old password (I posted above) because it does not match the complexity rule. If I use another password and add space or the special german chars, it works. If I create a password with a lot of special characters (?:^>…) it does not work in some cases. In other cases the same characters does work.

So I cannot say what is the character or the string, which create realy the problem :-/

It looks like it is a problem with some special character. But I did not find out which character create the problem. I cannot use my old password (I posted above) because it does not match the complexity rule. If I use another password and add space or the special german chars, it works. If I create a password with a lot of special characters (?:^>...) it does not work in some cases. In other cases the same characters does work. So I cannot say what is the character or the string, which create realy the problem :-/
6543 added the
Bug
label 1 week ago
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
Cancel
Save
There is no content yet.