aboutsummaryrefslogtreecommitdiffstats
path: root/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
commit4135915279b9f70147bd39c9feb382170c410947 (patch)
tree4b05f987d4530f6342a1526d0884c6e534646050 /package/dropbear/patches/120-hostkey_prompt.patch
parentb649fba6018e0ff622d0485fd0cde534514ff301 (diff)
downloadmaster-187ad058-4135915279b9f70147bd39c9feb382170c410947.tar.gz
master-187ad058-4135915279b9f70147bd39c9feb382170c410947.tar.bz2
master-187ad058-4135915279b9f70147bd39c9feb382170c410947.zip
update dropbear to 0.47 (adds keyboard-interactive auth, fixes a potential security issue, fixes #59)
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@2660 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package/dropbear/patches/120-hostkey_prompt.patch')
-rw-r--r--package/dropbear/patches/120-hostkey_prompt.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/dropbear/patches/120-hostkey_prompt.patch b/package/dropbear/patches/120-hostkey_prompt.patch
new file mode 100644
index 0000000000..59639e7b97
--- /dev/null
+++ b/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);
+