From b2f8c22fb8be292a219f43838f4f133120249af6 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Mon, 19 May 2008 14:24:41 -0700 Subject: [PATCH] debug dump-share: print size of encprivkey and signature too --- src/allmydata/scripts/debug.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/allmydata/scripts/debug.py b/src/allmydata/scripts/debug.py index 8f64b882..da6a2ced 100644 --- a/src/allmydata/scripts/debug.py +++ b/src/allmydata/scripts/debug.py @@ -175,6 +175,9 @@ def dump_SDMF_share(offset, length, config, out, err): print >>out, " total_shares: %d" % N print >>out, " segsize: %d" % segsize print >>out, " datalen: %d" % datalen + print >>out, " enc_privkey: %d bytes" % len(enc_privkey) + print >>out, " pubkey: %d bytes" % len(pubkey) + print >>out, " signature: %d bytes" % len(signature) share_hash_ids = ",".join(sorted([str(hid) for hid in share_hash_chain.keys()])) print >>out, " share_hash_chain: %s" % share_hash_ids -- 2.45.2