From: Jameson Graef Rollins Date: Sat, 21 Jun 2008 21:05:07 +0000 (-0400) Subject: add some things to the TODO X-Git-Tag: monkeysphere_0.2-1~12^2~2 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=bee2295c0e205787584788d1e611e92ec6b0fe96;hp=820b8e93b72b33eba262643b9d9095c351e4ffb9;p=monkeysphere.git add some things to the TODO --- diff --git a/doc/TODO b/doc/TODO index a82f031..71b9582 100644 --- a/doc/TODO +++ b/doc/TODO @@ -107,3 +107,9 @@ Update monkeysphere-ssh-proxycommand man page with new keyserver Update monkeysphere-ssh-proxycommand man page with info about no-connect option. + +File bug against seahorse about how, when creating new primary keys, + it presents option for "RSA (sign only)" but then creates an "esca" + key. + +File bug against enigmail about lack of ability to create subkeys. diff --git a/src/seckey2sshagent b/src/seckey2sshagent index d8e9b79..15e2706 100755 --- a/src/seckey2sshagent +++ b/src/seckey2sshagent @@ -23,18 +23,27 @@ cleanup() { trap cleanup EXIT -GPGID="$1" - -idchars=$(echo $GPGID | wc -m) -if [ "$idchars" -ne 17 ] ; then - echo "GPGID is not 16 characters ($idchars)." - exit 1 -fi +#GPGID="$1" +GPGID=$(echo "$1" | cut -c 25-) FOO=$(mktemp -d) -gpg --export-secret-key --export-options export-reset-subkey-passwd $GPGID | GNUPGHOME=$FOO gpg --import - -GNUPGHOME=$FOO gpg --edit-key $GPGID - -GNUPGHOME=$FOO gpg --export-secret-key $GPGID | openpgp2ssh $GPGID | ssh-add -c /dev/stdin +gpg --export-secret-key $GPGID | GNUPGHOME="$FOO" gpg --import + +# idea to script the password stuff. not working. +# read -s -p "enter gpg password: " PASSWD; echo +# cmd=$(cat <