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

IF: CDT support for BLS public keys and signatures #215

Closed
Tracked by #245
arhag opened this issue Aug 24, 2023 · 1 comment · Fixed by #221
Closed
Tracked by #245

IF: CDT support for BLS public keys and signatures #215

arhag opened this issue Aug 24, 2023 · 1 comment · Fixed by #221
Assignees
Labels
👍 lgtm OCI Work exclusive to OCI team
Milestone

Comments

@arhag
Copy link
Member

arhag commented Aug 24, 2023

Depends on #202 and #251.

This issue doesn't necessarily depend on AntelopeIO/leap#1525, but it may be easier to generate signatures and keys to use for unit tests for this issue if AntelopeIO/leap#1525 was already completed.

Add utility to encode a BLS public key and a BLS signature from binary to a text encoding and to decode in the other direction as well. (There is no need to support encoding/decoding or BLS private keys.)

Add function to verify a proof of possession (PoP) for a public key; see https://github.com/mschoenebeck/aggsigtest/blob/1c4d326e461d5b7c3930f3936494bdbc53f4436d/aggsigtest.cpp#L209-L230. Verify this function can be used to verify the PoPs generated by the leap-util tool (see AntelopeIO/leap#1525).

Nice to have (though not required for this issue): Provide convenient method to verify a signature on some message using the public key. Ensure that the BLS signatures generated from the BLS implementation used in Leap (or the sign function in the bls12-381 library) are able to be verified by this signature verification function in CDT.

@arhag
Copy link
Member Author

arhag commented Aug 24, 2023

Implementation for encoding/decoding BLS public keys can be shared with AntelopeIO/leap#1532.

@ericpassmore ericpassmore added this to the CDT 4.1.0-rc1 milestone Aug 24, 2023
@arhag arhag changed the title IF: CDT support for BLS public key IF: CDT support for BLS public keys and signatures Aug 30, 2023
@dimas1185 dimas1185 linked a pull request Sep 13, 2023 that will close this issue
2 tasks
@heifner heifner added the OCI Work exclusive to OCI team label Nov 29, 2023
heifner added a commit that referenced this issue Dec 5, 2023
heifner added a commit that referenced this issue Dec 5, 2023
heifner added a commit that referenced this issue Dec 5, 2023
@heifner heifner closed this as completed Dec 6, 2023
@arhag arhag modified the milestones: Unknown, CDT 5.0, IF Dec 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👍 lgtm OCI Work exclusive to OCI team
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

5 participants