mirror of
git://git.yoctoproject.org/poky
synced 2026-09-16 14:57:33 +00:00
refresh the following patches for new version: 0001-urandom-xauth-changes-to-options.h.patch 0005-dropbear-enable-pam.patch dropbear-disable-weak-ciphers.patch Changelog: https://github.com/mkj/dropbear/releases/tag/DROPBEAR_2022.82 (From OE-Core rev: d5f9c44ede9babd0f48306cfefe4a16065e8ea30) Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Luca Ceresoli <luca.ceresoli@bootlin.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
42 lines
1.4 KiB
Diff
42 lines
1.4 KiB
Diff
From b8cece92ba19aa77ac013ea161bfe4c7147747c9 Mon Sep 17 00:00:00 2001
|
|
From: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
|
Date: Wed, 2 Dec 2015 11:36:02 +0200
|
|
Subject: Enable pam
|
|
|
|
We need modify file default_options.h besides enabling pam in
|
|
configure if we want dropbear to support pam.
|
|
|
|
Upstream-Status: Pending
|
|
|
|
Signed-off-by: Xiaofeng Yan <xiaofeng.yan@windriver.com>
|
|
Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
|
|
---
|
|
default_options.h | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/default_options.h b/default_options.h
|
|
index 0e3d027..349338c 100644
|
|
--- a/default_options.h
|
|
+++ b/default_options.h
|
|
@@ -210,7 +210,7 @@ group1 in Dropbear server too */
|
|
|
|
/* Authentication Types - at least one required.
|
|
RFC Draft requires pubkey auth, and recommends password */
|
|
-#define DROPBEAR_SVR_PASSWORD_AUTH 1
|
|
+#define DROPBEAR_SVR_PASSWORD_AUTH 0
|
|
|
|
/* Note: PAM auth is quite simple and only works for PAM modules which just do
|
|
* a simple "Login: " "Password: " (you can edit the strings in svr-authpam.c).
|
|
@@ -218,7 +218,7 @@ group1 in Dropbear server too */
|
|
* but there's an interface via a PAM module. It won't work for more complex
|
|
* PAM challenge/response.
|
|
* You can't enable both PASSWORD and PAM. */
|
|
-#define DROPBEAR_SVR_PAM_AUTH 0
|
|
+#define DROPBEAR_SVR_PAM_AUTH 1
|
|
|
|
/* ~/.ssh/authorized_keys authentication.
|
|
* You must define DROPBEAR_SVR_PUBKEY_AUTH in order to use plugins. */
|
|
--
|
|
2.25.1
|
|
|