-
Notifications
You must be signed in to change notification settings - Fork 143
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
Extract DER-encoded public key from RegistrationResult
/AssertionResult
?
#288
Comments
Hi! There are a few options here:
Both of the above options are available today without any changes to existing libraries, though you may need to add a few dependencies to your application. We'll also consider adding a |
Thanks for your quick response! The client-side Thanks for the insights on how the library itself handles COSE parsing, though -- it looks like less of a complexity nightmare than anticipated. Still, we think it'd also be an appropriate thing for the library to provide. PS: |
We have a business requirement to submit credential public keys to a third-party library for accreditation. This library only accepts Java
PublicKey
implementations (and expects them to return DER-encoded byte arrays fromgetEncoded()
).Internally,
java-webauthn-server
presumably already has to parse the COSE-encoded public key; would it be possible to expose this in a more "common" standard form, such as DER-encoded bytes?(I am trying to avoid implementing COSE parsing myself.)
The text was updated successfully, but these errors were encountered: