back
1 comments
That looks good. For your amusement I remembered another state machine bug in an SSH implementation: https://nakedsecurity.sophos.com/2018/10/17/serious-ssh-bug-...

It included some server states in the client state machine, so if a client sent the server its own "authentication successful" message it… just let them in.