Commit Graph

4 Commits

Author SHA1 Message Date
ac11ae64a8 Add a test that our little mini-firewall works as intended. 2021-11-21 21:18:07 -08:00
e319dda2a8 Further testing, especially of username/password checks. 2021-10-09 18:55:24 -07:00
fbd98a5f9b A significant clean-up of the server authentication phase, with a basic test.
The prior implementation involved some (moderately awkward) layered
`match` expressions; this version skips those in favor of `?`. The cost
is a little less detail about (for example) when serialization errors
happen. On the bright side, it gains us some huge improvements in code
clarity. We might be able to get back the tracing later, with other
library support.

In addition, we know have a couple tests: one to make sure we choose the
authentication method appropriately, and a very basic handshake test for
when we're not actually negotiation a username and password.
2021-10-09 18:40:00 -07:00
Adam Wick
1bf6f62d4e checkpoint 2021-06-24 19:18:16 -07:00