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

Annotation of /gpg/split-passphrase

Parent Directory Parent Directory | Revision Log Revision Log


Revision 392 - (hide annotations) (download)
Thu Feb 3 14:53:29 2011 UTC (13 years, 2 months ago) by boklm
File size: 346 byte(s)
add config file and script to split passphrase using ssss-split
1 boklm 392 #!/bin/sh
2    
3     . ./config
4    
5     ssplit="./bin/ssss-split"
6     scombine="./bin/sss-combine"
7     partsdir="$PRIVDIR/parts"
8     nb_threshold=3
9     nb_shares=6
10    
11     mkdir -p "$partsdir"
12    
13     $ssplit -x -t $nb_threshold -n $nb_shares < "$passphrase" > "$partsdir/all"
14    
15     for num in `seq 1 $nb_shares`
16     do
17     grep "^$num-" "$partsdir/all" > "$partsdir/$num"
18     done
19    
20     rm -f "$partsdir/all"
21    

Properties

Name Value
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.30