commit 236a0ce46819ce4b93f73ba112e3bfb0726bade7 Author: Andy Lutomirski Date: Mon Aug 11 17:51:27 2014 -0700 webconfig: Use 16 byte tokens, as advertized diff --git a/share/tools/web_config/webconfig.py b/share/tools/web_config/webconfig.py index e129c76..2ceb67e 100755 --- a/share/tools/web_config/webconfig.py +++ b/share/tools/web_config/webconfig.py @@ -654,7 +654,7 @@ where = os.path.dirname(sys.argv[0]) os.chdir(where) # Generate a 16-byte random key as a hexadecimal string -authkey = hex(random.getrandbits(16*4))[2:] +authkey = hex(random.getrandbits(16*8))[2:] # Try to find a suitable port PORT = 8000