-
Notifications
You must be signed in to change notification settings - Fork 12
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
Can RSA keys be expressed as did:key ? #33
Comments
I think it depends on this issue to assign a multicodec entry for RSA keys: |
Thanks. |
@bblfish There is also a question of what linked data signature suite to use for the verification methods in the resulting DID document. |
RSA public key (X.509 encoded) is now in multicodec: multiformats/multicodec#226 |
@clehner you should provide test vectors for RSA here. |
@OR13 I'm unsure, however, if it is the correct use of the registered multicodec value. Feedback on that and/or here would be welcome: multiformats/multicodec#230. I assumed that like the other listed |
@clehner your test vectors look correct, and as long as you provide the JWK values for the multiformat encoding, they will be sufficient for proving interop. You should add a 4096 key for the sake of completness. |
@OR13 thanks for reviewing it. |
This was done in #41, multiformats/multicodec#233, and #45. @bblfish does this answer you question(s)? |
It's a bit difficult to work out from the spec if this is possible or not.
If there is a way to express an RSA key as a did:key is there any other information in that key?
In particular the Signing HTTP Messages requires one not just to pass a
keyId
for a key but for it to refer to a subset of the productcryptographic key × signatureAlgorithm
where the second part involves the hashing function needed.This would suggest that a did:key could not be used directly as a URL for Signing HTTP Messages as discussed in Issue 31.
The text was updated successfully, but these errors were encountered: