transcend-io / penumbra

Encrypt/decrypt anything in the browser using streams on background threads.
https://penumbra-example.vercel.app/
Apache License 2.0
140 stars 18 forks source link

Can not download decrypted file #253

Closed OnkofundacjaAlivia closed 1 year ago

OnkofundacjaAlivia commented 1 year ago

Hello. I try to run example code penumbra .get({ url: 'https://s3-us-west-2.amazonaws.com/bencmbrook/africa.topo.json.enc', filePrefix: 'africa', mimetype: 'image/jpeg', decryptionOptions: { key: 'vScyqmJKqGl73mJkuwm/zPBQk0wct9eQ5wPE8laGcWM=', iv: '6lNU+2vxJw6SFgse', authTag: 'ELry8dZ3djg8BRB+7TyXZA==', }, }) .then((file) => penumbra.save(file));

but still i have a call to MITM url and nothing is downloading. Why?

OnkofundacjaAlivia commented 1 year ago

OK, so problem was defauld mitm.html that returnet 403. I changed it for

https://jimmywarting.github.io/StreamSaver.js/mitm.html?version=2.0.0