owncast/core
mahmed2000 a7e5f20337
Implement admin password hashing with bcrypt (#3754)
* Add bcrypt hashing helpers

* SetAdminPassword now hashes the password before saving it

* BasicAuth now compares the bcrypt hash for the password

* Modify migration2 to avoid a double password hash when upgrading

* Add migration for bcrypt hashed password

* Do not show admin password hash as initial value

* Update api tests to compare the bcrypt hash of the admin password instead

* Remove old admin password api tests

---------

Co-authored-by: Gabe Kangas <gabek@real-ity.com>
2024-06-26 21:20:22 -07:00
..
cache Gek/cache bot search page (#3530) 2024-01-21 17:18:47 -08:00
chat Optionally disable chat rate limiter and add optional chat slur/language filter (#3681) 2024-04-09 22:25:41 -07:00
data Implement admin password hashing with bcrypt (#3754) 2024-06-26 21:20:22 -07:00
playlist Add support for IP-based bans (#1703) 2022-03-06 20:34:49 -08:00
rtmp feat(video): add IP address to RTMP logs. Closes #3212 (#3233) 2023-08-03 20:54:56 -07:00
storageproviders fix: share local hls file cleanup between s3 and filesystem providers. Fixes #3522 (#3531) 2024-01-22 20:26:36 -08:00
transcoder feat(log): point to passthrough as a potential issue when unable to generate thumbnails 2023-11-20 18:04:01 -08:00
user Update to Go 1.20 + run better align (#2927) 2023-05-30 10:31:43 -07:00
webhooks chore(go): run betteralign and gofumpt on codebase 2023-10-08 14:22:28 -07:00
core.go Mute the 'stream ended' clip's audio (#3630) 2024-04-17 11:44:19 -07:00
offlineState.go Mute the 'stream ended' clip's audio (#3630) 2024-04-17 11:44:19 -07:00
stats.go Add support for active viewer details API. Closes #1477 (#1747) 2022-03-06 17:31:47 -08:00
status.go Expanded linting + fix warnings (#1396) 2021-09-12 00:18:15 -07:00
storage.go remove global variables from core/storageproviders (#1444) 2021-10-11 16:29:36 -07:00
streamState.go Mute the 'stream ended' clip's audio (#3630) 2024-04-17 11:44:19 -07:00