summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-sysadm/2011-February/002527.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-sysadm/2011-February/002527.html')
-rw-r--r--zarb-ml/mageia-sysadm/2011-February/002527.html152
1 files changed, 152 insertions, 0 deletions
diff --git a/zarb-ml/mageia-sysadm/2011-February/002527.html b/zarb-ml/mageia-sysadm/2011-February/002527.html
new file mode 100644
index 000000000..7170865e9
--- /dev/null
+++ b/zarb-ml/mageia-sysadm/2011-February/002527.html
@@ -0,0 +1,152 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-sysadm] [392] add config file and script to split passphrase using ssss-split
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B392%5D%20add%20config%20file%20and%20script%20to%20split%0A%09passphrase%20using%20ssss-split&In-Reply-To=%3C20110203145330.331E23FEA7%40valstar.mageia.org%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="002526.html">
+ <LINK REL="Next" HREF="002528.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-sysadm] [392] add config file and script to split passphrase using ssss-split</H1>
+ <B>root at mageia.org</B>
+ <A HREF="mailto:mageia-sysadm%40mageia.org?Subject=Re%3A%20%5BMageia-sysadm%5D%20%5B392%5D%20add%20config%20file%20and%20script%20to%20split%0A%09passphrase%20using%20ssss-split&In-Reply-To=%3C20110203145330.331E23FEA7%40valstar.mageia.org%3E"
+ TITLE="[Mageia-sysadm] [392] add config file and script to split passphrase using ssss-split">root at mageia.org
+ </A><BR>
+ <I>Thu Feb 3 15:53:30 CET 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="002526.html">[Mageia-sysadm] [390] encrypt secret key using passphrase
+</A></li>
+ <LI>Next message: <A HREF="002528.html">[Mageia-sysadm] [393] add script to unsplit passphrase
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#2527">[ date ]</a>
+ <a href="thread.html#2527">[ thread ]</a>
+ <a href="subject.html#2527">[ subject ]</a>
+ <a href="author.html#2527">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>Revision: 392
+Author: boklm
+Date: 2011-02-03 15:53:29 +0100 (Thu, 03 Feb 2011)
+Log Message:
+-----------
+add config file and script to split passphrase using ssss-split
+
+Modified Paths:
+--------------
+ gpg/generate-key.sh
+
+Added Paths:
+-----------
+ gpg/config
+ gpg/split-passphrase
+
+Added: gpg/config
+===================================================================
+--- gpg/config (rev 0)
++++ gpg/config 2011-02-03 14:53:29 UTC (rev 392)
+@@ -0,0 +1,16 @@
++GPGHOMEDIR=&quot;./homedir&quot;
++PUBDIR=&quot;./public&quot;
++PRIVDIR=&quot;./private&quot;
++INPUTDIR=&quot;./input&quot;
++
++pubkey=&quot;$PUBDIR/mageia-board-pubkey.gpg&quot;
++seckey=&quot;$PRIVDIR/mageia-board-seckey&quot;
++seckey_e=&quot;$PRIVDIR/mageia-board-seckey.gpg&quot;
++passphrase=&quot;$PRIVDIR/passphrase&quot;
++
++ssplit=&quot;./bin/ssss-split&quot;
++scombine=&quot;./bin/sss-combine&quot;
++partsdir=&quot;$PRIVDIR/parts&quot;
++nb_threshold=3
++nb_shares=6
++
+
+Modified: gpg/generate-key.sh
+===================================================================
+--- gpg/generate-key.sh 2011-02-03 13:54:58 UTC (rev 391)
++++ gpg/generate-key.sh 2011-02-03 14:53:29 UTC (rev 392)
+@@ -1,15 +1,7 @@
+ #!/bin/sh
+
+-GPGHOMEDIR=&quot;./homedir&quot;
+-PUBDIR=&quot;./public&quot;
+-PRIVDIR=&quot;./private&quot;
+-INPUTDIR=&quot;./input&quot;
++. ./config
+
+-pubkey=&quot;$PUBDIR/mageia-board-pubkey.gpg&quot;
+-seckey=&quot;$PRIVDIR/mageia-board-seckey&quot;
+-seckey_e=&quot;$PRIVDIR/mageia-board-seckey.gpg&quot;
+-passphrase=&quot;$PRIVDIR/passphrase&quot;
+-
+ echo 'Today is :'
+ date
+ echo '(check if the date is correct and press enter)'
+
+Added: gpg/split-passphrase
+===================================================================
+--- gpg/split-passphrase (rev 0)
++++ gpg/split-passphrase 2011-02-03 14:53:29 UTC (rev 392)
+@@ -0,0 +1,21 @@
++#!/bin/sh
++
++. ./config
++
++ssplit=&quot;./bin/ssss-split&quot;
++scombine=&quot;./bin/sss-combine&quot;
++partsdir=&quot;$PRIVDIR/parts&quot;
++nb_threshold=3
++nb_shares=6
++
++mkdir -p &quot;$partsdir&quot;
++
++$ssplit -x -t $nb_threshold -n $nb_shares &lt; &quot;$passphrase&quot; &gt; &quot;$partsdir/all&quot;
++
++for num in `seq 1 $nb_shares`
++do
++ grep &quot;^$num-&quot; &quot;$partsdir/all&quot; &gt; &quot;$partsdir/$num&quot;
++done
++
++rm -f &quot;$partsdir/all&quot;
++
+
+
+Property changes on: gpg/split-passphrase
+___________________________________________________________________
+Added: svn:executable
+ + *
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;/pipermail/mageia-sysadm/attachments/20110203/baacbc98/attachment.html&gt;
+</PRE>
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="002526.html">[Mageia-sysadm] [390] encrypt secret key using passphrase
+</A></li>
+ <LI>Next message: <A HREF="002528.html">[Mageia-sysadm] [393] add script to unsplit passphrase
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#2527">[ date ]</a>
+ <a href="thread.html#2527">[ thread ]</a>
+ <a href="subject.html#2527">[ subject ]</a>
+ <a href="author.html#2527">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-sysadm">More information about the Mageia-sysadm
+mailing list</a><br>
+</body></html>