tmore truth in docs - coffin - secure lan file storage on a device HTML git clone git://parazyd.org/coffin.git DIR Log DIR Files DIR Refs DIR Submodules DIR README DIR LICENSE --- DIR commit 7e7de992ca81161f027e0e5ed0fd6fefa244c9d4 DIR parent 4b3710fe9b521a3d1500d19571ce914ef8c26123 HTML Author: parazyd <parazyd@dyne.org> Date: Thu, 31 Mar 2016 17:17:16 +0200 more truth in docs Diffstat: M README.md | 5 +++-- M conf/config.sh | 2 +- M src/zlibs/hooks | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) --- DIR diff --git a/README.md b/README.md t@@ -31,7 +31,8 @@ device. ## Usage After installation, you will end up with an initscript in /etc/init.d/coffin You can start coffin by issuing `/etc/init.d/coffin start` as root and the -watch script will begin to watch your /dev for new devices. +watch script will begin to watch your /dev for new devices. You can see +coffin's output by issuing (as root) `tail -f /var/run/coffin.out` ### Hooks Hooks are oneliners written on your USB key which will trigger actions t@@ -107,7 +108,7 @@ If you haven't added any features like WebDAV, your only way is accessing your files the way you accessed your box when installing. If you've enabled WebDAV, just use a WebDAV client and connect to your box with `https://addressof.coffin/tombName`. The SSL certificate was -generated on installation and the fingerprint was shown to you. Compare +generated on compile time and the fingerprint was shown to you. Compare it now and set it to trusted if everything is okay. Login with the info you provided when creating your tomb's hook. DIR diff --git a/conf/config.sh b/conf/config.sh t@@ -146,7 +146,7 @@ ckdistro() { print "You can start it with '/etc/init.d/coffin start'" print "######################################" - fprint=`openssl x509 -noout -in coffin.pem -fingerprint \ + fprint=`openssl x509 -noout -in /etc/ssl/coffin/coffin.pem -fingerprint \ | awk -F\= '{print $2}'` print "The fingerptint of your SSL certificate is: $fprint" print "Compare it and/or set is as trusted when you connect to coffin." DIR diff --git a/src/zlibs/hooks b/src/zlibs/hooks t@@ -70,7 +70,7 @@ create-new-tomb() { chown $undertaker:$undertaker $COFFINDOT/$tombid.key && \ xxx "Moved and chowned keyfile" - print "${undertaker}:${tombid}:false" >> $TTAB + print "${undertaker}:${tombid}:true" >> $TTAB hash-key print "${keyhash}:${keypass}" >> $TOMBPASSWD