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 trait: Privacy-preserving crypto #16

Closed
jceb opened this issue Nov 26, 2024 · 5 comments
Closed

Add trait: Privacy-preserving crypto #16

jceb opened this issue Nov 26, 2024 · 5 comments
Labels
documentation Improvements or additions to documentation

Comments

@jceb
Copy link
Contributor

jceb commented Nov 26, 2024

As pointed out in decentralized-identity/did-methods#10 (comment), I think this is a good trait to integrate.

@jceb
Copy link
Contributor Author

jceb commented Nov 26, 2024

Example definition:

{
    "cryptography_privacy_preserving": {
      "type": "boolean",
      "title": "Privacy Preserving Cryptography",
      "description": "A DID method's ability to use cryptographic techniques that enable identity verification and authentication while minimizing the disclosure of sensitive personal information. Example: BBS."
    }
}

@ottomorac
Copy link
Contributor

in addition to BBS in the example. Suggest we also mention Baby Jub Jub Cryptography (we use it in the did:iden3 mehtod based the open source Iden3 stack). This is an EDDSA curve used for zk-snarks.

You can see the formal paper describing it here for reference:
https://upcommons.upc.edu/bitstream/handle/2117/361741/mathematics-09-03022.pdf?sequence=1

jceb added a commit to jceb/did-traits that referenced this issue Nov 26, 2024
- cryptography_privacy_preserving: decentralized-identity#16
- cryptography_government-approved: decentralized-identity#15
- gdpr-compliant: decentralized-identity#14
@jceb
Copy link
Contributor Author

jceb commented Nov 26, 2024

@ottomorac I'm not familiar with this kind of crypto and just added BBS as an example. Could the algorithms be summarized under "zk-snarks"?

@jceb jceb added the documentation Improvements or additions to documentation label Nov 26, 2024
@ottomorac
Copy link
Contributor

Yes let's keep it generic then without a specific crypto suite like BBS or BJJ. We could say instead "Zk-snarks, zk-starks or other similar zero knowledge proof techniques".

@jceb
Copy link
Contributor Author

jceb commented Dec 10, 2024

The trait has been added. It's up to the method author to provide detailed information on the supported techniques.

@jceb jceb closed this as completed Dec 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

2 participants