Skip to content
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

Define JOSE and/or COSE bindings for HDK #86

Open
sander opened this issue Dec 23, 2024 · 2 comments
Open

Define JOSE and/or COSE bindings for HDK #86

sander opened this issue Dec 23, 2024 · 2 comments

Comments

@sander
Copy link
Owner

sander commented Dec 23, 2024

For interoperable representation of HDK key handles and paths (including initial seed salt), we may need to define:

  • JOSE binding for use in e.g. OpenID4VCI
  • COSE binding for use in e.g. FIDO2 authenticators

Also, a WSCA may use either binding in internal representation and over the Secure Cryptographic Interface.

@sander sander moved this to To do in HDK coordination Dec 23, 2024
@sander sander changed the title Define JOSE and/or COSE types for HDK Define JOSE and/or COSE bindings for HDK Dec 23, 2024
@sander
Copy link
Owner Author

sander commented Jan 6, 2025

Possibly also a string binding for use as key alias in https://github.com/cleverbase/wallet-secure-crypto-commons/blob/main/sci/README.md, for example:

ascii(<key_id>) || "/0/2/" || base64url(<kh>) || "/1"

@sander
Copy link
Owner Author

sander commented Jan 20, 2025

Comment regarding the HDK key alias format in -06: now aliases could accidentally look like base64-encoded strings. We may add hdk: or something else to guarantee that no alias can be successfully parsed as base64, to catch implementation errors early.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: To do
Development

No branches or pull requests

1 participant