aboutsummaryrefslogtreecommitdiffstats
path: root/jsaccess
diff options
context:
space:
mode:
authorLaurent Ghigonis <laurent@p1sec.com>2013-06-19 02:58:20 +0200
committerLaurent Ghigonis <laurent@p1sec.com>2013-06-19 02:58:20 +0200
commitbb0dc6e642f087f174c31d24203d503d4bf81148 (patch)
treec83ca4e4df2c85dcb1f295bd82daaaa5568dcb47 /jsaccess
parentjsaccess: fix dl of ecrypted files, damn typo (diff)
downloadlaurent-tools-bb0dc6e642f087f174c31d24203d503d4bf81148.tar.xz
laurent-tools-bb0dc6e642f087f174c31d24203d503d4bf81148.zip
jsaccess: add unencrypted file example
Diffstat (limited to 'jsaccess')
-rw-r--r--jsaccess/doc/put_also_not_encrypted_files.txt17
-rw-r--r--jsaccess/jsa/store/af022cd820fdad6cbcac8e15ac565c639a47dab0/73ea4d1019b8f50af4ba29b65d8b9dd2b012915217
-rw-r--r--jsaccess/jsa/store/af022cd820fdad6cbcac8e15ac565c639a47dab0/index.txt5
3 files changed, 37 insertions, 2 deletions
diff --git a/jsaccess/doc/put_also_not_encrypted_files.txt b/jsaccess/doc/put_also_not_encrypted_files.txt
new file mode 100644
index 0000000..7fe9891
--- /dev/null
+++ b/jsaccess/doc/put_also_not_encrypted_files.txt
@@ -0,0 +1,17 @@
+jsaccess demo file (not encrypted)
+
+Sometimes you want to store files unencrypted
+* because they already are PGP encrypted / signed
+* because they are really big and it would take ages to decrypt
+
+To a new unencrypted file to download:
+
+$ jstore add-nocrypt README.txt
+Using store "jsa/store"
+Enter encryption passphrase
+> jsa
+CREATED file /home/user/code/laurent-tools/jsaccess/jsa/store/af022cd820fdad6cbcac8e15ac565c639a47dab0/065e18a7f246b800242a778a6e8dd07a3321dac6
+UPDATED file /home/user/code/laurent-tools/jsaccess/jsa/store/af022cd820fdad6cbcac8e15ac565c639a47dab0/index.txt
+
+$ jstore rset user@_host:/var/www/htdocs/jsa/ # Only the first time
+$ jstore push
diff --git a/jsaccess/jsa/store/af022cd820fdad6cbcac8e15ac565c639a47dab0/73ea4d1019b8f50af4ba29b65d8b9dd2b0129152 b/jsaccess/jsa/store/af022cd820fdad6cbcac8e15ac565c639a47dab0/73ea4d1019b8f50af4ba29b65d8b9dd2b0129152
new file mode 100644
index 0000000..7fe9891
--- /dev/null
+++ b/jsaccess/jsa/store/af022cd820fdad6cbcac8e15ac565c639a47dab0/73ea4d1019b8f50af4ba29b65d8b9dd2b0129152
@@ -0,0 +1,17 @@
+jsaccess demo file (not encrypted)
+
+Sometimes you want to store files unencrypted
+* because they already are PGP encrypted / signed
+* because they are really big and it would take ages to decrypt
+
+To a new unencrypted file to download:
+
+$ jstore add-nocrypt README.txt
+Using store "jsa/store"
+Enter encryption passphrase
+> jsa
+CREATED file /home/user/code/laurent-tools/jsaccess/jsa/store/af022cd820fdad6cbcac8e15ac565c639a47dab0/065e18a7f246b800242a778a6e8dd07a3321dac6
+UPDATED file /home/user/code/laurent-tools/jsaccess/jsa/store/af022cd820fdad6cbcac8e15ac565c639a47dab0/index.txt
+
+$ jstore rset user@_host:/var/www/htdocs/jsa/ # Only the first time
+$ jstore push
diff --git a/jsaccess/jsa/store/af022cd820fdad6cbcac8e15ac565c639a47dab0/index.txt b/jsaccess/jsa/store/af022cd820fdad6cbcac8e15ac565c639a47dab0/index.txt
index c43e7ab..3b241d6 100644
--- a/jsaccess/jsa/store/af022cd820fdad6cbcac8e15ac565c639a47dab0/index.txt
+++ b/jsaccess/jsa/store/af022cd820fdad6cbcac8e15ac565c639a47dab0/index.txt
@@ -1,2 +1,3 @@
-U2FsdGVkX1+Kt0ICwMcy3hkq8z55z2I1qc1FJ8kM6V+ZN/1xBsmX8iIcMFmhNwFb
-br0WP++7VbGQo8R7qw4MWnvhIERToOUPlvs/VS9QKRM=
+U2FsdGVkX1/En66pALaQGBrwxRGI8JpkBSqpYwbNkHAOqrFY5iuTBXz1tyIH03PY
+E1pw31ChSmBfVKeyXNCYT0+Q63gP0tvb7iEjNfolByhGVWp+tViHjnjRb4TDBlPo
+CAmucjqI/F1lrHsUbUBgkA==