Skip to content
This repository has been archived by the owner on Dec 3, 2024. It is now read-only.

Commit

Permalink
Set up the basic structure
Browse files Browse the repository at this point in the history
  • Loading branch information
iherman committed Aug 14, 2024
0 parents commit e416501
Show file tree
Hide file tree
Showing 6 changed files with 2,191 additions and 0 deletions.
1 change: 1 addition & 0 deletions CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @iherman
2 changes: 2 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
All documents in this Repository are licensed by contributors under the
[W3C Software and Document License](https://www.w3.org/Consortium/Legal/copyright-software).
15 changes: 15 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

--- NOT PRODUCTION READY ---

# Multikey <-> WebCrypto and JWK conversions


Conversion to and from [Multikey format](https://www.w3.org/TR/controller-document/#multikey) from WebCrypto and JWK for the three EC curves that are defined for Verifiable Credentials:
[ECDSA with P-256 and P-384](https://www.w3.org/TR/vc-di-ecdsa/#multikey) and [EDDSA](https://www.w3.org/TR/vc-di-eddsa/#multikey).

This is really a proof-of-concept implementation, not sure it has a wide interest out there. But it shows that such conversion can indeed be done, which is an important feature in practice where multikey implementations are rare.

The package has been written in TypeScript+Node.js

The interface is pretty straightforward, see `index.ts` for now. More documentation may come.

Loading

0 comments on commit e416501

Please sign in to comment.