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

fix: create proof with invalid message set #81

Merged
merged 9 commits into from
Apr 28, 2020
Merged

Conversation

mikelodder7
Copy link
Contributor

Add more tests and fail when an invalid message is passed to create_proof

Signed-off-by: Michael Lodder <[email protected]>
src/bbsSignature.ts Outdated Show resolved Hide resolved
@tplooker tplooker changed the title Proof updates fix: create proof with invalid message set Apr 28, 2020
@github-actions
Copy link

Total Coverage: 65.83%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
lib
   bbsSignature.js0%9.09%27.69%101, 122, 132, 133, 134, 135, 144, 154, 155, 156, 164, 167, 177, 178, 179, 180, 188, 191, 201, 202, 203, 211, 221, 222, 238, 239, 240, 247, 30, 31, 32, 34, 34, 34, 34, 39, 50, 51, 52, 53, 55, 55, 55, 55, 60, 70, 71, 72, 77, 80, 90, 91, 92, 93, 98
   bls12381.js0%0%60%25, 25, 25, 25, 25, 25, 25, 26
   bls12381toBbs.js0%0%36.36%25, 26, 26, 26, 27, 32, 39, 44, 51
   index.js50%100%100%15
lib/types
   BlsKeyPair.js100%100%100%
   index.js100%100%100%
src
   bbsSignature.ts100%72.73%81.25%140, 164, 222, 223, 224, 231, 242, 243, 260, 261, 262, 270
   bls12381.ts83.33%100%100%26
   bls12381toBbs.ts100%100%100%
   index.ts100%100%100%
src/types
   BlsKeyPair.ts100%100%100%
   index.ts100%100%100%

@github-actions
Copy link

Total Coverage: 65.83%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
lib
   bbsSignature.js0%9.09%27.69%101, 122, 132, 133, 134, 135, 144, 154, 155, 156, 164, 167, 177, 178, 179, 180, 188, 191, 201, 202, 203, 211, 221, 222, 238, 239, 240, 247, 30, 31, 32, 34, 34, 34, 34, 39, 50, 51, 52, 53, 55, 55, 55, 55, 60, 70, 71, 72, 77, 80, 90, 91, 92, 93, 98
   bls12381.js0%0%60%25, 25, 25, 25, 25, 25, 25, 26
   bls12381toBbs.js0%0%36.36%25, 26, 26, 26, 27, 32, 39, 44, 51
   index.js50%100%100%15
lib/types
   BlsKeyPair.js100%100%100%
   index.js100%100%100%
src
   bbsSignature.ts100%72.73%81.25%140, 164, 222, 223, 224, 231, 242, 243, 260, 261, 262, 270
   bls12381.ts83.33%100%100%26
   bls12381toBbs.ts100%100%100%
   index.ts100%100%100%
src/types
   BlsKeyPair.ts100%100%100%
   index.ts100%100%100%

@github-actions
Copy link

Total Coverage: 87.23%

Coverage Report
FileBranchesFuncsLinesUncovered Lines
src
   bbsSignature.ts100%72.73%81.25%140, 164, 222, 223, 224, 231, 242, 243, 260, 261, 262, 270
   bls12381.ts83.33%100%100%26
   bls12381toBbs.ts100%100%100%
   index.ts100%100%100%
src/types
   BlsKeyPair.ts100%100%100%
   index.ts100%100%100%

@tplooker tplooker merged commit bf6453f into master Apr 28, 2020
@tplooker tplooker deleted the proof_updates branch April 28, 2020 02:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants