owncast/test/automated/api
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
..
lib Use a random number instead of hard coded in test 2023-01-22 20:43:01 -08:00
schema validate Nodeinfo response by schema (#2390) 2022-11-29 16:05:44 -08:00
001_index.test.js chore(tests): attempt to clean up test flakiness (#3710) 2024-04-18 15:11:06 -07:00
002_publicstatic.test.js chore(tests): attempt to clean up test flakiness (#3710) 2024-04-18 15:11:06 -07:00
003_chat.test.js chore(tests): attempt to clean up test flakiness (#3710) 2024-04-18 15:11:06 -07:00
004_chatusers.test.js chore(tests): attempt to clean up test flakiness (#3710) 2024-04-18 15:11:06 -07:00
005_chatmoderation.test.js chore(tests): attempt to clean up test flakiness (#3710) 2024-04-18 15:11:06 -07:00
006_integrations.test.js chore(tests): attempt to clean up test flakiness (#3710) 2024-04-18 15:11:06 -07:00
007_admin.test.js chore(tests): attempt to clean up test flakiness (#3710) 2024-04-18 15:11:06 -07:00
008_federation.test.js chore(tests): attempt to clean up test flakiness (#3710) 2024-04-18 15:11:06 -07:00
009_configmanagement.test.js Implement admin password hashing with bcrypt (#3754) 2024-06-26 21:20:22 -07:00
010_auth.test.js chore(tests): attempt to clean up test flakiness (#3710) 2024-04-18 15:11:06 -07:00
package-lock.json Implement admin password hashing with bcrypt (#3754) 2024-06-26 21:20:22 -07:00
package.json Implement admin password hashing with bcrypt (#3754) 2024-06-26 21:20:22 -07:00
run.sh Fix HLS automatic test (#2572) 2023-01-11 20:11:13 -08:00