Hi guys, I'm working on an open source alternative to dropbox in which documents are encrypted client-side (http://www.pgpbox.org/). The openpgpg.js project seems very promising and I am trying to integrate the library into the application.
I am using the HTML5 FileReader api in order to get to the data of a file before encrypting it. This works fine for small files with a couple of KB, but my Chrome tab just crashes when trying to encrypt larger files (e.g. 732 KB). One solution for this problem could be to slice the file into multiple peaces using file.webkitSlice and then encrypt each slice sperately. But this would mean that I would have to store multiple encrypted document slices. I would rather have one PGP message per file. Is it somehow possible to encrypt larger files... or am I just missing something? Thanks in advance for your answer! Kind regard, Tankred
_______________________________________________ http://openpgpjs.org

