Skip to content

Commit

Permalink
Update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Speakman committed May 25, 2015
1 parent 295a210 commit d90c627
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
20 changes: 19 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,20 @@
# sendsh.it
Send and recieve files encrypted in the browser
The [sendsh.it](https://sendsh.it/) client-side javascript will read and encrypt a file in your browser using the [Triplesec](http://keybase.github.io/triplesec/) library with a random key generated by the [SJCL library](http://bitwiseshiftleft.github.io/sjcl/) PRNG.

The encrypted file is then uploaded to the backend node.js application which stores it in mongo's [GridFS](http://docs.mongodb.org/manual/core/gridfs/) and returns a unique ID. This is combined with your generated key to produce a unique url you can share with someone else. Once they visit the url the site will download the file and decrypt it in their browser.

Files are deleted after being downloaded or once they are over 24 hours old.

## Install
* `git clone git@github.com:threesquared/sendsh.it.git`
* `npm install`
* `gulp`
* `node app.js`

## Configure
Set your mongodb and express parameters in the top of app.js.

The app is also configured to read the env parameters from an [Openshift](https://www.openshift.com/) environment. There is also an openshift deploy hook to run gulp.

## Disclaimer
I am not an expert in cryptography. If you have something important to keep secret please think about using a peer reviewed and audited service. This is just an experiment with in browser encryption and node.js.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@
},
"repository": {
"type": "git",
"url": "https://bitbucket.org/BenSpeakman/sendsh.it"
"url": "https://github.com/threesquared/sendsh.it"
},
"homepage": "https://sendsh.it/",
"author": "Ben Speakman",
"license": "MIT",
"dependencies": {
Expand Down

0 comments on commit d90c627

Please sign in to comment.