--- a/plugins/mod_admin_shell.lua Thu Nov 25 18:13:43 2021 +0100
+++ b/plugins/mod_admin_shell.lua Fri Nov 26 11:39:13 2021 +0100
@@ -726,14 +726,14 @@
secure = {
title = "Security";
key = "conn";
- width = 11;
+ width = 8;
mapper = function(conn, session)
if not session.secure then return "insecure"; end
if not conn or not conn:ssl() then return "secure" end
local sock = conn and conn:socket();
- if not sock then return "unknown TLS"; end
+ if not sock then return "secure"; end
local tls_info = sock.info and sock:info();
- return tls_info and tls_info.protocol or "unknown TLS";
+ return tls_info and tls_info.protocol or "secure";
end;
};
encryption = {