coffin

secure lan file storage on a device
git clone git://parazyd.org/coffin.git
Log | Files | Refs | Submodules | README | LICENSE

commit 98b7e05f1be532853986cb2c8822d85228e07b1e
parent 4974dcd3abf64d26f39385e3a93eec7eab0553a2
Author: parazyd <parazyd@dyne.org>
Date:   Mon, 16 May 2016 19:56:14 +0200

skeleton for bitcoin hardware wallet

Diffstat:
Msrc/sacrist | 2+-
Msrc/zlibs/features | 11+++++++++++
Msrc/zlibs/hooks | 1+
Msrc/zlibs/keyfiles | 2+-
4 files changed, 14 insertions(+), 2 deletions(-)

diff --git a/src/sacrist b/src/sacrist @@ -21,7 +21,7 @@ coffin_version=0.4 coffin_release_date="May/2016" -DEBUG=${DEBUG:-1} # NOTE: Change default value to 0 later +DEBUG=${DEBUG:-0} QUIET=${QUIET:-0} LOG=${LOG:-""} diff --git a/src/zlibs/features b/src/zlibs/features @@ -113,3 +113,14 @@ delete-sshfs-hook() { act "Deleted SSH data" } + +create-wallet-hook() { + fn create-wallet-hook + + if [[ $entry =~ ":wallet" ]]; then + act "Found Bitcoin wallet data. Setting up..." + + [[ -d /home/$undertaker/.bitcoin/wallet ]] || mkdir -p /home/$undertaker/.bitcoin/wallet + # TODO: see NOTES.md about the tmp idea + fi +} diff --git a/src/zlibs/hooks b/src/zlibs/hooks @@ -99,6 +99,7 @@ create-new-tomb() { # Check for features create-webdav-hook create-sshfs-hook + create-wallet-hook } delete-tomb() { diff --git a/src/zlibs/keyfiles b/src/zlibs/keyfiles @@ -64,7 +64,7 @@ compare-key() { # *%%W%GW5@/%!e]_tZdY()v)ZXMZW%W%%%*5Y]K%ZK%8[ # '*%%%%8%8WK\)[/ZmZ/Zi]!/M%%%%@f\ \Y/NNMK%%! # 'VM%%%%W%WN5Z/Gt5/b)((cV@f` - |cZbMKW%%| -# 'V*M%%%WZ/ZG\t5((+)L'-,,/ -)X(NWW%% +# 'V*M%%%WZ/ZG\t5((+)L'-,,/ -)X(NWW%%% # `~`MZ/DZGNZG5(((\, ,t\\Z)KW%@ # 'M8K%8GN8\5(5///]i!v\K)85W%%f # YWWKKKKWZ8G54X/GGMeK@WM8%@