mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-26 17:01:14 +00:00
b5cde26048
critical fixes: - libtommath: possible integer overflow (CVE-2023-36328) - implement Strict KEX mode (CVE-2023-48795) various fixes: - fix DROPBEAR_DSS and DROPBEAR_RSA config options - y2038 issues - remove SO_LINGER socket option - make banner reading failure non-fatal - fix "noremotetcp" behavior - don't try to shutdown a pty - fix test for multiuser kernels adds new features: - option to bind to interface - allow inetd with non-syslog - ignore unsupported command line options with dropbearkey Signed-off-by: Konstantin Demin <rockdrilla@gmail.com>
34 lines
1022 B
Diff
34 lines
1022 B
Diff
From 806586b585806cbe32013bcd3af3847278972060 Mon Sep 17 00:00:00 2001
|
|
From: Sergey Ponomarev <stokito@gmail.com>
|
|
Date: Sun, 10 Dec 2023 10:31:56 +0200
|
|
Subject: dropbearkey: add alias to ssh-keygen
|
|
|
|
The dropbearkey is partially compatible with ssh-keygen and can be used as an alias.
|
|
|
|
Closes: #263
|
|
---
|
|
dbmulti.c | 5 +++--
|
|
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
|
--- a/dbmulti.c
|
|
+++ b/dbmulti.c
|
|
@@ -41,7 +41,8 @@ static int runprog(const char *multipath
|
|
}
|
|
#endif
|
|
#ifdef DBMULTI_dropbearkey
|
|
- if (strcmp(progname, "dropbearkey") == 0) {
|
|
+ if (strcmp(progname, "dropbearkey") == 0
|
|
+ || strcmp(progname, "ssh-keygen") == 0) {
|
|
return dropbearkey_main(argc, argv);
|
|
}
|
|
#endif
|
|
@@ -88,7 +89,7 @@ int main(int argc, char ** argv) {
|
|
"'dbclient' or 'ssh' - the Dropbear client\n"
|
|
#endif
|
|
#ifdef DBMULTI_dropbearkey
|
|
- "'dropbearkey' - the key generator\n"
|
|
+ "'dropbearkey' or 'ssh-keygen' - the key generator\n"
|
|
#endif
|
|
#ifdef DBMULTI_dropbearconvert
|
|
"'dropbearconvert' - the key converter\n"
|