summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2021-12-15 17:50:00 -0800
committerKevin McCarthy <kevin@8t8.us>2021-12-23 14:59:01 -0800
commit68caf9140c8217ecf6c848460c4b4d27996b2922 (patch)
tree37e5ee6ded751efaa7e9460baaaca9ba9d109926 /doc
parente3faeb0355ad3ac53696d0d4d9eee3e2fd9b595e (diff)
Add GNU SASL support for authentication.
It turns out Cyrus SASL's license may not be compatible with GPL programs, see Debian Bug 999672. So, add support for the GNU SASL library, using configure option --with-gsasl. I haven't touched the Cyrus SASL code in Mutt all that much in the past, but I've done my best to keep the gsasl code clean and simple. There are likely mistakes to be fixed and additions to be made, though. I queried the gsasl mailing list about the need for a socket wrapper (as is done for the cyrus code), and it seems this should no longer be needed. As long as GSASL_QOP is left at the default (qop-auth), the client should ask for authentication, and not negotiate integrity or confidentiality. (Thanks to Phil Pennock and Simon Josefsson for their reponses - although the blame is fully on *me* if this turns out to be incorrect). Therefore there is no CONNECTION wrapping in this implementation. Add multiline response support for SMTP authentication (which is probably not actually needed). Also add arbitrary line length for the SASL server responses (the RFCs note that for SASL, the protocol line lengths don't apply).
Diffstat (limited to 'doc')
-rw-r--r--doc/makedoc-defs.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/makedoc-defs.h b/doc/makedoc-defs.h
index 20ed17d6..5a83a110 100644
--- a/doc/makedoc-defs.h
+++ b/doc/makedoc-defs.h
@@ -61,6 +61,12 @@
# ifndef USE_SASL
# define USE_SASL
# endif
+# ifndef USE_SASL_CYRUS
+# define USE_SASL_CYRUS
+# endif
+# ifndef USE_SASL_GNU
+# define USE_SASL_GNU
+# endif
# ifndef USE_SIDEBAR
# define USE_SIDEBAR
# endif