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

Contents of /gpg/split-passphrase

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1503 - (show annotations) (download)
Tue May 24 13:46:47 2011 UTC (12 years, 11 months ago) by boklm
File size: 257 byte(s)
restore gpg scripts
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