# 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
# 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)