Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement admin password hashing with bcrypt #3754

Open
wants to merge 8 commits into
base: develop
Choose a base branch
from

Conversation

mahmed2000
Copy link
Contributor

@mahmed2000 mahmed2000 commented May 31, 2024

#2495

Works, but not tested extensively. Stream keys still plaintext.

Edit: api tests are failing because they still expect the raw password instead of the hash, will get to them in either a few hours or tomorrow

Edit 2: Tests work now, just grabbed the first package for bcrypt I found, hasn't been updated in a while. Lmk if there's a different package you'd rather use, otherwise this should be good?

Copy link

cypress bot commented May 31, 2024

Passing run #16935 ↗︎

0 87 0 0 Flakiness 0

Details:

Merge 6ba9707 into e500bd7...
Project: Owncast Web Frontend Commit: d7216735ee ℹ️
Status: Passed Duration: 04:08 💡
Started: May 31, 2024 8:09 PM Ended: May 31, 2024 8:13 PM

Review all test suite changes for PR #3754 ↗︎

@mahmed2000 mahmed2000 marked this pull request as ready for review May 31, 2024 16:51
@gabek gabek linked an issue May 31, 2024 that may be closed by this pull request
@gabek
Copy link
Member

gabek commented Jun 9, 2024

All looks great in my usage testing! Though I went to use the updated admin to try to change the password there and I ran into #3775, so I haven't yet been able to test that because of that bug. The only change there, though, would be not displaying the password in the admin UI.

@gabek
Copy link
Member

gabek commented Jun 13, 2024

When using another browser I had no problems, so something must have been cached.

@gabek
Copy link
Member

gabek commented Jun 26, 2024

I'll have to fix this conflict, but then we can merge this in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

implement admin password hashing
2 participants