summaryrefslogtreecommitdiff
path: root/openwrt/package/dropbear/patches/120-hostkey_prompt.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2005-12-13 19:15:43 +0000
committerFelix Fietkau <nbd@openwrt.org>2005-12-13 19:15:43 +0000
commitb9a3554f4a82fbbe8e4147399bb69b048b01c835 (patch)
tree0075d326bb5b01156a104beb2e9f4d9a1f60ce03 /openwrt/package/dropbear/patches/120-hostkey_prompt.patch
parent6db7170690d0b03292ac7cd6960287a3dafd53fe (diff)
downloadmtk-20170518-b9a3554f4a82fbbe8e4147399bb69b048b01c835.zip
mtk-20170518-b9a3554f4a82fbbe8e4147399bb69b048b01c835.tar.gz
mtk-20170518-b9a3554f4a82fbbe8e4147399bb69b048b01c835.tar.bz2
update dropbear to 0.47 (adds keyboard-interactive auth, fixes a potential security issue, fixes #59)
SVN-Revision: 2660
Diffstat (limited to 'openwrt/package/dropbear/patches/120-hostkey_prompt.patch')
-rw-r--r--openwrt/package/dropbear/patches/120-hostkey_prompt.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/openwrt/package/dropbear/patches/120-hostkey_prompt.patch b/openwrt/package/dropbear/patches/120-hostkey_prompt.patch
new file mode 100644
index 0000000..59639e7
--- /dev/null
+++ b/openwrt/package/dropbear/patches/120-hostkey_prompt.patch
@@ -0,0 +1,12 @@
+diff -urN dropbear-0.45.old/cli-kex.c dropbear-0.45/cli-kex.c
+--- dropbear-0.45.old/cli-kex.c 2005-03-07 05:27:01.000000000 +0100
++++ dropbear-0.45/cli-kex.c 2005-03-25 11:13:57.000000000 +0100
+@@ -119,7 +119,7 @@
+ char response = 'z';
+
+ fp = sign_key_fingerprint(keyblob, keybloblen);
+- fprintf(stderr, "\nHost '%s' is not in the trusted hosts file.\n(fingerprint %s)\nDo you want to continue connecting? (y/n)\n",
++ fprintf(stderr, "\nHost '%s' is not in the trusted hosts file.\n(fingerprint %s)\nDo you want to continue connecting? (y/n) ",
+ cli_opts.remotehost,
+ fp);
+