diff options
author | Laurent Ghigonis <laurent@p1sec.com> | 2013-06-16 21:20:32 +0200 |
---|---|---|
committer | Laurent Ghigonis <laurent@p1sec.com> | 2013-06-16 21:20:32 +0200 |
commit | 661bdc22727e15a89419eaa682d53f3fb21def48 (patch) | |
tree | dffcfaedef1248039c6e5ba669843a1468ec99bf /jsaccess/encrypt.sh | |
parent | jsaccess: improve status log (diff) | |
download | laurent-tools-661bdc22727e15a89419eaa682d53f3fb21def48.tar.xz laurent-tools-661bdc22727e15a89419eaa682d53f3fb21def48.zip |
jsaccess: add comments and license
Diffstat (limited to 'jsaccess/encrypt.sh')
-rwxr-xr-x | jsaccess/encrypt.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/jsaccess/encrypt.sh b/jsaccess/encrypt.sh index 3102936..5663b9e 100755 --- a/jsaccess/encrypt.sh +++ b/jsaccess/encrypt.sh @@ -1,5 +1,22 @@ #!/bin/sh +# jsaccess - download and decrypt files in the browser +# encrypt.sh: file encrytion script + +# Copyright (c) 2013 Laurent Ghigonis <laurent@gouloum.fr> +# +# Permission to use, copy, modify, and distribute this software for any +# purpose with or without fee is hereby granted, provided that the above +# copyright notice and this permission notice appear in all copies. +# +# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES +# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR +# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES +# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN +# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF +# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. + cleanup() { rm -f $tmp umask $sumask |