Release gdrive - Google Drive Video/Music Add-on
(2014-11-24, 14:25)dmdsoftware Wrote: I've added some encryption routines to the 0.4.0 code base, but have disabled it while I test it.

It uses Python Crypto libraries with a user supplied salt and password to decrypt files stored in application-octet-stream filetype. For photos, it is no different then the current code where it caches the files to a local directory and it decrypts it as it writes the file to disk. For video and music, it is similar to the disk cache mode, the plugin downloads the file and decrypts as it writes it to disk, and it playsback the file as it downloads. I'm doing some serious digging around in the XBMC player classes to see if this can be improved on, to actually decrypt the content using XBMC's player. The disk cache method causes issues with subtitles.

The user can use any encryption script that uses the same encryption parameters. I have a simple python script that will create take a user's desired password, create a salt and use the combination to encrypt a local folder's content. User can use another script (I have both a perl and python script) to upload the files to their Google Drive. They can also use Google Drive client software or web app to uploaded the encrypted files. It just matters that the file type is application-octet-stream.

I typically use encfs to store my files I want secured in Google Drive. The idea is very similar here. As a matter of fact, with a few adjustments, the current disk cache method in the plugin could accommodate encrypted encfs files. After I've had more time to test both methods, I was going to post some videos demonstrating it. I don't see there really being much of a need or a practical implementation that would make this a default for a typical user.
This sounds very promising. I agree that this is something that most users probably wouldn't need or know what to do with. I might fork your code and add the encryption routines myself. If you could point me in the right direction, or keep me updated on your progress I would very much appreciate this.

By the way, I wouldn't depend too much on encfs as this has a few significant security problems, as a recent audit has shown. Better simply implement a reliable encryption algorithm like AES-128-CBC or -XTS in my opinion.
Reply


Messages In This Thread
RE: [RELEASE] gdrive - Google Drive Video/Music Add-on - by hans01 - 2014-11-24, 15:59
u - by Kraevin - 2015-05-13, 17:37
Logout Mark Read Team Forum Stats Members Help
gdrive - Google Drive Video/Music Add-on12