summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-01-10 17:19:48 -0500
committerDaniel Kahn Gillmor <dkg@fifthhorseman.net>2010-01-10 17:19:48 -0500
commit9a3c85827f90722036a8f6a2b81a2926ea088ff3 (patch)
tree5f239c9021ed976ff34a612a6ad0f79d3e629991
parentfd03070ba488f9be9c479734bea9b0f741350221 (diff)
added notes about what version needs what keyType
-rw-r--r--src/share/m/gen_subkey8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/share/m/gen_subkey b/src/share/m/gen_subkey
index a90c618..9cc6028 100644
--- 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