]> gitweb.fluxo.info Git - keyringer.git/commitdiff
TODO
authorSilvio Rhatto <rhatto@riseup.net>
Sat, 10 Apr 2010 13:45:46 +0000 (10:45 -0300)
committerSilvio Rhatto <rhatto@riseup.net>
Sat, 10 Apr 2010 13:45:46 +0000 (10:45 -0300)
keyringer
share/keyringer/genpair

index 15f9295942d73248514502ac04735f5375b4d17f..2529a85b04723a520e2664649fc2c9f5eb7e5db8 100755 (executable)
--- a/keyringer
+++ b/keyringer
@@ -22,6 +22,7 @@ function keyringer_init {
   BASEDIR="$3"
   URL="$4"
   RECIPIENTS="$BASEDIR/config/recipients"
+  OPTIONS="$BASEDIR/config/options"
 
   # Parse
   if [ -z "$BASEDIR" ]; then
@@ -53,6 +54,9 @@ function keyringer_init {
       echo "# Use entries in the form of 'john@doe.com XXXXXXXX" > $RECIPIENTS
       echo "" >> $RECIPIENTS
 
+      # Setup options
+      touch $OPTIONS
+
       # Setup README
       echo "Keyring repository powered by http://git.sarava.org/?p=keyringer.git;a=summary" > $BASEDIR/README
       echo "" >> $BASEDIR/README
index 723cd98354be522d5a07ed49b8d4636973d18940..774e7ab9e501cbce0a581943aef64e03d585f5e3 100755 (executable)
@@ -20,6 +20,7 @@ function genpair_ssh {
   echo "Encrypting public key into keyringer..."
   cat $WORK/id_dsa.pub | keyringer_exec encrypt $BASEDIR $FILE.pub
 
+  # TODO: add outfiles into version control
   if [ ! -z "$OUTFILE" ]; then
     mkdir -p `dirname $OUTFILE`
     echo Saving copies at $OUTFILE and $OUTFILE.pub
@@ -57,6 +58,7 @@ EOF
   echo "Encrypting passphrase into keyringer..."
   echo "Passphrase for $FILE: $passphrase"         | keyringer_exec encrypt $BASEDIR $FILE.passwd
 
+  # TODO: add outfiles into version control
   if [ ! -z "$OUTFILE" ]; then
     mkdir -p `dirname $OUTFILE`
     echo Saving copies at $OUTFILE and $OUTFILE.pub