duesee / imap-codec

Rock-solid and complete codec for IMAP
Apache License 2.0
38 stars 14 forks source link

feat: Implement `AuthenticationData::Cancel` #386

Closed duesee closed 8 months ago

duesee commented 10 months ago

IMAP allows to cancel a SASL authentication dance.

From RFC3501:

If the client wishes to cancel an authentication exchange, it issues a line consisting of a single "*".

Note: This is a *\r\n send by the client. It must not be confused with an untagged response :-/

We missed to implement this. It's also not described in IMAP's formal syntax.

duesee commented 10 months ago

Note: Implementation available on v2 branch. (We can close this issue when it's merged on main.)