Fix patch for gen_key to test gpg version.
[monkeysphere.git] / src / share / m / import_subkey
index 1823f71d69ae84b57973aa359f2ed5e587919e3f..8d60f26aaa849cbeeabbeccd8fc2a6f3ea01a9b7 100644 (file)
 
 # import an existing ssh key as a gpg subkey
 
+## 2009-02-20 00:49:11-0500: This is not implemented yet, because we
+## don't currently have a good way to manipulate the user's OpenPGP
+## secret key such that we could make a proper subkey binding
+## signature.
+
 import_subkey() {
     local sshKeyFile
     local keyID
     local gpgSecOut
     local fifoDir
 
+    # FIXME: implement!
+    failure "import-subkey is not implemented yet.  We welcome patches.  Sorry!"
+
     sshKeyFile="$1"
     shift
 
@@ -33,9 +41,6 @@ import_subkey() {
     # check that an authentication subkey does not already exist
     check_gpg_authentication_subkey "$keyID"
 
-    # FIXME: implement!
-    failure "implement me!"
-
     # setup the temp fifo dir for retrieving the key password
     log debug "creating password fifo..."
     fifoDir=$(msmktempdir)