transcend-io / penumbra

Encrypt/decrypt anything in the browser using streams on background threads.

Home Page:https://penumbra-example.vercel.app/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support Firefox & Safari for .encrypt & .saveZip

bencmbrook opened this issue · comments

Conflux uses a ponyfill for Safari transform streams. Is this an applicable solution for Penumbra .encrypt?

That may possibly help. I can spend some time next week experimenting with and evaluating our TransformStream workaround options.

Note transcend-io/conflux#52: we may want to change Conflux to not overwrite the TransformStream variable if it's defined, e.g.

import ponyfill from 'web-streams-polyfill/ponyfill';
const TransformStream = window.TransformStream || ponyfill.TransformStream

Confirmed Conflux is running on Safari, FF, Chrome, Edge now!