tytymyty / cryptonite

Automatically exported from code.google.com/p/cryptonite
GNU General Public License v2.0
0 stars 0 forks source link

View decrypted Dropbox files without having to export them #1

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Choose EncFS root on your Dropbox
2. A file browser with decrypted file names pops up
3. This browser doesn't allow you to directly view your files. You'll have to 
export them first.

What is the expected output? What do you see instead?
It would be nice if you could choose to view decrypted files directly without 
having to export them.

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by christoph.schmidthieber@gmail.com on 26 Jan 2012 at 12:53

GoogleCodeExporter commented 8 years ago
Not sure how to implement both export and viewing functionality in the file 
browser. Maybe pressing a file name (rather than a checkbox) will pop up a 
dialog that offers to export or view the file?

Original comment by christoph.schmidthieber@gmail.com on 26 Jan 2012 at 12:58

GoogleCodeExporter commented 8 years ago
Related to this issue, it would be good to avoid persistent storage of files 
that are only viewed, but not exported; see
http://www.webupd8.org/2011/09/dropbox-access-encfs-folders-on-android.html#comm
ent-421313329

Original comment by christoph.schmidthieber@gmail.com on 26 Jan 2012 at 1:02

GoogleCodeExporter commented 8 years ago
As of version 0.0.10, a basic implementation is completed. Long-press file in 
file browser to open directly. Please test.

As of yet, decrypted volumes can't be re-opened. Instead, they have to be 
re-decrypted from scratch, which is quite tedious. It would be good to separate 
the decryption from the file browsing part now that we can directly open files 
without having to export them first.

A snapshot is available here:
http://code.google.com/p/cryptonite/downloads/list

http://code.google.com/p/cryptonite/source/detail?r=fb727a5d8769e1d42da0a05e8383
fb5a106d5b15
http://code.google.com/p/cryptonite/source/detail?r=da7df7c5ef74cfc143d0b9fdb76c
098fb3ac2f1a

Original comment by christoph.schmidthieber@gmail.com on 27 Jan 2012 at 6:03

GoogleCodeExporter commented 8 years ago
It doesn't work for me: when I try to open a text file, I get an error saying 
that it's not a valid PDF file. Cryptonite should ask to select an application 
/ text viewer to open the file (like BoxCryptor does).

Original comment by nilarimo...@gmail.com on 27 Jan 2012 at 7:57

GoogleCodeExporter commented 8 years ago
Thanks for testing. Does your text file have an extension?

Original comment by christoph.schmidthieber@gmail.com on 27 Jan 2012 at 9:28

GoogleCodeExporter commented 8 years ago
No, it doesn't have any extension.

Original comment by nilarimo...@gmail.com on 28 Jan 2012 at 1:19

GoogleCodeExporter commented 8 years ago
There's been some progress in 0.0.11, but several issues remain:

* Built-in MIME detection support  for files without extensions is pathetic on 
Android. At the moment, we'll fall back to text/plain in most cases if there's 
no extension. We may have to resort to a 3rd-party mime detection library on 
the long run.
* Some programs can't handle the URI format and/or the file permissions and 
won't open the files. Notable viewers that do _not_ work include the Gallery 
and the DB Text editor.
* Decrypted files are stored in a temporary folder and will only be deleted 
when the decryption is cleared or when the program is restarted.

Let me know if this works for you. Thanks again for testing.

Original comment by christoph.schmidthieber@gmail.com on 28 Jan 2012 at 8:10

GoogleCodeExporter commented 8 years ago
The bug has been fixed!

Original comment by nilarimo...@gmail.com on 30 Jan 2012 at 10:29

GoogleCodeExporter commented 8 years ago

Original comment by christoph.schmidthieber@gmail.com on 30 Jan 2012 at 11:48

GoogleCodeExporter commented 8 years ago

Original comment by christoph.schmidthieber@gmail.com on 8 Feb 2012 at 9:55