S3ncrypted Proxy is simple proxy that makes securely sharing data via Amazon S3 easy
Want to see pretty graphs? Log in now!
npm install s3ncrypted_proxy
|9||downloads in the last day|
|9||downloads in the last week|
|18||downloads in the last month|
|Last Published By|
|Version||1.1.0 last updated 2 years ago|
|Dependencies||restify, request, optimist|
S3ncrypted Proxy was created to make securely sharing Virtual Box images easy but will work with any type of file!
Generate yourself a strong password/key and put into a file:
umask 077 # the passphrase file will have perms 700
openssl rand -base64 12 > .gpg_passphrase
Use this to encrypt your box file:
gpg -c --passphrase-file .gpg_passphrase <file>
Future versions will allow you to upload the file with curl. For now, use the S3 management GUI to upload the gpg encrypted .gpg.
Get the size of the orginal file:
wc -c <file>
Got into the properties of the uploaded gpg file in S3. Add the following meta data:
key: x-amz-meta-gpg-content-length value :
Create a config.json file in the S3Encrypted Proxy dir:
"aws_key": "<your key>",
"aws_secret": "<you secret>",
"gpg_passphrase_file" : "./.gpg_passphrase"
Start S3ncrypted Proxy:
Now point vagrant, or whatever to http://localhost:8000/bucket/object. If the object ends in .gpg it will automatically decrypted on the fly as it downloads!