Skip to content
This repository was archived by the owner on Jul 21, 2023. It is now read-only.
This repository was archived by the owner on Jul 21, 2023. It is now read-only.

WebCrypto is locked up in non secure pages (not loaded from HTTPS) #105

@daviddias

Description

@daviddias

After seeing reports on js-ipfs:

I went to investigate to find this https://groups.google.com/a/chromium.org/forum/#!topic/security-dev/DtOFo51WFMo

It seems that WebCrypto does require a secure context to run and that is not granted in non HTTPS loaded pages. It has an exception for localhost though.

We have a couple of options here:

  • a) Accept and notify the users that they should use SSL to load their webpages
  • b) Shim all the libraries for when WebCrypto is not available

I prefer option 2, although it will bloat the size of the bundle (again)..

Metadata

Metadata

Assignees

No one assigned

    Labels

    need/community-inputNeeds input from the wider communitystatus/deferredConscious decision to pause or backlog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions