LOC-23 - Shorten Session IDs and increase keyspace.
LOC-23 - Shorten Session IDs and increase keyspace.

Changes the session ID from a 128 Uppercase/numeric char string (36^128) to a 48 char mixed character string (80^48).

Permitted characters are:

string.ascii_letters + string.digits + '/=?&@#%^()+,.<>:!'

--- a/server/LocalChat.py
+++ b/server/LocalChat.py
@@ -718,8 +718,8 @@
         
 
 
-    def genSessionKey(self,N=128):
-        return ''.join(random.SystemRandom().choice(string.ascii_uppercase + string.digits).encode('utf-8') for _ in range(N))
+    def genSessionKey(self,N=48):
+        return ''.join(random.SystemRandom().choice(string.ascii_letters + string.digits + '/=?&@#%^()+,.<>:!').encode('utf-8') for _ in range(N))