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

Safari WebCrypto does not support spki #6292

Closed
aghassemi opened this issue Nov 22, 2016 · 6 comments
Closed

Safari WebCrypto does not support spki #6292

aghassemi opened this issue Nov 22, 2016 · 6 comments
Assignees

Comments

@aghassemi
Copy link
Contributor

in jwt.js isVerificationSupported returns true for browsers that support the subtle API BUT the key format that jwt expect is spki which Safari does NOT support. So Ideally isVerificationSupported should have returned false in Safari. https://bugs.webkit.org/show_bug.cgi?id=129978

@aghassemi
Copy link
Contributor Author

@dvoytenko We should be able to go from PEM to jwk instead of spki so we can use subtle API in safari as well right?

@dvoytenko
Copy link
Contributor

What's the future Safari support looks like? This feature is needed for development only so it's low risk as it stands. But would be good to know what the future looks like for Safari in this regard. spki is in spec, I'm pretty sure.

@aghassemi
Copy link
Contributor Author

Outlook is grim :) someone asked the same on https://bugs.webkit.org/show_bug.cgi?id=129978 few months ago, no reply. Bug has been open since 3/2014. I added a comment as well, maybe that triggers a response.

@aghassemi
Copy link
Contributor Author

There is some activity on https://bugs.webkit.org/show_bug.cgi?id=129978 looks like it is happening: https://bugs.webkit.org/attachment.cgi?id=296223&action=diff maybe outlook was not so grim afterall!

@adelinamart
Copy link
Contributor

Bug mentioned seems to be fixed. @aghassemi is there anything else to be done here? Thanks

@aghassemi
Copy link
Contributor Author

@adelinamart, nothing I can think of. It should just work when that Safari bug fix makes it to a release ( if it hasn't already). Closing.

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

No branches or pull requests

4 participants