Commit graph

13 commits

Author SHA1 Message Date
Josh
20b2ef5700
Rework CI and add game server login tests (#615)
* Make tests run in release mode

* Fix multiple command in ci

* I forgot how yaml works

* Shitty workaround

* grr mondays

* Add an NP ticket builder for unit tests

* Add NP ticket unit testing

* Fix range indexers for finding uid

* Fix LoginTests

* Validate unit test signatures

* Make builder code follow same style conventions

* Remove remnant of hardcoded issuer id
2023-01-07 00:12:39 -06:00
Josh
19ea44e0e2
Rework login and registration systems (#600)
* Initial work for verifying login ticket signatures

* Add candidate psn public key

* Add candidate psn public key and fix nuget packages

* Finalize npticket changes

* Add support for ticket version 3.0

* Rework login system to link platform accounts instead of using ip addresses

* Make linked accounts green instead of blue

* Fix api building

* Fix unit tests

* Actually fix unit tests

* Set unit test user's linked platform

* Why was this the wrong default value?

* Fix username change code

* Make TicketHash hash the entire ticket instead of just the serial

* Send password setup email when user sets their email for the first time

* Changes from self review
2022-12-26 01:03:14 -08:00
jvyden
e72e924c40
Remove PL.Tests dependency on all server projects
Should allow slightly faster parallelized builds.
2022-07-28 16:16:16 -04:00
jvyden
c345eeebb9
Massive organization of classes and namespaces 2022-05-15 16:45:00 -04:00
jvyden
b2ec7eae57
Move servers to LBPU.PL.Servers 2022-05-14 23:37:55 -04:00
jvyden
47271d1798
Split API into its own project 2022-05-14 16:46:28 -04:00
jvyden
f31a73ccaa
Multiple changes to HashHelper and RandomHelper
- Renamed HashHelper to CryptoHelper
- Moved CryptoHelper.GenerateRandomBytes to RandomHelper
- Documented RandomHelper
2022-05-01 15:27:44 -04:00
Josh
216cd2e198
Fix slot version bug and other improvements (#281)
* Fix slot version bug and other improvements

* Fix upload tests not authenticating

Co-authored-by: jvyden <jvyden@jvyden.xyz>
2022-04-13 15:00:45 -04:00
jvyden
7081b725a8
Implement PSN ticket reading 2022-01-27 16:50:08 -05:00
jvyden
c5cc8a8782
Move startup & middleware classes into their own namespaces 2022-01-20 21:04:50 -05:00
jvyden
35f50f5f8c
The Great Formatting of 2022 2022-01-18 23:09:02 -05:00
jvyden
281be33640
Add website authentication tests 2021-12-23 00:03:04 -05:00
jvyden
1fbabe0000
Split normal tests from game api tests 2021-12-22 22:33:50 -05:00
Renamed from ProjectLighthouse.Tests/LighthouseTest.cs (Browse further)