bmh10 / rpms / openssh

Forked from rpms/openssh 2 days ago
Clone

Blame SOURCES/openssh-8.0p1-crypto-policies.patch

3e8b5b
diff -up openssh-8.0p1/ssh_config.5.crypto-policies openssh-8.0p1/ssh_config.5
3e8b5b
--- openssh-8.0p1/ssh_config.5.crypto-policies	2019-05-13 14:04:01.999099570 +0200
3e8b5b
+++ openssh-8.0p1/ssh_config.5	2019-05-13 14:12:36.343923071 +0200
3e8b5b
@@ -445,12 +445,10 @@ aes256-gcm@openssh.com
3e8b5b
 chacha20-poly1305@openssh.com
3e8b5b
 .Ed
3e8b5b
 .Pp
3e8b5b
-The default is:
3e8b5b
-.Bd -literal -offset indent
3e8b5b
-chacha20-poly1305@openssh.com,
3e8b5b
-aes128-ctr,aes192-ctr,aes256-ctr,
3e8b5b
-aes128-gcm@openssh.com,aes256-gcm@openssh.com
3e8b5b
-.Ed
3e8b5b
+The default is handled system-wide by
3e8b5b
+.Xr crypto-policies 7 .
6578e6
+To see the defaults and how to modify this default, see manual page
3e8b5b
+.Xr update-crypto-policies 8 .
3e8b5b
 .Pp
3e8b5b
 The list of available ciphers may also be obtained using
3e8b5b
 .Qq ssh -Q cipher .
3e8b5b
@@ -812,8 +810,10 @@ gss-nistp256-sha256-,
3e8b5b
 gss-curve25519-sha256-
3e8b5b
 .Ed
3e8b5b
 .Pp
3e8b5b
-The default is
3e8b5b
-.Dq gss-gex-sha1-,gss-group14-sha1- .
3e8b5b
+The default is handled system-wide by
3e8b5b
+.Xr crypto-policies 7 .
6578e6
+To see the defaults and how to modify this default, see manual page
3e8b5b
+.Xr update-crypto-policies 8 .
3e8b5b
 This option only applies to protocol version 2 connections using GSSAPI.
3e8b5b
 .It Cm HashKnownHosts
3e8b5b
 Indicates that
3e8b5b
@@ -1123,16 +1123,10 @@ If the specified value begins with a
3e8b5b
 .Sq -
3e8b5b
 character, then the specified methods (including wildcards) will be removed
3e8b5b
 from the default set instead of replacing them.
3e8b5b
-The default is:
3e8b5b
-.Bd -literal -offset indent
3e8b5b
-curve25519-sha256,curve25519-sha256@libssh.org,
3e8b5b
-ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,
3e8b5b
-diffie-hellman-group-exchange-sha256,
3e8b5b
-diffie-hellman-group16-sha512,
3e8b5b
-diffie-hellman-group18-sha512,
3e8b5b
-diffie-hellman-group14-sha256,
3e8b5b
-diffie-hellman-group14-sha1
3e8b5b
-.Ed
3e8b5b
+The default is handled system-wide by
3e8b5b
+.Xr crypto-policies 7 .
6578e6
+To see the defaults and how to modify this default, see manual page
3e8b5b
+.Xr update-crypto-policies 8 .
3e8b5b
 .Pp
3e8b5b
 The list of available key exchange algorithms may also be obtained using
3e8b5b
 .Qq ssh -Q kex .
3e8b5b
@@ -1210,14 +1204,10 @@ The algorithms that contain
3e8b5b
 calculate the MAC after encryption (encrypt-then-mac).
3e8b5b
 These are considered safer and their use recommended.
3e8b5b
 .Pp
3e8b5b
-The default is:
3e8b5b
-.Bd -literal -offset indent
3e8b5b
-umac-64-etm@openssh.com,umac-128-etm@openssh.com,
3e8b5b
-hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,
3e8b5b
-hmac-sha1-etm@openssh.com,
3e8b5b
-umac-64@openssh.com,umac-128@openssh.com,
3e8b5b
-hmac-sha2-256,hmac-sha2-512,hmac-sha1
3e8b5b
-.Ed
3e8b5b
+The default is handled system-wide by
3e8b5b
+.Xr crypto-policies 7 .
6578e6
+To see the defaults and how to modify this default, see manual page
3e8b5b
+.Xr update-crypto-policies 8 .
3e8b5b
 .Pp
3e8b5b
 The list of available MAC algorithms may also be obtained using
3e8b5b
 .Qq ssh -Q mac .
3e8b5b
@@ -1361,17 +1351,10 @@ If the specified value begins with a
3e8b5b
 .Sq -
3e8b5b
 character, then the specified key types (including wildcards) will be removed
3e8b5b
 from the default set instead of replacing them.
3e8b5b
-The default for this option is:
3e8b5b
-.Bd -literal -offset 3n
3e8b5b
-ecdsa-sha2-nistp256-cert-v01@openssh.com,
3e8b5b
-ecdsa-sha2-nistp384-cert-v01@openssh.com,
3e8b5b
-ecdsa-sha2-nistp521-cert-v01@openssh.com,
3e8b5b
-ssh-ed25519-cert-v01@openssh.com,
3e8b5b
-rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,
3e8b5b
-ssh-rsa-cert-v01@openssh.com,
3e8b5b
-ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
3e8b5b
-ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa
3e8b5b
-.Ed
3e8b5b
+The default is handled system-wide by
3e8b5b
+.Xr crypto-policies 7 .
6578e6
+To see the defaults and how to modify this default, see manual page
3e8b5b
+.Xr update-crypto-policies 8 .
3e8b5b
 .Pp
3e8b5b
 The list of available key types may also be obtained using
3e8b5b
 .Qq ssh -Q key .
3e8b5b
diff -up openssh-8.0p1/sshd_config.5.crypto-policies openssh-8.0p1/sshd_config.5
3e8b5b
--- openssh-8.0p1/sshd_config.5.crypto-policies	2019-05-13 14:12:41.226968863 +0200
3e8b5b
+++ openssh-8.0p1/sshd_config.5	2019-05-13 14:15:14.581406997 +0200
3e8b5b
@@ -490,12 +490,10 @@ aes256-gcm@openssh.com
3e8b5b
 chacha20-poly1305@openssh.com
3e8b5b
 .El
3e8b5b
 .Pp
3e8b5b
-The default is:
3e8b5b
-.Bd -literal -offset indent
3e8b5b
-chacha20-poly1305@openssh.com,
3e8b5b
-aes128-ctr,aes192-ctr,aes256-ctr,
3e8b5b
-aes128-gcm@openssh.com,aes256-gcm@openssh.com
3e8b5b
-.Ed
3e8b5b
+The default is handled system-wide by
3e8b5b
+.Xr crypto-policies 7 .
6578e6
+To see the defaults and how to modify this default, see manual page
3e8b5b
+.Xr update-crypto-policies 8 .
3e8b5b
 .Pp
3e8b5b
 The list of available ciphers may also be obtained using
3e8b5b
 .Qq ssh -Q cipher .
3e8b5b
@@ -700,8 +698,10 @@ gss-nistp256-sha256-,
3e8b5b
 gss-curve25519-sha256-
3e8b5b
 .Ed
3e8b5b
 .Pp
3e8b5b
-The default is
3e8b5b
-.Dq gss-gex-sha1-,gss-group14-sha1- .
3e8b5b
+The default is handled system-wide by
3e8b5b
+.Xr crypto-policies 7 .
6578e6
+To see the defaults and how to modify this default, see manual page
3e8b5b
+.Xr update-crypto-policies 8 .
3e8b5b
 This option only applies to protocol version 2 connections using GSSAPI.
3e8b5b
 .It Cm HostbasedAcceptedKeyTypes
3e8b5b
 Specifies the key types that will be accepted for hostbased authentication
3e8b5b
@@ -792,17 +792,10 @@ environment variable.
3e8b5b
 .It Cm HostKeyAlgorithms
3e8b5b
 Specifies the host key algorithms
3e8b5b
 that the server offers.
3e8b5b
-The default for this option is:
3e8b5b
-.Bd -literal -offset 3n
3e8b5b
-ecdsa-sha2-nistp256-cert-v01@openssh.com,
3e8b5b
-ecdsa-sha2-nistp384-cert-v01@openssh.com,
3e8b5b
-ecdsa-sha2-nistp521-cert-v01@openssh.com,
3e8b5b
-ssh-ed25519-cert-v01@openssh.com,
3e8b5b
-rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,
3e8b5b
-ssh-rsa-cert-v01@openssh.com,
3e8b5b
-ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
3e8b5b
-ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa
3e8b5b
-.Ed
3e8b5b
+The default is handled system-wide by
3e8b5b
+.Xr crypto-policies 7 .
6578e6
+To see the defaults and how to modify this default, see manual page
3e8b5b
+.Xr update-crypto-policies 8 .
3e8b5b
 .Pp
3e8b5b
 The list of available key types may also be obtained using
3e8b5b
 .Qq ssh -Q key .
3e8b5b
@@ -960,14 +953,10 @@ ecdh-sha2-nistp384
3e8b5b
 ecdh-sha2-nistp521
3e8b5b
 .El
3e8b5b
 .Pp
3e8b5b
-The default is:
3e8b5b
-.Bd -literal -offset indent
3e8b5b
-curve25519-sha256,curve25519-sha256@libssh.org,
3e8b5b
-ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,
3e8b5b
-diffie-hellman-group-exchange-sha256,
3e8b5b
-diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,
3e8b5b
-diffie-hellman-group14-sha256,diffie-hellman-group14-sha1
3e8b5b
-.Ed
3e8b5b
+The default is handled system-wide by
3e8b5b
+.Xr crypto-policies 7 .
6578e6
+To see the defaults and how to modify this default, see manual page
3e8b5b
+.Xr update-crypto-policies 8 .
3e8b5b
 .Pp
3e8b5b
 The list of available key exchange algorithms may also be obtained using
3e8b5b
 .Qq ssh -Q kex .
3e8b5b
@@ -1090,14 +1079,10 @@ umac-64-etm@openssh.com
3e8b5b
 umac-128-etm@openssh.com
3e8b5b
 .El
3e8b5b
 .Pp
3e8b5b
-The default is:
3e8b5b
-.Bd -literal -offset indent
3e8b5b
-umac-64-etm@openssh.com,umac-128-etm@openssh.com,
3e8b5b
-hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,
3e8b5b
-hmac-sha1-etm@openssh.com,
3e8b5b
-umac-64@openssh.com,umac-128@openssh.com,
3e8b5b
-hmac-sha2-256,hmac-sha2-512,hmac-sha1
3e8b5b
-.Ed
3e8b5b
+The default is handled system-wide by
3e8b5b
+.Xr crypto-policies 7 .
6578e6
+To see the defaults and how to modify this default, see manual page
3e8b5b
+.Xr update-crypto-policies 8 .
3e8b5b
 .Pp
3e8b5b
 The list of available MAC algorithms may also be obtained using
3e8b5b
 .Qq ssh -Q mac .
3e8b5b
@@ -1455,17 +1440,10 @@ If the specified value begins with a
3e8b5b
 .Sq -
3e8b5b
 character, then the specified key types (including wildcards) will be removed
3e8b5b
 from the default set instead of replacing them.
3e8b5b
-The default for this option is:
3e8b5b
-.Bd -literal -offset 3n
3e8b5b
-ecdsa-sha2-nistp256-cert-v01@openssh.com,
3e8b5b
-ecdsa-sha2-nistp384-cert-v01@openssh.com,
3e8b5b
-ecdsa-sha2-nistp521-cert-v01@openssh.com,
3e8b5b
-ssh-ed25519-cert-v01@openssh.com,
3e8b5b
-rsa-sha2-512-cert-v01@openssh.com,rsa-sha2-256-cert-v01@openssh.com,
3e8b5b
-ssh-rsa-cert-v01@openssh.com,
3e8b5b
-ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,
3e8b5b
-ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa
3e8b5b
-.Ed
3e8b5b
+The default is handled system-wide by
3e8b5b
+.Xr crypto-policies 7 .
6578e6
+To see the defaults and how to modify this default, see manual page
3e8b5b
+.Xr update-crypto-policies 8 .
3e8b5b
 .Pp
3e8b5b
 The list of available key types may also be obtained using
3e8b5b
 .Qq ssh -Q key .