projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Its more useful and standard to actually output the 'help' output when
[monkeysphere.git]
/
src
/
share
/
m
/
import_subkey
diff --git
a/src/share/m/import_subkey
b/src/share/m/import_subkey
index 1823f71d69ae84b57973aa359f2ed5e587919e3f..8d60f26aaa849cbeeabbeccd8fc2a6f3ea01a9b7 100644
(file)
--- a/
src/share/m/import_subkey
+++ b/
src/share/m/import_subkey
@@
-13,12
+13,20
@@
# import an existing ssh key as a gpg subkey
# 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
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
sshKeyFile="$1"
shift
@@
-33,9
+41,6
@@
import_subkey() {
# check that an authentication subkey does not already exist
check_gpg_authentication_subkey "$keyID"
# 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)
# setup the temp fifo dir for retrieving the key password
log debug "creating password fifo..."
fifoDir=$(msmktempdir)