I have a few applications relying on hash functions, which were developed a while ago before browsers changed their policy to restrict Crypto.subtle
to HTTPS connections.
Deploying the webapps on secure connection isn't a problem for me, but testing them locally is.
How can I test for SubtleCrypto, and other features that require secure contexts to work? Is there an option in about:config
that I can tweak?
Browsers now treat
localhost
and loopback IP addresses (127.0.0.0/8
and::1/128
) as secure, which is a big favor done to developers. See this.