Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump IETF BLS spec version draft 03 -> draft 04 #2080

Merged
merged 6 commits into from
Oct 5, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix encoding
  • Loading branch information
hwwhww committed Sep 25, 2020
commit b43f62de0e0fe50ccba6a82c79fe21b0bee36178
6 changes: 3 additions & 3 deletions tests/generators/bls/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ def case01_sign():
# expect_exception(milagro_bls.Sign, ZERO_PRIVKEY_BYTES, message) # TODO: enable it when milagro is ready
yield f'sign_case_zero_privkey', {
'input': {
'privkey': ZERO_PRIVKEY_BYTES,
'privkey': encode_hex(ZERO_PRIVKEY_BYTES),
'message': encode_hex(message),
},
'output': None
Expand Down Expand Up @@ -181,8 +181,8 @@ def case03_aggregate():
aggregate_sig = bls.Aggregate([Z2_SIGNATURE])
assert aggregate_sig == milagro_bls.Aggregate([Z2_SIGNATURE]) == Z2_SIGNATURE
yield f'aggregate_infinity_signature', {
'input': [Z2_SIGNATURE],
'output': aggregate_sig,
'input': [encode_hex(Z2_SIGNATURE)],
'output': encode_hex(aggregate_sig),
}


Expand Down