Closed pcrockett closed 5 years ago
Did a little research, and there doesn't seem to be a way to get a Javascript web app to stream large amounts of data to a file on the local file system. You can write blobs of data using data URIs, but data URIs have a maximum size. So this idea wouldn't work if the user had, say, 10 GB of data to decrypt.
So it looks like our options are:
Fooey.
Because libsodium has Javascript bindings, we could theoretically implement decryption directly in the README.html file that goes with backup packages. This would:
decrypt
binaries for all platformsIt would completely eliminate the need for #13 #14 and #15 (which are closed now).
Thinking it would be good to have a readme.html as it is now, but also a decrypt.html. The readme could link to the decrypt. Javascript, CSS, and other resources could be saved in the hidden
.kin
folder.build.rs
functionality)