]> git.ipfire.org Git - thirdparty/git.git/commit
imap-send: add PLAIN authentication method to OpenSSL
authorAditya Garg <gargaditya08@live.com>
Fri, 20 Jun 2025 06:40:28 +0000 (12:10 +0530)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Jun 2025 15:11:17 +0000 (08:11 -0700)
commitea8681e3a4ca579f03d8dfb7a425a2a9da4b3493
tree03e02a92ad46de2bf8a5fb6a4c667a0b84bbc2e0
parent103d7b12b7adeee88a95e642ffd105a25335bfef
imap-send: add PLAIN authentication method to OpenSSL

The current implementation for PLAIN in imap-send works just fine
if using curl, but if attempted to use for OpenSSL, it is treated
as an invalid mechanism. The default implementation for OpenSSL is
IMAP LOGIN command rather than AUTH PLAIN. Since AUTH PLAIN is
still used today by many email providers in form of app passwords,
lets add an implementation that can use AUTH PLAIN if specified.

Signed-off-by: Aditya Garg <gargaditya08@live.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/config/imap.adoc
imap-send.c