projects
/
monkeysphere.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd03070
)
added notes about what version needs what keyType
author
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Sun, 10 Jan 2010 22:19:48 +0000
(17:19 -0500)
committer
Daniel Kahn Gillmor
<dkg@fifthhorseman.net>
Sun, 10 Jan 2010 22:19:48 +0000
(17:19 -0500)
src/share/m/gen_subkey
patch
|
blob
|
history
diff --git
a/src/share/m/gen_subkey
b/src/share/m/gen_subkey
index a90c6187e2ec69757f51261fc640b244690492a3..9cc6028325a3621ec019b3d242bd53269e6b0573 100644
(file)
--- a/
src/share/m/gen_subkey
+++ b/
src/share/m/gen_subkey
@@
-19,6
+19,7
@@
gen_subkey(){
local keyID
local editCommands
local fifoDir
+ local keyType
# get options
while true ; do
@@
-44,8
+45,13
@@
Type '$PGRM help' for usage."
check_gpg_authentication_subkey "$keyID"
# generate the list of commands that will be passed to edit-key
+ # 7 for < 1.4.10
+ # 8 for >= 1.4.10
+ # 7 for < 2.0.13
+ # 8 for >= 2.0.13
+ keyType=8
editCommands="addkey
-8
+$keyType
S
E
A