diff options
author | Nicolas Vigier <boklm@mageia.org> | 2011-02-04 12:13:41 +0000 |
---|---|---|
committer | Nicolas Vigier <boklm@mageia.org> | 2011-02-04 12:13:41 +0000 |
commit | 9018b789f61c57cbe0eba0cd07d7ffbfa3821365 (patch) | |
tree | a167c4e71306def3103506ab35c3fac1c74b4c65 | |
parent | 0d7040bce664ef4a20883bc1c3e75d3b6ec71171 (diff) | |
download | gpg-9018b789f61c57cbe0eba0cd07d7ffbfa3821365.tar gpg-9018b789f61c57cbe0eba0cd07d7ffbfa3821365.tar.gz gpg-9018b789f61c57cbe0eba0cd07d7ffbfa3821365.tar.bz2 gpg-9018b789f61c57cbe0eba0cd07d7ffbfa3821365.tar.xz gpg-9018b789f61c57cbe0eba0cd07d7ffbfa3821365.zip |
add README file
-rw-r--r-- | README | 31 |
1 files changed, 31 insertions, 0 deletions
@@ -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. |