-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8049e62
commit 7f8139b
Showing
48 changed files
with
20,616 additions
and
1,511 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,21 @@ | ||
node_modules | ||
.bower-*/ | ||
bower_components | ||
public/css/styles.css | ||
public/js/scripts.js | ||
lambda.zip | ||
# See https://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
|
||
# testing | ||
/coverage | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
language: node_js | ||
|
||
node_js: | ||
- 6 | ||
|
||
cache: | ||
directories: | ||
- node_modules | ||
|
||
before_deploy: | ||
- npm run build | ||
|
||
deploy: | ||
provider: s3 | ||
access_key_id: AKIAI4TBOZIMRB6ADFMA | ||
secret_access_key: | ||
secure: BwJjYi8AV/O5/rX7df1wmiAlnBkHNkpRpdnGjkOOKitQsiaN8q0SfcPKtBbPol383AHVj+aazE++2SR3sOQsDlnmmv+gdIvG8ezHBP12xZ0xD5k2n7d45SBLfa5QJtwJNCCVsTOMaSjs1+wYMjw6HvEqgxpepfHHZ4BAxukD6Ju1qXW+lduI2jcn1aUSrBcLyMdcl08kVUszlj8k/r87Pj/Xgu69O7cc0i8a14QZ8jrtEySLQpQN2wiCvV2dMv+4/2dItJkbMu93Z2dz3mPriuV8LqPi+eyYN6U7sXUi6SGAxu1KJXOzyNvPsqhCYtCPIrDs2eOYz7SmMLHaNoqyxM3Bzhv8bvzV3rYTh3Igt5iBkPQbFHKAbbDHUMtO61qiRTblUvEOmY+KV0afWUpXg8gZeJ2plpgQ0sZcWAdeM5cyL72sex7p0CESSvnYs4xsN8/W8p0I9uowhoyXFQaTzuZV3bRei3luCvm2ALu65U8yDX+56PRDLOeLn/Ol1CLRGYR8ltljsuaR8lJp5WSd3OFmgZnE0+NuHboRV6VqiGnFTSK/A94UHfkMQj3j16iv+gEw6ARI4JTMRsJ8q6Qxh1crfrfYk2AhA3qTiFYJiyEwPtXDij0XmKXE39zf+xAlwIBL8WCj+wjlRX9Zy/SynPbuw/aashg0xwxCbynu334= | ||
bucket: new.sendsh.it | ||
skip_cleanup: true | ||
region: eu-west-1 | ||
local-dir: build | ||
on: | ||
repo: shitty-inc/sendsh.it | ||
branch: golang |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
# sendsh.it | ||
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 its PRNG. | ||
# Sendsh.it | ||
|
||
The encrypted file is then uploaded to the backend node.js application which stores it in S3 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. | ||
Sendsh.it is a quick and easy way to send one-time and locally encrypted files to your friends. | ||
|
||
Files are deleted after being downloaded or once they are over 24 hours old. | ||
## Discription | ||
|
||
The [sendsh.it](https://sendsh.it/) React SPA will read and encrypt a file in your browser using the [Triplesec](http://keybase.github.io/triplesec/) library with a random key generated by its PRNG. | ||
|
||
## Install | ||
* `git clone git@github.com:threesquared/sendsh.it.git` | ||
* `npm install` | ||
* `gulp` | ||
* `npm start` | ||
The encrypted file is then uploaded to the [backend api](https://github.com/shitty-inc/sendshit-api) which stores it in S3 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. | ||
|
||
## 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. |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.