Hi,

I'v tried to stick the openpgp.js encryption logic in a Web Worker since I
encrypt fairly large files. Unfortunatly, this does not work with at the
moment, since the library directly accesses the "document" and "window"
objects several times (e.g. for window.crypto and window.localStorage).

It seems these objects aren't available to Web Workers due to concurrency
issues:
http://www.html5rocks.com/en/tutorials/workers/basics/#toc-enviornment-features

Does anyone have an idea how to work around this issue? Thank!

Kind regards,
Tankred
_______________________________________________

http://openpgpjs.org

Reply via email to