]>
git.ipfire.org Git - thirdparty/openssh-portable.git/log
Darren Tucker [Sat, 26 Aug 2017 22:55:40 +0000 (08:55 +1000)]
Add missing includes for bsd-err.c.
Patch from cjwatson at debian.org via bz#2767.
Damien Miller [Fri, 25 Aug 2017 03:25:01 +0000 (13:25 +1000)]
Split platform_sys_dir_uid into its own file
platform.o is too heavy for libssh.a use; it calls into the server on
many platforms. Move just the function needed by misc.c into its own
file.
Damien Miller [Wed, 23 Aug 2017 10:13:18 +0000 (20:13 +1000)]
misc.c needs functions from platform.c now
djm@openbsd.org [Fri, 18 Aug 2017 05:48:04 +0000 (05:48 +0000)]
upstream commit
add a "quiet" flag to exited_cleanly() that supresses
errors about exit status (failure due to signal is still reported)
Upstream-ID:
db85c39c3aa08e6ff67fc1fb4ffa89f807a9d2f0
djm@openbsd.org [Fri, 18 Aug 2017 05:36:45 +0000 (05:36 +0000)]
upstream commit
Move several subprocess-related functions from various
locations to misc.c. Extend subprocess() to offer a little more control over
stdio disposition.
feedback & ok dtucker@
Upstream-ID:
3573dd7109d13ef9bd3bed93a3deb170fbfce049
djm@openbsd.org [Sat, 12 Aug 2017 06:46:01 +0000 (06:46 +0000)]
upstream commit
make "--" before the hostname terminate command-line
option processing completely; previous behaviour would not prevent further
options appearing after the hostname (ssh has a supported options after the
hostname for >20 years, so that's too late to change).
ok deraadt@
Upstream-ID:
ef5ee50571b98ad94dcdf8282204e877ec88ad89
djm@openbsd.org [Sat, 12 Aug 2017 06:42:52 +0000 (06:42 +0000)]
upstream commit
Switch from aes256-cbc to aes256-ctr for encrypting
new-style private keys. The latter having the advantage of being supported
for no-OpenSSL builds; bz#2754 ok markus@
Upstream-ID:
54179a2afd28f93470471030567ac40431e56909
djm@openbsd.org [Fri, 11 Aug 2017 04:47:12 +0000 (04:47 +0000)]
upstream commit
refuse to a private keys when its corresponding .pub key
does not match. bz#2737 ok dtucker@
Upstream-ID:
54ff5e2db00037f9db8d61690f26ef8f16e0d913
djm@openbsd.org [Fri, 11 Aug 2017 04:41:08 +0000 (04:41 +0000)]
upstream commit
don't print verbose error message when ssh disconnects
under sftp; bz#2750; ok dtucker@
Upstream-ID:
6d83708aed77b933c47cf155a87dc753ec01f370
dtucker@openbsd.org [Fri, 11 Aug 2017 04:16:35 +0000 (04:16 +0000)]
upstream commit
Tweak previous keepalive commit: if last_time + keepalive
<= now instead of just "<" so client_alive_check will fire if the select
happens to return on exact second of the timeout. ok djm@
Upstream-ID:
e02756bd6038d11bb8522bfd75a4761c3a684fcc
dtucker@openbsd.org [Fri, 11 Aug 2017 03:58:36 +0000 (03:58 +0000)]
upstream commit
Keep track of the last time we actually heard from the
client and use this to also schedule a client_alive_check(). Prevents
activity on a forwarded port from indefinitely preventing the select timeout
so that client_alive_check() will eventually (although not optimally) be
called.
Analysis by willchan at google com via bz#2756, feedback & ok djm@
Upstream-ID:
c08721e0bbda55c6d18e2760f3fe1b17fb71169e
Damien Miller [Fri, 28 Jul 2017 04:50:59 +0000 (14:50 +1000)]
Expose list of completed auth methods to PAM
bz#2408; ok dtucker@
Damien Miller [Fri, 21 Jul 2017 04:38:16 +0000 (14:38 +1000)]
fix problems in tunnel forwarding portability code
This fixes a few problems in the tun forwarding code, mostly to do
with host/network byte order confusion.
Based on a report and patch by stepe AT centaurus.uberspace.de;
bz#2735; ok dtucker@
dtucker@openbsd.org [Tue, 25 Jul 2017 09:22:25 +0000 (09:22 +0000)]
upstream commit
Make WinSCP patterns for SSH_OLD_DHGEX more specific to
exclude WinSCP 5.10.x and up. bz#2748, from martin at winscp.net, ok djm@
Upstream-ID:
6fd7c32e99af3952db007aa180e73142ddbc741a
djm@openbsd.org [Mon, 24 Jul 2017 04:34:28 +0000 (04:34 +0000)]
upstream commit
g/c unused variable; make a little more portable
Upstream-ID:
3f5980481551cb823c6fb2858900f93fa9217dea
djm@openbsd.org [Sun, 23 Jul 2017 23:37:02 +0000 (23:37 +0000)]
upstream commit
Allow IPQoS=none in ssh/sshd to not set an explicit
ToS/DSCP value and just use the operating system default; ok dtucker@
Upstream-ID:
77906ff8c7b660b02ba7cb1e47b17d66f54f1f7e
Damien Miller [Fri, 21 Jul 2017 04:24:26 +0000 (14:24 +1000)]
mention libedit
markus@openbsd.org [Wed, 19 Jul 2017 08:30:41 +0000 (08:30 +0000)]
upstream commit
fix support for unknown key types; ok djm@
Upstream-ID:
53fb29394ed04d616d65b3748dee5aa06b07ab48
djm@openbsd.org [Wed, 19 Jul 2017 01:15:02 +0000 (01:15 +0000)]
upstream commit
switch from select() to poll() for the ssh-agent
mainloop; ok markus
Upstream-ID:
4a94888ee67b3fd948fd10693973beb12f802448
dtucker@openbsd.org [Fri, 14 Jul 2017 03:18:21 +0000 (03:18 +0000)]
upstream commit
Make ""Killed by signal 1" LogLevel verbose so it's not
shown at the default level. Prevents it from appearing during ssh -J and
equivalent ProxyCommand configs. bz#1906, bz#2744, feedback&ok markus@
Upstream-ID:
debfaa7e859b272246c2f2633335d288d2e2ae28
jmc@openbsd.org [Thu, 13 Jul 2017 19:16:33 +0000 (19:16 +0000)]
upstream commit
man pages with pseudo synopses which list filenames end
up creating very ugly output in man -k; after some discussion with ingo, we
feel the simplest fix is to remove such SYNOPSIS sections: the info is hardly
helpful at page top, is contained already in FILES, and there are
sufficiently few that just zapping them is simple;
ok schwarze, who also helpfully ran things through a build to check
output;
Upstream-ID:
3e211b99457e2f4c925c5927d608e6f97431336c
espie@openbsd.org [Mon, 10 Jul 2017 14:09:59 +0000 (14:09 +0000)]
upstream commit
zap redundant Makefile variables. okay djm@
Upstream-ID:
e39b3902fe1d6c4a7ba6a3c58e072219f3c1e604
jmc@openbsd.org [Sat, 8 Jul 2017 18:32:54 +0000 (18:32 +0000)]
upstream commit
slightly rework previous, to avoid an article issue;
Upstream-ID:
15a315f0460ddd3d4e2ade1f16d6c640a8c41b30
djm@openbsd.org [Fri, 7 Jul 2017 03:53:12 +0000 (03:53 +0000)]
upstream commit
When generating all hostkeys (ssh-keygen -A), clobber
existing keys if they exist but are zero length. zero-length keys could
previously be made if ssh-keygen failed part way through generating them, so
avoid that case too. bz#2561 reported by Krzysztof Cieplucha; ok dtucker@
Upstream-ID:
f662201c28ab8e1f086b5d43c59cddab5ade4044
djm@openbsd.org [Sat, 1 Jul 2017 22:55:44 +0000 (22:55 +0000)]
upstream commit
actually remove these files
Upstream-ID:
1bd41cba06a7752de4df304305a8153ebfb6b0ac
djm@openbsd.org [Sat, 1 Jul 2017 13:50:45 +0000 (13:50 +0000)]
upstream commit
remove post-SSHv1 removal dead code from rsa.c and merge
the remaining bit that it still used into ssh-rsa.c; ok markus
Upstream-ID:
ac8a048d24dcd89594b0052ea5e3404b473bfa2f
Damien Miller [Fri, 14 Jul 2017 04:26:36 +0000 (14:26 +1000)]
make explicit_bzero/memset safe for sz=0
Tim Rice [Wed, 12 Jul 2017 01:47:56 +0000 (18:47 -0700)]
modified: configure.ac
UnixWare needs BROKEN_TCGETATTR_ICANON like Solaris
Analysis by Robbie Zhang
Damien Miller [Fri, 7 Jul 2017 01:21:27 +0000 (11:21 +1000)]
typo
dtucker@openbsd.org [Fri, 30 Jun 2017 04:17:23 +0000 (04:17 +0000)]
upstream commit
Only call close once in confree(). ssh_packet_close will
close the FD so only explicitly close non-SSH channels. bz#2734, from
bagajjal at microsoft.com, ok djm@
Upstream-ID:
a81ce0c8b023527167739fccf1732b154718ab02
Darren Tucker [Thu, 29 Jun 2017 05:40:25 +0000 (15:40 +1000)]
Update link for my patches.
djm@openbsd.org [Wed, 28 Jun 2017 01:09:22 +0000 (01:09 +0000)]
upstream commit
Allow ssh-keygen to use a key held in ssh-agent as a CA when
signing certificates. bz#2377 ok markus
Upstream-ID:
fb42e920b592edcbb5b50465739a867c09329c8f
djm@openbsd.org [Sat, 24 Jun 2017 06:35:24 +0000 (06:35 +0000)]
upstream commit
regress test for ExposeAuthInfo
Upstream-Regress-ID:
190e5b6866376f4061c411ab157ca4d4e7ae86fd
djm@openbsd.org [Sat, 24 Jun 2017 07:08:57 +0000 (07:08 +0000)]
upstream commit
correct env var name
Upstream-ID:
721e761c2b1d6a4dcf700179f16fd53a1dadb313
jmc@openbsd.org [Sat, 24 Jun 2017 06:57:04 +0000 (06:57 +0000)]
djm@openbsd.org [Sat, 24 Jun 2017 06:38:11 +0000 (06:38 +0000)]
upstream commit
don't pass pointer to struct sshcipher between privsep
processes, just redo the lookup in each using the already-passed cipher name.
bz#2704 based on patch from Brooks Davis; ok markus dtucker
Upstream-ID:
2eab434c09bdf549dafd7da3e32a0d2d540adbe0
djm@openbsd.org [Sat, 24 Jun 2017 06:34:38 +0000 (06:34 +0000)]
upstream commit
refactor authentication logging
optionally record successful auth methods and public credentials
used in a file accessible to user sessions
feedback and ok markus@
Upstream-ID:
090b93036967015717b9a54fd0467875ae9d32fb
jmc@openbsd.org [Sat, 24 Jun 2017 06:28:50 +0000 (06:28 +0000)]
djm@openbsd.org [Sat, 24 Jun 2017 05:37:44 +0000 (05:37 +0000)]
upstream commit
switch sshconnect.c from (slightly abused) select() to
poll(); ok deraadt@ a while back
Upstream-ID:
efc1937fc591bbe70ac9e9542bb984f354c8c175
djm@openbsd.org [Sat, 24 Jun 2017 05:35:05 +0000 (05:35 +0000)]
upstream commit
use HostKeyAlias if specified instead of hostname for
matching host certificate principal names; bz#2728; ok dtucker@
Upstream-ID:
dc2e11c83ae9201bbe74872a0c895ae9725536dd
djm@openbsd.org [Sat, 24 Jun 2017 05:24:11 +0000 (05:24 +0000)]
upstream commit
no need to call log_init to reinitialise logged PID in
child sessions, since we haven't called openlog() in log_init() since 1999;
ok markus@
Upstream-ID:
0906e4002af5d83d3d544df75e1187c932a3cf2e
mestre@openbsd.org [Fri, 23 Jun 2017 07:24:48 +0000 (07:24 +0000)]
upstream commit
When using the escape sequence &~ the code path is
client_loop() -> client_simple_escape_filter() -> process_escapes() -> fork()
and the pledge for this path lacks the proc promise and therefore aborts the
process. The solution is to just add proc the promise to this specific
pledge.
Reported by Gregoire Jadi gjadi ! omecha.info
Insight with tb@, OK jca@
Upstream-ID:
63c05e30c28209519f476023b65b0b1b0387a05b
dtucker@openbsd.org [Fri, 23 Jun 2017 03:30:42 +0000 (03:30 +0000)]
upstream commit
Import regenerated moduli.
Upstream-ID:
b25bf747544265b39af74fe0716dc8d9f5b63b95
dtucker@openbsd.org [Fri, 23 Jun 2017 03:25:53 +0000 (03:25 +0000)]
upstream commit
Run the screen twice so we end up with more candidate
groups. ok djm@
Upstream-ID:
b92c93266d8234d493857bb822260dacf4366157
dtucker@openbsd.org [Wed, 14 Jun 2017 00:31:38 +0000 (00:31 +0000)]
upstream commit
Add user@host prefix to client's "Permisison denied"
messages, useful in particular when using "stacked" connections where it's
not clear which host is denying. bz#2720, ok djm@ markus@
Upstream-ID:
de88e1e9dcb050c98e85377482d1287a9fe0d2be
djm@openbsd.org [Tue, 13 Jun 2017 12:13:59 +0000 (12:13 +0000)]
upstream commit
Do not require that unknown EXT_INFO extension values not
contain \0 characters. This would cause fatal connection errors if an
implementation sent e.g. string-encoded sub-values inside a value.
Reported by Denis Bider; ok markus@
Upstream-ID:
030e10fdc605563c040244c4b4f1d8ae75811a5c
djm@openbsd.org [Tue, 13 Jun 2017 11:22:15 +0000 (11:22 +0000)]
upstream commit
missing prototype.
Upstream-ID:
f443d2be9910fd2165a0667956d03343c46f66c9
Damien Miller [Sat, 10 Jun 2017 13:41:25 +0000 (23:41 +1000)]
portability for sftp globbed ls sort by mtime
Include replacement timespeccmp() for systems that lack it.
Support time_t struct stat->st_mtime in addition to
timespec stat->st_mtim, as well as unsorted fallback.
djm@openbsd.org [Sat, 10 Jun 2017 06:36:46 +0000 (06:36 +0000)]
upstream commit
print '?' instead of incorrect link count (that the
protocol doesn't provide) for remote listings. bz#2710 ok dtucker@
Upstream-ID:
c611f98a66302cea452ef10f13fff8cf0385242e
djm@openbsd.org [Sat, 10 Jun 2017 06:33:34 +0000 (06:33 +0000)]
upstream commit
implement sorting for globbed ls; bz#2649 ok dtucker@
Upstream-ID:
ed3110f351cc9703411bf847ba864041fb7216a8
djm@openbsd.org [Fri, 9 Jun 2017 06:47:13 +0000 (06:47 +0000)]
upstream commit
return failure rather than fatal() for more cases during
mux negotiations. Causes the session to fall back to a non-mux connection if
they occur. bz#2707 ok dtucker@
Upstream-ID:
d2a7892f464d434e1f615334a1c9d0cdb83b29ab
djm@openbsd.org [Fri, 9 Jun 2017 06:43:01 +0000 (06:43 +0000)]
upstream commit
in description of public key authentication, mention that
the server will send debug messages to the client for some error conditions
after authentication has completed. bz#2709 ok dtucker
Upstream-ID:
750127dbd58c5a2672c2d28bc35fe221fcc8d1dd
djm@openbsd.org [Fri, 9 Jun 2017 06:40:24 +0000 (06:40 +0000)]
upstream commit
better translate libcrypto errors by looking deeper in
the accursed error stack for codes that indicate the wrong passphrase was
supplied for a PEM key. bz#2699 ok dtucker@
Upstream-ID:
4da4286326d570f4f0489459bb71f6297e54b681
dtucker@openbsd.org [Fri, 9 Jun 2017 04:40:04 +0000 (04:40 +0000)]
upstream commit
Add comments referring to the relevant RFC sections for
rekeying behaviour.
Upstream-ID:
6fc8e82485757a27633f9175ad00468f49a07d40
Damien Miller [Fri, 9 Jun 2017 04:43:47 +0000 (14:43 +1000)]
drop two more privileges in the Solaris sandbox
Drop PRIV_DAX_ACCESS and PRIV_SYS_IB_INFO.
Patch from huieying.lee AT oracle.com via bz#2723
Darren Tucker [Fri, 9 Jun 2017 03:36:29 +0000 (13:36 +1000)]
Wrap stdint.h include in #ifdef.
djm@openbsd.org [Wed, 7 Jun 2017 01:48:15 +0000 (01:48 +0000)]
upstream commit
unbreak after sshv1 purge
Upstream-Regress-ID:
8ea01a92d5f571b9fba88c1463a4254a7552d51b
dtucker@openbsd.org [Tue, 6 Jun 2017 09:12:17 +0000 (09:12 +0000)]
upstream commit
Fix compression output stats broken in rev 1.201. Patch
originally by Russell Coker via Debian bug #797964 and Christoph Biedl. ok
djm@
Upstream-ID:
83a1903b95ec2e4ed100703debb4b4a313b01016
djm@openbsd.org [Fri, 2 Jun 2017 06:06:10 +0000 (06:06 +0000)]
upstream commit
rationalise the long list of manual CDIAGFLAGS that we
add; most of these were redundant to -Wall -Wextra
Upstream-ID:
ea80f445e819719ccdcb237022cacfac990fdc5c
djm@openbsd.org [Thu, 1 Jun 2017 06:59:21 +0000 (06:59 +0000)]
upstream commit
no need to bzero allocated space now that we use use
recallocarray; ok deraadt@
Upstream-ID:
53333c62ccf97de60b8cb570608c1ba5ca5803c8
djm@openbsd.org [Thu, 1 Jun 2017 06:58:25 +0000 (06:58 +0000)]
upstream commit
unconditionally zero init size of buffer; ok markus@
deraadt@
Upstream-ID:
218963e846d8f26763ba25afe79294547b99da29
Damien Miller [Thu, 1 Jun 2017 06:25:09 +0000 (16:25 +1000)]
avoid compiler warning
djm@openbsd.org [Thu, 1 Jun 2017 06:16:43 +0000 (06:16 +0000)]
upstream commit
some warnings spotted by clang; ok markus@
Upstream-ID:
24381d68ca249c5cee4388ceb0f383fa5b43991b
Damien Miller [Thu, 1 Jun 2017 05:25:13 +0000 (15:25 +1000)]
add recallocarray replacement and dependency
recallocarray() needs getpagesize() so add a tiny replacement for that.
Damien Miller [Thu, 1 Jun 2017 05:16:24 +0000 (15:16 +1000)]
add *.0 manpage droppings
djm@openbsd.org [Thu, 1 Jun 2017 04:51:58 +0000 (04:51 +0000)]
upstream commit
fix casts re constness
Upstream-ID:
e38f2bac162b37dbaf784d349c8327a6626fa266
markus@openbsd.org [Wed, 31 May 2017 10:54:00 +0000 (10:54 +0000)]
upstream commit
make sure we don't pass a NULL string to vfprintf
(triggered by the principals-command regress test); ok bluhm
Upstream-ID:
eb49854f274ab37a0b57056a6af379a0b7111990
markus@openbsd.org [Wed, 31 May 2017 10:04:29 +0000 (10:04 +0000)]
upstream commit
use SO_ZEROIZE for privsep communication (if available)
Upstream-ID:
abcbb6d2f8039fc4367a6a78096e5d5c39de4a62
deraadt@openbsd.org [Wed, 31 May 2017 09:15:42 +0000 (09:15 +0000)]
upstream commit
Switch to recallocarray() for a few operations. Both
growth and shrinkage are handled safely, and there also is no need for
preallocation dances. Future changes in this area will be less error prone.
Review and one bug found by markus
Upstream-ID:
822d664d6a5a1d10eccb23acdd53578a679d5065
deraadt@openbsd.org [Wed, 31 May 2017 08:58:52 +0000 (08:58 +0000)]
upstream commit
These shutdown() SHUT_RDWR are not needed before close()
ok djm markus claudio
Upstream-ID:
36f13ae4ba10f5618cb9347933101eb4a98dbcb5
markus@openbsd.org [Wed, 31 May 2017 08:09:45 +0000 (08:09 +0000)]
upstream commit
clear session keys from memory; ok djm@
Upstream-ID:
ecd178819868975affd5fd6637458b7c712b6a0f
markus@openbsd.org [Wed, 31 May 2017 07:00:13 +0000 (07:00 +0000)]
upstream commit
remove now obsolete ctx from ssh_dispatch_run; ok djm@
Upstream-ID:
9870aabf7f4d71660c31fda91b942b19a8e68d29
markus@openbsd.org [Wed, 31 May 2017 05:34:14 +0000 (05:34 +0000)]
upstream commit
use the ssh_dispatch_run_fatal variant
Upstream-ID:
28c5b364e37c755d1b22652b8cd6735a05c625d8
djm@openbsd.org [Wed, 31 May 2017 05:08:46 +0000 (05:08 +0000)]
upstream commit
another ctx => ssh conversion (in GSSAPI code)
Upstream-ID:
4d6574c3948075c60608d8e045af42fe5b5d8ae0
Damien Miller [Wed, 31 May 2017 04:56:07 +0000 (14:56 +1000)]
fix conversion of kexc25519s.c to struct ssh too
git cvsimport missed this commit for some reason
djm@openbsd.org [Wed, 31 May 2017 04:29:44 +0000 (04:29 +0000)]
upstream commit
spell out that custom options/extensions should follow the
usual SSH naming rules, e.g. "extension@example.com"
Upstream-ID:
ab326666d2fad40769ec96b5a6de4015ffd97b8d
djm@openbsd.org [Wed, 31 May 2017 04:17:12 +0000 (04:17 +0000)]
upstream commit
one more void *ctx => struct ssh *ssh conversion
Upstream-ID:
d299d043471c10214cf52c03daa10f1c232759e2
djm@openbsd.org [Wed, 31 May 2017 00:43:04 +0000 (00:43 +0000)]
upstream commit
fix possible OOB strlen() in SOCKS4A hostname parsing;
ok markus@
Upstream-ID:
c67297cbeb0e5a19d81752aa18ec44d31270cd11
jmc@openbsd.org [Tue, 30 May 2017 19:38:17 +0000 (19:38 +0000)]
upstream commit
tweak previous;
Upstream-ID:
66987651046c42d142f7318c9695fb81a6d14031
bluhm@openbsd.org [Tue, 30 May 2017 18:58:37 +0000 (18:58 +0000)]
upstream commit
Add RemoteCommand option to specify a command in the
ssh config file instead of giving it on the client's command line. This
command will be executed on the remote host. The feature allows to automate
tasks using ssh config. OK markus@
Upstream-ID:
5d982fc17adea373a9c68cae1021ce0a0904a5ee
markus@openbsd.org [Tue, 30 May 2017 14:29:59 +0000 (14:29 +0000)]
upstream commit
switch auth2 to ssh_dispatch API; ok djm@
Upstream-ID:
a752ca19e2782900dd83060b5c6344008106215f
markus@openbsd.org [Tue, 30 May 2017 14:27:22 +0000 (14:27 +0000)]
upstream commit
switch auth2-none.c to modern APIs; ok djm@
Upstream-ID:
07252b58e064d332214bcabbeae8e08c44b2001b
markus@openbsd.org [Tue, 30 May 2017 14:26:49 +0000 (14:26 +0000)]
upstream commit
switch auth2-passwd.c to modern APIs; ok djm@
Upstream-ID:
cba0a8b72b4f97adfb7e3b3fd2f8ba3159981fc7
markus@openbsd.org [Tue, 30 May 2017 14:25:42 +0000 (14:25 +0000)]
upstream commit
switch auth2-hostbased.c to modern APIs; ok djm@
Upstream-ID:
146af25c36daeeb83d5dbbb8ca52b5d25de88f4e
markus@openbsd.org [Tue, 30 May 2017 14:23:52 +0000 (14:23 +0000)]
upstream commit
protocol handlers all get struct ssh passed; ok djm@
Upstream-ID:
0ca9ea2a5d01a6d2ded94c5024456a930c5bfb5d
markus@openbsd.org [Tue, 30 May 2017 14:19:15 +0000 (14:19 +0000)]
upstream commit
ssh: pass struct ssh to auth functions, too; ok djm@
Upstream-ID:
d13c509cc782f8f19728fbea47ac7cf36f6e85dd
markus@openbsd.org [Tue, 30 May 2017 14:18:15 +0000 (14:18 +0000)]
upstream commit
sshd: pass struct ssh to auth functions; ok djm@
Upstream-ID:
b00a80c3460884ebcdd14ef550154c761aebe488
markus@openbsd.org [Tue, 30 May 2017 14:16:41 +0000 (14:16 +0000)]
upstream commit
remove unused wrapper functions from key.[ch]; ok djm@
Upstream-ID:
ea0f4016666a6817fc11f439dd4be06bab69707e
markus@openbsd.org [Tue, 30 May 2017 14:15:17 +0000 (14:15 +0000)]
upstream commit
sshkey_new() might return NULL (pkcs#11 code only); ok
djm@
Upstream-ID:
de9f2ad4a42c0b430caaa7d08dea7bac943075dd
markus@openbsd.org [Tue, 30 May 2017 14:13:40 +0000 (14:13 +0000)]
upstream commit
switch sshconnect.c to modern APIs; ok djm@
Upstream-ID:
27be17f84b950d5e139b7a9b281aa487187945ad
markus@openbsd.org [Tue, 30 May 2017 14:10:53 +0000 (14:10 +0000)]
upstream commit
switch auth2-pubkey.c to modern APIs; with & ok djm@
Upstream-ID:
8f08d4316eb1b0c4ffe4a206c05cdd45ed1daf07
markus@openbsd.org [Tue, 30 May 2017 08:52:19 +0000 (08:52 +0000)]
upstream commit
switch from Key typedef with struct sshkey; ok djm@
Upstream-ID:
3067d33e04efbe5131ce8f70668c47a58e5b7a1f
markus@openbsd.org [Tue, 30 May 2017 08:49:58 +0000 (08:49 +0000)]
upstream commit
remove ssh1 references; ok djm@
Upstream-ID:
fc23b7578e7b0a8daaec72946d7f5e58ffff5a3d
markus@openbsd.org [Tue, 30 May 2017 08:49:32 +0000 (08:49 +0000)]
upstream commit
revise sshkey_load_public(): remove ssh1 related
comments, remove extra open()/close() on keyfile, prevent leak of 'pub' if
'keyp' is NULL, replace strlcpy+cat with asprintf; ok djm@
Upstream-ID:
6175e47cab5b4794dcd99c1175549a483ec673ca
markus@openbsd.org [Fri, 26 May 2017 20:34:49 +0000 (20:34 +0000)]
upstream commit
sshbuf_consume: reset empty buffer; ok djm@
Upstream-ID:
0d4583ba57f69e369d38bbd7843d85cac37fa821
markus@openbsd.org [Fri, 26 May 2017 19:35:50 +0000 (19:35 +0000)]
upstream commit
remove SSH_CHANNEL_XXX_DRAINING (ssh1 only); ok djm@
Upstream-ID:
e2e225b6ac67b84dd024f38819afff2554fafe42
markus@openbsd.org [Fri, 26 May 2017 19:34:12 +0000 (19:34 +0000)]
upstream commit
remove channel_input_close_confirmation (ssh1 only); ok
djm@
Upstream-ID:
8e7c8c38f322d255bb0294a5c0ebef53fdf576f1
djm@openbsd.org [Fri, 26 May 2017 01:40:07 +0000 (01:40 +0000)]
upstream commit
fix references to obsolete v00 cert format; spotted by
Jakub Jelen
Upstream-ID:
7600ce193ab8fd19451acfe24fc2eb39d46b2c4f
Mike Frysinger [Thu, 25 May 2017 03:21:19 +0000 (23:21 -0400)]
configure: actually set cache vars when cross-compiling
The cross-compiling fallback message says it's assuming the test
passed, but it didn't actually set the cache var which causes
later tests to fail.
djm@openbsd.org [Sat, 20 May 2017 02:35:47 +0000 (02:35 +0000)]
upstream commit
there's no reason to artificially limit the key path
here, just check that it fits PATH_MAX; spotted by Matthew Patton
Upstream-ID:
858addaf2009c9cf04d80164a41b2088edb30b58