/[soft]/gpg/split-passphrase
ViewVC logotype

Contents of /gpg/split-passphrase

Parent Directory Parent Directory | Revision Log Revision Log


Revision 393 - (show annotations) (download)
Thu Feb 3 15:37:51 2011 UTC (10 years, 7 months ago) by boklm
File size: 237 byte(s)
add script to unsplit passphrase
1 #!/bin/sh
2
3 . ./config
4
5 mkdir -p "$partsdir"
6
7 $ssplit -x -t $nb_threshold -n $nb_shares < "$passphrase" > "$partsdir/all"
8
9 for num in `seq 1 $nb_shares`
10 do
11 grep "^$num-" "$partsdir/all" > "$partsdir/$num"
12 done
13
14 rm -f "$partsdir/all"
15

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.28