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

Contents of /gpg/split-passphrase

Parent Directory Parent Directory | Revision Log Revision Log


Revision 395 - (show annotations) (download)
Thu Feb 3 16:22:06 2011 UTC (13 years, 2 months ago) by boklm
File size: 257 byte(s)
remove passphrase file after spliting it
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 rm -f "$passphrase"
16

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.30