summaryrefslogtreecommitdiff
path: root/src/share/m/gen_subkey
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/m/gen_subkey')
-rw-r--r--src/share/m/gen_subkey7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/share/m/gen_subkey b/src/share/m/gen_subkey
index dbd9dd6..a0fa3ce 100644
--- a/src/share/m/gen_subkey
+++ b/src/share/m/gen_subkey
@@ -44,8 +44,7 @@ Type '$PGRM help' for usage."
check_gpg_authentication_subkey "$keyID"
# generate the list of commands that will be passed to edit-key
- editCommands=$(cat <<EOF
-addkey
+ editCommands="addkey
7
S
E
@@ -53,9 +52,7 @@ A
Q
$keyLength
0
-save
-EOF
-)
+save"
# setup the temp fifo dir for retrieving the key password
log debug "creating password fifo..."