solid-contrib / cryptography-and-security Goto Github PK
View Code? Open in Web Editor NEWhttps://github.com/solid/process/blob/master/panels.md#cryptography-signing-and-encryption-panel
License: MIT License
https://github.com/solid/process/blob/master/panels.md#cryptography-signing-and-encryption-panel
License: MIT License
Standardization activity on how to do client-side data encryption for personal data storage is heating up in the wider standards community, led by the W3C Credentials Community group and the Decentralized Identify Foundation (DIF) (including Microsoft, Workday, Consensys, and others). This is also relevant to Solid, for use cases that have strong client-side data encryption requirements (such as storage of health records and other high-value items).
The current Linked-Data-friendly standard being incubated jointly by those groups is the Encrypted Data Vault spec (see the introductory Encrypted Data Vault requirements paper).
This is a placeholder issue to track pre-requisite specs and infrastructure to enable client-side encryption on Solid.
Pre-requisite infrastructure:
@kezike's excellent exploration / prototype of Verifiable Credentials on Solid demonstrated initial implementation feasibility. Now that the Verifiable Credential Model is an official W3C standard, this is a placeholder issue to track use cases, interoperability and infrastructure requirements for VC use for the Solid ecosystem.
Pre-requisite infrastructure for VCs on Solid:
In addition to the 2008 Cert ontology (which only expresses RSA keys), Solid WebID Profile documents should support expressing keys and cryptographic material using the current Linked Data Signatures format.
This would yield the following benefits:
Example RSA key using LD-Sig:
<#key1>
<http://purl.org/dc/terms/created> "2017-09-23T20:21:34Z"^^<http://www.w3.org/2001/XMLSchema#dateTime> .
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <https://w3id.org/security#RsaVerificationKey2018> .
<https://w3id.org/security#controller> <https://alice.solid.community/profile/card> .
<https://w3id.org/security#publicKeyPem> "-----BEGIN PUBLIC KEY...END PUBLIC KEY-----\r\n" .
Several advanced use cases on the Solid roadmap (such as Verifiable Credentials and data encryption) will require user-level key management.
This is a placeholder issue to track specification of a KMS API that a Solid pod could potentially provide key management for users.
References:
Consensus: Solid project should instead switch over to using the @peculiar/webcrypto-core
library, which is a drop-in replacement for @trust/webcrypto
, and is better supported.
Original issue:
Should Solid project adopt the @trust/webcrypto library
One of the dependencies used by many of our crypto-related libraries is the @trust/webcrypto
package. It's used in the jose
lib (and through it, in auth-solid-client), as well as in the oidc-rp
lib.
The problem is this: @trust/webcrypto
has been archived, and is no longer actively maintained at that original repo. I've always figured we'd get around to deciding its fate eventually, but since an external developer brought up this issue in nodeSolidServer/oidc-rp#26, I think we should have this discussion.
It's a good library, and is used by several non-Solid groups (such as Digital Bazaar in the minimal-cipher
lib), and recently the larger Self-Sovereign Identity community has expressed increasing interest in it.
The decision we have before us is this:
Should the Solid project step forward to maintain the webcrypto
library?
Reasons to adopt it:
Reasons not to adopt it (and let some other group pick it up):
cc @jaxoncreed @pjworrall @justinwb @michielbdejong @kjetilk @robmccoll and whoever else wants to join in this discussion.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.