[Bug] accounts.centOS.org does not accept passwords of the length that accounts.fedoraProject.org does. #13507
Labels
No labels
announcement
anubis
authentication
aws
backlog
blocked
bodhi
ci
cloud
communishift
copr
database
day-to-day
dc-move
deprecated
dev
discourse
dns
downloads
easyfix
epel
firmitas
forgejo_migration
Gain
High
Gain
Low
Gain
Medium
gitlab
greenwave
hardware
help wanted
high-trouble
koji
koschei
lists
low-trouble
medium-trouble
mirrorlists
monitoring
Needs investigation
odcs
OpenShift
ops
outage
packager_workflow_blocker
pagure
permissions
Priority
Needs Review
Priority
Next Meeting
Priority
🔥 URGENT 🔥
Priority
Waiting on Assignee
Priority
Waiting on External
Priority
Waiting on Reporter
rabbitmq
release-monitoring
releng
request-for-resources
s390x
security
SMTP
sprint-0
sprint-1
src.fp.o
staging
unfreeze
waiverdb
websites-general
wiki
Backlog Status
Needs Review
Backlog Status
Ready
chore
documentation
points
01
points
02
points
03
points
05
points
08
points
13
Priority
High
Priority
Low
Priority
Medium
Sprint Status
Blocked
Sprint Status
Done
Sprint Status
In Progress
Sprint Status
Review
Sprint Status
To Do
Technical Debt
Work Item
Bug
Work Item
Epic
Work Item
Spike
Work Item
Task
Work Item
User Story
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
infra/tickets#13507
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description of request
My FAS password is comprised of 128 characters. It is accepted, when authenticating at
accounts.fedoraproject.org#login. This should be usable for CentOS, too:However, when I attempt to authenticate at
accounts.centos.org/#login, I observe:After posting
discussion.fedoraproject.org/t/199248, I discovered thataccounts.centos.org/forgot-password/changeinforms me that:Reducing the length of the password to 122 characters permitted me to authenticate.
[Bug] CentOS Accounts does not accept passwords of the length that FAS does.to [Bug]accounts.centOS.orgdoes not accept passwords of the length thataccounts.fedoraProject.orgdoes.I'm not sure why it would work on accounts.fedoraproject.org. The config has:
Max password length + 6-digits OTP is 128: https://pagure.io/freeipa/issue/9600
PASSWORD_POLICY = {"min": 8, "max": 122}
It's possible you set it to 128 before that limit was in place.
The "Unauthorized: bad credentials." sounds a lot like sporadic auth issues we have been trying to track down in #13482
If you just try again does it work now?
@kevin, the error message occurred consistently; I tried eight times at the CentOS authentication page, and ensured that, during that timespan, I was able to authenticate at the FAS login page. I expect that the sole correlation between this problem, and that one, is the uselessly non-descript error message.
It obviously consistently works now, because my password is < 128 characters. This is definitely due to password length. Consequently, do you want me to try registering a 128-character password at FAS again, to ensure that the limitation is actually enforced?
Your estimation that I registered it before that was instituted might be correct, although because you didn't cite the document where you acquired that information from, I'm unable to compare its Git record to my Bitwarden vault entrant revision records.
You could try and switch to a 128 character password now, but it should not let you do so.
I suppose it might be good to confirm that?
@kevin, it's prevented:
Consequently, this bug solely affects accounts whose passwords were grandfathered in from > 122 characters. Ideally, we should either invalidate all of those passwords, thereby enforcing a password reset, or we should modify CentOS's authentication page to accept them, as FAS's does.
Yeah, I am going to suspect there's very few people with 128+ char passwords.
Unfortunately, I dont think we have any way to know thought.
I don't understand why the centos version of the app wouldn't accept it... it's the same app, just a different theme.
@abompard any ideas?