kallus / soc

A program for storing files privately on Amazon S3

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A program for storing files privately on Amazon S3

Soc encrypts not only the content but also the name of files before uploading to S3. Four commands are supported: socls, socput, socget and socrm.

Soc depends on Amazons command line tools (command aws, apt-package awscli). Run aws to configure it. Your private and public Amazon aws keys will be needed.

Configure soc by creating the file ~/.soc containing three lines. First line is the identifier of your short gpg key used to encrypt file names. This key needs to be only 1024 bytes, otherwise encrypted file names will be too long. The second line is the identifier of your gpg key for encrypting file contents. The third line is the name of the S3 bucket that should be used for soc files.

socget supports streaming directly into e.g. a video player.

TODO:
Documentation for each command.
Add a simple test: create file locally, upload file, check listed by ls, download and verify, remove from s3, remove locally
An error message about broken pipe is written when dealing with files on Glacier. Everything seems to work. Assuming its a bug in awscli for now.

About

A program for storing files privately on Amazon S3

License:GNU General Public License v3.0


Languages

Language:Shell 100.0%