You must login to view /lordwelch/chasquid/commit/99df5e7b5718e08dbb26ee145282ab17c68d16f7.
The GitHub option should be usable for most people, it only links via username.

Files
chasquid/cmd/dovecot-auth-cli/test_auth_bad_proto.cmy
Alberto Bertogli 5cdbd9ff6e Fix documentation/comment typos
This patch fixes a variety of typos in documentation and comments, found
by running `codespell`.
2023-10-07 12:41:57 +01:00

38 lines
807 B
Plaintext

# Break the handshake early.
client unix_listen .dovecot-client
c = ./dovecot-auth-cli .dovecot auth username password
client <- VERSION 1 1
client <~ CPID
# We are supposed to send the handshake here.
client close
c <- no: error receiving handshake: EOF
c wait 0
# Break before sending the final response.
client unix_listen .dovecot-client
c = ./dovecot-auth-cli .dovecot auth username password
client -> VERSION 1 1
client -> SPID 12345
client -> CUID 12345
client -> COOKIE lovelycookie
client -> MECH PLAIN
client -> MECH LOGIN
client -> DONE
client <- VERSION 1 1
client <~ CPID
client <- AUTH 1 PLAIN service=smtp secured no-penalty nologin resp=dXNlcm5hbWUAdXNlcm5hbWUAcGFzc3dvcmQ=
# We're supposed to send the OK/FAIL here.
client close
c <- no: error receiving response: EOF
c wait 0