Merge ~michal-maloszewski99/ubuntu/+source/openssh:fix-outdated-ssh into ubuntu/+source/openssh:applied/ubuntu/focal-devel

Proposed by Michał Małoszewski
Status: Superseded
Proposed branch: ~michal-maloszewski99/ubuntu/+source/openssh:fix-outdated-ssh
Merge into: ubuntu/+source/openssh:applied/ubuntu/focal-devel
Diff against target: 101 lines (+67/-0) (has conflicts)
3 files modified
debian/changelog (+9/-0)
debian/patches/fix-outdated-info-ssh-conf.patch (+54/-0)
debian/patches/series (+4/-0)
Conflict in debian/changelog
Conflict in debian/patches/series
Reviewer Review Type Date Requested Status
git-ubuntu import Pending
Andreas Hasenack Pending
Canonical Server Reporter Pending
Review via email: mp+427492@code.launchpad.net

This proposal supersedes a proposal from 2022-07-26.

This proposal has been superseded by a proposal from 2022-07-27.

To post a comment you must log in.
Revision history for this message
Andreas Hasenack (ahasenack) wrote : Posted in a previous version of this proposal

Grabbing this, some changes requested.

review: Needs Fixing

Unmerged commits

5793845... by Michał Małoszewski

changelog

388c3ee... by Michał Małoszewski

Fix ssh_config(5) which contains outdated information (LP: #1871465)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index 0eea97e..6ec74fd 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,4 @@
6+<<<<<<< debian/changelog
7 openssh (1:8.2p1-4ubuntu0.5) focal; urgency=medium
8
9 * d/p/fix-connect-timeout-overflow.patch: prevent ConnectTimeout overflow.
10@@ -40,6 +41,14 @@ openssh (1:8.2p1-4ubuntu0.1) focal; urgency=medium
11 (LP: #1876320)
12
13 -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Fri, 29 May 2020 09:37:09 +0200
14+=======
15+openssh (1:8.2p1-4ubuntu0.1) UNRELEASED; urgency=medium
16+
17+ * d/p/fix-outdated-info-ssh-conf.patch: Fix outdated information
18+ (LP: #1871465)
19+
20+ -- Michal Maloszewski <michal.maloszewski@canonical.com> Tue, 26 Jul 2022 21:51:55 +0200
21+>>>>>>> debian/changelog
22
23 openssh (1:8.2p1-4) unstable; urgency=medium
24
25diff --git a/debian/patches/fix-outdated-info-ssh-conf.patch b/debian/patches/fix-outdated-info-ssh-conf.patch
26new file mode 100644
27index 0000000..b959a67
28--- /dev/null
29+++ b/debian/patches/fix-outdated-info-ssh-conf.patch
30@@ -0,0 +1,54 @@
31+Description: Fix outdated information in ssh_config.5
32+ The release of OpenSSH 8.2 has removed 'ssh-rsa' from
33+ the default list of CACertificateAlgorithms.
34+ .
35+ openssh (1:8.2p1-4) unstable; urgency=medium
36+ .
37+ * Add /etc/ssh/ssh_config.d/ to openssh-client.
38+ * Add /etc/ssh/sshd_config.d/ to openssh-server (closes: #952427).
39+ * Install ssh-sk-helper even on non-Linux architectures, though it will
40+ need an external middleware library in those cases.
41+Author: Colin Watson <cjwatson@debian.org>
42+Bug-Debian: https://bugs.debian.org/952427
43+
44+---
45+The information above should follow the Patch Tagging Guidelines, please
46+checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
47+are templates for supplementary fields that you might want to add:
48+
49+Origin: upstream, https://github.com/openssh/openssh-portable/commit/53ea05e09b04fd7b6dea66b42b34d65fe61b9636
50+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/openssh/+bug/1871465
51+Last-Update: 2022-07-26
52+
53+--- openssh-8.2p1.orig/ssh_config.5
54++++ openssh-8.2p1/ssh_config.5
55+@@ -390,8 +390,11 @@ Specifies which algorithms are allowed f
56+ by certificate authorities (CAs).
57+ The default is:
58+ .Bd -literal -offset indent
59+-ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
60+-ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa
61++ssh-ed25519,ecdsa-sha2-nistp256,
62++ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
63++sk-ssh-ed25519@openssh.com,
64++sk-ecdsa-sha2-nistp256@openssh.com,
65++rsa-sha2-512,rsa-sha2-256
66+ .Ed
67+ .Pp
68+ .Xr ssh 1
69+--- openssh-8.2p1.orig/sshd_config.5
70++++ openssh-8.2p1/sshd_config.5
71+@@ -408,8 +408,11 @@ Specifies which algorithms are allowed f
72+ by certificate authorities (CAs).
73+ The default is:
74+ .Bd -literal -offset indent
75+-ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
76+-ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa
77++ssh-ed25519,ecdsa-sha2-nistp256,
78++ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
79++sk-ssh-ed25519@openssh.com,
80++sk-ecdsa-sha2-nistp256@openssh.com,
81++rsa-sha2-512,rsa-sha2-256
82+ .Ed
83+ .Pp
84+ Certificates signed using other algorithms will not be accepted for
85diff --git a/debian/patches/series b/debian/patches/series
86index 94dbe27..aa4c44a 100644
87--- a/debian/patches/series
88+++ b/debian/patches/series
89@@ -23,8 +23,12 @@ debian-config.patch
90 restore-authorized_keys2.patch
91 conch-old-privkey-format.patch
92 revert-ipqos-defaults.patch
93+<<<<<<< debian/patches/series
94 lp-1876320-upstream-Do-not-call-process_queued_listen_addrs-for.patch
95 CVE-2021-28041.patch
96 match-host-certs-w-public-keys.patch
97 lp1966591-upstream-preserve-group-world-read-permission-on-kno.patch
98 fix-connect-timeout-overflow.patch
99+=======
100+fix-outdated-info-ssh-conf.patch
101+>>>>>>> debian/patches/series

Subscribers

People subscribed via source and target branches