Elena22 / cryptonite

Automatically exported from code.google.com/p/cryptonite
0 stars 0 forks source link

temporary data should be stored on SD instead of internal memory #8

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. put large file in encfs on dropbox
2. browse decrypted folder in cryptonite
3. long-press large file and select "Open"

What is the expected output? What do you see instead?
expected: file should be opened
actual: cryptonite shows "Decrypting file..."
   at some point Android shows "low on space" warning in notification area
   later cryptonite shows io exception "No space left on device"

What version of the product are you using? On what operating system?
cryptonite 0.2.7
EncFS 1.7.4
OpenSSL 1.0.0g 18 Jan 2012

on Android 2.2

Please provide any additional information below.
my internal memory is quite limited, but the SD card is huge; if cryptonite 
used the SD card instead of the internal memory for its temporary data when 
decrypting, it would succeed and the file could be opened.

The low on space warnings vanish when I select "Forget decryption".

Original issue reported on code.google.com by goeringd...@gmail.com on 28 Feb 2012 at 7:10

GoogleCodeExporter commented 8 years ago
Good point, thanks for bringing that up. The reasoning behind having temporary 
files in /data/data/csh.cryptonite/app_open rather than on the SD card is that 
they are minimally hidden and will be deleted when the app gets uninstalled. We 
could have the user choose a cache directory in the preferences menu though if 
you think that makes sense?

Original comment by christoph.schmidthieber@gmail.com on 28 Feb 2012 at 7:16

GoogleCodeExporter commented 8 years ago
I think adding an option to the preferences menu is a good solution. This way 
you could keep the default as is and add a warning about security implications 
of changing the cache location, but you would still allow people with hardware 
limitations to fully utilize cryptonite

Original comment by goeringd...@gmail.com on 28 Feb 2012 at 7:34

GoogleCodeExporter commented 8 years ago

Original comment by christoph.schmidthieber@gmail.com on 28 Feb 2012 at 8:06

GoogleCodeExporter commented 8 years ago
Added in 0.2.9 (see 
http://code.google.com/p/cryptonite/source/detail?r=8557bf2c8ddb). 
Won't allow the user to save to an arbitrary location though to make sure that 
the directory gets deleted upon uninstall.

Original comment by christoph.schmidthieber@gmail.com on 28 Feb 2012 at 9:33

GoogleCodeExporter commented 8 years ago
There was a bug that caused your preferences to be ignored or deleted whenever 
a connection to your Dropbox was established. Fixed in 0.2.12.

Original comment by christoph.schmidthieber@gmail.com on 7 Mar 2012 at 12:23