-
-
Notifications
You must be signed in to change notification settings - Fork 70
feat: refactor W3C scenario to support multiple crypto algo settings #1062
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
This is summing up quite some changes to W3C code but will make sure that all tests are passed, the only disruptive change so far is the It is unfinished since it still needs a rewrite of |
8d8b9c8
to
eb959e7
Compare
We have the transformation zencode keyring to jwks, maybe it can also be usefull to have jwks to zencode keyring/public key 🔐 Let me know if it something that you would like to add to this PR or I should make an issue |
2a8f536
to
aab6c86
Compare
The statement: `create signed selective disclosure of '' with ''` is now added to specify a string with name of algo, which is parsed internally with uppercase strings of algos set in sd-jwt structures
when serializing r and s to verify the signature in ECDH, sometimes (non deterministically) the signature comes 63 bytes long and does not verify
also fix octet concat, since the milagro primitive seemed to break something
variable size is tolerated between 62 and 64 bytes for corner cases
supports verifying jws that carry a jwk with public keys in its header according to oauth dpop spec 4.2 DPoP Proof JWT Syntax
this new class will help resolve the many names given to each cryptographic algorithm and will take IANA as a main reference for them, with conversion from any string and to and from key names already used in zenroom
simplier to use and maintain, CRYPTO.load() is the main entry
moved de/serialization methods into JSON and jwk/jws into JOSE
fa56337
to
f222fc9
Compare
add also export of the d field
… header contains more fields
The statement:
create signed selective disclosure of '' with ''
is now added to specify a string with name of algo, which is parsed internally with uppercase strings of algos set in sd-jwt structures