-
Notifications
You must be signed in to change notification settings - Fork 593
Closed
Description
Hi,
as far as I understood your code you implement the smtp.Auth interface which is then used by the smtp package when calling c.Auth().
In auth.go you implement LOGIN and PLAIN mechanisms. Have you ever thought about implementing CRAM-MD5?
You would have to return CRAM-MD5 in Auth.Send, listen for the base64 encoded challenge in Auth.Next, decode it and return (base64 encoded) the username and a MD5 response à la
digest = MD5(('password' XOR opad), MD5(('password' XOR ipad), challenge)).
Metadata
Metadata
Assignees
Labels
No labels