JOSE assumptions for DIDComm lib v0.1
JSON Serialization Syntax
JWE - General Serialization only
JWS
General for JWS Signed DIDComm Messaged
Flattened for jws attachment
ECDH-1PU
Proposed Option
Implement required JOSE parts in Python based on https://github.com/lepture/authlib
The plan is to fork authlib and contribute to upstream. An issue with proposal is created: https://github.com/lepture/authlib/issues/370
If for some reasons they will not accept our contribution, we will just copy the required JOSE part into our DID Comm Python lib. This is basically Option 1 (see below) with Option 3 as a backup plan.
authlib lacks only the following features that we need:
ECDH-1PU key agreement scheme;
XC20P encryption algorithm;
asmarty changed 4 years agoView mode Like Bookmark
Proposed Option
Implement DID Comm in Rust, and use wasm for JS (both node.js and browsers)
All Options
Implement DID Comm in Rust, and use wasm for JS (both node.js and browsers)
Pros:
Missing primitives for the browser and the NodeJs are supported;
asmarty changed 4 years agoView mode Like Bookmark