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
However, since this error also appears in insecure browser contexts (http, file), it would be more useful to have an error message stating that the crypto is unavailable.
We could check if the page is viewed in an insecure context, and adapt the message based on that. For example we could check window.isSecureContext and then link to https://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts
The text was updated successfully, but these errors were encountered:
The current message only refers to using a "modern browser".
pagecrypt/web/decrypt.ts
Line 62 in 38b21af
However, since this error also appears in insecure browser contexts (
http
,file
), it would be more useful to have an error message stating that the crypto is unavailable.We could check if the page is viewed in an insecure context, and adapt the message based on that. For example we could check
window.isSecureContext
and then link tohttps://developer.mozilla.org/en-US/docs/Web/Security/Secure_Contexts
The text was updated successfully, but these errors were encountered: