kbpgp icon indicating copy to clipboard operation
kbpgp copied to clipboard

Use kbpgp in a webworker

Open acasajus opened this issue 8 years ago • 1 comments

I need to use kgpgp in a webworker. When I try to do so I get

No rng found; tried requiring "crypto" and window.crypto

since there's no window global defined, but there's self.crypto. I'm using kbpgp via browserify, any tips on how can I make kbpgp use self instead of window?

acasajus avatar Oct 18 '16 16:10 acasajus

Seems to be the same as #90

acasajus avatar Oct 18 '16 16:10 acasajus