muquit / mailsend-go

mailsend-go is a multi-platform command line tool to send mail via SMTP protocol
Other
166 stars 16 forks source link

Safe from STRIPTLS attacks? #11

Open salim-b opened 4 years ago

salim-b commented 4 years ago

Just a brief question: When using STARTTLS (the default) and the server signals that TLS is unavailable (which is what a MITM attacker mimics when performing the so called STRIPTLS attack), is there either

(neither of the above would be bad, I guess...)

Update: Here's an instructive discussion on serverfault related to this topic.

muquit commented 4 years ago

It uses golang's StartTLS implementation, so I suspect it will do the right thing. I didn't get a chance to test it however. If you have time, would you test and report it back? Thanks.