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

Add BLS12381 G1 & G2 Test Vectors #23

Open
OR13 opened this issue Nov 13, 2020 · 2 comments
Open

Add BLS12381 G1 & G2 Test Vectors #23

OR13 opened this issue Nov 13, 2020 · 2 comments
Assignees

Comments

@OR13
Copy link
Contributor

OR13 commented Nov 13, 2020

https://github.com/transmute-industries/did-key.js/blob/master/packages/test-vectors/src/did-core-conformance/bls12381_g1andg2/bls12381_g1andg2.json

This did key implementation supports G1 and G2 at the same time, allowing a single did:key to be used for both JSON-LD ZKPs and linked secrets.

@OR13 OR13 self-assigned this Sep 23, 2021
@oed
Copy link

oed commented Dec 23, 2021

Looks like your link is broken. Will this enable keyAgreement with BLS? In particular I would be interested in using a BLS did-key as a recipient in a proxy reencryption scheme such as nube

@OR13
Copy link
Contributor Author

OR13 commented Dec 23, 2021

here is a fresher link: https://did.key.transmute.industries/generate/bls12381?seed=16bad412388e5029420aba50594c79c126533f3d77e51e465d82707447a6d169

^ thats a private key for testing purposes...

Last i checked with @tplooker BLS12381 does not support ECDH or any form of key agreement, hence the did documents do not contain that relationship.

https://did.key.transmute.industries/did:key:z5TcFDkuSW3NijJBpKeDvtRZZniLyNcYcMXMWwAMwXoSrYkHBxm3TFtd7Zqc7g9SQz9xTt8KtJeva94QLNLsBoUWk9ndD62wpTbmCiHs89XdDeQjJ2i6FhDFpQKKVUwfMhsVn7c8ncLWi8r88uoTiV2UR5ExrXin81h3bTz8ZLDCvXSt6LLZResDE5tYVEUGShSehnGJ3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants