aboutsummaryrefslogtreecommitdiffstats
path: root/unsplit-passphrase
diff options
context:
space:
mode:
Diffstat (limited to 'unsplit-passphrase')
-rwxr-xr-xunsplit-passphrase6
1 files changed, 6 insertions, 0 deletions
diff --git a/unsplit-passphrase b/unsplit-passphrase
new file mode 100755
index 0000000..c1f4e79
--- /dev/null
+++ b/unsplit-passphrase
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+. ./config
+
+cat "$partsdir/"* | $scombine -x -t $nb_threshold 2>&1 | grep '^Resulting secret: ' | sed 's/^Resulting secret: //' > "$passphrase"
+