revolt icon indicating copy to clipboard operation
revolt copied to clipboard

Files using E2E encryption cannot be decrypted

Open aperezdc opened this issue 8 years ago • 3 comments

The error is:

Unable to decrypt attachment:
  - TypeError: undefined is not an object (evaluating window.crypto.subtle.importKey')

aperezdc avatar Jan 16 '17 17:01 aperezdc

Checked this with the WebKitGTK+ folks, the TL;DR is:

  • Subtle Crypto is a lower-level component typically used to implement Web Crypto.
  • There used to be support for Subtle Crypto, but its tests got broken when the Web Crypto API was implemented.
  • Nobody has had the time yet to look into it, so Subtle Crypto was disabled because anyway web sites are expected to use the higher-level Web Crypto API instead, so fixing it is not a priority.

aperezdc avatar Jan 16 '17 17:01 aperezdc

Also seemingly affected by lack of subtle crypto: unable to use the new key import/export feature.

uhoreg avatar Feb 19 '17 01:02 uhoreg

I have pushed a new version to the Flatpak repository (0ec092f400dd) which uses the GNOME 3.26 runtime, which in turn includes WebKitGTK+ 2.18 with WebCrypto support. This seems to work now.

aperezdc avatar Sep 23 '17 20:09 aperezdc