diff options
Diffstat (limited to 'jsaccess/README.txt')
-rw-r--r-- | jsaccess/README.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/jsaccess/README.txt b/jsaccess/README.txt index bfb5307..16f2c98 100644 --- a/jsaccess/README.txt +++ b/jsaccess/README.txt @@ -32,9 +32,9 @@ Deployment There are 2 parts: * The jsa/ directory that contains html / javascript files, for the user to access files list and download. jsa/files/ is the files store. -* The encrypt.sh script for the web server owner to encrypt files -It is recomanded to run encrypt.sh on your laptop, and then syncronise the -jsa/files/ file store. +* The store.sh script for the web server owner to encrypt files +It is recomanded to run store.sh on your laptop, and then syncronise the +jsa/files/ file store with your server. Put jsa/ directory on your web server, publicly available. @@ -45,7 +45,7 @@ Share a file 1. Add the file you want to share to the file store On your laptop: -$ ./encrypt.sh myfile +$ ./store.sh myfile # Then enter the passphase you want to use for encryption. # It will tell you something like: jsa/files/af022cd820fdad6cbcac8e15ac565c639a47dab0 @@ -64,7 +64,7 @@ $ rsync jsa/ user@myserver:/var/www/htdocs/ How it works ============ -encrypt.sh creates a directory jsa/files/<rmd160_hash_of_passphrase>/. +store.sh creates a directory jsa/files/<rmd160_hash_of_passphrase>/. It encrypts your file using AES256 with the passphrase and stores the result in jsa/files/<rmd160_hash_of_passphrase>/<rmd160_hash_of_(passphrase+filename)>. It also updates the index of available files per directory called index.txt, @@ -82,7 +82,7 @@ Filesaver JS API. Dependencies ============ -On the host that runs encrypt.sh: +On the host that runs store.sh: * openssl * base64 @@ -97,7 +97,7 @@ Git content jsa/ - should be on your webserver, can be renamed jsa/files/<password_hash>/ - directory of files to download for a given password jsa/files/<password_hash>/index.txt - list of file name available -encrypt.sh - to encrypt your files before uploading them to your web server +store.sh - to encrypt your files before uploading them to your web server TODO |