]>
git.ipfire.org Git - thirdparty/openssh-portable.git/log
djm@openbsd.org [Fri, 16 Nov 2018 03:03:10 +0000 (03:03 +0000)]
upstream: disallow empty incoming filename or ones that refer to the
current directory; based on report/patch from Harry Sintonen
OpenBSD-Commit-ID:
f27651b30eaee2df49540ab68d030865c04f6de9
djm@openbsd.org [Fri, 16 Nov 2018 02:46:20 +0000 (02:46 +0000)]
upstream: fix bug in client that was keeping a redundant ssh-agent
socket around for the life of the connection; bz#2912; reported by Simon
Tatham; ok dtucker@
OpenBSD-Commit-ID:
4ded588301183d343dce3e8c5fc1398e35058478
djm@openbsd.org [Fri, 16 Nov 2018 02:43:56 +0000 (02:43 +0000)]
upstream: fix bug in HostbasedAcceptedKeyTypes and
PubkeyAcceptedKeyTypes options. If only RSA-SHA2 siganture types were
specified, then authentication would always fail for RSA keys as the monitor
checks only the base key (not the signature algorithm) type against
*AcceptedKeyTypes. bz#2746; reported by Jakub Jelen; ok dtucker
OpenBSD-Commit-ID:
117bc3dc54578dbdb515a1d3732988cb5b00461b
djm@openbsd.org [Fri, 16 Nov 2018 02:30:20 +0000 (02:30 +0000)]
upstream: support a prefix of '@' to suppress echo of sftp batch
commands; bz#2926; ok dtucker@
OpenBSD-Commit-ID:
9d635636bc84aeae796467e059f7634de990a79d
schwarze@openbsd.org [Tue, 13 Nov 2018 07:22:45 +0000 (07:22 +0000)]
upstream: fix markup error (missing blank before delimiter); from
Mike Frysinger <vapier at gentoo dot org>
OpenBSD-Commit-ID:
1bc5392f795ca86318d695e0947eaf71a5a4f6d9
djm@openbsd.org [Fri, 9 Nov 2018 02:57:58 +0000 (02:57 +0000)]
upstream: typo in error message; caught by Debian lintian, via
Colin Watson
OpenBSD-Commit-ID:
bff614c7bd1f4ca491a84e9b5999f848d0d66758
djm@openbsd.org [Fri, 9 Nov 2018 02:56:22 +0000 (02:56 +0000)]
upstream: correct local variable name; from yawang AT microsoft.com
OpenBSD-Commit-ID:
a0c228390856a215bb66319c89cb3959d3af8c87
dtucker@openbsd.org [Wed, 31 Oct 2018 11:20:05 +0000 (11:20 +0000)]
upstream: Import new moduli.
OpenBSD-Commit-ID:
c07772f58028fda683ee6abd41c73da3ff70d403
djm@openbsd.org [Fri, 26 Oct 2018 01:23:03 +0000 (01:23 +0000)]
upstream: mention ssh-
ed25519 -cert-v01@openssh.com in list of cert
key type at start of doc
OpenBSD-Commit-ID:
b46b0149256d67f05f2d5d01e160634ed1a67324
Darren Tucker [Fri, 16 Nov 2018 02:32:13 +0000 (13:32 +1100)]
Remove fallback check for /usr/local/ssl.
If configure could not find a working OpenSSL installation it would
fall back to checking in /usr/local/ssl. This made sense back when
systems did not ship with OpenSSL, but most do and OpenSSL 1.1 doesn't
use that as a default any more. The fallback behaviour also meant
that if you pointed --with-ssl-dir at a specific directory and it
didn't work, it would silently use either the system libs or the ones
in /usr/local/ssl. If you want to use /usr/local/ssl you'll need to
pass configure --with-ssl-dir=/usr/local/ssl. ok djm@
Darren Tucker [Fri, 16 Nov 2018 01:44:01 +0000 (12:44 +1100)]
Fix check for OpenSSL 1.0.1 exactly.
Both INSTALL and configure.ac claim OpenSSL >= 1.0.1 is supported; fix
compile-time check for 1.0.1 to match.
Darren Tucker [Sun, 11 Nov 2018 04:58:20 +0000 (15:58 +1100)]
Improve warnings in cygwin service setup.
bz#2922, patch from vinschen at redhat.com.
Darren Tucker [Sun, 11 Nov 2018 04:54:54 +0000 (15:54 +1100)]
Remove hardcoded service name in cygwin setup.
bz#2922, patch from Christian.Lupien at USherbrooke.ca, sanity check
by vinschen at redhat.com.
Dag-Erling Smørgrav [Tue, 9 Oct 2018 21:03:40 +0000 (23:03 +0200)]
AC_CHECK_SIZEOF() no longer needs a second argument.
Manoj Ampalam [Fri, 9 Nov 2018 06:41:59 +0000 (22:41 -0800)]
Fix error message w/out nistp521.
Correct error message when OpenSSL doesn't support certain ECDSA key
lengths.
Eneas U de Queiroz [Tue, 9 Oct 2018 19:17:42 +0000 (16:17 -0300)]
fix compilation with openssl built without ECC
ECDSA code in openssh-compat.h and libressl-api-compat.c needs to be
guarded by OPENSSL_HAS_ECC
Signed-off-by: Eneas U de Queiroz <cote2004-github@yahoo.com>
Darren Tucker [Thu, 8 Nov 2018 04:03:11 +0000 (15:03 +1100)]
Simplify OpenSSL 1.1 function checks.
Replace AC_SEARCH_LIBS checks for OpenSSL 1.1 functions with a single
AC_CHECK_FUNCS. ok djm@
Darren Tucker [Mon, 5 Nov 2018 06:31:24 +0000 (17:31 +1100)]
Fix pasto for HAVE_EVP_CIPHER_CTX_SET_IV.
Prevents unnecessary redefinition. Patch from mforney at mforney.org.
Darren Tucker [Wed, 31 Oct 2018 11:21:03 +0000 (22:21 +1100)]
Import new moduli.
Darren Tucker [Sun, 28 Oct 2018 04:18:13 +0000 (15:18 +1100)]
Update check for minimum OpenSSL version.
Darren Tucker [Sun, 28 Oct 2018 04:16:31 +0000 (15:16 +1100)]
Update required OpenSSL versions to match current.
Darren Tucker [Sun, 28 Oct 2018 03:34:12 +0000 (14:34 +1100)]
Use detected version functions in openssl compat.
Use detected functions in compat layer instead of guessing based on
versions. Really fixes builds with LibreSSL, not just configure.
Darren Tucker [Sat, 27 Oct 2018 05:45:59 +0000 (16:45 +1100)]
Check for the existence of openssl version funcs.
Check for the existence of openssl version functions and use the ones
detected instead of trying to guess based on the int32 version
identifier. Fixes builds with LibreSSL.
Damien Miller [Fri, 26 Oct 2018 02:43:28 +0000 (13:43 +1100)]
fix builds on OpenSSL <= 1.0.x
I thought OpenSSL 1.0.x offered the new-style OpenSSL_version_num() API
to obtain version number, but they don't.
Damien Miller [Tue, 23 Oct 2018 06:10:41 +0000 (17:10 +1100)]
remove remaining references to SSLeay
Prompted by Rosen Penev
Damien Miller [Tue, 23 Oct 2018 06:10:35 +0000 (17:10 +1100)]
regen depend
djm@openbsd.org [Tue, 23 Oct 2018 05:56:35 +0000 (05:56 +0000)]
upstream: refer to OpenSSL not SSLeay;
we're old, but we don't have to act it
OpenBSD-Commit-ID:
9ca38d11f8ed19e61a55108d1e892d696cee08ec
Damien Miller [Mon, 22 Oct 2018 00:22:50 +0000 (11:22 +1100)]
fix compile for openssl 1.0.x w/ --with-ssl-engine
bz#2921, patch from cotequeiroz
Darren Tucker [Mon, 22 Oct 2018 09:05:18 +0000 (20:05 +1100)]
Include openssl compatibility.
Patch from rosenp at gmail.com via openssh-unix-dev.
djm@openbsd.org [Fri, 19 Oct 2018 03:12:42 +0000 (03:12 +0000)]
upstream: when printing certificate contents "ssh-keygen -Lf
/path/certificate", include the algorithm that the CA used to sign the cert.
OpenBSD-Commit-ID:
1ea20b5048a851a7a0758dcb9777a211a2c0dddd
florian@openbsd.org [Mon, 15 Oct 2018 11:28:50 +0000 (11:28 +0000)]
upstream: struct sockaddr_storage is guaranteed to be large enough,
no need to check the size. OK kn, deraadt
OpenBSD-Commit-ID:
0aa56e92eb49c79f495b31a5093109ec5841f439
Damien Miller [Wed, 17 Oct 2018 00:01:20 +0000 (11:01 +1100)]
Require OpenSSL 1.1.x series 1.1.0g or greater
Previous versions have a bug with EVP_CipherInit() when passed a
NULL EVP_CIPHER, per https://github.com/openssl/openssl/pull/4613
ok dtucker@
Damien Miller [Tue, 16 Oct 2018 21:12:02 +0000 (08:12 +1100)]
unbreak compilation with --with-ssl-engine
Missing last argument to OPENSSL_init_crypto()
Darren Tucker [Tue, 16 Oct 2018 03:45:57 +0000 (14:45 +1100)]
Remove gcc spectre mitigation flags.
Current impementions of the gcc spectre mitigation flags cause
miscompilations when combined with other flags and do not provide much
protection. Found by fweimer at redhat.com, ok djm@
Damien Miller [Mon, 15 Oct 2018 23:51:52 +0000 (10:51 +1100)]
Avoid deprecated OPENSSL_config when using 1.1.x
OpenSSL 1.1.x soft-deprecated OPENSSL_config in favour of
OPENSSL_init_crypto; pointed out by Jakub Jelen
Darren Tucker [Fri, 12 Oct 2018 05:58:47 +0000 (16:58 +1100)]
Don't avoid our *sprintf replacements.
Don't let systems with broken printf(3) avoid our replacements
via asprintf(3)/vasprintf(3) calling libc internally. From djm@
Darren Tucker [Fri, 12 Oct 2018 05:43:35 +0000 (16:43 +1100)]
Check if snprintf understands %zu.
If the platforms snprintf and friends don't understand %zu, use the
compat replacement. Prevents segfaults on those platforms.
Damien Miller [Thu, 11 Oct 2018 22:48:05 +0000 (09:48 +1100)]
remove stale link, tweak
Damien Miller [Thu, 11 Oct 2018 22:47:20 +0000 (09:47 +1100)]
update version numbers ahead of release
djm@openbsd.org [Thu, 11 Oct 2018 03:48:04 +0000 (03:48 +0000)]
upstream: don't send new-style rsa-sha2-*-cert-v01@openssh.com names to
older OpenSSH that can't handle them. spotted by Adam Eijdenberg; ok dtucker
OpenBSD-Commit-ID:
662bbc402e3d7c9b6c322806269698106a6ae631
Damien Miller [Thu, 11 Oct 2018 02:08:59 +0000 (13:08 +1100)]
update depends
Damien Miller [Thu, 11 Oct 2018 02:02:11 +0000 (13:02 +1100)]
some more duplicated key algorithm lines
From Adam Eijdenberg
Damien Miller [Thu, 11 Oct 2018 00:56:36 +0000 (11:56 +1100)]
fix duplicated algorithm specification lines
Spotted by Adam Eijdenberg
djm@openbsd.org [Thu, 11 Oct 2018 00:52:46 +0000 (00:52 +0000)]
upstream: typo in plain RSA algorithm counterpart names for
certificates; spotted by Adam Eijdenberg; ok dtucker@
OpenBSD-Commit-ID:
bfcdeb6f4fc9e7607f5096574c8f118f2e709e00
Damien Miller [Thu, 11 Oct 2018 00:29:35 +0000 (11:29 +1100)]
check pw_passwd != NULL here too
Again, for systems with broken NIS implementations.
Prompted by coolbugcheckers AT gmail.com
Damien Miller [Thu, 11 Oct 2018 00:03:15 +0000 (11:03 +1100)]
check for NULL return from shadow_pw()
probably unreachable on this platform; pointed out by
coolbugcheckers AT gmail.com
deraadt@openbsd.org [Wed, 10 Oct 2018 16:43:49 +0000 (16:43 +0000)]
upstream: introducing openssh 7.9
OpenBSD-Commit-ID:
42d526a9fe01a40dd299ac58014d3349adf40e25
Damien Miller [Wed, 10 Oct 2018 23:29:29 +0000 (10:29 +1100)]
supply callback to PEM_read_bio_PrivateKey
OpenSSL 1.1.0i has changed the behaviour of their PEM APIs,
so that empty passphrases are interpreted differently. This
probabalistically breaks loading some keys, because the PEM format
is terrible and doesn't include a proper MAC.
Avoid this by providing a basic callback to avoid passing empty
passphrases to OpenSSL in cases where one is required.
Based on patch from Jakub Jelen in bz#2913; ok dtucker@
Damien Miller [Wed, 10 Oct 2018 03:57:00 +0000 (14:57 +1100)]
in pick_salt() avoid dereference of NULL passwords
Apparently some NIS implementations can leave pw->pw_passwd (or the
shadow equivalent) NULL.
bz#2909; based on patch from Todd Eigenschink
djm@openbsd.org [Tue, 9 Oct 2018 05:42:23 +0000 (05:42 +0000)]
upstream: Treat all PEM_read_bio_PrivateKey() errors when a passphrase
is specified as "incorrect passphrase" instead of trying to choose between
that and "invalid format".
libcrypto can return ASN1 parsing errors rather than the expected
decrypt error in certain infrequent cases when trying to decrypt/parse
PEM private keys when supplied with an invalid passphrase.
Report and repro recipe from Thomas Deutschmann in bz#2901
ok markus@
OpenBSD-Commit-ID:
b1d4cd92395f9743f81c0d23aab2524109580870
naddy@openbsd.org [Fri, 5 Oct 2018 14:26:09 +0000 (14:26 +0000)]
upstream: Support using service names for port numbers.
* Try to resolve a port specification with getservbyname(3) if a
numeric conversion fails.
* Make the "Port" option in ssh_config handle its argument as a
port rather than a plain integer.
ok dtucker@ deraadt@
OpenBSD-Commit-ID:
e7f03633133205ab3dfbc67f9df7475fabae660d
djm@openbsd.org [Thu, 4 Oct 2018 07:47:35 +0000 (07:47 +0000)]
upstream: when the peer sends a channel-close message, make sure we
close the local extended read fd (stderr) along with the regular read fd
(stdout). Avoids weird stuck processed in multiplexing mode.
Report and analysis by Nelson Elhage and Geoffrey Thomas in bz#2863
ok dtucker@ markus@
OpenBSD-Commit-ID:
a48a2467fe938de4de69d2e7193d5fa701f12ae9
djm@openbsd.org [Thu, 4 Oct 2018 01:04:52 +0000 (01:04 +0000)]
upstream: factor out channel status formatting from
channel_open_message() so we can use it in other debug messages
OpenBSD-Commit-ID:
9c3903ca28fcabad57f566c9d0045b41ab7d52ba
djm@openbsd.org [Thu, 4 Oct 2018 00:10:11 +0000 (00:10 +0000)]
upstream: include a little more information about the status and
disposition of channel's extended (stderr) fd; makes debugging some things a
bit easier. No behaviour change.
OpenBSD-Commit-ID:
483eb6467dc7d5dbca8eb109c453e7a43075f7ce
djm@openbsd.org [Thu, 4 Oct 2018 00:04:41 +0000 (00:04 +0000)]
upstream: explicit_bzero here to be consistent with other kex*.c;
report from coolbugcheckers AT gmail.com
OpenBSD-Commit-ID:
a90f146c5b5f5b1408700395e394f70b440856cb
djm@openbsd.org [Wed, 3 Oct 2018 06:38:35 +0000 (06:38 +0000)]
upstream: Allow ssh_config IdentityAgent directive to accept
environment variable names as well as explicit paths. ok dtucker@
OpenBSD-Commit-ID:
2f0996e103876c53d8c9dd51dcce9889d700767b
djm@openbsd.org [Tue, 2 Oct 2018 12:51:58 +0000 (12:51 +0000)]
upstream: mention INFO@openssh.com for sending SIGINFO
OpenBSD-Commit-ID:
132471eeb0df658210afd27852fe65131b26e900
Damien Miller [Tue, 2 Oct 2018 12:49:40 +0000 (22:49 +1000)]
only support SIGINFO on systems with SIGINFO
djm@openbsd.org [Tue, 2 Oct 2018 12:40:07 +0000 (12:40 +0000)]
upstream: Add server support for signalling sessions via the SSH
channel/ session protocol. Signalling is only supported to sesssions that are
not subsystems and were not started with a forced command.
Long requested in bz#1424
Based on a patch from markus@ and reworked by dtucker@;
ok markus@ dtucker@
OpenBSD-Commit-ID:
4bea826f575862eaac569c4bedd1056a268be1c3
djm@openbsd.org [Wed, 26 Sep 2018 07:32:44 +0000 (07:32 +0000)]
upstream: remove big ugly TODO comment from start of file. Some of
the mentioned tasks are obsolete and, of the remainder, most are already
captured in PROTOCOL.mux where they better belong
OpenBSD-Commit-ID:
16d9d76dee42a5bb651c9d6740f7f0ef68aeb407
djm@openbsd.org [Wed, 26 Sep 2018 07:30:05 +0000 (07:30 +0000)]
upstream: Document mux proxy mode; added by Markus in openssh-7.4
Also add a little bit of information about the overall packet format
OpenBSD-Commit-ID:
bdb6f6ea8580ef96792e270cae7857786ad84a95
djm@openbsd.org [Wed, 26 Sep 2018 01:48:57 +0000 (01:48 +0000)]
upstream: s/process_mux_master/mux_master_process/ in mux master
function names,
Gives better symmetry with the existing mux_client_*() names and makes
it more obvious when a message comes from the master vs client (they
are interleved in ControlMaster=auto mode).
no functional change beyond prefixing a could of log messages with
__func__ where they were previously lacking.
OpenBSD-Commit-ID:
b01f7c3fdf92692e1713a822a89dc499333daf75
Darren Tucker [Sat, 22 Sep 2018 04:41:24 +0000 (14:41 +1000)]
Remove unused variable in _ssh_compat_fflush.
Darren Tucker [Thu, 20 Sep 2018 08:08:43 +0000 (18:08 +1000)]
Import updated moduli.
djm@openbsd.org [Fri, 21 Sep 2018 12:46:22 +0000 (12:46 +0000)]
upstream: Allow ssh_config ForwardX11Timeout=0 to disable the
timeout and allow X11 connections in untrusted mode indefinitely. ok dtucker@
OpenBSD-Commit-ID:
ea1ceed3f540b48e5803f933e59a03b20db10c69
djm@openbsd.org [Fri, 21 Sep 2018 12:23:17 +0000 (12:23 +0000)]
upstream: when compiled with GSSAPI support, cache supported method
OIDs by calling ssh_gssapi_prepare_supported_oids() regardless of whether
GSSAPI authentication is enabled in the main config.
This avoids sandbox violations for configurations that enable GSSAPI
auth later, e.g.
Match user djm
GSSAPIAuthentication yes
bz#2107; ok dtucker@
OpenBSD-Commit-ID:
a5dd42d87c74e27cfb712b15b0f97ab20e0afd1d
djm@openbsd.org [Fri, 21 Sep 2018 12:20:12 +0000 (12:20 +0000)]
upstream: In sshkey_in_file(), ignore keys that are considered for
being too short (i.e. SSH_ERR_KEY_LENGTH). These keys will not be considered
to be "in the file". This allows key revocation lists to contain short keys
without the entire revocation list being considered invalid.
bz#2897; ok dtucker
OpenBSD-Commit-ID:
d9f3d857d07194a42ad7e62889a74dc3f9d9924b
djm@openbsd.org [Fri, 21 Sep 2018 03:11:36 +0000 (03:11 +0000)]
upstream: Treat connections with ProxyJump specified the same as ones
with a ProxyCommand set with regards to hostname canonicalisation (i.e. don't
try to canonicalise the hostname unless CanonicalizeHostname is set to
'always').
Patch from Sven Wegener via bz#2896
OpenBSD-Commit-ID:
527ff501cf98bf65fb4b29ed0cb847dda10f4d37
djm@openbsd.org [Thu, 20 Sep 2018 23:40:16 +0000 (23:40 +0000)]
upstream: actually make CASignatureAlgorithms available as a config
option
OpenBSD-Commit-ID:
93fa7ff58314ed7b1ab7744090a6a91232e6ae52
dtucker@openbsd.org [Thu, 20 Sep 2018 08:07:03 +0000 (08:07 +0000)]
upstream: Import updated moduli.
OpenBSD-Commit-ID:
04431e8e7872f49a2129bf080a6b73c19d576d40
jmc@openbsd.org [Thu, 20 Sep 2018 06:58:48 +0000 (06:58 +0000)]
upstream: reorder CASignatureAlgorithms, and add them to the
various -o lists; ok djm
OpenBSD-Commit-ID:
ecb88baecc3c54988b4d1654446ea033da359288
djm@openbsd.org [Thu, 20 Sep 2018 03:31:49 +0000 (03:31 +0000)]
upstream: fix "ssh -Q sig" to show correct signature algorithm list
(it was erroneously showing certificate algorithms); prompted by markus@
OpenBSD-Commit-ID:
1cdee002f2f0c21456979deeb887fc889afb154d
djm@openbsd.org [Thu, 20 Sep 2018 03:30:44 +0000 (03:30 +0000)]
upstream: add CASignatureAlgorithms option for the client, allowing
it to specify which signature algorithms may be used by CAs when signing
certificates. Useful if you want to ban RSA/SHA1; ok markus@
OpenBSD-Commit-ID:
9159e5e9f67504829bf53ff222057307a6e3230f
djm@openbsd.org [Thu, 20 Sep 2018 03:28:06 +0000 (03:28 +0000)]
upstream: Add sshd_config CASignatureAlgorithms option to allow
control over which signature algorithms a CA may use when signing
certificates. In particular, this allows a sshd to ban certificates signed
with RSA/SHA1.
ok markus@
OpenBSD-Commit-ID:
b05c86ef8b52b913ed48d54a9b9c1a7714d96bac
djm@openbsd.org [Wed, 19 Sep 2018 02:03:02 +0000 (02:03 +0000)]
upstream: Make "ssh-add -q" do what it says on the tin: silence
output from successful operations.
Based on patch from Thijs van Dijk; ok dtucker@ deraadt@
OpenBSD-Commit-ID:
c4f754ecc055c10af166116ce7515104aa8522e1
millert@openbsd.org [Mon, 17 Sep 2018 15:40:14 +0000 (15:40 +0000)]
upstream: When choosing a prime from the moduli file, avoid
re-using the linenum variable for something that is not a line number to
avoid the confusion that resulted in the bug in rev. 1.64. This also lets us
pass the actual linenum to parse_prime() so the error messages include the
correct line number. OK markus@ some time ago.
OpenBSD-Commit-ID:
4d8e5d3e924d6e8eb70053e3defa23c151a00084
Darren Tucker [Sat, 15 Sep 2018 09:44:06 +0000 (19:44 +1000)]
Fix openssl-1.1 fallout for --without-openssl.
ok djm@
Damien Miller [Sat, 15 Sep 2018 09:37:48 +0000 (19:37 +1000)]
add futex(2) syscall to seccomp sandbox
Apparently needed for some glibc/openssl combinations.
Patch from Arkadiusz Miśkiewicz
Damien Miller [Sat, 15 Sep 2018 09:36:55 +0000 (19:36 +1000)]
really add source for authopt_fuzz this time
Damien Miller [Sat, 15 Sep 2018 09:35:40 +0000 (19:35 +1000)]
remove accidentally checked-in authopt_fuzz binary
djm@openbsd.org [Fri, 14 Sep 2018 05:26:27 +0000 (05:26 +0000)]
upstream: second try, deals properly with missing and private-only
Use consistent format in debug log for keys readied, offered and
received during public key authentication.
This makes it a little easier to see what is going on, as each message
now contains (where available) the key filename, its type and fingerprint,
and whether the key is hosted in an agent or a token.
OpenBSD-Commit-ID:
f1c6a8e9cfc4e108c359db77f24f9a40e1e25ea7
Damien Miller [Fri, 14 Sep 2018 05:16:34 +0000 (15:16 +1000)]
fuzzer harness for authorized_keys option parsing
djm@openbsd.org [Fri, 14 Sep 2018 04:44:04 +0000 (04:44 +0000)]
upstream: revert following; deals badly with agent keys
revision 1.285
date: 2018/09/14 04:17:12; author: djm; state: Exp; lines: +47 -26; commitid: lflGFcNb2X2HebaK;
Use consistent format in debug log for keys readied, offered and
received during public key authentication.
This makes it a little easier to see what is going on, as each message
now contains the key filename, its type and fingerprint, and whether
the key is hosted in an agent or a token.
OpenBSD-Commit-ID:
e496bd004e452d4b051f33ed9ae6a54ab918f56d
djm@openbsd.org [Fri, 14 Sep 2018 04:17:44 +0000 (04:17 +0000)]
upstream: garbage-collect moribund ssh_new_private() API.
OpenBSD-Commit-ID:
7c05bf13b094093dfa01848a9306c82eb6e95f6c
djm@openbsd.org [Fri, 14 Sep 2018 04:17:12 +0000 (04:17 +0000)]
upstream: Use consistent format in debug log for keys readied,
offered and received during public key authentication.
This makes it a little easier to see what is going on, as each message
now contains the key filename, its type and fingerprint, and whether
the key is hosted in an agent or a token.
OpenBSD-Commit-ID:
2a01d59285a8a7e01185bb0a43316084b4f06a1f
millert@openbsd.org [Thu, 13 Sep 2018 15:23:32 +0000 (15:23 +0000)]
upstream: Fix warnings caused by user_from_uid() and group_from_gid()
now returning const char *.
OpenBSD-Commit-ID:
b5fe571ea77cfa7b9035062829ab05eb87d7cc6f
Damien Miller [Fri, 14 Sep 2018 00:31:47 +0000 (10:31 +1000)]
allow SIGUSR1 as synonym for SIGINFO
Lets users on those unfortunate operating systems that lack SIGINFO
still be able to obtain progress information from unit tests :)
Damien Miller [Thu, 13 Sep 2018 09:05:48 +0000 (19:05 +1000)]
add compat header
djm@openbsd.org [Thu, 13 Sep 2018 09:03:20 +0000 (09:03 +0000)]
upstream: missed a bit of openssl-1.0.x API in this unittest
OpenBSD-Regress-ID:
a73a54d7f7381856a3f3a2d25947bee7a9a5dbc9
djm@openbsd.org [Thu, 13 Sep 2018 05:06:51 +0000 (05:06 +0000)]
upstream: use only openssl-1.1.x API here too
OpenBSD-Regress-ID:
ae877064597c349954b1b443769723563cecbc8f
Damien Miller [Thu, 13 Sep 2018 02:13:50 +0000 (12:13 +1000)]
adapt -portable to OpenSSL 1.1x API
Polyfill missing API with replacement functions extracted from LibreSSL
Damien Miller [Thu, 13 Sep 2018 02:12:42 +0000 (12:12 +1000)]
forgot to stage these test files in commit
d70d061
djm@openbsd.org [Thu, 13 Sep 2018 02:08:33 +0000 (02:08 +0000)]
upstream: hold our collective noses and use the openssl-1.1.x API in
OpenSSH; feedback and ok tb@ jsing@ markus@
OpenBSD-Commit-ID:
cacbcac87ce5da0d3ca7ef1b38a6f7fb349e4417
djm@openbsd.org [Wed, 12 Sep 2018 01:36:45 +0000 (01:36 +0000)]
upstream: Include certs with multiple RSA signature variants in
test data Ensure that cert->signature_key is populated correctly
OpenBSD-Regress-ID:
56e68f70fe46cb3a193ca207385bdb301fd6603a
djm@openbsd.org [Wed, 12 Sep 2018 01:23:48 +0000 (01:23 +0000)]
upstream: test revocation by explicit hash and by fingerprint
OpenBSD-Regress-ID:
079c18a9ab9663f4af419327c759fc1e2bc78fd8
djm@openbsd.org [Wed, 12 Sep 2018 01:22:43 +0000 (01:22 +0000)]
upstream: s/sshkey_demote/sshkey_from_private/g
OpenBSD-Regress-ID:
782bde7407d94a87aa8d1db7c23750e09d4443c4
Damien Miller [Wed, 12 Sep 2018 06:50:01 +0000 (16:50 +1000)]
delete the correct thing; kexfuzz binary
djm@openbsd.org [Wed, 12 Sep 2018 06:18:59 +0000 (06:18 +0000)]
upstream: fix edit mistake; spotted by jmc@
OpenBSD-Commit-ID:
dd724e1c52c9d6084f4cd260ec7e1b2b138261c6
djm@openbsd.org [Wed, 12 Sep 2018 01:34:02 +0000 (01:34 +0000)]
upstream: add SSH_ALLOWED_CA_SIGALGS - the default list of
signature algorithms that are allowed for CA signatures. Notably excludes
ssh-dsa.
ok markus@
OpenBSD-Commit-ID:
1628e4181dc8ab71909378eafe5d06159a22deb4
djm@openbsd.org [Wed, 12 Sep 2018 01:32:54 +0000 (01:32 +0000)]
upstream: add sshkey_check_cert_sigtype() that checks a
cert->signature_type against a supplied whitelist; ok markus
OpenBSD-Commit-ID:
caadb8073292ed7a9535e5adc067d11d356d9302