summaryrefslogtreecommitdiff
path: root/src/share/m/import_subkey
diff options
context:
space:
mode:
Diffstat (limited to 'src/share/m/import_subkey')
-rw-r--r--src/share/m/import_subkey4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/share/m/import_subkey b/src/share/m/import_subkey
index 8d60f26..3571c7b 100644
--- a/src/share/m/import_subkey
+++ b/src/share/m/import_subkey
@@ -51,11 +51,11 @@ import_subkey() {
if [ "$sshKeyFile" = '-' ] ; then
log verbose "importing ssh key from stdin..."
PEM2OPENPGP_USAGE_FLAGS=authenticate pem2openpgp "$userID" \
- | gpg_user --passphrase-fd 3 3< "$fifoDir/pass" --expert --command-fd 0 --import &
+ | gpg_user --batch --passphrase-fd 3 3< "$fifoDir/pass" --expert --command-fd 0 --import &
else
log verbose "importing ssh key from file '$sshKeyFile'..."
PEM2OPENPGP_USAGE_FLAGS=authenticate pem2openpgp "$userID" <"$sshKeyFile" \
- | gpg_user --passphrase-fd 3 3< "$fifoDir/pass" --expert --command-fd 0 --import &
+ | gpg_user --batch --passphrase-fd 3 3< "$fifoDir/pass" --expert --command-fd 0 --import &
fi
# get the password if needed