Skip to content

Commit e3561cb

Browse files
author
Lucas RAVAGNIER
committed
Import openssh-9.9p1-27.el10.alma.1.src.rpm
Signed-off-by: Lucas RAVAGNIER <lucas.ravagnier@vates.tech>
1 parent 200703a commit e3561cb

99 files changed

Lines changed: 27755 additions & 0 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

SOURCES/gpgkey-736060BA.gpg

2.64 KB
Binary file not shown.

SOURCES/openssh-10.0-mlkem-nist-fips.patch

Lines changed: 503 additions & 0 deletions
Large diffs are not rendered by default.

SOURCES/openssh-10.0-mlkem-nist.patch

Lines changed: 987 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
diff -up openssh-8.6p1/contrib/gnome-ssh-askpass2.c.grab-info openssh-8.6p1/contrib/gnome-ssh-askpass2.c
2+
--- openssh-8.6p1/contrib/gnome-ssh-askpass2.c.grab-info 2021-04-19 13:57:11.720113536 +0200
3+
+++ openssh-8.6p1/contrib/gnome-ssh-askpass2.c 2021-04-19 13:59:29.842163204 +0200
4+
@@ -70,8 +70,12 @@ report_failed_grab (GtkWidget *parent_wi
5+
6+
err = gtk_message_dialog_new(GTK_WINDOW(parent_window), 0,
7+
GTK_MESSAGE_ERROR, GTK_BUTTONS_CLOSE,
8+
- "Could not grab %s. A malicious client may be eavesdropping "
9+
- "on your session.", what);
10+
+ "SSH password dialog could not grab the %s input.\n"
11+
+ "This might be caused by application such as screensaver, "
12+
+ "however it could also mean that someone may be eavesdropping "
13+
+ "on your session.\n"
14+
+ "Either close the application which grabs the %s or "
15+
+ "log out and log in again to prevent this from happening.", what, what);
16+
gtk_window_set_position(GTK_WINDOW(err), GTK_WIN_POS_CENTER);
17+
18+
gtk_dialog_run(GTK_DIALOG(err));
Lines changed: 83 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,83 @@
1+
diff -up openssh-7.4p1/contrib/gnome-ssh-askpass2.c.progress openssh-7.4p1/contrib/gnome-ssh-askpass2.c
2+
--- openssh-7.4p1/contrib/gnome-ssh-askpass2.c.progress 2016-12-19 05:59:41.000000000 +0100
3+
+++ openssh-7.4p1/contrib/gnome-ssh-askpass2.c 2016-12-23 13:31:16.545211926 +0100
4+
@@ -53,6 +53,7 @@
5+
#include <unistd.h>
6+
7+
#include <X11/Xlib.h>
8+
+#include <glib.h>
9+
#include <gtk/gtk.h>
10+
#include <gdk/gdkx.h>
11+
#include <gdk/gdkkeysyms.h>
12+
@@ -81,14 +82,25 @@ ok_dialog(GtkWidget *entry, gpointer dia
13+
return 1;
14+
}
15+
16+
+static void
17+
+move_progress(GtkWidget *entry, gpointer progress)
18+
+{
19+
+ gdouble step;
20+
+ g_return_if_fail(GTK_IS_PROGRESS_BAR(progress));
21+
+
22+
+ step = g_random_double_range(0.03, 0.1);
23+
+ gtk_progress_bar_set_pulse_step(GTK_PROGRESS_BAR(progress), step);
24+
+ gtk_progress_bar_pulse(GTK_PROGRESS_BAR(progress));
25+
+}
26+
+
27+
static int
28+
passphrase_dialog(char *message, int prompt_type)
29+
{
30+
const char *failed;
31+
char *passphrase, *local;
32+
int result, grab_tries, grab_server, grab_pointer;
33+
int buttons, default_response;
34+
- GtkWidget *parent_window, *dialog, *entry;
35+
+ GtkWidget *parent_window, *dialog, *entry, *progress, *hbox;
36+
GdkGrabStatus status;
37+
GdkColor fg, bg;
38+
int fg_set = 0, bg_set = 0;
39+
@@ -104,14 +116,19 @@ passphrase_dialog(char *message)
40+
gtk_widget_modify_bg(dialog, GTK_STATE_NORMAL, &bg);
41+
42+
if (prompt_type == PROMPT_ENTRY || prompt_type == PROMPT_NONE) {
43+
+ hbox = gtk_hbox_new(FALSE, 0);
44+
+ gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox), hbox, FALSE,
45+
+ FALSE, 0);
46+
+ gtk_widget_show(hbox);
47+
+
48+
entry = gtk_entry_new();
49+
if (fg_set)
50+
gtk_widget_modify_fg(entry, GTK_STATE_NORMAL, &fg);
51+
if (bg_set)
52+
gtk_widget_modify_bg(entry, GTK_STATE_NORMAL, &bg);
53+
gtk_box_pack_start(
54+
- GTK_BOX(gtk_dialog_get_content_area(GTK_DIALOG(dialog))),
55+
- entry, FALSE, FALSE, 0);
56+
+ GTK_BOX(hbox), entry, TRUE, FALSE, 0);
57+
+ gtk_entry_set_width_chars(GTK_ENTRY(entry), 2);
58+
gtk_entry_set_visibility(GTK_ENTRY(entry), FALSE);
59+
gtk_widget_grab_focus(entry);
60+
if (prompt_type == PROMPT_ENTRY) {
61+
@@ -130,6 +145,22 @@ passphrase_dialog(char *message)
62+
g_signal_connect(G_OBJECT(entry), "key_press_event",
63+
G_CALLBACK(check_none), dialog);
64+
}
65+
+
66+
+ hbox = gtk_hbox_new(FALSE, 0);
67+
+ gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox),
68+
+ hbox, FALSE, FALSE, 8);
69+
+ gtk_widget_show(hbox);
70+
+
71+
+ progress = gtk_progress_bar_new();
72+
+
73+
+ gtk_progress_bar_set_text(GTK_PROGRESS_BAR(progress),
74+
+ "Passphrase length hidden intentionally");
75+
+ gtk_box_pack_start(GTK_BOX(hbox), progress, TRUE,
76+
+ TRUE, 5);
77+
+ gtk_widget_show(progress);
78+
+ g_signal_connect(G_OBJECT(entry), "changed",
79+
+ G_CALLBACK(move_progress), progress);
80+
+
81+
}
82+
83+
/* Grab focus */
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
diff -up openssh-5.8p2/ssh-keyscan.c.sigpipe openssh-5.8p2/ssh-keyscan.c
2+
--- openssh-5.8p2/ssh-keyscan.c.sigpipe 2011-08-23 18:30:33.873025916 +0200
3+
+++ openssh-5.8p2/ssh-keyscan.c 2011-08-23 18:32:24.574025362 +0200
4+
@@ -715,6 +715,9 @@ main(int argc, char **argv)
5+
if (maxfd > fdlim_get(0))
6+
fdlim_set(maxfd);
7+
fdcon = xcalloc(maxfd, sizeof(con));
8+
+
9+
+ signal(SIGPIPE, SIG_IGN);
10+
+
11+
read_wait = xcalloc(maxfd, sizeof(struct pollfd));
12+
for (j = 0; j < maxfd; j++)
13+
read_wait[j].fd = -1;
14+
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
diff -up openssh-5.9p0/ssh.1.ipv6man openssh-5.9p0/ssh.1
2+
--- openssh-5.9p0/ssh.1.ipv6man 2011-08-05 22:17:32.000000000 +0200
3+
+++ openssh-5.9p0/ssh.1 2011-08-31 13:08:34.880024485 +0200
4+
@@ -1400,6 +1400,8 @@ manual page for more information.
5+
.Nm
6+
exits with the exit status of the remote command or with 255
7+
if an error occurred.
8+
+.Sh IPV6
9+
+IPv6 address can be used everywhere where IPv4 address. In all entries must be the IPv6 address enclosed in square brackets. Note: The square brackets are metacharacters for the shell and must be escaped in shell.
10+
.Sh SEE ALSO
11+
.Xr scp 1 ,
12+
.Xr sftp 1 ,
13+
diff -up openssh-5.9p0/sshd.8.ipv6man openssh-5.9p0/sshd.8
14+
--- openssh-5.9p0/sshd.8.ipv6man 2011-08-05 22:17:32.000000000 +0200
15+
+++ openssh-5.9p0/sshd.8 2011-08-31 13:10:34.129039094 +0200
16+
@@ -940,6 +940,8 @@ concurrently for different ports, this c
17+
started last).
18+
The content of this file is not sensitive; it can be world-readable.
19+
.El
20+
+.Sh IPV6
21+
+IPv6 address can be used everywhere where IPv4 address. In all entries must be the IPv6 address enclosed in square brackets. Note: The square brackets are metacharacters for the shell and must be escaped in shell.
22+
.Sh SEE ALSO
23+
.Xr scp 1 ,
24+
.Xr sftp 1 ,
Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
diff --git a/scp.c b/scp.c
2+
index d98fa67..25d347b 100644
3+
--- a/scp.c
4+
+++ b/scp.c
5+
@@ -638,7 +638,10 @@ toremote(char *targ, int argc, char **argv)
6+
addargs(&alist, "%s", ssh_program);
7+
addargs(&alist, "-x");
8+
addargs(&alist, "-oClearAllForwardings=yes");
9+
- addargs(&alist, "-n");
10+
+ if (isatty(fileno(stdin)))
11+
+ addargs(&alist, "-t");
12+
+ else
13+
+ addargs(&alist, "-n");
14+
for (j = 0; j < remote_remote_args.num; j++) {
15+
addargs(&alist, "%s",
16+
remote_remote_args.list[j]);

0 commit comments

Comments
 (0)