Skip to content

Encrypt a zip file with browserpgp javascript tool #1535

Answered by twiss
sharmapn asked this question in Q&A
Discussion options

You must be logged in to vote

new Uint8Array(zipBlob) most likely doesn't do what you think it does. Perhaps try new Uint8Array(await zipBlob.arrayBuffer()), or just ask JSZip for a Uint8Array instead of a Blob in the first place.

Also, octet/stream is not a valid MIME type. Perhaps you meant application/octet-stream?

Replies: 5 comments 10 replies

Comment options

You must be logged in to vote
2 replies
@hema4295
Comment options

@twiss
Comment options

Answer selected by sharmapn
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@twiss
Comment options

@sharmapn
Comment options

Comment options

You must be logged in to vote
6 replies
@twiss
Comment options

@sharmapn
Comment options

@sharmapn
Comment options

@sharmapn
Comment options

@twiss
Comment options

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #1534 on June 14, 2022 19:34.