diff options
author | MITSUNARI Shigeo <herumi@nifty.com> | 2016-08-10 18:35:08 +0800 |
---|---|---|
committer | MITSUNARI Shigeo <herumi@nifty.com> | 2016-08-10 18:35:08 +0800 |
commit | 1489aa21e77b98a0c1193f62b9f7a926f03c94ff (patch) | |
tree | d874b60baa92201f428dff51af1e8374876a25bd | |
parent | bc8beb99461abb26cd7f07b5209b6e2ab6c12823 (diff) | |
download | dexon-bls-1489aa21e77b98a0c1193f62b9f7a926f03c94ff.tar.gz dexon-bls-1489aa21e77b98a0c1193f62b9f7a926f03c94ff.tar.zst dexon-bls-1489aa21e77b98a0c1193f62b9f7a926f03c94ff.zip |
rm sign.txt before recovering
-rw-r--r-- | bls_smpl.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/bls_smpl.py b/bls_smpl.py index f3bfec0..f834d80 100644 --- a/bls_smpl.py +++ b/bls_smpl.py @@ -21,7 +21,7 @@ def recover(ids): subprocess.check_call(cmd) def main(): - m = "abc" + m = "hello bls threshold signature" n = 10 ids = [1, 5, 3, 7] k = len(ids) @@ -31,6 +31,8 @@ def main(): share(n, k) for i in ids: sign(m, i) + verify(m, i) + subprocess.check_call(["rm", "sample/sign.txt"]) recover(ids) verify(m) |