7 Commits

Author SHA1 Message Date
Spotlight
dad74c7f82
Allow no authentication
Only when debugging is enabled. Allows skipping of authentication for usage with CAS and so forth.
2021-07-24 18:27:56 -05:00
Spotlight
80601c7788
Add debug config option 2021-05-23 16:42:41 -05:00
Spotlight
346859afe5
Use pgx for connections 2021-05-03 18:37:02 -05:00
Spotlight
8009f1a510
Reduce security
Nintendo makes the unfortunate decision of sending the plaintext token to the client in a few requests.

Instead of storing a SHA-256 hash of the MD5 we expect from the Wii, we now store both the computed MD5 and plaintext generated token during registration.

The author of this commit apologizes.
2020-12-25 01:45:38 -06:00
Spotlight
67df1d307c
Add proper account querying 2020-09-10 19:24:32 -05:00
Spotlight
8e17fe4585
Add proper authentication 2020-09-05 10:34:24 -05:00
Spotlight
37fb20d8df
Restructure requests to route-based format
Instead of individual handlers, each request deals with one Envelope. This allows fine-tuned error control, along with what's effectively middleware for authentication.
2020-09-05 08:58:01 -05:00