You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This was something I considered adding. The library's original intent, as a polyfill for older browsers, just having a CryptoKey-like object was enough. I'll add CryptoKey.
I'll do my own PR because I have to consider older browsers and situations where there is a native CryptoKey already - and then add/update some tests.
If you want to post your own PR, that will help me ensure I'm addressing your specific requirements.
Hi,
Problem
We are using the library to polyfill the web crypto API in a react-native environment, and it seems the
CryptoKey
interface is not exposed.To give more details, we are using it with jose:
CryptoKey
interface to be exposed in the global namespace.This is especially due to this check in the jose library, and it seems there is no plan to change it in the short term (see here).
Question
We fixed it on our side (by exposing a
CryptoKey
class in the global namespace).Would you be open to reviewing a PR fixing this specific issue?
Thanks!
The text was updated successfully, but these errors were encountered: