credentials icon indicating copy to clipboard operation
credentials copied to clipboard

Discovery into libraries required for a python version of Sign and Verify

Open e0d opened this issue 1 year ago • 3 comments

There are several libraries that provide critical, low-level functionality that will be necessary for implementing VC Sign and Verify in python. We will need to understand which libraries exist and, ideally, choose ones that are full-featured and well-support.

If we have to implement any of these libraries ourselves, we should not that and consider the ROI for that choice.

The list as we currently understand it is:

  • JSON-LD library for parsing, navigating, expanding, and contracting JSON-LD input
  • Encryption library that supports the ed25519 algorithm

e0d avatar Oct 17 '22 16:10 e0d

@GlugovGrGlib This looks promising for ed25519: https://github.com/pyca/pynacl

e0d avatar Oct 17 '22 17:10 e0d

This looks potentially promising for JSON-LD, though not sure it has everything we need or want.

https://franz.com/agraph/support/documentation/current/python/tutorial/example019.html

e0d avatar Oct 18 '22 19:10 e0d

I am also considering jspybridge as an option https://github.com/extremeheat/JSPyBridge/ I want to do a POC using it, and then provide updates, if it can be used

GlugovGrGlib avatar Nov 01 '22 11:11 GlugovGrGlib

The discovery was finalized with the decision to use Rust based module DIDKIT - https://openedx.atlassian.net/wiki/spaces/OEPM/pages/3490840577/Verifiable+Credentials+integration+-+Solution+Notes#Signing-Credential

Credentials documentation for verifiable credentials - https://edx-credentials.readthedocs.io/en/latest/verifiable_credentials/tech_details.html#didkit-python.

GlugovGrGlib avatar Apr 30 '24 19:04 GlugovGrGlib