W3C home > Mailing lists > Public > public-credentials@w3.org > March 2022

Added P-256 to decentralized-identity/did-jwt

From: Brent Shambaugh <brent.shambaugh@gmail.com>
Date: Sun, 6 Mar 2022 14:35:44 -0600
Message-ID: <CACvcBVp=5t=DLc5rgJ_bcc0oJgnurNGBPPPaCM07US9po8XQkQ@mail.gmail.com>
To: Credentials Community Group <public-credentials@w3.org>
Hello all,

I have been doing some work modifying the did-jwt library so that it adds a
P-256 support with an ES256 signer. I did quite a bit of refactoring of the
library, although since all the tests pass I believe it should function as
before for previous uses.


Does this code seem reasonable? Is there an appropriate way/means to garner
a review? It seems to be included as a dependency in several other

fwiw, I imagine that ES384 and ES521 and RSA and .... could more easily be
added given the refactoring. Maybe these signers will be more useful to
others. In the future, I may consider adding them since I saw some talk
about supporting legacy HSM,

TODO: It might need a package structure more akin to:
https://github.com/StableLib/stablelib/tree/master/packages if the
repository gets too big?
See: https://github.com/decentralized-identity/did-jwt/issues/170

-Brent Shambaugh

I think I left some contact information below, and I recall signing some
form for the DIF awhile back.
Received on Sunday, 6 March 2022 20:36:08 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:25:29 UTC