aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas Vigier <boklm@mageia.org>2011-02-04 12:13:41 +0000
committerNicolas Vigier <boklm@mageia.org>2011-02-04 12:13:41 +0000
commit9018b789f61c57cbe0eba0cd07d7ffbfa3821365 (patch)
treea167c4e71306def3103506ab35c3fac1c74b4c65
parent0d7040bce664ef4a20883bc1c3e75d3b6ec71171 (diff)
downloadgpg-9018b789f61c57cbe0eba0cd07d7ffbfa3821365.tar
gpg-9018b789f61c57cbe0eba0cd07d7ffbfa3821365.tar.gz
gpg-9018b789f61c57cbe0eba0cd07d7ffbfa3821365.tar.bz2
gpg-9018b789f61c57cbe0eba0cd07d7ffbfa3821365.tar.xz
gpg-9018b789f61c57cbe0eba0cd07d7ffbfa3821365.zip
add README file
-rw-r--r--README31
1 files changed, 31 insertions, 0 deletions
diff --git a/README b/README
new file mode 100644
index 0000000..0152252
--- /dev/null
+++ b/README
@@ -0,0 +1,31 @@
+This directory contains some scripts used to generate and use GPG keys
+for Mageia.
+
+To use them, gpg needs to be installed, and ssss-combine ssss-split
+binaries should be in ./bin directory (or path updated in config file).
+
+- generate-key : generate a new GPG key, copy the public key in ./public
+ directory. The private key is encrypted and copied in file
+ ./private/mageia-board-seckey.gpg. The password is split in 6 parts
+ using "Shamir's Secret Sharing Scheme" with this program :
+ http://point-at-infinity.org/ssss/
+ 3 parts are required to combine the password and decrypt the key.
+
+- move-part : script used to move on a USB key one part of the password
+ and a copy of the encrypted GPG key. The public directory is also copied.
+ It takes as argument a number (between 1 and 6) and a path.
+
+- import-priv-key : this script import the private key in directory
+ ./homedir using encrypted key and 3 parts of the password. Copy all
+ password parts in directory ./private/parts, the encrypted key in
+ ./private/mageia-board-seckey.gpg, run the script and you should be
+ able to use gpg with "gpg --homedir ./homedir"
+
+
+And the license for all scripts in this directory (except otherwise
+indicated, or for external programs) :
+ * This program is free software. It comes without any warranty, to
+ * the extent permitted by applicable law. You can redistribute it
+ * and/or modify it under the terms of the Do What The Fuck You Want
+ * To Public License, Version 2, as published by Sam Hocevar. See
+ * http://sam.zoy.org/wtfpl/COPYING for more details.