vendor/openssh: upgrade from 8.0p1 to 8.3p1 vendor/OPENSSH
authorDaniel Fojt <df@neosystem.org>
Wed, 22 Jul 2020 15:18:18 +0000 (17:18 +0200)
committerDaniel Fojt <df@neosystem.org>
Mon, 3 Aug 2020 13:40:01 +0000 (15:40 +0200)
commit0cbfa66cdb87e23928a110d9b02839f403e32c11
tree30b986873090f4ac2f5e674a757a82682efb1945
parent5325441168f412567cbceb556c96435c2cce2b33
vendor/openssh: upgrade from 8.0p1 to 8.3p1

Summary of notable changes:

- ssh(1), sshd(8), ssh-agent(1): add protection for private keys at
  rest in RAM against speculation and memory side-channel attacks like
  Spectre, Meltdown and Rambleed, openssh 8.1 and later encrypts private
  keys when they are not in use with a symmetric key that is derived from
  a relatively large "prekey" consisting of random data (currently 16KB)

- ssh(1), sshd(8), ssh-keygen(1): openssh 8.2 removes the "ssh-rsa"
  (RSA/SHA1) algorithm from those accepted for certificate signatures
  (i.e. the client and server CASignatureAlgorithms option) and will
  use the rsa-sha2-512 signature algorithm by default when the
  ssh-keygen(1) CA signs new certificates

- ssh(1), sshd(8): openssh 8.2 removes diffie-hellman-group14-sha1 from
  the default key exchange proposal for both the client and server

- ssh-keygen(1): the command-line options related to the generation and
  screening of safe prime numbers used by the diffie-hellman-group-* key
  exchange algorithms have changed, most options have been folded under
  the -O flag

- support PKCS8 as an optional format for storage of private keys to disk,
  native key format remains the default, but PKCS8 is a superior format to
  PEM if interoperability with non-OpenSSH software is required

- ssh(1), sshd(8): prefer to use chacha20 from libcrypto

- sshd(8): the sshd listener process title visible to ps(1) has changed
  to include information about the number of connections that are
  currently attempting authentication and the limits configured
  by MaxStartups

- sshd(8): when clients get denied by MaxStartups, send a notification
  prior to the SSH2 protocol banner according to RFC4253 section 4.2

- sshd(8): add an Include sshd_config keyword that allows including
  additional configuration files via glob(3) patterns

- sshd(8): make IgnoreRhosts a tri-state option: "yes" to ignore
  rhosts/shosts, "no" allow rhosts/shosts or (new) "shosts-only"
  to allow .shosts files but not .rhosts

- sshd(8): allow the IgnoreRhosts directive to appear anywhere in a
  sshd_config, not just before any Match blocks

- ssh(1), sshd(8): allow prepending a list of algorithms to the default
  set by starting the list with the '^' character, e.g.
  "HostKeyAlgorithms ^ssh-ed25519"

- ssh(1): allow forwarding a different agent socket to the path specified
  by $SSH_AUTH_SOCK, by extending the existing ForwardAgent option to
  accepting an explicit path or the name of an environment variable in
  addition to yes/no

- ssh(1): add %TOKEN percent expansion for the LocalFoward and
  RemoteForward keywords when used for Unix domain socket forwarding

- ssh(1): allow %n to be expanded in ProxyCommand strings

- sftp(1): reject an argument of "-1" in the same way as ssh(1) and
  scp(1) do instead of accepting and silently ignoring it

- sftp(1): check for user@host when parsing sftp target, this allows
  user@[1.2.3.4] to work without a path

- sftp(1): fix a race condition in the SIGCHILD handler that could
  turn in to a kill(-1)

For detailed list of all improvements, enhancements and bugfixes see
release notes:

https://www.openssh.com/releasenotes.html
143 files changed:
crypto/openssh/CREDITS
crypto/openssh/LICENCE
crypto/openssh/PROTOCOL
crypto/openssh/PROTOCOL.certkeys
crypto/openssh/PROTOCOL.chacha20poly1305
crypto/openssh/PROTOCOL.mux
crypto/openssh/PROTOCOL.sshsig [new file with mode: 0644]
crypto/openssh/README
crypto/openssh/README.dns
crypto/openssh/auth-options.c
crypto/openssh/auth-options.h
crypto/openssh/auth-pam.c
crypto/openssh/auth-rhosts.c
crypto/openssh/auth.c
crypto/openssh/auth.h
crypto/openssh/auth2-chall.c
crypto/openssh/auth2-hostbased.c
crypto/openssh/auth2-kbdint.c
crypto/openssh/auth2-passwd.c
crypto/openssh/auth2-pubkey.c
crypto/openssh/auth2.c
crypto/openssh/authfd.c
crypto/openssh/authfd.h
crypto/openssh/authfile.c
crypto/openssh/authfile.h
crypto/openssh/canohost.c
crypto/openssh/channels.c
crypto/openssh/channels.h
crypto/openssh/cipher-chachapoly-libcrypto.c [moved from crypto/openssh/cipher-chachapoly.c with 57% similarity]
crypto/openssh/cipher-chachapoly.h
crypto/openssh/cipher.c
crypto/openssh/cipher.h
crypto/openssh/clientloop.c
crypto/openssh/clientloop.h
crypto/openssh/contrib/ssh-copy-id.1
crypto/openssh/crc32.h [deleted file]
crypto/openssh/defines.h
crypto/openssh/dh.c
crypto/openssh/dh.h
crypto/openssh/digest-openssl.c
crypto/openssh/dns.c
crypto/openssh/entropy.c
crypto/openssh/hash.c
crypto/openssh/hmac.c
crypto/openssh/hostfile.c
crypto/openssh/kex.c
crypto/openssh/kex.h
crypto/openssh/kexecdh.c
crypto/openssh/kexgen.c
crypto/openssh/kexgexc.c
crypto/openssh/krl.c
crypto/openssh/krl.h
crypto/openssh/log.h
crypto/openssh/loginrec.c
crypto/openssh/mac.c
crypto/openssh/match.c
crypto/openssh/misc.c
crypto/openssh/misc.h
crypto/openssh/moduli
crypto/openssh/moduli.c
crypto/openssh/monitor.c
crypto/openssh/monitor_wrap.c
crypto/openssh/monitor_wrap.h
crypto/openssh/msg.c
crypto/openssh/mux.c
crypto/openssh/myproposal.h
crypto/openssh/nchan.c
crypto/openssh/packet.c
crypto/openssh/packet.h
crypto/openssh/pathnames.h
crypto/openssh/platform.c
crypto/openssh/progressmeter.c
crypto/openssh/readconf.c
crypto/openssh/readconf.h
crypto/openssh/readpass.c
crypto/openssh/scp.1
crypto/openssh/scp.c
crypto/openssh/servconf.c
crypto/openssh/servconf.h
crypto/openssh/serverloop.c
crypto/openssh/session.c
crypto/openssh/sftp-client.c
crypto/openssh/sftp-glob.c
crypto/openssh/sftp-realpath.c [new file with mode: 0644]
crypto/openssh/sftp-server-main.c
crypto/openssh/sftp-server.8
crypto/openssh/sftp-server.c
crypto/openssh/sftp.1
crypto/openssh/sftp.c
crypto/openssh/sk-api.h [new file with mode: 0644]
crypto/openssh/ssh-add.1
crypto/openssh/ssh-add.c
crypto/openssh/ssh-agent.1
crypto/openssh/ssh-agent.c
crypto/openssh/ssh-dss.c
crypto/openssh/ssh-ecdsa-sk.c [new file with mode: 0644]
crypto/openssh/ssh-ed25519-sk.c [new file with mode: 0644]
crypto/openssh/ssh-ed25519.c
crypto/openssh/ssh-keygen.1
crypto/openssh/ssh-keygen.c
crypto/openssh/ssh-keyscan.1
crypto/openssh/ssh-keyscan.c
crypto/openssh/ssh-keysign.8
crypto/openssh/ssh-keysign.c
crypto/openssh/ssh-pkcs11-helper.8
crypto/openssh/ssh-pkcs11-helper.c
crypto/openssh/ssh-pkcs11.h
crypto/openssh/ssh-sk-client.c [new file with mode: 0644]
crypto/openssh/ssh-sk.h [new file with mode: 0644]
crypto/openssh/ssh.1
crypto/openssh/ssh.c
crypto/openssh/ssh_api.c
crypto/openssh/ssh_config.5
crypto/openssh/sshbuf-getput-basic.c
crypto/openssh/sshbuf-getput-crypto.c
crypto/openssh/sshbuf-io.c [new file with mode: 0644]
crypto/openssh/sshbuf-misc.c
crypto/openssh/sshbuf.c
crypto/openssh/sshbuf.h
crypto/openssh/sshconnect.c
crypto/openssh/sshconnect.h
crypto/openssh/sshconnect2.c
crypto/openssh/sshd.8
crypto/openssh/sshd.c
crypto/openssh/sshd_config.5
crypto/openssh/ssherr.c
crypto/openssh/ssherr.h
crypto/openssh/sshkey.c
crypto/openssh/sshkey.h
crypto/openssh/sshlogin.c
crypto/openssh/sshpty.c
crypto/openssh/sshsig.c [new file with mode: 0644]
crypto/openssh/sshsig.h [new file with mode: 0644]
crypto/openssh/uidswap.c
crypto/openssh/umac.c
crypto/openssh/umac.h
crypto/openssh/utf8.c
crypto/openssh/utf8.h
crypto/openssh/uuencode.c [deleted file]
crypto/openssh/uuencode.h [deleted file]
crypto/openssh/version.h
crypto/openssh/xmalloc.c
crypto/openssh/xmalloc.h