From: Brian Warner Date: Thu, 13 Nov 2008 03:18:42 +0000 (-0700) Subject: web/info.py: use 128-bit ophandles instead of 64-bit X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/%22doc.html/copyable.html?a=commitdiff_plain;h=0d5cc38a351da1abe54adab98042748c71b70a96;p=tahoe-lafs%2Ftahoe-lafs.git web/info.py: use 128-bit ophandles instead of 64-bit --- diff --git a/src/allmydata/web/info.py b/src/allmydata/web/info.py index 6d7dc3aa..b15bc2be 100644 --- a/src/allmydata/web/info.py +++ b/src/allmydata/web/info.py @@ -194,7 +194,7 @@ class MoreInfo(rend.Page): return "" def render_deep_check_form(self, ctx, data): - ophandle = base32.b2a(os.urandom(8)) + ophandle = base32.b2a(os.urandom(16)) deep_check = T.form(action=".", method="post", enctype="multipart/form-data")[ T.fieldset[ @@ -217,7 +217,7 @@ class MoreInfo(rend.Page): return ctx.tag[deep_check] def render_deep_size_form(self, ctx, data): - ophandle = base32.b2a(os.urandom(8)) + ophandle = base32.b2a(os.urandom(16)) deep_size = T.form(action=".", method="post", enctype="multipart/form-data")[ T.fieldset[ @@ -229,7 +229,7 @@ class MoreInfo(rend.Page): return ctx.tag[deep_size] def render_deep_stats_form(self, ctx, data): - ophandle = base32.b2a(os.urandom(8)) + ophandle = base32.b2a(os.urandom(16)) deep_stats = T.form(action=".", method="post", enctype="multipart/form-data")[ T.fieldset[ @@ -241,7 +241,7 @@ class MoreInfo(rend.Page): return ctx.tag[deep_stats] def render_manifest_form(self, ctx, data): - ophandle = base32.b2a(os.urandom(8)) + ophandle = base32.b2a(os.urandom(16)) manifest = T.form(action=".", method="post", enctype="multipart/form-data")[ T.fieldset[