summaryrefslogtreecommitdiffstats
path: root/mutt.h
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2020-06-22 18:31:47 -0700
committerKevin McCarthy <kevin@8t8.us>2020-06-23 15:46:38 -0700
commitc9b58e3df046c60417720b4054ffbb2422360e0f (patch)
treedef8f537effc916e16963cdbc2e727488dc672c1 /mutt.h
parent0e428dd593dc724b841987db1b031b44640c4139 (diff)
Add $tunnel_is_secure config, defaulting set.
The config variable is to resolve an ambiguity in Mutt about whether using $tunnel is secure. On the one hand, the examples in the manual show using ssh or a direct pipe to a program. Many users do this to connect to an IMAP server with PREAUTH configured, relying on the tunnel to be secured by ssh or by the fact that it's a local pipe. On the other hand, the Mutt connection code still respects $ssl_starttls and $ssl_force_tls, as if the $tunnel connection were not already secured. After some discussion on mutt-dev, it seemed the best idea to assume the connection is secure by default, in order to not break IMAP PREAUTH connections, but to provide a configuration variable in case there are situations where it is not. Thanks to Aaron Schrab for the original idea of setting conn->ssf for $tunnel in his patch to ticket 250.
Diffstat (limited to 'mutt.h')
-rw-r--r--mutt.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/mutt.h b/mutt.h
index 8d5483b9..482f32fc 100644
--- a/mutt.h
+++ b/mutt.h
@@ -542,6 +542,7 @@ enum
OPTTHREADRECEIVED,
OPTTILDE,
OPTTSENABLED,
+ OPTTUNNELISSECURE,
OPTUNCOLLAPSEJUMP,
OPTUNCOLLAPSENEW,
OPTUSE8BITMIME,