]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - crypto/openssh/ChangeLog
Merge llvm-project main llvmorg-15-init-17485-ga3e38b4a206b
[FreeBSD/FreeBSD.git] / crypto / openssh / ChangeLog
1 commit 6dfb65de949cdd0a5d198edee9a118f265924f33
2 Author: Damien Miller <djm@mindrot.org>
3 Date:   Thu Feb 2 23:21:54 2023 +1100
4
5     crank versions in RPM specs
6
7 commit d07cfb11a0ca574eb68a3931d8c46fbe862a2021
8 Author: Damien Miller <djm@mindrot.org>
9 Date:   Thu Feb 2 23:21:45 2023 +1100
10
11     update version in README
12
13 commit 9fe207565b4ab0fe5d1ac5bb85e39188d96fb214
14 Author: Damien Miller <djm@mindrot.org>
15 Date:   Thu Feb 2 23:17:49 2023 +1100
16
17     adapt compat_kex_proposal() test to portable
18
19 commit 903c556b938fff2d7bff8da2cc460254430963c5
20 Author: djm@openbsd.org <djm@openbsd.org>
21 Date:   Thu Feb 2 12:12:52 2023 +0000
22
23     upstream: test compat_kex_proposal(); by dtucker@
24     
25     OpenBSD-Regress-ID: 0e404ee264db546f9fdbf53390689ab5f8d38bf2
26
27 commit 405fba71962dec8409c0c962408e09049e5624b5
28 Author: dtucker@openbsd.org <dtucker@openbsd.org>
29 Date:   Thu Jan 19 07:53:45 2023 +0000
30
31     upstream: Check if we can copy sshd or need to use sudo to do so
32     
33     during reexec test. Skip test if neither can work.  Patch from anton@, tweaks
34     from me.
35     
36     OpenBSD-Regress-ID: 731b96ae74d02d5744e1f1a8e51d09877ffd9b6d
37
38 commit b2a2a8f69fd7737ea17dc044353c514f2f962f35
39 Author: djm@openbsd.org <djm@openbsd.org>
40 Date:   Thu Feb 2 12:10:22 2023 +0000
41
42     upstream: openssh-9.2
43     
44     OpenBSD-Commit-ID: f7389f32413c74d6e2055f05cf65e7082de03923
45
46 commit 12da7823336434a403f25c7cc0c2c6aed0737a35
47 Author: djm@openbsd.org <djm@openbsd.org>
48 Date:   Thu Feb 2 12:10:05 2023 +0000
49
50     upstream: fix double-free caused by compat_kex_proposal(); bz3522
51     
52     by dtucker@, ok me
53     
54     OpenBSD-Commit-ID: 2bfc37cd2d41f67dad64c17a64cf2cd3806a5c80
55
56 commit 79efd95ab5ff99f4cb3a955e2d713b3f54fb807e
57 Author: Darren Tucker <dtucker@dtucker.net>
58 Date:   Wed Feb 1 17:17:26 2023 +1100
59
60     Skip connection-timeout test on minix3.
61     
62     Minix 3's Unix domain sockets don't seem to work the way we expect, so
63     skip connection-timeout test on that platform.  While there, group
64     together all similarly skipped tests and explicitly comment.
65
66 commit 6b508c4e039619842bcf5a16f8a6b08dd6bec44a
67 Author: Damien Miller <djm@mindrot.org>
68 Date:   Wed Feb 1 12:12:05 2023 +1100
69
70     fix libfido2 detection without pkg-config
71     
72     Place libfido2 before additional libraries (that it may depend upon)
73     and not after. bz3530 from James Zhang; ok dtucker@
74
75 commit 358e300fed5e6def233a2c06326e51e20ebed621
76 Author: deraadt@openbsd.org <deraadt@openbsd.org>
77 Date:   Wed Jan 18 20:56:36 2023 +0000
78
79     upstream: delete useless dependency
80     
81     OpenBSD-Commit-ID: e1dc11143f83082e3154d6094f9136d0dc2637ad
82
83 commit a4cb9be1b021b511e281ee55c356f964487d9e82
84 Author: deraadt@openbsd.org <deraadt@openbsd.org>
85 Date:   Wed Jan 18 20:43:15 2023 +0000
86
87     upstream: Create and install sshd random relink kit.
88     
89     ../Makefile.inc and Makfile are concatenated for reuse, which hopefully won't
90     be too fragile, we'll see if we need a different approach. The resulting sshd
91     binary is tested with the new sshd -V option before installation.  As the
92     binary layout is now semi-unknown (meaning relative, fixed, and gadget
93     offsets are not precisely known), change the filesystem permissions to 511 to
94     prevent what I call "logged in BROP". I have ideas for improving this further
95     but this is a first step ok djm
96     
97     OpenBSD-Commit-ID: 1e0a2692b7e20b126dda60bf04999d1d30d959d8
98
99 commit bc7de6f91a9a0ae2f148a9d31a4027d441a51999
100 Author: jmc@openbsd.org <jmc@openbsd.org>
101 Date:   Wed Jan 18 06:55:32 2023 +0000
102
103     upstream: tweak previous; ok djm
104     
105     OpenBSD-Commit-ID: df71ce4180c58202dfdc1d92626cfe900b91b7c3
106
107 commit a20b7e999773e6333c8aa9b0a7fa41966e63b037
108 Author: Darren Tucker <dtucker@dtucker.net>
109 Date:   Tue Jan 31 19:35:44 2023 +1100
110
111     Skip connection-timeout test under Valgrind.
112     
113     Valgrind slows things down so much that the timeout test fails.  Skip
114     this test until we figure out if we can make it work.
115
116 commit c3ffb54b4fc5e608206037921db6ccbc2f5ab25f
117 Author: Darren Tucker <dtucker@dtucker.net>
118 Date:   Wed Jan 25 21:58:40 2023 +1100
119
120     Skip connection-timeout when missing FD passing.
121     
122     This tests uses multiplexing which uses file descriptor passing, so
123     skip it if we don't have that.  Fixes test failures on Cygwin.
124
125 commit 35253af01d8c0ab444c8377402121816e71c71f5
126 Author: djm@openbsd.org <djm@openbsd.org>
127 Date:   Wed Jan 18 02:00:10 2023 +0000
128
129     upstream: when restoring non-blocking mode to stdio fds, restore
130     
131     exactly the flags that ssh started with and don't just clobber them with
132     zero, as this could also remove the append flag from the set;
133     
134     bz3523; ok dtucker@
135     
136     OpenBSD-Commit-ID: 1336b03e881db7564a4b66014eb24c5230e9a0c0
137
138 commit 7d17ea151c0b2519f023bd9cc7f141128833ac47
139 Author: millert@openbsd.org <millert@openbsd.org>
140 Date:   Wed Jan 18 01:50:21 2023 +0000
141
142     upstream: Add a -V (version) option to sshd like the ssh client
143     
144     has. OK markus@ deraadt@
145     
146     OpenBSD-Commit-ID: abe990ec3e636fb040132aab8cbbede98f0c413e
147
148 commit 62360feb7f08f2a4c6fc36f3b3449309203c42c9
149 Author: millert@openbsd.org <millert@openbsd.org>
150 Date:   Tue Jan 17 18:52:44 2023 +0000
151
152     upstream: For "ssh -V" always exit 0, there is no need to check opt
153     
154     again. This was missed when the fallthrough in the switch case above it was
155     removed.  OK deraadt@
156     
157     OpenBSD-Commit-ID: 5583e5d8f6d62a8a4215cfa95a69932f344c8120
158
159 commit 12492c0abf1eb415d08a897cc1d8b9e789888230
160 Author: djm@openbsd.org <djm@openbsd.org>
161 Date:   Tue Jan 17 10:15:10 2023 +0000
162
163     upstream: also check that an active session inhibits
164     
165     UnusedConnectionTimeout idea markus@
166     
167     OpenBSD-Regress-ID: 55c0fb61f3bf9e092b0a53f9041d3d2012f14003
168
169 commit cef2593c33ac46a58238ff998818754eabdf64ff
170 Author: djm@openbsd.org <djm@openbsd.org>
171 Date:   Tue Jan 17 10:02:34 2023 +0000
172
173     upstream: regression test for UnusedConnectionTimeout
174     
175     OpenBSD-Regress-ID: 7f29001374a68e71e5e078f69e4520cf4bcca084
176
177 commit aff9493a89c71d6a080419b49ac64eead9730491
178 Author: djm@openbsd.org <djm@openbsd.org>
179 Date:   Mon Jan 16 04:11:29 2023 +0000
180
181     upstream: unbreak test: cannot access shell positional parameters
182     
183     past $9 without wrapping the position in braces (i.e. need ${10}, etc.)
184     
185     OpenBSD-Regress-ID: 3750ec98d5d409ce6a93406fedde6f220d2ea2ac
186
187 commit 0293c19807f83141cdf33b443154459f9ee471f6
188 Author: djm@openbsd.org <djm@openbsd.org>
189 Date:   Tue Jan 17 09:44:48 2023 +0000
190
191     upstream: Add a sshd_config UnusedConnectionTimeout option to terminate
192     
193     client connections that have no open channels for some length of time. This
194     complements the recently-added ChannelTimeout option that terminates inactive
195     channels after a timeout.
196     
197     ok markus@
198     
199     OpenBSD-Commit-ID: ca983be74c0350364c11f8ba3bd692f6f24f5da9
200
201 commit 8ec2e3123802d2beeca06c1644b0b647f6d36dab
202 Author: djm@openbsd.org <djm@openbsd.org>
203 Date:   Sun Jan 15 23:35:10 2023 +0000
204
205     upstream: adapt to ed25519 changes in src/usr.bin/ssh
206     
207     OpenBSD-Regress-ID: 4b3e7ba7ee486ae8a0b4790f8112eded2bb7dcd5
208
209 commit 9fbbfeca1ce4c7ec0001c827bbf4189a3ba0964b
210 Author: djm@openbsd.org <djm@openbsd.org>
211 Date:   Sun Jan 15 23:05:32 2023 +0000
212
213     upstream: update OpenSSH's Ed25519 code to the last version of SUPERCOP
214     
215     (20221122) and change the import approach to the same one we use for
216     Streamlined NTRUPrime: use a shell script to extract the bits we need from
217     SUPERCOP, make some minor adjustments and squish them all into a single file.
218     
219     ok tb@ tobhe@
220     
221     OpenBSD-Commit-ID: 1bc0fd624cb6af440905b8ba74ac7c03311b8e3b
222
223 commit 6283f4bd83eee714d0f5fc55802eff836b06fea8
224 Author: Darren Tucker <dtucker@dtucker.net>
225 Date:   Sat Jan 14 22:02:44 2023 +1100
226
227     Allow writev is seccomp sandbox.
228     
229     This seems to be used by recent glibcs at least in some configurations.
230     From bz#3512, ok djm@
231
232 commit 923c3f437f439cfca238fba37e97a7041782f615
233 Author: dtucker@openbsd.org <dtucker@openbsd.org>
234 Date:   Sat Jan 14 10:05:54 2023 +0000
235
236     upstream: Shell syntax fix. From ren mingshuai vi github PR#369.
237     
238     OpenBSD-Regress-ID: 6696b2eeefe128099fc3d7ea9f23252cc35156f9
239
240 commit 4d87a00f704e0365e11c3c38b170c1275ec461fc
241 Author: dtucker@openbsd.org <dtucker@openbsd.org>
242 Date:   Sat Jan 14 09:57:08 2023 +0000
243
244     upstream: Instead of skipping the all-tokens test if we don't have
245     
246     OpenSSL (since we use it to compute the hash), put the hash at the end and
247     just omit it if we don't have it.  Prompted by bz#3521.
248     
249     OpenBSD-Regress-ID: c79ecba64250ed3b6417294b6c965e6b12ca5eea
250
251 commit b05406d6f93b8c8ec11ec8b27e7c76cc7a5a55fb
252 Author: jmc@openbsd.org <jmc@openbsd.org>
253 Date:   Fri Jan 13 07:13:40 2023 +0000
254
255     upstream: fix double phrase in previous;
256     
257     OpenBSD-Commit-ID: 671e6c8dc5e9230518b2bbfa143daaa88adc66c2
258
259 commit 40564812b659c530eb1f4b62d09e85612aef3107
260 Author: dtucker@openbsd.org <dtucker@openbsd.org>
261 Date:   Fri Jan 13 03:16:29 2023 +0000
262
263     upstream: Document "UserKnownHostsFile none". ok djm@
264     
265     OpenBSD-Commit-ID: f695742d39e34ecdcc3c861c3739a84648a4bce5
266
267 commit d03e245e034019a37388f6f5f893ce848ab6d2e2
268 Author: Darren Tucker <dtucker@dtucker.net>
269 Date:   Fri Jan 13 23:02:34 2023 +1100
270
271     Retry package installation 3 times.
272     
273     When setting up the CI environment, retry package installation 3 times
274     before going up.  Should help prevent spurious failures during
275     infrastructure issues.
276
277 commit 625f6bc39840167dafb3bf5b6a3e18503ac986e8
278 Author: dtucker@openbsd.org <dtucker@openbsd.org>
279 Date:   Fri Jan 13 04:47:34 2023 +0000
280
281     upstream: Move scp path setting to a helper function. The previous
282     
283     commit to add scp to the test sshd's path causes the t-envpass test to fail
284     when the test scp is given using a fully qualified path.  Put this in a
285     helper function and only call it from the scp tests.
286     
287     OpenBSD-Regress-ID: 7533dc1c4265c1de716abb062957994195b36df4
288
289 commit 6e6f88647042b3cde54a628545c2f5fb656a9327
290 Author: dtucker@openbsd.org <dtucker@openbsd.org>
291 Date:   Fri Jan 13 04:23:00 2023 +0000
292
293     upstream: Add scp's path to test sshd's PATH.
294     
295     If the scp we're testing is fully qualified (eg it's not in the system
296     PATH) then add its path to the under-test sshd's PATH so we can find
297     it. Prompted by bz#3518.
298     
299     OpenBSD-Regress-ID: 7df4f5a0be3aa135495b7e5a6719d3cbc26cc4c0
300
301 commit 8a5e99a70fcf9b022a8aa175ebf6a71f58511da3
302 Author: Darren Tucker <dtucker@dtucker.net>
303 Date:   Fri Jan 13 15:49:48 2023 +1100
304
305     Remove skipping test when scp not in path.
306     
307     An upcoming change renders this obsolete by adding scp's path to the
308     test sshd's PATH, and removing this first will make the subsequent sync
309     easier.
310
311 commit 41f36dd896c8fb8337d403fcf476762986976e9d
312 Author: dtucker@openbsd.org <dtucker@openbsd.org>
313 Date:   Fri Jan 13 02:58:20 2023 +0000
314
315     upstream: Add a "Host" line to the output of ssh -G showing the
316     
317     original host arg. Inspired by patch from vincent at bernat.ch via bz#3343,
318     ok djm@
319     
320     OpenBSD-Commit-ID: 59c0f60a222113a44d0650cd394376e3beecc883
321
322 commit f673b49f3be3eb51074fbb8a405beb6cd0f7d93e
323 Author: djm@openbsd.org <djm@openbsd.org>
324 Date:   Fri Jan 13 02:44:02 2023 +0000
325
326     upstream: avoid printf("%s", NULL) if using ssh
327     
328     -oUserKnownHostsFile=none and a hostkey in one of the system known hosts file
329     changes; ok dtucker@
330     
331     OpenBSD-Commit-ID: 7ca87614bfc6da491315536a7f2301434a9fe614
332
333 commit 93fc7c576563e3d88a1dc019dd213f65607784cc
334 Author: djm@openbsd.org <djm@openbsd.org>
335 Date:   Wed Jan 11 05:39:38 2023 +0000
336
337     upstream: clamp the minimum buffer lengths and number of inflight
338     
339     requests too
340     
341     OpenBSD-Commit-ID: c4965f62fa0ba850940fd66ae3f60cf516bbcd56
342
343 commit 48bf234322e639d279c5a28435eae50155e9b514
344 Author: djm@openbsd.org <djm@openbsd.org>
345 Date:   Wed Jan 11 05:36:50 2023 +0000
346
347     upstream: ignore bogus upload/download buffer lengths in the limits
348     
349     extension
350     
351     OpenBSD-Commit-ID: c5b023e0954693ba9a5376e4280c739b5db575f8
352
353 commit 36b00d31833ca74cb0f7c7d8eda1bde55700f929
354 Author: djm@openbsd.org <djm@openbsd.org>
355 Date:   Wed Jan 11 02:13:52 2023 +0000
356
357     upstream: remove whitespace at EOL from code extracted from SUPERCOP
358     
359     OpenBSD-Commit-ID: 1ec524ff2fbb9387d731601437c82008f35a60f4
360
361 commit d888de06c5e4d7dbf2f2b85f2b5bf028c570cf78
362 Author: djm@openbsd.org <djm@openbsd.org>
363 Date:   Wed Jan 11 00:51:27 2023 +0000
364
365     upstream: rewrite this test to use a multiplexed ssh session so we can
366     
367     control its lifecycle without risk of race conditions; fixes some of the
368     Github integration tests for openssh-portable
369     
370     OpenBSD-Regress-ID: 5451cad59ba0d43ae9eeda48ec80f54405fee969
371
372 commit 4bcc737a35fdd9cc4af7423d6c23dfd0c7ef4786
373 Author: Damien Miller <djm@mindrot.org>
374 Date:   Wed Jan 11 11:45:17 2023 +1100
375
376     remove buffer len workaround for NetBSD 4.x
377     
378     Switching to from pipes to a socketpair for communicating with the
379     ssh process avoids the (kernel bug?) problem.
380
381 commit f5154d2aac3e6a32a1b13dec23a701a087850cdc
382 Author: Damien Miller <djm@mindrot.org>
383 Date:   Wed Jan 11 11:44:19 2023 +1100
384
385     add back use of pipes in scp.c under USE_PIPES
386     
387     This matches sftp.c which prefers socketpair but uses pipes on
388     some older platforms.
389
390 commit eec737b59cf13841de46134967a206607000acd4
391 Author: millert@openbsd.org <millert@openbsd.org>
392 Date:   Tue Jan 10 23:22:15 2023 +0000
393
394     upstream: Switch scp from using pipes to a socketpair for
395     
396     communication with it's ssh sub-processes.  We no longer need to reserve two
397     descriptors to ensure that we don't end up using fd 0-2 unexpectedly, that is
398     handled by sanitise_stdfd() in main(). Based on an original diff from djm@.
399     OK deraadt@ djm@
400     
401     OpenBSD-Commit-ID: b80c372faac462471e955ddeab9480d668a2e48d
402
403 commit d213d126a4a343abd3a1eb13687d39c1891fe5c8
404 Author: jmc@openbsd.org <jmc@openbsd.org>
405 Date:   Fri Jan 6 08:44:11 2023 +0000
406
407     upstream: tweak previous; ok djm
408     
409     OpenBSD-Commit-ID: 229c493452766d70a78b0f02f6ff9894f9028858
410
411 commit 4a5590a5ee47b7dfd49773e9fdba48ad3089fe64
412 Author: Damien Miller <djm@mindrot.org>
413 Date:   Mon Jan 9 16:33:56 2023 +1100
414
415     try to improve logging for dynamic-forward test
416     
417     previously the logs from the ssh used to exercise the forwarding
418     channel would clobber the logs from the ssh actually doing the
419     forwarding
420
421 commit 715bc25dcfccf9fb2bee820155fe071d01a618db
422 Author: Darren Tucker <dtucker@dtucker.net>
423 Date:   Sat Jan 7 23:24:50 2023 +1100
424
425     Skip dynamic-forward test on minix3.
426     
427     This test relies on loopback addresses which minix does not have.
428     Previously the test would not run at all since it also doesn't have
429     netcat, but now we use our own netcat it tries and fails.
430
431 commit dd1249bd5c45128a908395c61b26996a70f82205
432 Author: Damien Miller <djm@mindrot.org>
433 Date:   Sun Jan 8 12:08:59 2023 +1100
434
435     don't test IPv6 addresses if platform lacks support
436
437 commit d77fc611a62f2dfee0b654c31a50a814b13310dd
438 Author: dtucker@openbsd.org <dtucker@openbsd.org>
439 Date:   Fri Jan 6 12:33:33 2023 +0000
440
441     upstream: When OpenSSL is not available, skip parts of percent test
442     
443     that require it. Based on github pr#368 from ren mingshuai.
444     
445     OpenBSD-Regress-ID: 49a375b2cf61ccb95b52e75e2e025cd10988ebb2
446
447 commit 1cd2aac312af9172f1b5cb06c2e1cd090abb83cf
448 Author: Darren Tucker <dtucker@dtucker.net>
449 Date:   Sat Jan 7 23:01:11 2023 +1100
450
451     Use our own netcat for dynamic-forward test.
452     
453     That way we can be surer about its behaviour rather than trying to
454     second-guess the behaviour of various netcat implementations.
455
456 commit 26cab41c05d7b0859d2a1ea5b6ed253d91848a80
457 Author: Darren Tucker <dtucker@dtucker.net>
458 Date:   Sat Jan 7 14:30:43 2023 +1100
459
460     Use autoconf to find openssl binary.
461     
462     It's possible to install an OpenSSL in a path not in the system's
463     default library search path.  OpenSSH can still use this (eg if you
464     specify an rpath) but the openssl binary there may not work.  If one is
465     available on the system path just use that.
466
467 commit 5532e010a0eeb6aa264396514f9aed7948471538
468 Author: Darren Tucker <dtucker@dtucker.net>
469 Date:   Sat Jan 7 10:34:18 2023 +1100
470
471     Check openssl_bin path is executable before using.
472
473 commit 5d7b16cff48598d5908db970bfdc9ff9326142c8
474 Author: Darren Tucker <dtucker@dtucker.net>
475 Date:   Fri Jan 6 23:19:07 2023 +1100
476
477     Set OPENSSL_BIN from OpenSSL directory.
478
479 commit 344a0e8240eaf08da5d46a5e3a9ecad6e4f64c35
480 Author: dtucker@openbsd.org <dtucker@openbsd.org>
481 Date:   Fri Jan 6 08:50:33 2023 +0000
482
483     upstream: Save debug logs from ssh for debugging purposes.
484     
485     OpenBSD-Regress-ID: 109e40b06de1c006a3b8e0d8745b790b2c5870a0
486
487 commit e1ef172646f7f49c80807eea90225ef5e0be55a8
488 Author: djm@openbsd.org <djm@openbsd.org>
489 Date:   Fri Jan 6 08:07:39 2023 +0000
490
491     upstream: regression test for ChannelTimeout
492     
493     OpenBSD-Regress-ID: 280bfbefcfa415428ad744e43f69a8dede8ad685
494
495 commit 2393ea8daf25853459eb07a528d7577688847777
496 Author: djm@openbsd.org <djm@openbsd.org>
497 Date:   Fri Jan 6 07:18:18 2023 +0000
498
499     upstream: fix typo in verbose logging
500     
501     OpenBSD-Regress-ID: 0497cdb66e003b2f50ed77291a9104fba2e017e9
502
503 commit 161a5378a3cc2e7aa3f9674cb7f4686ae6ce9586
504 Author: djm@openbsd.org <djm@openbsd.org>
505 Date:   Fri Jan 6 02:59:50 2023 +0000
506
507     upstream: unit tests for misc.c:ptimeout_* API
508     
509     OpenBSD-Regress-ID: 01f8fb12d08e5aaadd4bd4e71f456b6588be9a94
510
511 commit 018d671d78145f03d6f07ae9d64d51321da70325
512 Author: tb@openbsd.org <tb@openbsd.org>
513 Date:   Wed Jan 4 22:48:57 2023 +0000
514
515     upstream: Copy bytes from the_banana[] rather than banana()
516     
517     Fixes test failure due to segfault seen on arm64 with xonly snap.
518     
519     ok djm
520     
521     OpenBSD-Regress-ID: 86e2aa4bbd1dff1bc4ebb2969c0d6474485be046
522
523 commit ab6bb69e251faa8b24f81b25c72ec0120f20cad4
524 Author: Damien Miller <djm@mindrot.org>
525 Date:   Fri Jan 6 19:13:36 2023 +1100
526
527     unbreak scp on NetBSD 4.x
528     
529     e555d5cad5 effectively increased the default copy buffer size for SFTP
530     transfers. This caused NetBSD 4.x to hang during the "copy local file to
531     remote file in place" scp.sh regression test.
532     
533     This puts back the original 32KB copy buffer size until we can properly
534     figure out why.
535     
536     lots of debugging assistance from dtucker@
537
538 commit 2d1ff2b9431393ad99ef496d5e3b9dd0d4f5ac8c
539 Author: djm@openbsd.org <djm@openbsd.org>
540 Date:   Fri Jan 6 02:47:18 2023 +0000
541
542     upstream: Implement channel inactivity timeouts
543     
544     This adds a sshd_config ChannelTimeouts directive that allows channels that
545     have not seen traffic in a configurable interval to be automatically closed.
546     Different timeouts may be applied to session, X11, agent and TCP forwarding
547     channels.
548     
549     Note: this only affects channels over an opened SSH connection and not
550     the connection itself. Most clients close the connection when their channels
551     go away, with a notable exception being ssh(1) in multiplexing mode.
552     
553     ok markus dtucker
554     
555     OpenBSD-Commit-ID: ae8bba3ed9d9f95ff2e2dc8dcadfa36b48e6c0b8
556
557 commit 0e34348d0bc0b1522f75d6212a53d6d1d1367980
558 Author: djm@openbsd.org <djm@openbsd.org>
559 Date:   Fri Jan 6 02:42:34 2023 +0000
560
561     upstream: Add channel_set_xtype()
562     
563     This sets an "extended" channel type after channel creation (e.g.
564     "session:subsystem:sftp") that will be used for setting channel inactivity
565     timeouts.
566     
567     ok markus dtucker
568     
569     OpenBSD-Commit-ID: 42564aa92345045b4a74300528f960416a15d4ca
570
571 commit ceedf09b2977f3a756c759a6e7eb8f8e9db86a18
572 Author: djm@openbsd.org <djm@openbsd.org>
573 Date:   Fri Jan 6 02:41:49 2023 +0000
574
575     upstream: tweak channel ctype names
576     
577     These are now used by sshd_config:ChannelTimeouts to specify timeouts by
578     channel type, so force them all to use a similar format without whitespace.
579     
580     ok dtucker markus
581     
582     OpenBSD-Commit-ID: 66834765bb4ae14f96d2bb981ac98a7dae361b65
583
584 commit c60438158ad4b2f83d8504257aba1be7d0b0bb4b
585 Author: djm@openbsd.org <djm@openbsd.org>
586 Date:   Fri Jan 6 02:39:59 2023 +0000
587
588     upstream: Add channel_force_close()
589     
590     This will forcibly close an open channel by simulating read/write errors,
591     draining the IO buffers and calling the detach function.
592     
593     Previously the detach function was only ever called during channel garbage
594     collection, but there was no way to signal the user of a channel (e.g.
595     session.c) that its channel was being closed deliberately (vs. by the
596     usual state-machine logic). So this adds an extra "force" argument to the
597     channel cleanup callback to indicate this condition.
598     
599     ok markus dtucker
600     
601     OpenBSD-Commit-ID: 23052707a42bdc62fda2508636e624afd466324b
602
603 commit d478cdc7ad6edd4b1bcd1e86fb2f23194ff33d5a
604 Author: djm@openbsd.org <djm@openbsd.org>
605 Date:   Fri Jan 6 02:38:23 2023 +0000
606
607     upstream: replace manual poll/ppoll timeout math with ptimeout API
608     
609     feedback markus / ok markus dtucker
610     
611     OpenBSD-Commit-ID: c5ec4f2d52684cdb788cd9cbc1bcf89464014be2
612
613 commit 4adf3817a24efe99b06e62630577d683c7cd8065
614 Author: djm@openbsd.org <djm@openbsd.org>
615 Date:   Fri Jan 6 02:37:04 2023 +0000
616
617     upstream: add ptimeout API for keeping track of poll/ppoll
618     
619     timeouts; ok dtucker markus
620     
621     OpenBSD-Commit-ID: 3335268ca135b3ec15a947547d7cfbb8ff929ead
622
623 commit 8c7c69d32375d2f3ce9da0109c9bffc560842316
624 Author: djm@openbsd.org <djm@openbsd.org>
625 Date:   Thu Jan 5 05:49:13 2023 +0000
626
627     upstream: suppress "Connection closed" message when in quiet mode
628     
629     OpenBSD-Commit-ID: 8a3ab7176764da55f60bfacfeae9b82d84e3908f
630
631 commit 845ceecea2ac311b0c267f9ecbd34862e1876fc6
632 Author: djm@openbsd.org <djm@openbsd.org>
633 Date:   Mon Jan 2 07:03:57 2023 +0000
634
635     upstream: regression test for PermitRemoteOpen
636     
637     OpenBSD-Regress-ID: 8271aafbf5c21950cd5bf966f08e585cebfe630c
638
639 commit b3daa8dc582348d6ab8150bc1e571b7aa08c5388
640 Author: djm@openbsd.org <djm@openbsd.org>
641 Date:   Mon Jan 2 07:03:30 2023 +0000
642
643     upstream: fix bug in PermitRemoteOpen which caused it to ignore its
644     
645     first argument unless it was one of the special keywords "any" or "none".
646     
647     Reported by Georges Chaudy in bz3515; ok dtucker@
648     
649     OpenBSD-Commit-ID: c5678a39f1ff79993d5ae3cfac5746a4ae148ea5
650
651 commit 0872663a7be0301bcc3d49acdbc9b740a3d972d4
652 Author: jmc@openbsd.org <jmc@openbsd.org>
653 Date:   Mon Dec 26 19:16:03 2022 +0000
654
655     upstream: spelling fixes; from paul tagliamonte amendments to his
656     
657     diff are noted on tech
658     
659     OpenBSD-Commit-ID: d776dd03d0b882ca9c83b84f6b384f6f9bd7de4a
660
661 commit 797da2812a71785b34890bb6eb44767a7d09cd34
662 Author: djm@openbsd.org <djm@openbsd.org>
663 Date:   Fri Dec 16 07:13:22 2022 +0000
664
665     upstream: Mention that scp uses the SFTP protocol and remove
666     
667     reference to legacy flag. Spotted by, feedback and ok jmc@
668     
669     OpenBSD-Commit-ID: 9dfe04966f52e941966b46c7a2972147f95281b3
670
671 commit 93f2ce8c050a7a2a628646c00b40b9b53fef93ef
672 Author: djm@openbsd.org <djm@openbsd.org>
673 Date:   Fri Dec 16 06:56:47 2022 +0000
674
675     upstream: Clear signal mask early in main(); sshd may have been
676     
677     started with one or more signals masked (sigprocmask(2) is not cleared
678     on fork/exec) and this could interfere with various things, e.g. the
679     login grace timer.
680     
681     Execution environments that fail to clear the signal mask before running
682     sshd are clearly broken, but apparently they do exist.
683     
684     Reported by Sreedhar Balasubramanian; ok dtucker@
685     
686     OpenBSD-Commit-ID: 77078c0b1c53c780269fc0c416f121d05e3010ae
687
688 commit 4acfaabfae41badb9d334a2ee88c5c6ad041c0d5
689 Author: jmc@openbsd.org <jmc@openbsd.org>
690 Date:   Fri Dec 16 06:52:48 2022 +0000
691
692     upstream: add -X to usage();
693     
694     OpenBSD-Commit-ID: 1bdc3df7de11d766587b0428318336dbffe4a9d0
695
696 commit e555d5cad5afae7d5ef2bbc02ca591178fe16fed
697 Author: djm@openbsd.org <djm@openbsd.org>
698 Date:   Fri Dec 16 03:40:03 2022 +0000
699
700     upstream: add a -X option to both scp(1) and sftp(1) to allow
701     
702     control over some SFTP protocol knobs: the copy buffer length and
703     the number of inflight requests, both of which are used during
704     upload/download.
705     
706     Previously these could be controlled in sftp(1) using the -b/-R options.
707     This makes them available in both SFTP protocol clients using the same
708     option character sequence.
709     
710     ok dtucker@
711     
712     OpenBSD-Commit-ID: 27502bffc589776f5da1f31df8cb51abe9a15f1c
713
714 commit 5a7a7acab2f466dc1d7467b5d05d35268c3137aa
715 Author: deraadt@openbsd.org <deraadt@openbsd.org>
716 Date:   Thu Dec 15 18:20:39 2022 +0000
717
718     upstream: The idiomatic way of coping with signed char vs unsigned
719     
720     char (which did not come from stdio read functions) in the presence of
721     ctype macros, is to always cast to (unsigned char).  casting to (int)
722     for a "macro" which is documented to take int, is weird.  And sadly wrong,
723     because of the sing extension risk.. same diff from florian
724     
725     OpenBSD-Commit-ID: 65b9a49a68e22ff3a0ebd593f363e9f22dd73fea
726
727 commit b0b58222c7cc62efd8212c4fb65a545f58ebb22d
728 Author: Darren Tucker <dtucker@dtucker.net>
729 Date:   Mon Dec 19 18:49:51 2022 +1100
730
731     Simply handling of SSH_CONNECTION PAM env var.
732     
733     Prompted by bz#3508: there's no need to cache the value of
734     sshpam_conninfo so remove the global.  While there, add check of
735     return value from pam_putenv.  ok djm@
736
737 commit ed8444572ae684fdb892f97bae342c6cb6456f04
738 Author: Darren Tucker <dtucker@dtucker.net>
739 Date:   Mon Dec 19 18:42:34 2022 +1100
740
741     Add tests for LibreSSL 3.7.0 and OpenSSL 1.1.1s.
742
743 commit abb9a8aaddfcacbd12641f6e4f203da0fa85a287
744 Author: Darren Tucker <dtucker@dtucker.net>
745 Date:   Sun Dec 18 21:36:25 2022 +1100
746
747     Use sudo when resetting perms on directories.
748
749 commit 2f5664c5908d84697cbe91302d5d5c4d83cb2121
750 Author: Darren Tucker <dtucker@dtucker.net>
751 Date:   Sun Dec 18 21:19:33 2022 +1100
752
753     Set group perms on regress dir.
754     
755     This ensures that the tests don't fail due to StrictMode checks.
756
757 commit 137196300fc1540affadde880210f02ba6cb4abf
758 Author: Darren Tucker <dtucker@dtucker.net>
759 Date:   Sun Dec 18 21:13:42 2022 +1100
760
761     Fetch regress logs from obj dir.
762
763 commit 5f93c4836527d9fda05de8944a1c7b4a205080c7
764 Author: Darren Tucker <dtucker@dtucker.net>
765 Date:   Tue Dec 13 20:59:54 2022 +1100
766
767     obsdsnap test VMs runs-on libvirt too.
768
769 commit 8386886fb1ab7fda73069fb0db1dbe0e5a52f758
770 Author: Darren Tucker <dtucker@dtucker.net>
771 Date:   Tue Dec 13 20:55:37 2022 +1100
772
773     Run upstream obsdsnap tests on ephemeral runners.
774
775 commit b6e01459b55ece85d7f296b2bc719d1841e1009e
776 Author: Darren Tucker <dtucker@dtucker.net>
777 Date:   Tue Dec 13 20:48:56 2022 +1100
778
779     Move obsdsnap test VMs to ephemeral runners.
780
781 commit ea6fdf9a1aa71a411f7db218a986392c4fb55693
782 Author: Damien Miller <djm@mindrot.org>
783 Date:   Fri Dec 9 18:00:21 2022 +1100
784
785     use calloc for allocating arc4random structs
786     
787     ok dtucker
788
789 commit 4403b62f5548e91389cb3339d26a9d0c4bb07b34
790 Author: dtucker@openbsd.org <dtucker@openbsd.org>
791 Date:   Fri Dec 9 00:22:29 2022 +0000
792
793     upstream: Warn if no host keys for hostbased auth can be loaded.
794     
795     OpenBSD-Commit-ID: 2a0a13132000cf8d3593133c1b49768aa3c95977
796
797 commit a6183e25e3f1842e21999fe88bc40bb99b121dc3
798 Author: dtucker@openbsd.org <dtucker@openbsd.org>
799 Date:   Fri Dec 9 00:17:40 2022 +0000
800
801     upstream: Add server debugging for hostbased auth.
802     
803     auth_debug_add queues messages about the auth process which is sent to
804     the client after successful authentication.  This also sends those to
805     the server debug log to aid in debugging.  From bz#3507, ok djm@
806     
807     OpenBSD-Commit-ID: 46ff67518cccf9caf47e06393e2a121ee5aa258a
808
809 commit b85c3581c16aaf6e83b9a797c80705a56b1f312e
810 Author: cheloha@openbsd.org <cheloha@openbsd.org>
811 Date:   Sun Dec 4 23:50:49 2022 +0000
812
813     upstream: remove '?' from getopt(3) loops
814     
815     userspace: remove vestigial '?' cases from top-level getopt(3) loops
816     
817     getopt(3) returns '?' when it encounters a flag not present in the in
818     the optstring or if a flag is missing its option argument.  We can
819     handle this case with the "default" failure case with no loss of
820     legibility.  Hence, remove all the redundant "case '?':" lines.
821     
822     Prompted by dlg@.  With help from dlg@ and millert@.
823     
824     Link: https://marc.info/?l=openbsd-tech&m=167011979726449&w=2
825     
826     ok naddy@ millert@ dlg@
827     
828     OpenBSD-Commit-ID: b2f89346538ce4f5b33ab8011a23e0626a67e66e
829
830 commit 9a067e8d28a2249fd73f004961e30c113ee85e5d
831 Author: dtucker@openbsd.org <dtucker@openbsd.org>
832 Date:   Wed Dec 7 11:45:43 2022 +0000
833
834     upstream: Fix comment typo.
835     
836     OpenBSD-Regress-ID: 3b04faced6511bb5e74648c6a4ef4bf2c4decf03
837
838 commit ce3c3e78ce45d68a82c7c8dc89895f297a67f225
839 Author: Darren Tucker <dtucker@dtucker.net>
840 Date:   Wed Dec 7 18:58:25 2022 +1100
841
842     Add SANDBOX_DEBUG to the kitchensink test build.
843
844 commit bc234605fa3eb10f56bf0d74c8ecb0d91ada9d05
845 Author: Damien Miller <djm@mindrot.org>
846 Date:   Wed Dec 7 18:38:25 2022 +1100
847
848     disable SANDBOX_SECCOMP_FILTER_DEBUG
849     
850     It was mistakenly enabled in 2580916e4872
851     
852     Reported by Peter sec-openssh-com.22.fichtner AT 0sg.net
853
854 commit b087c5cfa011b27992e01589314fec830266f99d
855 Author: Rose <83477269+AtariDreams@users.noreply.github.com>
856 Date:   Tue Nov 29 15:12:54 2022 -0500
857
858     Update autotools
859     
860     Regenerate config files using latest autotools
861
862 commit d63f5494978a185c7421d492b9c2f6f05bb54138
863 Author: Darren Tucker <dtucker@dtucker.net>
864 Date:   Tue Dec 6 12:22:36 2022 +1100
865
866     Fix typo in comment.  Spotted by tim@
867
868 commit 73dcca12115aa12ed0d123b914d473c384e52651
869 Author: dtucker@openbsd.org <dtucker@openbsd.org>
870 Date:   Sun Dec 4 11:03:11 2022 +0000
871
872     upstream: Remove duplicate includes.
873     
874      Patch from AtariDreams via github PR#364.
875     
876     OpenBSD-Commit-ID: b9186638a05cb8b56ef7c0de521922b6723644ea
877
878 commit 3cec15543010bc8d6997d896b1717a650afb7e92
879 Author: djm@openbsd.org <djm@openbsd.org>
880 Date:   Fri Dec 2 04:40:27 2022 +0000
881
882     upstream: make struct sshbuf private
883     
884     and remove an unused field; ok dtucker
885     
886     OpenBSD-Commit-ID: c7a3d77c0b8c153d463398606a8d57569186a0c3
887
888 commit 5796bf8ca9535f9fa7d01829a540d2550e05c860
889 Author: Darren Tucker <dtucker@dtucker.net>
890 Date:   Fri Dec 2 11:43:36 2022 +1100
891
892     Restore ssh-agent permissions on exit.
893     
894     ...enough that subsequent builds can overwrite ssh-agent if necessary.
895
896 commit ccf5a13868cbb4659107458cac1e017c98abcbda
897 Author: dtucker@openbsd.org <dtucker@openbsd.org>
898 Date:   Thu Dec 1 02:22:13 2022 +0000
899
900     upstream: Clean up ssh-add and ssh-agent logs.
901     
902     OpenBSD-Regress-ID: 9eda8e4c3714d7f943ab2e73ed58a233bd29cd2c
903
904 commit 7a8b40cf6a5eda80173140cc6750a6db8412fa87
905 Author: dtucker@openbsd.org <dtucker@openbsd.org>
906 Date:   Thu Dec 1 02:19:29 2022 +0000
907
908     upstream: Log output of ssh-agent and ssh-add
909     
910     This should  make debugging easier.
911     
912     OpenBSD-Regress-ID: 5974b02651f428d7e1079b41304c498ca7e306c8
913
914 commit 4a1805d532616233dd6072e5cd273b96dd3062e6
915 Author: dtucker@openbsd.org <dtucker@openbsd.org>
916 Date:   Tue Nov 29 22:41:14 2022 +0000
917
918     upstream: Add void to client_repledge args to fix compiler warning. ok djm@
919     
920     OpenBSD-Commit-ID: 7e964a641ce4a0a0a11f047953b29929d7a4b866
921
922 commit 815c4704930aa449edf6e812e99d69e9ffd31f01
923 Author: djm@openbsd.org <djm@openbsd.org>
924 Date:   Mon Nov 28 01:38:22 2022 +0000
925
926     upstream: tighten pledge(2) after session establishment
927     
928     feedback, ok & testing in snaps deraadt@
929     
930     OpenBSD-Commit-ID: aecf4d49d28586dfbcc74328d9333398fef9eb58
931
932 commit f7cebbbf407d772ed71403d314343766782fe540
933 Author: djm@openbsd.org <djm@openbsd.org>
934 Date:   Mon Nov 28 01:37:36 2022 +0000
935
936     upstream: New EnableEscapeCommandline ssh_config(5) option
937     
938     This option (default "no") controls whether the ~C escape is available.
939     Turning it off by default means we will soon be able to use a stricter
940     default pledge(2) in the client.
941     
942     feedback deraadt@ dtucker@; tested in snaps for a while
943     
944     OpenBSD-Commit-ID: 7e277595d60acb8263118dcb66554472257b387a
945
946 commit d323f7ecf52e3d4ec1f4939bf31693e02f891dca
947 Author: mbuhl@openbsd.org <mbuhl@openbsd.org>
948 Date:   Fri Nov 18 19:47:40 2022 +0000
949
950     upstream: In channel_request_remote_forwarding the parameters for
951     
952     permission_set_add are leaked as they are also duplicated in the call. Found
953     by CodeChecker. ok djm
954     
955     OpenBSD-Commit-ID: 4aef50fa9be7c0b138188814c8fe3dccc196f61e
956
957 commit 62cc33e6eed847aafdc29e34aa69e9bd82a0ee16
958 Author: Darren Tucker <dtucker@dtucker.net>
959 Date:   Wed Nov 30 11:23:11 2022 +1100
960
961     Use -fzero-call-used-regs=used on clang 15.
962     
963     clang 15 seems to have a problem with -fzero-call-used-reg=all which
964     causes spurious "incorrect signature" failures with ED25519.  On those
965     versions, use -fzero-call-used-regs=used instead.  (We may add exceptions
966     later if specific versions prove to be OK).  Also move the GCC version
967     check to match.
968     
969     Initial investigation by Daniel Pouzzner (douzzer at mega nu), workaround
970     suggested by Bill Wendling (morbo at google com).  bz#3475, ok djm@
971
972 commit f84b9cffd52c9c5c359a54a1929f9948e803ab1d
973 Author: Darren Tucker <dtucker@dtucker.net>
974 Date:   Mon Nov 28 21:09:28 2022 +1100
975
976     Skip unit tests on slow riscv64 hardware.
977
978 commit 9f2747e0bed3faca92679eae69aef10c95dc82f5
979 Author: Darren Tucker <dtucker@dtucker.net>
980 Date:   Sun Nov 27 15:26:22 2022 +1100
981
982     Rework how selfhosted tests interact with runners.
983     
984     Previously there was one runner per test target (mostly VMs).  This had
985     a few limitations:
986      - multiple tests that ran on the same target (eg multiple build
987        configs) were serialized on availability or that runner.
988      - it needed manual balancing of VMs over host machines.
989     
990     To address this, make VMs that use ephemeral disks (ie most of them)
991     all use a pool of runners with the "libvirt" label.  This requires that
992     we distinguish between "host" and "target" for those.  Native runners
993     and VMs with persistent disks (eg the constantly-updated snapshot ones)
994     specify the same host and target.
995     
996     This should improve test throughput.
997
998 commit d664ddaec87bdc7385be8ef7f1337793e1679d48
999 Author: Darren Tucker <dtucker@dtucker.net>
1000 Date:   Sun Nov 27 12:19:37 2022 +1100
1001
1002     Run vmstartup from temp dir.
1003     
1004     This will allow us to create ephemeral disk images per-runner.
1005
1006 commit 0fa16e952b1fc1c4cf65e3dd138b0e87003e2e45
1007 Author: Darren Tucker <dtucker@dtucker.net>
1008 Date:   Sun Nov 27 12:14:00 2022 +1100
1009
1010     Make "config" in matrix singular and pass in env.
1011     
1012     This will allow the startup scripts to adapt their behaviour based on
1013     the type and config.
1014
1015 commit e8857043af54809187be1e8b06749db61112899f
1016 Author: Darren Tucker <dtucker@dtucker.net>
1017 Date:   Sun Nov 27 11:42:22 2022 +1100
1018
1019     Add "libvirt" label to dfly30.
1020
1021 commit 9775473d84902dc37753686cd10ae71fbe67efda
1022 Author: Darren Tucker <dtucker@dtucker.net>
1023 Date:   Sun Nov 27 09:28:20 2022 +1100
1024
1025     Rename "os" in matrix to "target".
1026     
1027     This is in preparation to distinguish this from the host that the runner
1028     runs on in case where they are separate (eg VMs).
1029
1030 commit 04fd00ceff39f4544ced6f5342060abe584835d0
1031 Author: Darren Tucker <dtucker@dtucker.net>
1032 Date:   Sun Nov 27 09:23:04 2022 +1100
1033
1034     Remove unused self-hosted test targets.
1035
1036 commit c9d9fcad2a11c1cd1550a541f44091d65f0b5584
1037 Author: Darren Tucker <dtucker@dtucker.net>
1038 Date:   Sun Nov 27 09:16:15 2022 +1100
1039
1040     Remove explicit "default" test config argument.
1041     
1042     Not specifying the test config implicitly selects default args.
1043
1044 commit 15a01cf15f396f87c6d221c5a6af98331c818962
1045 Author: Darren Tucker <dtucker@dtucker.net>
1046 Date:   Wed Nov 23 13:18:54 2022 +1100
1047
1048     Add fallback for old platforms w/out MAP_ANON.
1049
1050 commit 6b9bbbfe8b26db6e9a30a7e08c223e85421aed98
1051 Author: Darren Tucker <dtucker@dtucker.net>
1052 Date:   Wed Nov 23 13:09:11 2022 +1100
1053
1054     If we haven't found it yet, recheck for sys/stat.h.
1055     
1056     On some very old platforms, sys/stat.h needs sys/types.h, however
1057     autoconf 2.71's AC_CHECK_INCLUDES_DEFAULT checks for them in the
1058     opposite order, which in combination with modern autoconf's
1059     "present but cannot be compiled" behaviour causes it to not be
1060     detected.
1061
1062 commit 8926956f22639132a9f2433fcd25224e01b900f5
1063 Author: Darren Tucker <dtucker@dtucker.net>
1064 Date:   Fri Nov 11 11:25:37 2022 +1100
1065
1066     Add dfly62 test target.
1067
1068 commit 650de7ecd3567b5a5dbf16dd1eb598bd8c20bca8
1069 Author: dtucker@openbsd.org <dtucker@openbsd.org>
1070 Date:   Thu Nov 10 23:03:10 2022 +0000
1071
1072     upstream: Handle dynamic remote port forwarding in escape commandline's
1073     
1074     -R processing. bz#3499, ok djm@
1075     
1076     OpenBSD-Commit-ID: 194ee4cfe7ed0e2b8ad0727f493c798a50454208
1077
1078 commit 5372db7e7985ba2c00f20fdff8942145ca99e033
1079 Author: Darren Tucker <dtucker@dtucker.net>
1080 Date:   Thu Nov 10 12:44:51 2022 +1100
1081
1082     Remove seed passing over reexec.
1083     
1084     This was added for the benefit of platforms using ssh-rand-helper to
1085     prevent a delay on each connection as sshd reseeded itself.
1086     
1087     ssh-random-helper is long gone, and since the re-exec happens before the
1088     chroot the re-execed sshd can reseed itself normally. ok djm@
1089
1090 commit ca98d3f8c64cfc51af81e1b01c36a919d5947ec2
1091 Author: Darren Tucker <dtucker@dtucker.net>
1092 Date:   Wed Nov 9 20:59:20 2022 +1100
1093
1094     Skip reexec test on OpenSSL 1.1.1 specifically.
1095     
1096     OpenSSL 1.1.1 has a bug in its RNG that breaks reexec fallback, so skip
1097     that test.  See bz#3483 for details.
1098
1099 commit 5ec4ebc2548e5f7f1b55b2a5cef5b67bdca8146f
1100 Author: dtucker@openbsd.org <dtucker@openbsd.org>
1101 Date:   Wed Nov 9 09:04:12 2022 +0000
1102
1103     upstream: Fix typo in fatal error message.
1104     
1105     Patch from vapier at chromium.org.
1106     
1107     OpenBSD-Commit-ID: 8a0c164a6a25eef0eedfc30df95bfa27644e35cf
1108
1109 commit e6abafe9a6d809422d3432b95b3f9747b0acaa71
1110 Author: dtucker@openbsd.org <dtucker@openbsd.org>
1111 Date:   Wed Nov 9 09:01:52 2022 +0000
1112
1113     upstream: Remove errant colon and simplify format
1114     
1115     string in error messages. Patch from vapier at chromium.org.
1116     
1117     OpenBSD-Commit-ID: fc28466ebc7b74e0072331947a89bdd239c160d3
1118
1119 commit db2027a687516f87c3fb141e87154bb3d8a7807c
1120 Author: djm@openbsd.org <djm@openbsd.org>
1121 Date:   Wed Nov 9 01:37:44 2022 +0000
1122
1123     upstream: rename client_global_hostkeys_private_confirm() to
1124     
1125     client_global_hostkeys_prove_confirm(), as it handles the
1126     "hostkeys-prove00@openssh.com" message; no functional change
1127     
1128     OpenBSD-Commit-ID: 31e09bd3cca6eed26855b88fb8beed18e9bd026d
1129
1130 commit 1c2be7c2004cf1abcd172fee9fe3eab57cd4c426
1131 Author: djm@openbsd.org <djm@openbsd.org>
1132 Date:   Wed Nov 9 00:15:59 2022 +0000
1133
1134     upstream: typo in comment
1135     
1136     OpenBSD-Commit-ID: 39c58f41e0f32d1ff31731fa6f5bbbc3ad25084a
1137
1138 commit cf1a9852d7fc93e4abc4168aed09529a57427cdc
1139 Author: Darren Tucker <dtucker@dtucker.net>
1140 Date:   Wed Nov 9 09:23:47 2022 +1100
1141
1142     Defer seed_rng until after closefrom call.
1143     
1144     seed_rng will initialize OpenSSL, and some engine providers (eg Intel's
1145     QAT) will open descriptors for their own use.  bz#3483, patch from
1146     joel.d.schuetze at intel.com, ok djm@
1147
1148 commit dffa64480163fbf76af7e4fb62c26bb0dd6642aa
1149 Author: Darren Tucker <dtucker@dtucker.net>
1150 Date:   Wed Nov 9 08:27:47 2022 +1100
1151
1152     Fix comment text.  From emaste at freebsd.org.
1153
1154 commit d9df5689c29823ab830ec4f54c83c6cc3c0077ad
1155 Author: Pierre Ossman <ossman@cendio.se>
1156 Date:   Wed Jul 6 13:52:10 2022 +0200
1157
1158     Avoid assuming layout of fd_set
1159     
1160     POSIX doesn't specify the internal layout of the fd_set object, so let's
1161     not assume it is just a bit mask. This increases compatibility with
1162     systems that have a different layout.
1163     
1164     The assumption is also worthless as we already refuse to use file
1165     descriptors over FD_SETSIZE anyway. Meaning that the default size of
1166     fd_set is quite sufficient.
1167
1168 commit 419aa8a312e8d8f491933ca3d5933e602cb05aae
1169 Author: Darren Tucker <dtucker@dtucker.net>
1170 Date:   Tue Nov 8 12:42:52 2022 +1100
1171
1172     Shutdown any VM before trying to check out repo.
1173     
1174     In the case where the previous run did not clean up, the checkout will
1175     fail as it'll leave a stale mount.
1176
1177 commit a32c07cbb78f65d8527642b96474a83b413f8108
1178 Author: Darren Tucker <dtucker@dtucker.net>
1179 Date:   Tue Nov 8 11:33:25 2022 +1100
1180
1181     Run vm startup and shutdown from runner temp dir.
1182     
1183     Should work even if the github workspace dir is on a stale sshfs mount.
1184
1185 commit 2b40a7dfcdb8e616155b9504145aa52b271455aa
1186 Author: Darren Tucker <dtucker@dtucker.net>
1187 Date:   Tue Nov 8 11:03:31 2022 +1100
1188
1189     Add valrind-5 test here too.
1190
1191 commit 2ea03d1f6d0a05ee2b63ed2dc0f2d54f1e4655a1
1192 Author: Darren Tucker <dtucker@dtucker.net>
1193 Date:   Tue Nov 8 09:21:10 2022 +1100
1194
1195     Update checkout and upload actions.
1196     
1197     Update actions/checkout and actions/upload-artifact to main branch for
1198     compatibility with node.js v16.
1199
1200 commit 4e316ff0f18a118232bb9ac6512ee62773a9e8ea
1201 Author: Darren Tucker <dtucker@dtucker.net>
1202 Date:   Tue Nov 8 09:17:04 2022 +1100
1203
1204     Split out rekey test since it runs the longest.
1205
1206 commit 21625a6424258a92a96a3bb73ae6aabc5ed8a6b4
1207 Author: dtucker@openbsd.org <dtucker@openbsd.org>
1208 Date:   Mon Nov 7 10:09:28 2022 +0000
1209
1210     upstream: The IdentityFile option in ssh_config can also be used to
1211     
1212     specify a public key file, as documented in ssh.1 for the -i option. Document
1213     this also for IdentityFile in ssh_config.5, for documentation completeness.
1214     From laalsaas at systemli.org via portable github PR#352, ok jmc@ djm@
1215     
1216     OpenBSD-Commit-ID: 2f943be9f96e60ef81a9a4faa25b009999f9883b
1217
1218 commit 747691604d3325ed2b62bad85b6fd8563ad32f6c
1219 Author: dtucker@openbsd.org <dtucker@openbsd.org>
1220 Date:   Mon Nov 7 10:05:38 2022 +0000
1221
1222     upstream: Remove some set but otherwise unused variables, spotted
1223     
1224     in -portable by clang 16's -Wunused-but-set-variable.  ok djm@
1225     
1226     OpenBSD-Commit-ID: 3d943ddf2369b38fbf89f5f19728e7dc1daf3982
1227
1228 commit 1d78d25653805aefc7a8dd9d86cd7359ada3823c
1229 Author: dtucker@openbsd.org <dtucker@openbsd.org>
1230 Date:   Mon Nov 7 10:02:59 2022 +0000
1231
1232     upstream: Check for and disallow MaxStartups values less than or
1233     
1234     equal to zero during config parsing, rather than faling later at runtime.
1235     bz#3489, ok djm@
1236     
1237     OpenBSD-Commit-ID: d79c2b7a8601eb9be493629a91245d761154308b
1238
1239 commit a00f59a645072e5f5a8d207af15916a7b23e2642
1240 Author: djm@openbsd.org <djm@openbsd.org>
1241 Date:   Mon Nov 7 04:04:40 2022 +0000
1242
1243     upstream: fix parsing of hex cert expiry time; was checking whether the
1244     
1245     start time began with "0x", not the expiry time.
1246     
1247     from Ed Maste
1248     
1249     OpenBSD-Commit-ID: 6269242c3e1a130b47c92cfca4d661df15f05739
1250
1251 commit f58acaf8c7315483f4ac87d46a1aa2142a713cd8
1252 Author: Darren Tucker <dtucker@dtucker.net>
1253 Date:   Mon Nov 7 15:10:59 2022 +1100
1254
1255     Fix merge conflict.
1256
1257 commit 162e5741020a8d996c0c12b988b118e71ed728e6
1258 Author: Darren Tucker <dtucker@dtucker.net>
1259 Date:   Mon Nov 7 15:04:33 2022 +1100
1260
1261     Branch-specific links for master status badges.
1262
1263 commit e4b7c12ab24579312aa3ed38ce7041a439ec2d56
1264 Author: Darren Tucker <dtucker@dtucker.net>
1265 Date:   Mon Nov 7 14:46:38 2022 +1100
1266
1267     Add CIFuzz status badge.
1268
1269 commit b496b9f831acd1e5bcd875e26e797488beef494a
1270 Author: Darren Tucker <dtucker@dtucker.net>
1271 Date:   Mon Nov 7 14:45:16 2022 +1100
1272
1273     Do not run CIFuzz on selfhosted tree.
1274     
1275     We already run it on the regular tree, no need to double up.
1276
1277 commit 2138b1c4ddb300129a41a5104627b0d561184c7b
1278 Author: Darren Tucker <dtucker@dtucker.net>
1279 Date:   Mon Nov 7 14:41:58 2022 +1100
1280
1281     Whitespace change to trigger CIFuzz workflow.
1282
1283 commit 4670b97ef87c7b0f21283c9b07c7191be88dda05
1284 Author: Darren Tucker <dtucker@dtucker.net>
1285 Date:   Mon Nov 7 14:34:04 2022 +1100
1286
1287     Run cifuzz workflow on the actions as regular CI.
1288
1289 commit 79391e66ce851ace1baf3c6a35e83a23f08ec2ba
1290 Author: David Korczynski <david@adalogics.com>
1291 Date:   Tue Nov 30 11:45:20 2021 +0000
1292
1293     Add CIFuzz integration
1294
1295 commit c1893364a0be243270014d7d34362a8101d55112
1296 Author: dtucker@openbsd.org <dtucker@openbsd.org>
1297 Date:   Mon Nov 7 02:21:22 2022 +0000
1298
1299     upstream: Import regenerated moduli.
1300     
1301     OpenBSD-Commit-ID: b0e54ee4d703bd6929bbc624068666a7a42ecb1f
1302
1303 commit 5c3f18fb994ef27e685b205ee2351851b80fdbd1
1304 Author: dtucker@openbsd.org <dtucker@openbsd.org>
1305 Date:   Mon Nov 7 01:53:01 2022 +0000
1306
1307     upstream: Fix typo. From pablomh via -portable github PR#344.
1308     
1309     OpenBSD-Commit-ID: d056ee2e73691dc3ecdb44a6de68e6b88cd93827
1310
1311 commit e1c6fcc142066417c9832e634463faa3dd5d116c
1312 Author: Darren Tucker <dtucker@dtucker.net>
1313 Date:   Mon Nov 7 12:46:58 2022 +1100
1314
1315     Link to branch-specific queries for V_9_1 status.
1316
1317 commit 4f4a5fad6d8892c3f8ee9cd81ec7de6458210c9f
1318 Author: Darren Tucker <dtucker@dtucker.net>
1319 Date:   Sun Nov 6 10:55:59 2022 +1100
1320
1321     Use "prohibit-password" in -portable comments.
1322     
1323     "without-password" is the deprecated alias for "prohibit-password",
1324     so we should reference the latter. From emaste at freebsd.org.
1325
1326 commit 0f7e1eba55259ec037f515000b4c4afbf446230a
1327 Author: Darren Tucker <dtucker@dtucker.net>
1328 Date:   Sun Nov 6 10:50:01 2022 +1100
1329
1330     Fix tracing disable on FreeBSD.
1331     
1332     Some versions of FreeBSD do not support using id 0 to refer to the
1333     current pid for procctl, so pass getpid() explicitly.  From
1334     emaste at freebsd.org.
1335
1336 commit 32fddb982fd61b11a2f218a115975a87ab126d43
1337 Author: Darren Tucker <dtucker@dtucker.net>
1338 Date:   Mon Nov 7 10:39:01 2022 +1100
1339
1340     Fix setres*id checks to work with clang-16.
1341     
1342     glibc has the prototypes for setresuid and setresgid behind _GNU_SOURCE,
1343     and clang 16 will error out on implicit function definitions, so add
1344     _GNU_SOURCE and the required headers to the configure checks.  From
1345     sam at @gentoo.org via bz#3497.
1346
1347 commit 12af712d116f42164bcfa56db901d06e4fa27199
1348 Author: Sam James <sam@gentoo.org>
1349 Date:   Sun Nov 6 04:52:38 2022 +0000
1350
1351     configure.ac: Fix -Wstrict-prototypes
1352     
1353     Clang 16 now warns on this and it'll be removed in C23, so let's
1354     just be future proof. It also reduces noise when doing general
1355     Clang 16 porting work (which is a big job as it is).  github PR#355.
1356     
1357     Signed-off-by: Sam James <sam@gentoo.org>
1358
1359 commit 40b0a5eb6e3edfa2886b60c09c7803353b0cc7f5
1360 Author: Sam James <sam@gentoo.org>
1361 Date:   Sun Nov 6 04:47:35 2022 +0000
1362
1363     configure.ac: Add <pty.h> include for openpty
1364     
1365     Another Clang 16ish fix (which makes -Wimplicit-function-declaration
1366     an error by default).  github PR#355.
1367     
1368     See: 2efd71da49b9cfeab7987058cf5919e473ff466b
1369     See: be197635329feb839865fdc738e34e24afd1fca8
1370
1371 commit 6b17e128879ec6cc32ca2c28b5d894b4aa72e32d
1372 Author: Rochdi Nassah <rochdinassah.1998@gmail.com>
1373 Date:   Fri Oct 28 01:26:31 2022 +0100
1374
1375     Fix broken zlib link.
1376
1377 commit 99500df246ccb736ddbdd04160dcc82165d81a77
1378 Author: Darren Tucker <dtucker@dtucker.net>
1379 Date:   Fri Nov 4 16:59:26 2022 +1100
1380
1381     Don't run openbsd-compat tests on Cygwin.
1382     
1383     Add "compat-tests" to the default TEST_TARGET so we can override as
1384     necessary.  Override TEST_TARGET for Cygwin as the tests don't currently
1385     compile there.
1386
1387 commit 3cae9f92a31897409666aa1e6f696f779759332b
1388 Author: djm@openbsd.org <djm@openbsd.org>
1389 Date:   Thu Nov 3 21:59:20 2022 +0000
1390
1391     upstream: replace recently-added valid_domain() check for hostnames
1392     
1393     going to known_hosts with a more relaxed check for bad characters; previous
1394     commit broke address literals. Reported by/feedback from florian@
1395     
1396     OpenBSD-Commit-ID: 10b86dc6a4b206adaa0c11b58b6d5933898d43e0
1397
1398 commit 9655217231c9056200bea7ae2dffcc9c0c3eb265
1399 Author: Darren Tucker <dtucker@dtucker.net>
1400 Date:   Thu Nov 3 23:07:50 2022 +1100
1401
1402     Rerun tests on changes to Makefile.in in any dir.
1403
1404 commit 3500f0405a3ab16b59a26f3508c4257a3fc3bce6
1405 Author: Darren Tucker <dtucker@dtucker.net>
1406 Date:   Thu Nov 3 23:04:08 2022 +1100
1407
1408     Link libssh into compat tests.
1409     
1410     The cygwin compat code uses xmalloc, so add libssh.a so pick up that.
1411
1412 commit ec59effcf65b8a4c85d47ff5a271123259dd0ab8
1413 Author: Darren Tucker <dtucker@dtucker.net>
1414 Date:   Thu Nov 3 21:44:23 2022 +1100
1415
1416     Fix compat regress to work with non-GNU make.
1417
1418 commit 73550a218e7dfbbd599534cbf856309bc924f6fd
1419 Author: Darren Tucker <dtucker@dtucker.net>
1420 Date:   Thu Nov 3 13:41:16 2022 +1100
1421
1422     Increase selfhosted job timeout.
1423     
1424     The default job timeout of 360 (6h) is not enough to complete the
1425     regress tests for some of the slow VMs depending on the load on the host.
1426     Increase to 600 (10h).
1427
1428 commit db97d8d0b90c6ce52b94b153d6f8f5f7d3b11777
1429 Author: Darren Tucker <dtucker@dtucker.net>
1430 Date:   Thu Nov 3 10:00:43 2022 +1100
1431
1432     Only run opensslver tests if built with OpenSSL.
1433
1434 commit ba053709638dff2f6603df0c1f340352261d63ea
1435 Author: Darren Tucker <dtucker@dtucker.net>
1436 Date:   Wed Nov 2 14:16:04 2022 +1100
1437
1438     Add tests for OpenSSL 3.0.7 and LibreSSL 3.6.1.
1439
1440 commit edd24101c7e17d1a8f6576e1aaf62233b47ad6f5
1441 Author: Darren Tucker <dtucker@dtucker.net>
1442 Date:   Thu Nov 3 08:17:39 2022 +1100
1443
1444     Run compat regress tests too.
1445
1446 commit fe88d67e7599b0bc73f6e4524add28d743e7f977
1447 Author: Darren Tucker <dtucker@dtucker.net>
1448 Date:   Thu Nov 3 08:14:05 2022 +1100
1449
1450     Compat tests need libcrypto.
1451     
1452     This was moved to CHANNELLIBS during the libs refactor.  Spotted by
1453     rapier at psc.edu.
1454
1455 commit 96b519726b7944eee3c23a54eee3d5c031ba1533
1456 Author: Darren Tucker <dtucker@dtucker.net>
1457 Date:   Thu Nov 3 04:24:39 2022 +1100
1458
1459     Include time.h when defining timegm.
1460     
1461     Fixes build on some platforms eg recent AIX.
1462
1463 commit da6038bd5cd55eb212eb2aec1fc8ae79bbf76156
1464 Author: Darren Tucker <dtucker@dtucker.net>
1465 Date:   Tue Nov 1 19:10:30 2022 +1100
1466
1467     Always use compat getentropy.
1468     
1469     Have it call native getentropy and fall back as required.  Should fix
1470     issues of platforms where libc has getentropy but it is not implemented
1471     in the kernel.  Based on github PR#354 from simsergey.
1472
1473 commit 5ebe18cab6be3247b44c807ac145164010465b82
1474 Author: Darren Tucker <dtucker@dtucker.net>
1475 Date:   Wed Nov 2 10:51:48 2022 +1100
1476
1477     Check for sockaddr_in.sin_len.
1478     
1479     If found, set SOCK_HAS_LEN which is used in addr.c.  Should fix keyscan
1480     tests on platforms with this (eg old NetBSD).
1481
1482 commit a1febadf426536612c2734168d409147c392e7cf
1483 Author: dtucker@openbsd.org <dtucker@openbsd.org>
1484 Date:   Sun Oct 30 18:42:07 2022 +0000
1485
1486     upstream: Use variable for diff options
1487     
1488     instead of unconditionally specifying "-rN". This will make life easier
1489     in -portable where not all diff's understand -N.
1490     
1491     OpenBSD-Regress-ID: 8b8a407115546be1c6d72d350b1e4f1f960d3cd3
1492
1493 commit f6d3ed9a8a9280cbb68d6a499850cfe810e92bd0
1494 Author: Darren Tucker <dtucker@dtucker.net>
1495 Date:   Mon Oct 31 05:13:02 2022 +1100
1496
1497     OpenSSL dev branch is 302 not 320.
1498     
1499     While there, also accept 301 which it shat it was previously.
1500
1501 commit 25c8a2bbcc10c493d27faea57c42a6bf13fa51f2
1502 Author: djm@openbsd.org <djm@openbsd.org>
1503 Date:   Fri Oct 28 02:47:04 2022 +0000
1504
1505     upstream: put sshkey_check_rsa_length() back in sshkey.c to unbreak
1506     
1507     OPENSSL=no builds
1508     
1509     OpenBSD-Commit-ID: 99eec58abe382ecd14b14043b195ee1babb9cf6e
1510
1511 commit 1192588546c29ceec10775125f396555ea71850f
1512 Author: djm@openbsd.org <djm@openbsd.org>
1513 Date:   Fri Oct 28 02:29:34 2022 +0000
1514
1515     upstream: allow ssh-keyscan(1) to accept CIDR address ranges, e.g.
1516     
1517     ssh-keyscan 192.168.0.0/24
1518     
1519     If a CIDR range is passed, then it will be expanded to all possible
1520     addresses in the range including the all-0s and all-1s addresses.
1521     
1522     bz#976 feedback/ok markus@
1523     
1524     OpenBSD-Commit-ID: ce6c5211f936ac0053fd4a2ddb415277931e6c4b
1525
1526 commit 64af4209309461c79c39eda2d13f9d77816c6398
1527 Author: Damien Miller <djm@mindrot.org>
1528 Date:   Fri Oct 28 12:54:35 2022 +1100
1529
1530     fix merge botch
1531
1532 commit 27267642699342412964aa785b98afd69d952c88
1533 Author: djm@openbsd.org <djm@openbsd.org>
1534 Date:   Fri Oct 28 00:44:44 2022 +0000
1535
1536     upstream: refactor sshkey_private_deserialize
1537     
1538     feedback/ok markus@
1539     
1540     OpenBSD-Commit-ID: f5ca6932fdaf840a5e8250becb38315a29b5fc9f
1541
1542 commit 2519a7077a9332f70935e5242ba91ee670ed6b87
1543 Author: djm@openbsd.org <djm@openbsd.org>
1544 Date:   Fri Oct 28 00:44:17 2022 +0000
1545
1546     upstream: refactor sshkey_private_serialize_opt()
1547     
1548     feedback/ok markus@
1549     
1550     OpenBSD-Commit-ID: 61e0fe989897901294efe7c3b6d670cefaf44cbd
1551
1552 commit 11a768adf98371fe4e43f3b06014024c033385d5
1553 Author: djm@openbsd.org <djm@openbsd.org>
1554 Date:   Fri Oct 28 00:43:30 2022 +0000
1555
1556     upstream: refactor certify
1557     
1558     feedback/ok markus@
1559     
1560     OpenBSD-Commit-ID: 35d742992e223eaca3537e6fb3d3002c08eed4f6
1561
1562 commit 3fbc58bb249d967cc43ebdc554f6781bb73d4a58
1563 Author: djm@openbsd.org <djm@openbsd.org>
1564 Date:   Fri Oct 28 00:43:08 2022 +0000
1565
1566     upstream: refactor sshkey_sign() and sshkey_verify()
1567     
1568     feedback/ok markus@
1569     
1570     OpenBSD-Commit-ID: 368e662c128c99d05cc043b1308d2b6c71a4d3cc
1571
1572 commit a1deb6cdbbe6afaab74ecb08fcb62db5739267be
1573 Author: djm@openbsd.org <djm@openbsd.org>
1574 Date:   Fri Oct 28 00:41:52 2022 +0000
1575
1576     upstream: refactor sshkey_from_blob_internal()
1577     
1578     feedback/ok markus@
1579     
1580     OpenBSD-Commit-ID: 1f46c0cbb8060ee9666a02749594ad6658c8e283
1581
1582 commit 7d00799c935271ce89300494c5677190779f6453
1583 Author: djm@openbsd.org <djm@openbsd.org>
1584 Date:   Fri Oct 28 00:41:17 2022 +0000
1585
1586     upstream: refactor sshkey_from_private()
1587     
1588     feedback/ok markus@
1589     
1590     OpenBSD-Commit-ID: e5dbe7a3545930c50f70ee75c867a1e08b382b53
1591
1592 commit 262647c2e920492ca57f1b9320d74f4a0f6e482b
1593 Author: djm@openbsd.org <djm@openbsd.org>
1594 Date:   Fri Oct 28 00:39:29 2022 +0000
1595
1596     upstream: factor out key generation
1597     
1598     feedback/ok markus@
1599     
1600     OpenBSD-Commit-ID: 5b4211bff4de8d9adb84bc72857a8c42c44e7ceb
1601
1602 commit 401c74e7dc15eab60540653d2f94d9306a927bab
1603 Author: djm@openbsd.org <djm@openbsd.org>
1604 Date:   Fri Oct 28 00:38:58 2022 +0000
1605
1606     upstream: refactor and simplify sshkey_read()
1607     
1608     feedback/ok markus@
1609     
1610     OpenBSD-Commit-ID: 0d93b7a56e31cd06a8bb0d2191d084ce254b0971
1611
1612 commit 591fed94e66a016acf87f4b7cd416ce812f2abe8
1613 Author: djm@openbsd.org <djm@openbsd.org>
1614 Date:   Fri Oct 28 00:37:24 2022 +0000
1615
1616     upstream: factor out public key serialization
1617     
1618     feedback/ok markus@
1619     
1620     OpenBSD-Commit-ID: a3570c4b97290c5662890aea7328d87f55939033
1621
1622 commit 1e78844ae2b2dc01ba735d5ae740904c57e13685
1623 Author: djm@openbsd.org <djm@openbsd.org>
1624 Date:   Fri Oct 28 00:36:31 2022 +0000
1625
1626     upstream: factor out sshkey_equal_public()
1627     
1628     feedback/ok markus@
1629     
1630     OpenBSD-Commit-ID: 1368ba114cb37732fe6ec3d89c7e6d27ea6fdc94
1631
1632 commit 25de1c01a8b9a2c8ab9b1da22444a03e89c982de
1633 Author: djm@openbsd.org <djm@openbsd.org>
1634 Date:   Fri Oct 28 00:35:40 2022 +0000
1635
1636     upstream: begin big refactor of sshkey
1637     
1638     Move keytype data and some of the type-specific code (allocation,
1639     cleanup, etc) out into each key type's implementation. Subsequent
1640     commits will move more, with the goal of having each key-*.c file
1641     owning as much of its keytype's implementation as possible.
1642     
1643     lots of feedback + ok markus@
1644     
1645     OpenBSD-Commit-ID: 0f2b4334f73914344e9e5b3d33522d41762a57ec
1646
1647 commit 445363433ba20b8a3e655b113858c836da46a1cb
1648 Author: djm@openbsd.org <djm@openbsd.org>
1649 Date:   Mon Oct 24 22:43:36 2022 +0000
1650
1651     upstream: Be more paranoid with host/domain names coming from the
1652     
1653     never write a name with bad characters to a known_hosts file.
1654     
1655     reported by David Leadbeater, ok deraadt@
1656     
1657     OpenBSD-Commit-ID: ba9b25fa8b5490b49398471e0c9657b0cbc7a5ad
1658
1659 commit 7190154de2c9fe135f0cc1ad349cb2fa45152b89
1660 Author: djm@openbsd.org <djm@openbsd.org>
1661 Date:   Mon Oct 24 21:52:50 2022 +0000
1662
1663     upstream: regress test for unmatched glob characters; fails before
1664     
1665     previous commit but passes now. bz3488; prodded by dtucker@
1666     
1667     OpenBSD-Regress-ID: 0cc5cc9ea4a6fd170dc61b9212f15badaafb3bbd
1668
1669 commit a4821a592456c3add3cd325db433110cdaaa3e5c
1670 Author: djm@openbsd.org <djm@openbsd.org>
1671 Date:   Mon Oct 24 21:51:55 2022 +0000
1672
1673     upstream: when scp(1) is using the SFTP protocol for transport (the
1674     
1675     default), better match scp/rcp's handling of globs that don't match the
1676     globbed characters but do match literally (e.g. trying to transfer
1677     "foo.[1]").
1678     
1679     Previously scp(1) in SFTP mode would not match these pathnames but
1680     legacy scp/rcp mode would.
1681     
1682     Reported by Michael Yagliyan in bz3488; ok dtucker@
1683     
1684     OpenBSD-Commit-ID: d8a3773f53015ba811fddba7473769a2fd343e11
1685
1686 commit 18376847b8043ba967eabbe23692ef74c9a3fddc
1687 Author: jsg@openbsd.org <jsg@openbsd.org>
1688 Date:   Thu Oct 13 09:09:28 2022 +0000
1689
1690     upstream: use correct type with sizeof ok djm@
1691     
1692     OpenBSD-Commit-ID: d6c882c2e8a42ff831a5b3cbc2c961ecb2dd6143
1693
1694 commit 4a4883664d6b4e9e4e459a8cdc16bd8d4b735de9
1695 Author: jmc@openbsd.org <jmc@openbsd.org>
1696 Date:   Fri Oct 7 06:00:58 2022 +0000
1697
1698     upstream: ssh-agent.1: - use Nm not Xr for self-ref - while here,
1699     
1700     wrap a long line
1701     
1702     ssh-agent.c:
1703     - add -O to usage()
1704     
1705     OpenBSD-Commit-ID: 855dac4695cef22e96d69c53436496bc408ca389
1706
1707 commit 9fd2441113fce2a83fc7470968c3b27809cc7f10
1708 Author: djm@openbsd.org <djm@openbsd.org>
1709 Date:   Fri Oct 7 04:06:26 2022 +0000
1710
1711     upstream: document "-O no-restrict-websafe"; spotted by Ross L
1712     
1713     Richardson
1714     
1715     OpenBSD-Commit-ID: fe9eaa50237693a14ebe5b5614bf32a02145fe8b
1716
1717 commit 614252b05d70f798a0929b1cd3d213030ad4d007
1718 Author: Darren Tucker <dtucker@dtucker.net>
1719 Date:   Tue Oct 18 06:29:16 2022 +1100
1720
1721     OpenSSL dev branch now identifies as 3.2.0.
1722
1723 commit 195e5a65fd793a738ea8451ebfdd1919db5aff3e
1724 Author: Damien Miller <djm@mindrot.org>
1725 Date:   Mon Oct 17 09:41:47 2022 +1100
1726
1727     revert c64b62338b4 and guard POLL* defines instead
1728     
1729     c64b62338b4 broke OSX builds, which do have poll.h but lack ppoll(2)
1730     Spotted by dtucker
1731
1732 commit bc2e480d99613bd59720edae244d1764636544c4
1733 Author: Damien Miller <djm@mindrot.org>
1734 Date:   Fri Oct 14 14:52:22 2022 +1100
1735
1736     undef _get{short,long} before redefining
1737
1738 commit 5eb796a369c64f18d55a6ae9b1fa9b35eea237fb
1739 Author: Harmen Stoppels <harmenstoppels@gmail.com>
1740 Date:   Thu Oct 13 16:08:46 2022 +0200
1741
1742     Fix snprintf configure test for clang 15
1743     
1744     Clang 15 -Wimplicit-int defaults to an error in C99 mode and above.
1745     A handful of tests have "main(..." and not "int main(..." which caused
1746     the tests to produce incorrect results.
1747
1748 commit c64b62338b46ffa08839f05f21ad69fa6234dc17
1749 Author: Damien Miller <djm@mindrot.org>
1750 Date:   Mon Oct 10 12:32:43 2022 +1100
1751
1752     skip bsd-poll.h if poll.h found; ok dtucker
1753
1754 commit 5ee2b8ccfcf4b606f450eb0ff2305e311f68b0be
1755 Author: djm@openbsd.org <djm@openbsd.org>
1756 Date:   Thu Oct 6 22:42:37 2022 +0000
1757
1758     upstream: honour user's umask if it is more restrictive then the ssh
1759     
1760     default (022); based on patch from Alex Henrie, ok dtucker@ deraadt@
1761     
1762     OpenBSD-Commit-ID: fe1b9e15fc9a4f49fc338e848ce14d8727abe82d
1763
1764 commit a75cffc2700cebd3e2dd9093f7f7388d2be95cb7
1765 Author: Darren Tucker <dtucker@dtucker.net>
1766 Date:   Fri Oct 7 03:54:56 2022 +1100
1767
1768     Add LibreSSL 3.6.0 to test suite.
1769     
1770     While there, bump OpenSSL to latest 1.1.1q release.
1771
1772 commit fcc0f0c0e96a30076683fea9a7c9eedc72931742
1773 Author: Darren Tucker <dtucker@dtucker.net>
1774 Date:   Thu Oct 6 21:18:16 2022 +1100
1775
1776     Add 9.1 branch to CI status page.
1777
1778 commit ef211eee63821d894a8bf81f22bfba9f6899d0fe
1779 Author: Darren Tucker <dtucker@dtucker.net>
1780 Date:   Tue Oct 4 23:20:23 2022 +1100
1781
1782     Test commits to all branches of portable.
1783     
1784     Only test OpenBSD upstream on commits to master since that's what it
1785     tracks.
1786
1787 commit fe646de03cafb6593ff4e4954bca9ec4b4b753a8
1788 Author: Damien Miller <djm@mindrot.org>
1789 Date:   Wed Oct 5 03:47:26 2022 +1100
1790
1791     whitespace at EOL
1792
1793 commit a6e1852d10c63a830196e82168dadd957aaf28ec
1794 Author: Damien Miller <djm@mindrot.org>
1795 Date:   Wed Oct 5 03:40:01 2022 +1100
1796
1797     mention libfido2 autodetection
1798
1799 commit 7360c2c206f33d309edbaf64036c96fadf74d640
1800 Author: Damien Miller <djm@mindrot.org>
1801 Date:   Wed Oct 5 03:37:36 2022 +1100
1802
1803     remove mention of --with-security-key-builtin
1804     
1805     it is enabled by default when libfido2 is installed
1806
1807 commit 0ffb46f2ee2ffcc4daf45ee679e484da8fcf338c
1808 Author: Damien Miller <djm@mindrot.org>
1809 Date:   Tue Oct 4 01:51:42 2022 +1100
1810
1811     update .depend
1812
1813 commit 657e676ff696c7bb787bffb0e249ea1be3b474e1
1814 Author: Damien Miller <djm@mindrot.org>
1815 Date:   Tue Oct 4 01:45:52 2022 +1100
1816
1817     update release notes URL
1818
1819 commit f059da2b29840c0f048448809c317ce2ae014da7
1820 Author: Damien Miller <djm@mindrot.org>
1821 Date:   Tue Oct 4 01:45:41 2022 +1100
1822
1823     crank versions in RPM spec files
1824
1825 commit b51f3f172d87cbdb80ca4eb7b2149e56a7647557
1826 Author: djm@openbsd.org <djm@openbsd.org>
1827 Date:   Mon Sep 26 22:18:40 2022 +0000
1828
1829     upstream: openssh-9.1
1830     
1831     OpenBSD-Commit-ID: 5a467b2ee81da01a86adf1ad93b62b1728494e56
1832
1833 commit 4cf8d0c0f3030f594a238bab21a0695735515487
1834 Author: dtucker@openbsd.org <dtucker@openbsd.org>
1835 Date:   Wed Sep 21 22:26:50 2022 +0000
1836
1837     upstream: Fix typo. From AlexanderStohr via github PR#343.
1838     
1839     OpenBSD-Commit-ID: a134c9b4039e48803fc6a87f955b0f4a03181497
1840
1841 commit 8179fed3264d5919899900ed8881d5f9bb57ca33
1842 Author: djm@openbsd.org <djm@openbsd.org>
1843 Date:   Mon Sep 19 21:39:16 2022 +0000
1844
1845     upstream: add RequiredRSASize to the list of keywords accepted by
1846     
1847     -o; spotted by jmc@
1848     
1849     OpenBSD-Commit-ID: fe871408cf6f9d3699afeda876f8adbac86a035e
1850
1851 commit 5f954929e9f173dd1e279e07d0e8b14fa845814d
1852 Author: Damien Miller <djm@mindrot.org>
1853 Date:   Mon Sep 19 20:59:34 2022 +1000
1854
1855     no need for glob.h here
1856     
1857     it also causes portability problems
1858
1859 commit 03d94a47207d58b3db37eba4f87eb6ae5a63168a
1860 Author: Damien Miller <djm@mindrot.org>
1861 Date:   Mon Sep 19 20:59:04 2022 +1000
1862
1863     avoid Wuninitialized false positive in gcc-12ish
1864
1865 commit 9d952529113831fb3071ab6e408d2726fd72e771
1866 Author: djm@openbsd.org <djm@openbsd.org>
1867 Date:   Mon Sep 19 10:46:00 2022 +0000
1868
1869     upstream: use users-groups-by-id@openssh.com sftp-server extension
1870     
1871     (when available) to fill in user/group names for directory listings.
1872     Implement a client-side cache of see uid/gid=>user/group names. ok markus@
1873     
1874     OpenBSD-Commit-ID: f239aeeadfa925a37ceee36ee8b256b8ccf4466e
1875
1876 commit 8ff680368b0bccf88ae85d4c99de69387fbad7a6
1877 Author: djm@openbsd.org <djm@openbsd.org>
1878 Date:   Mon Sep 19 10:43:12 2022 +0000
1879
1880     upstream: sftp client library support for
1881     
1882     users-groups-by-id@openssh.com; ok markus@
1883     
1884     OpenBSD-Commit-ID: ddb2f33a2da6349a9a89a8b5bcb9ca7c999394de
1885
1886 commit 488f6e1c582212c2374a4bf8cd1b703d2e70fb8b
1887 Author: djm@openbsd.org <djm@openbsd.org>
1888 Date:   Mon Sep 19 10:41:58 2022 +0000
1889
1890     upstream: extend sftp-common.c:extend ls_file() to support supplied
1891     
1892     user/group names; ok markus@
1893     
1894     OpenBSD-Commit-ID: c70c70498b1fdcf158531117e405b6245863bfb0
1895
1896 commit 74b77f7497dba3a58315c8f308883de448078057
1897 Author: djm@openbsd.org <djm@openbsd.org>
1898 Date:   Mon Sep 19 10:40:52 2022 +0000
1899
1900     upstream: sftp-server(8): add a "users-groups-by-id@openssh.com"
1901     
1902     extension request that allows the client to obtain user/group names that
1903     correspond to a set of uids/gids.
1904     
1905     Will be used to make directory listings more useful and consistent
1906     in sftp(1).
1907     
1908     ok markus@
1909     
1910     OpenBSD-Commit-ID: 7ebabde0bcb95ef949c4840fe89e697e30df47d3
1911
1912 commit 231a346c0c67cc7ca098360f9a554fa7d4f1eddb
1913 Author: djm@openbsd.org <djm@openbsd.org>
1914 Date:   Mon Sep 19 08:49:50 2022 +0000
1915
1916     upstream: better debugging for connect_next()
1917     
1918     OpenBSD-Commit-ID: d16a307a0711499c971807f324484ed3a6036640
1919
1920 commit 1875042c52a3b950ae5963c9ca3774a4cc7f0380
1921 Author: djm@openbsd.org <djm@openbsd.org>
1922 Date:   Sat Sep 17 10:34:29 2022 +0000
1923
1924     upstream: Add RequiredRSASize for sshd(8); RSA keys that fall
1925     
1926     beneath this limit will be ignored for user and host-based authentication.
1927     
1928     Feedback deraadt@ ok markus@
1929     
1930     OpenBSD-Commit-ID: 187931dfc19d51873df5930a04f2d972adf1f7f1
1931
1932 commit 54b333d12e55e6560b328c737d514ff3511f1afd
1933 Author: djm@openbsd.org <djm@openbsd.org>
1934 Date:   Sat Sep 17 10:33:18 2022 +0000
1935
1936     upstream: add a RequiredRSASize for checking RSA key length in
1937     
1938     ssh(1). User authentication keys that fall beneath this limit will be
1939     ignored. If a host presents a host key beneath this limit then the connection
1940     will be terminated (unfortunately there are no fallbacks in the protocol for
1941     host authentication).
1942     
1943     feedback deraadt, Dmitry Belyavskiy; ok markus@
1944     
1945     OpenBSD-Commit-ID: 430e339b2a79fa9ecc63f2837b06fdd88a7da13a
1946
1947 commit 07d8771bacfefbcfb37fa8a6dc6103bcc097e0ab
1948 Author: djm@openbsd.org <djm@openbsd.org>
1949 Date:   Sat Sep 17 10:30:45 2022 +0000
1950
1951     upstream: Add a sshkey_check_rsa_length() call for checking the
1952     
1953     length of an RSA key; ok markus@
1954     
1955     OpenBSD-Commit-ID: de77cd5b11594297eda82edc594b0d32b8535134
1956
1957 commit 3991a0cf947cf3ae0f0373bcec5a90e86a7152f5
1958 Author: djm@openbsd.org <djm@openbsd.org>
1959 Date:   Sat Sep 17 10:11:29 2022 +0000
1960
1961     upstream: actually hook up restrict_websafe; the command-line flag
1962     
1963     was never actually used. Spotted by Matthew Garrett
1964     
1965     OpenBSD-Commit-ID: 0b363518ac4c2819dbaa3dfad4028633ab9cdff1
1966
1967 commit 30b2a7e4291fb9e357f80a237931ff008d686d3b
1968 Author: djm@openbsd.org <djm@openbsd.org>
1969 Date:   Fri Sep 16 06:55:37 2022 +0000
1970
1971     upstream: correct error value
1972     
1973     OpenBSD-Commit-ID: 780efcbad76281f11f14b2a5ff04eb6db3dfdad4
1974
1975 commit ac1ec9545947d9f9657259f55d04cb49d3a94c8a
1976 Author: djm@openbsd.org <djm@openbsd.org>
1977 Date:   Fri Sep 16 03:33:14 2022 +0000
1978
1979     upstream: sftp: Be a bit more clever about completions
1980     
1981     There are commands (e.g. "get" or "put") that accept two
1982     arguments, a local path and a remote path. However, the way
1983     current completion is written doesn't take this distinction into
1984     account and always completes remote or local paths.
1985     
1986     By expanding CMD struct and "cmds" array this distinction can be
1987     reflected and with small adjustment to completer code the correct
1988     path can be completed.
1989     
1990     By Michal Privoznik, ok dtucker@
1991     
1992     OpenBSD-Commit-ID: 1396d921c4eb1befd531f5c4a8ab47e7a74b610b
1993
1994 commit 590db83384f9d99fc51c84505792d26d1ef60df9
1995 Author: djm@openbsd.org <djm@openbsd.org>
1996 Date:   Fri Sep 16 03:13:34 2022 +0000
1997
1998     upstream: sftp: Don't attempt to complete arguments for
1999     
2000     non-existent commands
2001     
2002     If user entered a non-existent command (e.g. because they made a
2003     typo) there is no point in trying to complete its arguments. Skip
2004     calling complete_match() if that's the case.
2005     
2006     From Michal Privoznik
2007     
2008     OpenBSD-Commit-ID: cf39c811a68cde2aeb98fc85addea4000ef6b07a
2009
2010 commit ff9809fdfd1d9a91067bb14a77d176002edb153c
2011 Author: djm@openbsd.org <djm@openbsd.org>
2012 Date:   Wed Sep 14 00:14:37 2022 +0000
2013
2014     upstream: sk_enroll: never drop SSH_SK_USER_VERIFICATION_REQD flag
2015     
2016     from response
2017     
2018     Now that all FIDO signing calls attempt first without PIN and then
2019     fall back to trying PIN only if that attempt fails, we can remove the
2020     hack^wtrick that removed the UV flag from the keys returned during
2021     enroll.
2022     
2023     By Corinna Vinschen
2024     
2025     OpenBSD-Commit-ID: 684517608c8491503bf80cd175425f0178d91d7f
2026
2027 commit 940dc10729cb5a95b7ee82c10184e2b9621c8a1d
2028 Author: djm@openbsd.org <djm@openbsd.org>
2029 Date:   Wed Sep 14 00:13:13 2022 +0000
2030
2031     upstream: a little extra debugging
2032     
2033     OpenBSD-Commit-ID: edf1601c1d0905f6da4c713f4d9cecc7d1c0295a
2034
2035 commit 4b5f91cb959358141181b934156513fcb8a6c1e3
2036 Author: djm@openbsd.org <djm@openbsd.org>
2037 Date:   Wed Sep 14 00:02:03 2022 +0000
2038
2039     upstream: ssh-agent: attempt FIDO key signing without PIN and use
2040     
2041     the error to determine whether a PIN is required and prompt only if
2042     necessary. from Corinna Vinschen
2043     
2044     OpenBSD-Commit-ID: dd6be6a0b7148608e834ee737c3479b3270b00dd
2045
2046 commit 113523bf0bc33600b07ebb083572c8c346b6fdf4
2047 Author: jmc@openbsd.org <jmc@openbsd.org>
2048 Date:   Sun Sep 11 06:38:11 2022 +0000
2049
2050     upstream: .Li -> .Vt where appropriate; from josiah frentsos,
2051     
2052     tweaked by schwarze
2053     
2054     ok schwarze
2055     
2056     OpenBSD-Commit-ID: 565046e3ce68b46c2f440a93d67c2a92726de8ed
2057
2058 commit 86af013b56cecb5ee58ae0bd9d495cd586fc5918
2059 Author: jsg@openbsd.org <jsg@openbsd.org>
2060 Date:   Sat Sep 10 08:50:53 2022 +0000
2061
2062     upstream: fix repeated words ok miod@ jmc@
2063     
2064     OpenBSD-Commit-ID: 6765daefe26a6b648cc15cadbbe337596af709b7
2065
2066 commit 0ba39b93b326a7d5dfab776cc9b9d326161a9b16
2067 Author: djm@openbsd.org <djm@openbsd.org>
2068 Date:   Fri Sep 9 03:31:42 2022 +0000
2069
2070     upstream: notifier_complete(NULL, ...) is a noop, so no need to test
2071     
2072     that ctx!=NULL; from Corinna Vinschen
2073     
2074     OpenBSD-Commit-ID: ade2f2e9cc519d01a586800c25621d910bce384a
2075
2076 commit be197635329feb839865fdc738e34e24afd1fca8
2077 Author: Sam James <sam@gentoo.org>
2078 Date:   Thu Sep 8 02:49:29 2022 +0100
2079
2080     openbsd-compat/bsd-asprintf: add <stdio.h> include for vsnprintf
2081     
2082     Fixes the following build failure with Clang 15 on musl:
2083     ```
2084     bsd-asprintf.c:51:8: error: call to undeclared library function 'vsnprintf' with type 'int (char *, unsigned long, const char *, struct __va_list_tag *)'; ISO C99 and laterclang -O2 -pipe -fdiagnostics-color=always -frecord-gcc-switches -pipe -Wunknown-warning-option -Qunused-arguments -Wall -Wpointer-arith -Wuninitialized -Wsign-compare -Wformat-security -Wsizeof-pointer-memaccess -Wno-pointer-sign -Wno-unused-result -Wmisleading-indentation -Wbitwise-instead-of-logical -fno-strict-aliasing -mretpoline  -ftrapv -fzero-call-used-regs=all -fno-builtin-memset -fstack-protector-strong -fPIE   -I. -I.  -D_XOPEN_SOURCE=600 -D_BSD_SOURCE -D_DEFAULT_SOURCE -DSSHDIR=\"/etc/ssh\" -D_PATH_SSH_PROGRAM=\"/usr/bin/ssh\" -D_PATH_SSH_ASKPASS_DEFAULT=\"/usr/lib/misc/ssh-askpass\" -D_PATH_SFTP_SERVER=\"/usr/lib/misc/sftp-server\" -D_PATH_SSH_KEY_SIGN=\"/usr/lib/misc/ssh-keysign\" -D_PATH_SSH_PKCS11_HELPER=\"/usr/lib/misc/ssh-pkcs11-helper\" -D_PATH_SSH_SK_HELPER=\"/usr/lib/misc/ssh-sk-helper\" -D_PATH_SSH_PIDDIR=\"/run\" -D_PATH_PRIVSEP_CHROOT_DIR=\"/var/empty\" -DHAVE_CONFIG_H -c cipher-aes.c -o cipher-aes.o
2085      do not support
2086           implicit function declarations [-Wimplicit-function-declaration]
2087             ret = vsnprintf(string, INIT_SZ, fmt, ap2);
2088                   ^
2089     bsd-asprintf.c:51:8: note: include the header <stdio.h> or explicitly provide a declaration for 'vsnprintf'
2090     1 error generated.
2091     ```
2092
2093 commit 6cb6f660bb35f77a0456dd2581ddf39c29398a5e
2094 Author: Darren Tucker <dtucker@dtucker.net>
2095 Date:   Fri Sep 2 16:43:27 2022 +1000
2096
2097     Remove DEF_WEAK, it's already in defines.h.
2098
2099 commit ce39e7d8b70c4726defde5d3bc4cb7d40d131153
2100 Author: Darren Tucker <dtucker@dtucker.net>
2101 Date:   Fri Sep 2 14:28:14 2022 +1000
2102
2103     Resync arc4random with OpenBSD.
2104     
2105     This brings us up to current, including djm's random-reseeding change,
2106     as prompted by logan at cyberstorm.mu in bz#3467.  It brings the
2107     platform-specific hooks from LibreSSL Portable, simplified to match our
2108     use case.  ok djm@.
2109
2110 commit beaddde26f30e2195b8aa4f3193970e140e17305
2111 Author: Darren Tucker <dtucker@dtucker.net>
2112 Date:   Fri Sep 2 14:20:04 2022 +1000
2113
2114     Move OPENBSD ORIGINAL marker.
2115     
2116     Putting this after the copyright statement (which doesn't change)
2117     instead of before the version identifier (which does) prevents merge
2118     conflicts when resyncing changes.
2119
2120 commit c83e467ead67a8cb48ef4bec8085d6fb880a2ff4
2121 Author: Darren Tucker <dtucker@dtucker.net>
2122 Date:   Fri Sep 2 14:17:28 2022 +1000
2123
2124     Remove arc4random_uniform from arc4random.c
2125     
2126     This was previously moved into its own file (matching OpenBSD) which
2127     prematurely committed in commit 73541f2.
2128
2129 commit 5f45c2395c60865e59fa44152ff1d003a128c5bc
2130 Author: djm@openbsd.org <djm@openbsd.org>
2131 Date:   Fri Sep 2 04:20:02 2022 +0000
2132
2133     upstream: sk-usbhid: fix key_lookup() on tokens with built-in UV
2134     
2135     explicitly test whether the token performs built-in UV (e.g. biometric
2136     tokens) and enable UV in that case. From Pedro Martelletto via GHPR#388
2137     
2138     OpenBSD-Commit-ID: 007eb7e387d27cf3029ab06b88224e03eca62ccd
2139
2140 commit 03277a4aa49b80af541a3e691f264c0c0d8f9cec
2141 Author: Darren Tucker <dtucker@dtucker.net>
2142 Date:   Wed Aug 31 20:26:30 2022 +1000
2143
2144     Move sftp from valgrind-2 to 3 to rebalance.
2145
2146 commit fcf5365da69c516817321ba89c3a91df98d098df
2147 Author: djm@openbsd.org <djm@openbsd.org>
2148 Date:   Wed Aug 31 02:56:40 2022 +0000
2149
2150     upstream: whitespace
2151     
2152     OpenBSD-Commit-ID: c2bcbf93610d3d62ed206cdf9bf9ff98c6aaf232
2153
2154 commit e60136a3d7a223dd8e84ba8a6895bc3142360993
2155 Author: Damien Miller <djm@mindrot.org>
2156 Date:   Mon Aug 29 13:27:45 2022 +1000
2157
2158     additional keys
2159
2160 commit 2b02dcb505288c462d1b5dd1ac04e603d01340eb
2161 Author: Damien Miller <djm@mindrot.org>
2162 Date:   Mon Aug 29 13:23:43 2022 +1000
2163
2164     cross-sign allowed_signers with PGP key
2165     
2166     Provides continuity of trust from legacy PGP release key to
2167     the SSHSIG signing keys that we will use henceforth for git
2168     signing.
2169
2170 commit 51b345f177ae981b8755f6bdf8358b1cc5e83d67
2171 Author: Darren Tucker <dtucker@dtucker.net>
2172 Date:   Sat Aug 27 21:49:27 2022 +1000
2173
2174     Add libcrypt-devel to cygwin-release deps.
2175     
2176     Based on feedback from vinschen at redhat.com.
2177
2178 commit 9f81736cf16dd8dda1c8942f1973a5f80b8cd78c
2179 Author: Darren Tucker <dtucker@dtucker.net>
2180 Date:   Sat Aug 27 09:37:40 2022 +1000
2181
2182     Add Windows 2022 test targets.
2183
2184 commit 85e1a69243f12be8520438ad6a3cfdc0b7fcbb2d
2185 Author: Darren Tucker <dtucker@dtucker.net>
2186 Date:   Fri Aug 26 16:26:06 2022 +1000
2187
2188     Add cygwin-release test target.
2189     
2190     This also moves the cygwin package install from the workflow file to
2191     setup_ci.sh so that we can install different sets of Cygwin packages
2192     for different test configs.
2193
2194 commit 92382dbe8bf9ea1225b16858f9b9b208c15c7e8d
2195 Author: djm@openbsd.org <djm@openbsd.org>
2196 Date:   Fri Aug 26 08:16:27 2022 +0000
2197
2198     upstream: whitespace
2199     
2200     OpenBSD-Commit-ID: a5d015efbfd228dc598ffdef612d2da3a579e5d8
2201
2202 commit 70a5de0a50e84d7250eb4e4537f765599f64c4af
2203 Author: djm@openbsd.org <djm@openbsd.org>
2204 Date:   Fri Aug 26 08:12:56 2022 +0000
2205
2206     upstream: whitespace
2207     
2208     OpenBSD-Commit-ID: d297e4387935d4aef091c5e9432578c2e513f538
2209
2210 commit 3a683a19fd116ea15ebf8aa13d02646cceb302a9
2211 Author: Damien Miller <djm@mindrot.org>
2212 Date:   Fri Aug 26 14:23:55 2022 +1000
2213
2214     initial list of allowed signers
2215
2216 commit 6851f4b8c3fc1b3e1114c56106e4dc31369c8513
2217 Author: Darren Tucker <dtucker@dtucker.net>
2218 Date:   Fri Aug 19 17:22:18 2022 +1000
2219
2220     Install Cygwin packages based on OS not config.
2221
2222 commit f96480906893ed93665df8cdf9065865c51c1475
2223 Author: djm@openbsd.org <djm@openbsd.org>
2224 Date:   Fri Aug 19 06:07:47 2022 +0000
2225
2226     upstream: attemp FIDO key signing without PIN and use the error
2227     
2228     code returned to fall back only if necessary. Avoids PIN prompts for FIDO
2229     tokens that don't require them; part of GHPR#302
2230     
2231     OpenBSD-Commit-ID: 4f752aaf9f2e7c28bcaaf3d4f8fc290131bd038e
2232
2233 commit 5453333b5d28e313284cb9aae82899704103f98d
2234 Author: djm@openbsd.org <djm@openbsd.org>
2235 Date:   Fri Aug 19 05:53:28 2022 +0000
2236
2237     upstream: remove incorrect check that can break enrolling a
2238     
2239     resident key (introduced in r1.40)
2240     
2241     OpenBSD-Commit-ID: 4cab364d518470e29e624af3d3f9ffa9c92b6f01
2242
2243 commit ff89b1bed80721295555bd083b173247a9c0484e
2244 Author: dtucker@openbsd.org <dtucker@openbsd.org>
2245 Date:   Fri Aug 19 04:02:46 2022 +0000
2246
2247     upstream: Strictly enforce the maximum allowed SSH2 banner size in
2248     
2249     ssh-keyscan and prevent a one-byte buffer overflow.  Patch from Qualys, ok
2250     djm@
2251     
2252     OpenBSD-Commit-ID: 6ae664f9f4db6e8a0589425f74cd0bbf3aeef4e4
2253
2254 commit 1b470b9036639cef4f32fb303bb35ea0b711178d
2255 Author: Darren Tucker <dtucker@dtucker.net>
2256 Date:   Fri Aug 19 15:18:09 2022 +1000
2257
2258     Fix cygwin conditional steps.
2259
2260 commit fd6ee741ab16714b7035d60aca924123ba28135a
2261 Author: Darren Tucker <dtucker@dtucker.net>
2262 Date:   Fri Aug 19 15:12:57 2022 +1000
2263
2264     Add a bit more debug output.
2265
2266 commit a9305c4c739f4d91a3d3a92c0b6d4949404a36c5
2267 Author: Darren Tucker <dtucker@dtucker.net>
2268 Date:   Fri Aug 12 15:08:47 2022 +1000
2269
2270     Add Cygwin (on windows-2019) test target.
2271     
2272     In addition to installing the requisite Cygwin packages, we also need to
2273     explicitly invoke "sh" for steps that run other scripts since the runner
2274     environment doesn't understand #! paths.
2275
2276 commit 5062ad48814b06162511c4f5924a33d97b6b2566
2277 Author: djm@openbsd.org <djm@openbsd.org>
2278 Date:   Fri Aug 19 03:06:30 2022 +0000
2279
2280     upstream: double free() in error path; from Eusgor via GHPR333
2281     
2282     OpenBSD-Commit-ID: 39f35e16ba878c8d02b4d01d8826d9b321be26d4
2283
2284 commit 5a5c580b48fc6006bdfa731fc2f6d4945c2c0e4e
2285 Author: Darren Tucker <dtucker@dtucker.net>
2286 Date:   Thu Aug 18 21:36:39 2022 +1000
2287
2288     Check for perms to run agent-getpeereid test.
2289     
2290     Ubuntu 22.04 defaults to private home dirs which prevents "nobody"
2291     running ssh-add during the agent-getpeereid test.  Check for this and
2292     add the necessary permissions.
2293
2294 commit cd06a76b7ccc706e2bb4f1cc4aa9e9796a28a812
2295 Author: Damien Miller <djm@mindrot.org>
2296 Date:   Wed Aug 17 16:04:16 2022 +1000
2297
2298     on Cygwin, prefer WinHello FIDO device
2299     
2300     If no FIDO device was explictly specified, then prefer the
2301     windows://hello FIDO device. An exception to this is when
2302     probing resident FIDO keys, in which case hardware FIDO
2303     devices are preferred.
2304
2305 commit 47f72f534ac5cc2cd3027675a3df7b00a8f77575
2306 Author: djm@openbsd.org <djm@openbsd.org>
2307 Date:   Wed Aug 17 06:01:57 2022 +0000
2308
2309     upstream: add an extra flag to sk_probe() to indicate whether we're
2310     
2311     probing for a FIDO resident key or not. Unused here, but will make like
2312     easier for portable
2313     
2314     OpenBSD-Commit-ID: 432c8ff70e270378df9dbceb9bdeaa5b43b5a832
2315
2316 commit edb0bcb3c79b16031dc87a8e57aecc3c4a3414f0
2317 Author: jmc@openbsd.org <jmc@openbsd.org>
2318 Date:   Tue Aug 16 20:24:08 2022 +0000
2319
2320     upstream: use .Cm for "sign"; from josiah frentsos
2321     
2322     OpenBSD-Commit-ID: 7f80a53d54857ac6ae49ea6ad93c5bd12231d1e4
2323
2324 commit cccb011e130cbbac538b1689d10e4a067298df8b
2325 Author: Corinna Vinschen <vinschen@redhat.com>
2326 Date:   Thu Aug 11 20:19:35 2022 +0200
2327
2328     Revert "check_sk_options: add temporary WinHello workaround"
2329     
2330     Cygwin now comes with libfido2 1.11.0, so this workaround
2331     isn't required anymore.
2332     
2333     This reverts commit 242c044ab111a37aad3b0775727c36a4c5f0102c.
2334     
2335     Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
2336
2337 commit 9468cd7cf9d989dfa2ac20e2a0268ba6e93bfa5a
2338 Author: Corinna Vinschen <vinschen@redhat.com>
2339 Date:   Thu Aug 11 20:18:17 2022 +0200
2340
2341     fido_dev_is_winhello: return 0, not "false"
2342     
2343     "false" is not used anywhere in OpenSSH, so return 0 like
2344     everywhere else.
2345     
2346     Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
2347
2348 commit 730a80609472ee0451c99482d75c9c41f3ebc42d
2349 Author: djm@openbsd.org <djm@openbsd.org>
2350 Date:   Fri Aug 12 05:20:28 2022 +0000
2351
2352     upstream: sftp-server: support home-directory request
2353     
2354     Add support to the sftp-server for the home-directory extension defined
2355     in draft-ietf-secsh-filexfer-extensions-00. This overlaps a bit with the
2356     existing expand-path@openssh.com, but uses a more official protocol name,
2357     and so is a bit more likely to be implemented by non-OpenSSH clients.
2358     
2359     From Mike Frysinger, ok dtucker@
2360     
2361     OpenBSD-Commit-ID: bfc580d05cc0c817831ae7ecbac4a481c23566ab
2362
2363 commit 5e820bf79ce3ce99ef7e98b0ab642b0a0a4f396c
2364 Author: Darren Tucker <dtucker@dtucker.net>
2365 Date:   Fri Aug 12 14:56:55 2022 +1000
2366
2367     Replace deprecated ubuntu-18.04 runners with 22.04
2368
2369 commit 87b0d9c1b789d3ff958ec45df2ac912e24461bae
2370 Author: Darren Tucker <dtucker@dtucker.net>
2371 Date:   Thu Aug 11 22:48:23 2022 +1000
2372
2373     Add a timegm implementation from Heimdal via Samba.
2374     
2375     Fixes build on (at least Solaris 10).
2376
2377 commit d0c4fa58594577994921b593f10037c5282597ca
2378 Author: Darren Tucker <dtucker@dtucker.net>
2379 Date:   Thu Aug 11 14:23:58 2022 +1000
2380
2381     Rerun tests if any .github config file changes.
2382
2383 commit 113fe6c77ab43769fc61e953d07cb619fd7ea54b
2384 Author: Darren Tucker <dtucker@dtucker.net>
2385 Date:   Thu Aug 11 13:33:51 2022 +1000
2386
2387     Skip hostbased during Valgrind tests.
2388     
2389     Valgrind doesn't let ssh exec ssh-keysign (because it's setuid) so skip
2390     it during the Valgrind based tests.
2391     
2392     See https://bugs.kde.org/show_bug.cgi?id=119404 for a discussion of this
2393     (ironically there the problematic binary was ssh(1) back when it could
2394     still be setuid).
2395
2396 commit b98a42afb69d60891eb0488935990df6ee571c4d
2397 Author: djm@openbsd.org <djm@openbsd.org>
2398 Date:   Thu Aug 11 01:57:50 2022 +0000
2399
2400     upstream: add some tests for parse_absolute_time(), including cases
2401     
2402     where it is forced to the UTC timezone. bz3468 ok dtucker
2403     
2404     OpenBSD-Regress-ID: ea07ca31c2f3847a38df028ca632763ae44e8759
2405
2406 commit ec1ddb72a146fd66d18df9cd423517453a5d8044
2407 Author: djm@openbsd.org <djm@openbsd.org>
2408 Date:   Thu Aug 11 01:56:51 2022 +0000
2409
2410     upstream: allow certificate validity intervals, sshsig verification
2411     
2412     times and authorized_keys expiry-time options to accept dates in the UTC time
2413     zone in addition to the default of interpreting them in the system time zone.
2414     YYYYMMDD and YYMMDDHHMM[SS] dates/times will be interpreted as UTC if
2415     suffixed with a 'Z' character.
2416     
2417     Also allow certificate validity intervals to be specified in raw
2418     seconds-since-epoch as hex value, e.g. -V 0x1234:0x4567890. This
2419     is intended for use by regress tests and other tools that call
2420     ssh-keygen as part of a CA workflow.
2421     
2422     bz3468 ok dtucker
2423     
2424     OpenBSD-Commit-ID: 454db1cdffa9fa346aea5211223a2ce0588dfe13
2425
2426 commit 4df246ec75751da7eb925e1880498300d8bda187
2427 Author: Darren Tucker <dtucker@dtucker.net>
2428 Date:   Thu Aug 11 10:23:55 2022 +1000
2429
2430     Fix conditional for running hostbased tests.
2431
2432 commit 2580916e48721802220c61ce9e0df1297c00bc07
2433 Author: Damien Miller <djm@mindrot.org>
2434 Date:   Thu Aug 11 08:58:28 2022 +1000
2435
2436     fix SANDBOX_SECCOMP_FILTER_DEBUG
2437
2438 commit fdbd5bf507fc271ff813714fab8a72ff2c6cb5ca
2439 Author: Darren Tucker <dtucker@dtucker.net>
2440 Date:   Wed Aug 10 17:35:52 2022 +1000
2441
2442     Test hostbased auth on github runners.
2443
2444 commit 7e2f51940ba48a1c0fae1107801ea643fa83c971
2445 Author: Darren Tucker <dtucker@dtucker.net>
2446 Date:   Wed Aug 10 17:25:24 2022 +1000
2447
2448     Rename our getentropy to prevent possible loops.
2449     
2450     Since arc4random seeds from getentropy, and we use OpenSSL for that
2451     if enabled, there's the possibility that if we build on a system that
2452     does not have getentropy then run on a system that does have it, then
2453     OpenSSL could end up calling our getentropy and getting stuck in a loop.
2454     Pointed out by deraadt@, ok djm@
2455
2456 commit 7a01f61be8d0aca0e975e7417f26371495fe7674
2457 Author: Darren Tucker <dtucker@dtucker.net>
2458 Date:   Mon Aug 8 12:17:04 2022 +1000
2459
2460     Actually put HAVE_STDINT_H around the stdint.h.
2461
2462 commit 73541f29f0b50480da6c20dceb7a7191bd8ea7d3
2463 Author: Darren Tucker <dtucker@dtucker.net>
2464 Date:   Mon Aug 8 10:30:34 2022 +1000
2465
2466     Give unused param a name.
2467     
2468     Fixes builds on platforms that do have fido2 but don't have
2469     fido_dev_is_winhello.
2470
2471 commit 2a108c0ea960381bd9b14ee0d84e818a23df4482
2472 Author: djm@openbsd.org <djm@openbsd.org>
2473 Date:   Fri Aug 5 05:01:40 2022 +0000
2474
2475     upstream: don't prompt for FIDO passphrase before attempting to enroll
2476     
2477     the credential, just let the enroll operating fail and we'll attempt to get a
2478     PIN anyway. Might avoid some unneccessary PIN prompts.
2479     
2480     Part of GHPR#302 from Corinna Vinschen; ok dtucker@
2481     
2482     OpenBSD-Commit-ID: bd5342ffc353ee37d39617906867c305564d1ce2
2483
2484 commit 2886975c0ad9244e60dc5e4be34fde3aa573a4b5
2485 Author: Corinna Vinschen <vinschen@redhat.com>
2486 Date:   Fri Feb 11 14:33:41 2022 +0100
2487
2488     sk_sign: set FIDO2 uv attribute explicitely for WinHello
2489     
2490     WinHello via libfido2 performs user verification by default.
2491     However, if we stick to that, there's no way to differentiate
2492     between keys created with or without "-O  verify-required".
2493     Set FIDO2 uv attribute explicitely to FIDO_OPT_FALSE, then check
2494     if user verification has been requested.
2495     
2496     Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
2497
2498 commit 242c044ab111a37aad3b0775727c36a4c5f0102c
2499 Author: Corinna Vinschen <vinschen@redhat.com>
2500 Date:   Tue Feb 15 11:28:08 2022 +0100
2501
2502     check_sk_options: add temporary WinHello workaround
2503     
2504     Up to libfido 1.10.0, WinHello advertises "clientPin" rather
2505     than "uv" capability.  This is fixed in 1.11.0.  For the time
2506     being, workaround it here.
2507     
2508     Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
2509
2510 commit 78774c08cc4b4997382975b0f414a86e06b6780c
2511 Author: Corinna Vinschen <vinschen@redhat.com>
2512 Date:   Thu Feb 10 18:19:29 2022 +0100
2513
2514     compat code for fido_dev_is_winhello()
2515     
2516     Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
2517
2518 commit 3d3a932a019aedfb891e0779bb4990cd5008a390
2519 Author: Darren Tucker <dtucker@dtucker.net>
2520 Date:   Fri Aug 5 13:12:27 2022 +1000
2521
2522     Factor out getrnd() and rename to getentropy().
2523     
2524     Factor out the arc4random seeding into its own file and change the
2525     interface to match getentropy.  Use native getentropy if available.
2526     This will make it easier to resync OpenBSD changes to arc4random.
2527     Prompted by bz#3467, ok djm@.
2528
2529 commit 9385d277b787403be9dfcb229cf372202496d2f3
2530 Author: Darren Tucker <dtucker@dtucker.net>
2531 Date:   Thu Aug 4 18:55:48 2022 +1000
2532
2533     Include CHANNEL and FIDO2 libs in configure output
2534
2535 commit 141535b904b6fba01724444f38193a8599201f82
2536 Author: djm@openbsd.org <djm@openbsd.org>
2537 Date:   Mon Aug 1 11:09:26 2022 +0000
2538
2539     upstream: avoid double-free in error path introduced in r1.70; report
2540     
2541     and fix based on GHPR#332 by v-rzh ok dtucker@
2542     
2543     OpenBSD-Commit-ID: 3d21aa127b1f37cfc5bdc21461db369a663a951f
2544
2545 commit dba7099ffcba3ca07b3946f017ba6a4c3158d9b1
2546 Author: Darren Tucker <dtucker@dtucker.net>
2547 Date:   Wed Jul 27 18:40:12 2022 +1000
2548
2549     Remove deprecated MacOS 10.15 runners.
2550
2551 commit 722a56439aa5972c830e4a9a724cf52aff4a950a
2552 Author: Darren Tucker <dtucker@dtucker.net>
2553 Date:   Wed Jul 27 18:31:14 2022 +1000
2554
2555     Move stale-configure check as early as possible.
2556     
2557     We added a check in Makefile to catch the case where configure needs to
2558     be rebuilt, however this did not happen until a build was attempted in
2559     which case all of the work done by configure was wasted.  Move this check
2560      to the start of configure to catch it as early as possible.  ok djm@
2561
2562 commit 099d6b56288b421ba38531d26dc1bd6bb685e311
2563 Author: Darren Tucker <dtucker@dtucker.net>
2564 Date:   Fri Jul 22 10:47:19 2022 +1000
2565
2566     Move libcrypto into CHANNELLIBS.
2567     
2568     This will result in sftp, sftp-server and scp no longer being linked
2569     against libcrypto.  ok djm@
2570
2571 commit 1bdf86725b77733bb5f17c54888b88a10b2f6538
2572 Author: Darren Tucker <dtucker@dtucker.net>
2573 Date:   Fri Jul 22 10:45:47 2022 +1000
2574
2575     Remove seed_rng calls from scp, sftp, sftp-server.
2576     
2577     These binaries don't use OpenSSL's random functions.  The next step
2578     will be to stop linking them against libcrypto.  ok djm@
2579
2580 commit d73f77b8cb9b422f1ac4facee7890aa10ff2bc21
2581 Author: Darren Tucker <dtucker@dtucker.net>
2582 Date:   Fri Jul 22 09:51:51 2022 +1000
2583
2584     Group libcrypto and PRNGD checks together.
2585     
2586     They're related more than the libcrypt or libiaf checks which are
2587     currently between them.  ok djm@
2588
2589 commit f117e372b3f42f2fbdb0a578d063b2609ab58e1f
2590 Author: Darren Tucker <dtucker@dtucker.net>
2591 Date:   Fri Jul 22 09:24:45 2022 +1000
2592
2593     Do not link scp, sftp and sftp-server w/ zlib.
2594     
2595     Some of our binaries (eg sftp, sftp-server, scp) do not interact with
2596     the channels code and thus do use libraries such as zlib and libcrypto
2597     although they are linked with them.  This adds a CHANNELLIBS and starts
2598     by moving zlib into it, which means the aformentioned binaries are no
2599     longer linked against zlib.  ok djm@
2600
2601 commit 800c2483e68db38bd1566ff69677124be974aceb
2602 Author: Darren Tucker <dtucker@dtucker.net>
2603 Date:   Mon Jul 25 21:49:04 2022 +1000
2604
2605     Remove workarounds for OpenSSL missing AES-CTR.
2606     
2607     We have some compatibility hacks that were added to support OpenSSL
2608     versions that do not support AES CTR mode.  Since that time, however,
2609     the minimum OpenSSL version that we support has moved to 1.0.1 which
2610     *does* have CTR, so this is no longer needed.  ok djm@
2611
2612 commit b7c56b65c12f51fe0dbae798d19c8f58224a5d95
2613 Author: Darren Tucker <dtucker@dtucker.net>
2614 Date:   Mon Jul 25 21:43:00 2022 +1000
2615
2616     Remove workarounds for OpenSSL missing AES-GCM.
2617     
2618     We have some compatibility hacks that were added to support OpenSSL
2619     versions that do not support AES GCM mode.  Since that time, however,
2620     the minimum OpenSSL version that we support has moved to 1.0.1 which
2621     *does* have GCM, so this is no longer needed.  ok djm@
2622
2623 commit 5a4a9f7a968fbf92cc1eac519c65638e79ae9f1f
2624 Author: dtucker@openbsd.org <dtucker@openbsd.org>
2625 Date:   Mon Jul 25 07:12:45 2022 +0000
2626
2627     upstream: Restore missing "!" in TEST_SSH_ELAPSED_TIMES test.
2628     
2629     OpenBSD-Regress-ID: 38783f9676ec348c5a792caecee9a16e354b37b0
2630
2631 commit 0ff886be132299386cc29d87c2aa16ff68a1aa08
2632 Author: dtucker@openbsd.org <dtucker@openbsd.org>
2633 Date:   Sun Jul 24 23:29:10 2022 +0000
2634
2635     upstream: Test TEST_SSH_ELAPSED_TIMES for empty string not
2636     
2637     executable.  No-op on most platforms but should prevent warnings in -portable
2638     on systems that don't have 'date %s'.
2639     
2640     OpenBSD-Regress-ID: e39d79867b8065e33d0c5926fa1a31f85659d2a4
2641
2642 commit f69319ad8ad1dd50f90bbcf5912e11cc8ed3e037
2643 Author: Darren Tucker <dtucker@dtucker.net>
2644 Date:   Sat Jul 23 14:38:22 2022 +1000
2645
2646     Convert "have_prog" function into "which".
2647     
2648     "which" and its behaviour is not standardized, so convert the existing
2649     have_prog function into "which" so we can rely on it being available
2650     and what its semantics are.  Add a have_prog wrapper that maintains the
2651     existing behaviour.
2652
2653 commit ea7ecc2c3ae39fdf5c6ad97b7bc0b47a98847f43
2654 Author: Darren Tucker <dtucker@dtucker.net>
2655 Date:   Sat Jul 23 14:36:38 2022 +1000
2656
2657     Skip scp3 test if there's no scp on remote path.
2658     
2659     scp -3 ends up using the scp that's in the remote path and will fail if
2660     one is not available.  Based on a patch from rapier at psc.edu.
2661
2662 commit c46f6fed419167c1671e4227459e108036c760f8
2663 Author: Damien Miller <djm@mindrot.org>
2664 Date:   Wed Jul 20 13:39:14 2022 +1000
2665
2666     crank SSH_SK_VERSION_MAJOR in sk-dummy.so
2667
2668 commit f208e3b9ffb5ee76cf9c95df7ff967adc7f51c7d
2669 Author: djm@openbsd.org <djm@openbsd.org>
2670 Date:   Wed Jul 20 03:33:22 2022 +0000
2671
2672     upstream: ssh-keygen: fix touch prompt, pin retries;
2673     
2674     part of GHPR329 from Pedro Martelletto
2675     
2676     OpenBSD-Commit-ID: 75d1005bd2ef8f29fa834c90d2684e73556fffe8
2677
2678 commit 8638a2ce7e90c8a51d9af3143404282126c524f8
2679 Author: djm@openbsd.org <djm@openbsd.org>
2680 Date:   Wed Jul 20 03:31:42 2022 +0000
2681
2682     upstream: sk-usbhid: preserve error code returned by key_lookup()
2683     
2684     it conveys useful information, such as the supplied pin being wrong.
2685     
2686     Part of GHPR329 from Pedro Martelletto
2687     
2688     OpenBSD-Commit-ID: c0647eb9290f793add363d81378439b273756c1b
2689
2690 commit 9ab929ca2d820520327b41929372bcb9e261534c
2691 Author: djm@openbsd.org <djm@openbsd.org>
2692 Date:   Wed Jul 20 03:29:14 2022 +0000
2693
2694     upstream: when enrolling a resident key on a security token, check
2695     
2696     if a credential with matching application and user ID strings already exists.
2697     if so, prompt the user for confirmation before overwriting the credential.
2698     
2699     patch from Pedro Martelletto via GHPR329
2700     
2701     NB. cranks SSH_SK_VERSION_MAJOR, so any third-party FIDO middleware
2702     implementations will need to adjust
2703     
2704     OpenBSD-Commit-ID: e45e9f1bf2b2f32d9850669e7a8dbd64acc5fca4
2705
2706 commit 5bcfc788b38d5b64e4c347bdc04bd9a01bbc36da
2707 Author: djm@openbsd.org <djm@openbsd.org>
2708 Date:   Wed Jul 20 03:13:04 2022 +0000
2709
2710     upstream: pull passphrase reading and confirmation into a separate
2711     
2712     function so it can be used for FIDO2 PINs; no functional change
2713     
2714     OpenBSD-Commit-ID: bf34f76b8283cc1d3f54633e0d4f13613d87bb2f
2715
2716 commit eb679e2959bdb15454eb94751930eb4c9110da94
2717 Author: Darren Tucker <dtucker@dtucker.net>
2718 Date:   Fri Jul 15 21:31:48 2022 +1000
2719
2720     Move vmshutdown to first step.
2721     
2722     If a previous run on a physical runner has failed to clean up, the next
2723     run will fail because it'll try to check out the code to a broken
2724     directory mount.  Make cleanup the first step.
2725
2726 commit 46b91b70ff3cb9c147e2875ef5dc609fd64c0c96
2727 Author: Darren Tucker <dtucker@dtucker.net>
2728 Date:   Fri Jul 15 20:25:27 2022 +1000
2729
2730     Rename bbone test target to ARM.
2731
2732 commit 751d22cdeffed9fe921db78eedc32a29f9e80510
2733 Author: Darren Tucker <dtucker@dtucker.net>
2734 Date:   Fri Jul 15 13:37:29 2022 +1000
2735
2736     Add AUDIT_ARCH_PPC to supported seccomp arches.
2737     
2738     Patch from dries.deschout at dodeco.eu.
2739
2740 commit a061792a6e8d235fc40a9b5d4c22a1762bb75a7b
2741 Author: Darren Tucker <dtucker@dtucker.net>
2742 Date:   Thu Jul 14 19:20:24 2022 +1000
2743
2744     Remove unintended changes.
2745     
2746     I inadvertently included a couple of local changes with the OpenSSL
2747     3.0.4 change.  Revert, anything that should be there will be committed
2748     separately.
2749
2750 commit 527cb43fa1b4e55df661feabbac51b8e608b6519
2751 Author: Darren Tucker <dtucker@dtucker.net>
2752 Date:   Thu Jul 14 11:22:08 2022 +1000
2753
2754     Return ERANGE from getcwd() if buffer size is 1.
2755     
2756     If getcwd() is supplied a buffer size of exactly 1 and a path of "/", it
2757     could result in a nul byte being written out of array bounds.  POSIX says
2758     it should return ERANGE if the path will not fit in the available buffer
2759     (with terminating nul). 1 byte cannot fit any possible path with its nul,
2760     so immediately return ERANGE in that case.
2761     
2762     OpenSSH never uses getcwd() with this buffer size, and all current
2763     (and even quite old) platforms that we are currently known to work
2764     on have a native getcwd() so this code is not used on those anyway.
2765     Reported by Qualys, ok djm@
2766
2767 commit 36857fefd8849c4b0e877cfd9d1eb22f79b76650
2768 Author: Darren Tucker <dtucker@dtucker.net>
2769 Date:   Thu Jul 14 10:02:35 2022 +1000
2770
2771     Split README.platform into its own line.
2772     
2773     README.platform has general platform-specific information, having it
2774     following text about FIDO2 on the same line could imply that it only
2775     has information about FIDO2.
2776
2777 commit 00a496c6c14f2d41f2a9365714d494dd5f3aac9f
2778 Author: Darren Tucker <dtucker@dtucker.net>
2779 Date:   Thu Jul 14 09:56:01 2022 +1000
2780
2781     Clarify README.md text.
2782     
2783     Clarify the text about the implications of building without OpenSSL, and
2784     prefix the "configure --help" example command with a "./" so it's likely
2785     to work as-is in more shells.  From bz#3461.
2786
2787 commit f40b52f21fbc52eb513279168a49d3285c65256c
2788 Author: Darren Tucker <dtucker@dtucker.net>
2789 Date:   Tue Jul 12 19:48:44 2022 +1000
2790
2791     Remove special casing of crypt().
2792     
2793     Configure goes to some lengths to pick crypt() from either libcrypt
2794     or OpenSSL's libcrypto because they can more or less featureful (eg
2795     supporting md5-style passwords).
2796     
2797     OpenSSL removed its crypt() interface in 2002:
2798     https://github.com/openssl/openssl/commit/69deec58 so these hijinks
2799     should no longer be necessary.  This also only links sshd with libcrypt
2800     which is the only thing that needs it.  ok djm@
2801
2802 commit 76f4e48631d7b09fb243b47d7b393d100d3741b7
2803 Author: Darren Tucker <dtucker@dtucker.net>
2804 Date:   Wed Jul 13 13:17:47 2022 +1000
2805
2806     Only refuse to use OpenSSL 3.0.4 on x86_64.
2807     
2808     The potential RCE only impacts x86_64, so only refuse to use it if we're
2809     targetting a potentially impacted architecture.  ok djm@
2810
2811 commit e75bbc1d88491fa85e61b2cc8783d4bbd00cd131
2812 Author: Darren Tucker <dtucker@dtucker.net>
2813 Date:   Tue Jul 12 14:37:15 2022 +1000
2814
2815     Capture stderr output from configure.
2816
2817 commit d9eaea4bea6271bcee6a2b9428f1271faf2d033b
2818 Author: Darren Tucker <dtucker@dtucker.net>
2819 Date:   Tue Jul 12 12:54:49 2022 +1000
2820
2821     Refuse to use OpenSSL 3.0.4 due to potential RCE.
2822     
2823     OpenSSL has a potential RCE in its RSA implementation (CVE-2022-2274)
2824     so refuse to use that specific version.
2825
2826 commit fb2f3a61bf3d28fff285524535f7ffcd177c9235
2827 Author: Darren Tucker <dtucker@dtucker.net>
2828 Date:   Tue Jul 12 12:54:24 2022 +1000
2829
2830     Move unset to before we set anything.
2831
2832 commit c483a5c0fb8e8b8915fad85c5f6113386a4341ca
2833 Author: Darren Tucker <dtucker@dtucker.net>
2834 Date:   Wed Jul 6 11:52:54 2022 +1000
2835
2836     Test against openssl-3.0.5.
2837
2838 commit 669a56bcfe73f8b985f2bba476ba834d55253acf
2839 Author: Darren Tucker <dtucker@dtucker.net>
2840 Date:   Tue Jul 5 18:35:53 2022 +1000
2841
2842     Update sanitizer test targets:
2843     
2844      - remove clang-sanitize-memory for now.  It takes so long that the test
2845        times out.
2846      - add gcc sanitize-address and sanitize-undefined test targets.
2847
2848 commit 48cc68b69118b3ce8d07fd4f82e00d58667d5379
2849 Author: Darren Tucker <dtucker@dtucker.net>
2850 Date:   Tue Jul 5 16:23:28 2022 +1000
2851
2852     Add GCC address sanitizer build/test.
2853
2854 commit 55c60bdd39b82457e92efa77da8d16cfa6a49391
2855 Author: Darren Tucker <dtucker@dtucker.net>
2856 Date:   Tue Jul 5 12:02:33 2022 +1000
2857
2858     Move sanitizer logs into regress for collection.
2859
2860 commit 35ef2b3b6ef198f8574904a45780487ec2f17858
2861 Author: dtucker@openbsd.org <dtucker@openbsd.org>
2862 Date:   Mon Jul 4 09:10:31 2022 +0000
2863
2864     upstream: Add TEST_REGRESS_CACHE_DIR.
2865     
2866     If set, it is used to cache regress test names that have succeeded and
2867     skip those on a re-run.
2868     
2869     OpenBSD-Regress-ID: a7570dd29a58df59f2cca647c3c2ec989b49f247
2870
2871 commit 7394ed80c4de8b228a43c8956cf2fa1b9c6b2622
2872 Author: Darren Tucker <dtucker@dtucker.net>
2873 Date:   Sun Jul 3 21:46:44 2022 +1000
2874
2875     Add clang sanitizer tests.
2876
2877 commit bfce0e66b6017a9bfab450b9dc7d4b16f90de817
2878 Author: Darren Tucker <dtucker@dtucker.net>
2879 Date:   Sun Jul 3 18:14:09 2022 +1000
2880
2881     Skip all rlimit tests when sandboxing disabled.
2882     
2883     The rlimit tests can hang when being run with some compiler sanitizers
2884     so skip all of them if sandbox=no.
2885
2886 commit 6208d611520f9ea94d5369f9da404b709930029d
2887 Author: Darren Tucker <dtucker@dtucker.net>
2888 Date:   Sun Jul 3 17:54:49 2022 +1000
2889
2890     Move checks for pollfd.fd and nfds_t.
2891     
2892     Move the checks for struct pollfd.fd and nfds_t to before the sandboxing
2893     checks.  This groups all the sandbox checks together so we can skip them
2894     all when sandboxing is disabled.
2895
2896 commit 322964f8f2e9c321e77ebae1e4d2cd0ccc5c5a0b
2897 Author: dtucker@openbsd.org <dtucker@openbsd.org>
2898 Date:   Fri Jul 1 05:08:23 2022 +0000
2899
2900     upstream: Remove leftover line.
2901     
2902     Remove extra line leftover from merge conflict. ok djm@
2903     
2904     OpenBSD-Commit-ID: 460e2290875d7ae64971a7e669c244b1d1c0ae2e
2905
2906 commit 7ec81daad0e03a64e8d91c5590960c48c1a899a3
2907 Author: djm@openbsd.org <djm@openbsd.org>
2908 Date:   Fri Jul 1 04:45:50 2022 +0000
2909
2910     upstream: use consistent field names (s/char/byte)
2911     
2912     in format description
2913     
2914     OpenBSD-Commit-ID: 3de33572733ee7fcfd7db33d37db23d2280254f0
2915
2916 commit 32e82a392d9f263485effdd606ff5862d289a4a0
2917 Author: Darren Tucker <dtucker@dtucker.net>
2918 Date:   Fri Jul 1 13:55:19 2022 +1000
2919
2920     Skip select+rlimit check if sandboxing is disabled
2921     
2922     It's not needed in that case, and the test can fail when being built
2923     with some compiler memory sanitizer flags.  bz#3441
2924
2925 commit 4be7184ebe2a2ccef175983517a35ee06766e1b4
2926 Author: djm@openbsd.org <djm@openbsd.org>
2927 Date:   Fri Jul 1 03:52:57 2022 +0000
2928
2929     upstream: bump up loglevel from debug to info when unable to open
2930     
2931     authorized keys/principals file for errno != ENOENT; bz2042 ok dtucker
2932     
2933     OpenBSD-Commit-ID: e79aa550d91ade6a80f081bda689da24c086d66b
2934
2935 commit 6c31ba10e97b6953c4f325f526f3e846dfea647a
2936 Author: dtucker@openbsd.org <dtucker@openbsd.org>
2937 Date:   Fri Jul 1 03:39:44 2022 +0000
2938
2939     upstream: Don't leak the strings allocated by order_hostkeyalgs()
2940     
2941     and list_hostkey_types() that are passed to compat_pkalg_proposal(). Part of
2942     github PR#324 from ZoltanFridrich, ok djm@
2943     
2944     This is a roll-forward of the previous rollback now that the required
2945     changes in compat.c have been done.
2946     
2947     OpenBSD-Commit-ID: c7cd93730b3b9f53cdad3ae32462922834ef73eb
2948
2949 commit 486c4dc3b83b4b67d663fb0fa62bc24138ec3946
2950 Author: dtucker@openbsd.org <dtucker@openbsd.org>
2951 Date:   Fri Jul 1 03:35:45 2022 +0000
2952
2953     upstream: Always return allocated strings from the kex filtering so
2954     
2955     that we can free them later.  Fix one leak in compat_kex_proposal.  Based on
2956     github PR#324 from ZoltanFridrich with some simplications by me. ok djm@
2957     
2958     OpenBSD-Commit-ID: 9171616da3307612d0ede086fd511142f91246e4
2959
2960 commit 96faa0de6c673a2ce84736eba37fc9fb723d9e5c
2961 Author: djm@openbsd.org <djm@openbsd.org>
2962 Date:   Fri Jul 1 00:36:30 2022 +0000
2963
2964     upstream: ignore SIGPIPE earlier in main(), specifically before
2965     
2966     muxclient() which performs operations that could cause one; Reported by Noam
2967     Lewis via bz3454, ok dtucker@
2968     
2969     OpenBSD-Commit-ID: 63d8e13276869eebac6d7a05d5a96307f9026e47
2970
2971 commit 33efac790f6b09d54894ba6c3e17dfb08b6fc7e1
2972 Author: jmc@openbsd.org <jmc@openbsd.org>
2973 Date:   Tue Jun 28 06:09:14 2022 +0000
2974
2975     upstream: reflect the update to -D arg name in usage();
2976     
2977     OpenBSD-Commit-ID: abdcde4f92b1ef094ae44210ee99d3b0155aad9c
2978
2979 commit c71a1442d02f0a3586109dfe2cb366de36dee08e
2980 Author: Darren Tucker <dtucker@dtucker.net>
2981 Date:   Wed Jun 29 18:28:47 2022 +1000
2982
2983     Update OpenSSL tests to the most recent releases.
2984
2985 commit 2a822f29300b2de7335fbff65f0b187a0c582304
2986 Author: djm@openbsd.org <djm@openbsd.org>
2987 Date:   Mon Jun 27 21:41:55 2022 +0000
2988
2989     upstream: allow arguments to sftp -D option, e.g. sftp -D
2990     
2991     "/usr/libexec/sftp-server -el debug3"
2992     
2993     ok markus@
2994     
2995     OpenBSD-Commit-ID: 5a002b9f3a7aef2731fc0ffa9c921cf15f38ecce
2996
2997 commit 2369a2810187e08f2af5d58b343956062fb96ee8
2998 Author: dtucker@openbsd.org <dtucker@openbsd.org>
2999 Date:   Fri Jun 24 10:45:06 2022 +0000
3000
3001     upstream: Roll back previous KEX changes as they aren't safe until
3002     
3003     compat_pkalg_proposal and friends always allocate their returned strings.
3004     Reported by Qualys.
3005     
3006     OpenBSD-Commit-ID: 1c7a88a0d5033f42f88ab9bec58ef1cf72c81ad0
3007
3008 commit 646686136c34c2dbf6a01296dfaa9ebee029386d
3009 Author: dtucker@openbsd.org <dtucker@openbsd.org>
3010 Date:   Fri Jun 24 04:37:00 2022 +0000
3011
3012     upstream: Don't leak the strings allocated by order_hostkeyalgs()
3013     
3014     and list_hostkey_types() that are passed to compat_pkalg_proposal(). Part of
3015     github PR#324 from ZoltanFridrich, ok djm@
3016     
3017     OpenBSD-Commit-ID: b2f6e5f60f2bba293b831654328a8a0035ef4a1b
3018
3019 commit 193c6d8d905dde836b628fc07a7b9cf2d347e2a3
3020 Author: Darren Tucker <dtucker@dtucker.net>
3021 Date:   Sat Jun 25 12:16:15 2022 +1000
3022
3023     Zero out LIBFIDO2 when SK support not usable.
3024     
3025     Prevents us from trying to link them into ssh-sk-helper and failing to
3026     build.
3027
3028 commit 40f5d849d25c60b4ae21261e78484d435f5cfd51
3029 Author: Darren Tucker <dtucker@dtucker.net>
3030 Date:   Sat Jun 25 11:47:28 2022 +1000
3031
3032     Disable SK support if FIDO libs not found.
3033
3034 commit 5fd922ade1b25880fe8a8249f5c0385e413108f9
3035 Author: Damien Miller <djm@mindrot.org>
3036 Date:   Fri Jun 24 14:43:54 2022 +1000
3037
3038     fix broken case statement in previous
3039
3040 commit f51423bdaf0008d46b6af082bcfd7a22a87375f0
3041 Author: Damien Miller <djm@mindrot.org>
3042 Date:   Fri Jun 24 14:40:42 2022 +1000
3043
3044     request 1.1x API compatibility for OpenSSL >=3.x
3045     
3046     idea/patch from Pedro Martelletto via GHPR#322; ok dtucker@
3047
3048 commit 455cee8d6c2e4c48c5af9faead3599c49948411e
3049 Author: djm@openbsd.org <djm@openbsd.org>
3050 Date:   Fri Jun 24 04:27:14 2022 +0000
3051
3052     upstream: make it clear that RekeyLimit applies to both transmitted
3053     
3054     and received data. GHPR#328 from Jan Pazdziora
3055     
3056     OpenBSD-Commit-ID: d180a905fec9ff418a75c07bb96ea41c9308c3f9
3057
3058 commit 17904f05802988d0bb9ed3c8d1d37411e8f459c3
3059 Author: tobhe@openbsd.org <tobhe@openbsd.org>
3060 Date:   Tue Jun 21 14:52:13 2022 +0000
3061
3062     upstream: Make sure not to fclose() the same fd twice in case of an
3063     
3064     error.
3065     
3066     ok dtucker@
3067     
3068     OpenBSD-Commit-ID: e384c4e05d5521e7866b3d53ca59acd2a86eef99
3069
3070 commit f29d6cf98c25bf044079032d22c1a57c63ab9d8e
3071 Author: dtucker@openbsd.org <dtucker@openbsd.org>
3072 Date:   Sat Jun 18 02:17:16 2022 +0000
3073
3074     upstream: Don't attempt to fprintf a null identity comment. From
3075     
3076     Martin Vahlensieck via tech@.
3077     
3078     OpenBSD-Commit-ID: 4c54d20a8e8e4e9912c38a7b4ef5bfc5ca2e05c2
3079
3080 commit ad1762173bb38716a106e8979806149fd0f2753e
3081 Author: dtucker@openbsd.org <dtucker@openbsd.org>
3082 Date:   Fri Jun 17 01:00:03 2022 +0000
3083
3084     upstream: Log an error if pipe() fails while accepting a
3085     
3086     connection.  bz#3447, from vincent-openssh at vinc17 net, ok djm@
3087     
3088     OpenBSD-Commit-ID: 9d59f19872b94900a5c79da2d57850241ac5df94
3089
3090 commit 9c59e7486cc8691401228b43b96a3edbb06e0412
3091 Author: Damien Miller <djm@mindrot.org>
3092 Date:   Fri Jun 24 14:20:43 2022 +1000
3093
3094     automatically enable built-in FIDO support
3095     
3096     If libfido2 is found and usable, then enable the built-in
3097     security key support unless --without-security-key-builtin
3098     was requested.
3099     
3100     ok dtucker@
3101
3102 commit 7d25b37fb2a5ff4dadabcbdac6087a97479434f5
3103 Author: Damien Miller <djm@mindrot.org>
3104 Date:   Fri Jun 24 13:46:39 2022 +1000
3105
3106     fix possible NULL deref when built without FIDO
3107     
3108     Analysis/fix from kircher in bz3443; ok dtucker@
3109
3110 commit f5ba85daddfc2da6a8dab6038269e02c0695be44
3111 Author: djm@openbsd.org <djm@openbsd.org>
3112 Date:   Wed Jun 15 16:08:25 2022 +0000
3113
3114     upstream: make sure that UseDNS hostname lookup happens in the monitor
3115     
3116     and not in the pledge(2)'d unprivileged process; fixes regression caused by
3117     recent refactoring spotted by henning@
3118     
3119     OpenBSD-Commit-ID: a089870b95101cd8881a2dff65b2f1627d13e88d
3120
3121 commit acb2059febaddd71ee06c2ebf63dcf211d9ab9f2
3122 Author: djm@openbsd.org <djm@openbsd.org>
3123 Date:   Fri Jun 3 04:47:21 2022 +0000
3124
3125     upstream: move auth_openprincipals() and auth_openkeyfile() over to
3126     
3127     auth2-pubkeyfile.c too; they make more sense there.
3128     
3129     OpenBSD-Commit-ID: 9970d99f900e1117fdaab13e9e910a621b7c60ee
3130
3131 commit 3d9b0845f34510111cc693bb99a667662ca50cd8
3132 Author: djm@openbsd.org <djm@openbsd.org>
3133 Date:   Fri Jun 3 04:31:54 2022 +0000
3134
3135     upstream: test setenv in both client and server, test first-match-wins
3136     
3137     too
3138     
3139     OpenBSD-Regress-ID: 4c8804f9db38a02db480b9923317457b377fe34b
3140
3141 commit 22e1a3a71ad6d108ff0c5f07f93c3fcbd30f8b40
3142 Author: djm@openbsd.org <djm@openbsd.org>
3143 Date:   Fri Jun 3 04:30:46 2022 +0000
3144
3145     upstream: Make SetEnv directives first-match-wins in both
3146     
3147     sshd_config and sshd_config; previously if the same name was reused then the
3148     last would win (which is the opposite to how the config is supposed to work).
3149     
3150     While there, make the ssh_config parsing more like sshd_config.
3151     
3152     bz3438, ok dtucker
3153     
3154     OpenBSD-Commit-ID: 797909c1e0262c0d00e09280459d7ab00f18273b
3155
3156 commit 38ed6c57e9e592c08e020fa6e82b45b4e1040970
3157 Author: dtucker@openbsd.org <dtucker@openbsd.org>
3158 Date:   Fri Jun 3 04:00:15 2022 +0000
3159
3160     upstream: Add missing *-sk types to ssh-keyscan manpage. From
3161     
3162     skazi0 via github PR#294.
3163     
3164     OpenBSD-Commit-ID: fda2c869cdb871f3c90a89fb3f985370bb5d25c0
3165
3166 commit ea97ec98c41ec2b755dfab459347db674ff9a5de
3167 Author: dtucker@openbsd.org <dtucker@openbsd.org>
3168 Date:   Fri Jun 3 03:21:09 2022 +0000
3169
3170     upstream: Add period at end of "not known by any other names"
3171     
3172     message.  github PR#320 from jschauma, ok djm@
3173     
3174     OpenBSD-Commit-ID: bd60809803c4bfd3ebb7c5c4d918b10e275266f2
3175
3176 commit 88e376fcd67478ad1660d94bc73ab348ac9f4527
3177 Author: dtucker@openbsd.org <dtucker@openbsd.org>
3178 Date:   Fri Jun 3 03:17:42 2022 +0000
3179
3180     upstream: ssh-keygen -A: do not generate DSA keys by default.
3181     
3182     Based on github PR#303 from jsegitz with man page text from jmc@, ok markus@
3183     djm@
3184     
3185     OpenBSD-Commit-ID: 5c4c57bdd7063ff03381cfb6696659dd3f9f5b9f
3186
3187 commit 6b3fb624675082a1e5aa615d1b8479873d8b5731
3188 Author: naddy@openbsd.org <naddy@openbsd.org>
3189 Date:   Tue May 31 14:05:12 2022 +0000
3190
3191     upstream: ssh-keygen: implement "verify-required" certificate option.
3192     
3193     This was already documented when support for user-verified FIDO
3194     keys was added, but the ssh-keygen(1) code was missing.
3195     
3196     ok djm@
3197     
3198     OpenBSD-Commit-ID: f660f973391b593fea4b7b25913c9a15c3eb8a06
3199
3200 commit b7f86ffc301be105bba9a3e0618b6fab3ae379bd
3201 Author: jmc@openbsd.org <jmc@openbsd.org>
3202 Date:   Sat May 28 05:57:56 2022 +0000
3203
3204     upstream: keywords ref ssh_config.5;
3205     
3206     from caspar schutijser
3207     
3208     OpenBSD-Commit-ID: f146a19d7d5c9374c3b9c520da43b2732d7d1a4e
3209
3210 commit dc7bc52372f2744fa39191577be5306ee57aacd4
3211 Author: Damien Miller <djm@mindrot.org>
3212 Date:   Mon May 30 09:29:09 2022 +1000
3213
3214     fix some bugs in the fuzzer
3215
3216 commit 1781f507c113667613351c19898efaf1e311a865
3217 Author: Darren Tucker <dtucker@dtucker.net>
3218 Date:   Fri May 27 18:19:48 2022 +1000
3219
3220     Test against OpenSSL 1.1.1o and 3.0.3.
3221
3222 commit c53906e0c59e569691b4095d3e8db79cf78fa058
3223 Author: Darren Tucker <dtucker@dtucker.net>
3224 Date:   Fri May 27 18:18:31 2022 +1000
3225
3226     Test against LibreSSL 3.5.3.
3227
3228 commit 9b3ad432ad2f19319bcc089370e356c6315d682f
3229 Author: Damien Miller <djm@mindrot.org>
3230 Date:   Fri May 27 17:00:43 2022 +1000
3231
3232     fuzzer for authorized_keys parsing
3233     
3234     mostly redundant to authopt_fuzz, but it's sensitive code so IMO it
3235     makes sense to test this layer too
3236
3237 commit c83d8c4d6f3ccceef84d46de107f6b71cda06359
3238 Author: djm@openbsd.org <djm@openbsd.org>
3239 Date:   Fri May 27 05:02:46 2022 +0000
3240
3241     upstream: split the low-level file handling functions out from
3242     
3243     auth2-pubkey.c
3244     
3245     Put them in a new auth2-pubkeyfile.c to make it easier to refer to them
3246     (e.g. in unit/fuzz tests) without having to refer to everything else
3247     pubkey auth brings in.
3248     
3249     ok dtucker@
3250     
3251     OpenBSD-Commit-ID: 3fdca2c61ad97dc1b8d4a7346816f83dc4ce2217
3252
3253 commit 3b0b142d2a0767d8cd838e2f3aefde8a0aaa41e1
3254 Author: djm@openbsd.org <djm@openbsd.org>
3255 Date:   Fri May 27 05:01:25 2022 +0000
3256
3257     upstream: refactor authorized_keys/principals handling
3258     
3259     remove "struct ssh *" from arguments - this was only used to pass the
3260     remote host/address. These can be passed in instead and the resulting
3261     code is less tightly coupled to ssh_api.[ch]
3262     
3263     ok dtucker@
3264     
3265     OpenBSD-Commit-ID: 9d4373d013edc4cc4b5c21a599e1837ac31dda0d
3266
3267 commit 2c334fd36f80cb91cc42e4b978b10aa35e0df236
3268 Author: dtucker@openbsd.org <dtucker@openbsd.org>
3269 Date:   Fri May 27 04:29:40 2022 +0000
3270
3271     upstream: f sshpkt functions fail, then password is not cleared
3272     
3273     with freezero. Unconditionally call freezero to guarantee that password is
3274     removed from RAM.
3275     
3276     From tobias@ and c3h2_ctf via github PR#286, ok djm@
3277     
3278     OpenBSD-Commit-ID: 6b093619c9515328e25b0f8093779c52402c89cd
3279
3280 commit 5d3a77f4c5ae774c6796387266503f52c7cdc7c2
3281 Author: dtucker@openbsd.org <dtucker@openbsd.org>
3282 Date:   Fri May 27 04:27:49 2022 +0000
3283
3284     upstream: Avoid kill with -1 argument. The out_ctx label can be
3285     
3286     reached before fork has been called. If this happens, then kill -1 would be
3287     called, sending SIGTERM to all processes reachable by the current process.
3288     
3289     From tobias@ and c3h2_ctf via github PR#286, ok djm@
3290     
3291     OpenBSD-Commit-ID: 6277af1207d81202f5daffdccfeeaed4c763b1a8
3292
3293 commit 533b31cd08e4b97f455466f91c36915e2924c15a
3294 Author: dtucker@openbsd.org <dtucker@openbsd.org>
3295 Date:   Fri May 27 04:13:24 2022 +0000
3296
3297     upstream: Note that ProxyJump also accepts the same tokens as
3298     
3299     ProxyCommand. From pallxk via github PR#305.
3300     
3301     OpenBSD-Commit-ID: 7115ac351b129205f1f1ffa6bbfd62abd76be7c5
3302
3303 commit 9d8c80f8a304babe61ca28f2e3fb5eb6dc9c39bf
3304 Author: djm@openbsd.org <djm@openbsd.org>
3305 Date:   Wed May 25 06:03:44 2022 +0000
3306
3307     upstream: revert previous; it was broken (spotted by Theo)
3308     
3309     OpenBSD-Commit-ID: 457c79afaca2f89ec2606405c1059b98b30d8b0d
3310
3311 commit 9e0d02ef7ce88b67643bfb1c2272c9f5f04cc680
3312 Author: djm@openbsd.org <djm@openbsd.org>
3313 Date:   Wed May 25 00:31:13 2022 +0000
3314
3315     upstream: make SSHBUF_DBG/SSHBUF_TELL (off by default and only enabled
3316     
3317     via #define) dump to stderr rather than stdout
3318     
3319     OpenBSD-Commit-ID: 10298513ee32db8390aecb0397d782d68cb14318
3320
3321 commit 2487163630f28be28b7e2396b4bd6511b98f1d3e
3322 Author: Tim Rice <tim@multitalents.net>
3323 Date:   Tue May 24 10:21:25 2022 -0700
3324
3325     configure.ac: Add missing AC_DEFINE for caph_cache_tzdata test causing
3326     HAVE_CAPH_CACHE_TZDATA to be missing from config.h.in.
3327     Spotted by Bryan Drewery
3328
3329 commit bedb93415b60db3dfd704a3d525e82adb14a2481
3330 Author: djm@openbsd.org <djm@openbsd.org>
3331 Date:   Sun May 15 23:48:07 2022 +0000
3332
3333     upstream: regress test for in-place transfers and clobbering larger
3334     
3335     files with smaller ones; would have caught last regression in scp(1)
3336     
3337     OpenBSD-Regress-ID: 19de4e88dd3a4f7e5c1618c9be3c32415bd93bc2
3338
3339 commit b4f0d719c2548cb74da509fb65f384dada4ebd37
3340 Author: anton@openbsd.org <anton@openbsd.org>
3341 Date:   Fri Apr 22 05:08:43 2022 +0000
3342
3343     upstream: Only run agent-ptrace.sh if gdb is available as all
3344     
3345     architectures do not ship with gdb.
3346     
3347     OpenBSD-Regress-ID: ec53e928803e6b87f9ac142d38888ca79a45348d
3348
3349 commit 9b73345f80255a7f3048026462f2c0c6a241eeac
3350 Author: djm@openbsd.org <djm@openbsd.org>
3351 Date:   Sun May 15 23:47:21 2022 +0000
3352
3353     upstream: fix in-place copies; r1.163 incorrectly skipped truncation in
3354     
3355     all cases, not just at the start of a transfer. This could cause overwrites
3356     of larger files to leave junk at the end. Spotted by tb@
3357     
3358     OpenBSD-Commit-ID: b189f19cd68119548c8e24e39c79f61e115bf92c
3359
3360 commit 56a0697fe079ff3e1ba30a2d5c26b5e45f7b71f8
3361 Author: djm@openbsd.org <djm@openbsd.org>
3362 Date:   Fri May 13 06:31:50 2022 +0000
3363
3364     upstream: arrange for scp, when in sftp mode, to not ftruncate(3) files
3365     
3366     early
3367     
3368     previous behavious of unconditionally truncating the destination file
3369     would cause "scp ~/foo localhost:" and "scp localhost:foo ~/" to
3370     delete all the contents of their destination.
3371     
3372     spotted by solene@ sthen@, also bz3431; ok dtucker@
3373     
3374     OpenBSD-Commit-ID: ca39fdd39e0ec1466b9666f15cbcfddea6aaa179
3375
3376 commit fbcef70c2832712f027bccea1aa9bc4b4103da93
3377 Author: dtucker@openbsd.org <dtucker@openbsd.org>
3378 Date:   Mon May 9 08:25:27 2022 +0000
3379
3380     upstream: Remove errant apostrophe. From haruyama at queen-ml org.
3381     
3382     OpenBSD-Commit-ID: dc6b294567cb84b384ad6ced9ca469f2bbf0bd10
3383
3384 commit 0086a286ea6bbd11ca9b664ac3bb12b27443d6eb
3385 Author: djm@openbsd.org <djm@openbsd.org>
3386 Date:   Mon May 9 03:09:53 2022 +0000
3387
3388     upstream: Allow existing -U (use agent) flag to work with "-Y sign"
3389     
3390     operations, where it will be interpreted to require that the private keys is
3391     hosted in an agent; bz3429, suggested by Adam Szkoda; ok dtucker@
3392     
3393     OpenBSD-Commit-ID: a7bc69873b99c32c42c7628ed9ea91565ba08c2f
3394
3395 commit cb010744cc98f651b1029bb09efa986eb54e4ccf
3396 Author: djm@openbsd.org <djm@openbsd.org>
3397 Date:   Sun May 8 22:58:35 2022 +0000
3398
3399     upstream: improve error message when 'ssh-keygen -Y sign' is unable to
3400     
3401     load a private key; bz3429, reported by Adam Szkoda ok dtucker@
3402     
3403     OpenBSD-Commit-ID: bb57b285e67bea536ef81b1055467be2fc380e74
3404
3405 commit aa61fc82c63d309a90c22ca74fb1da6c6f4372fd
3406 Author: Tobias Heider <me@tobhe.de>
3407 Date:   Mon May 9 02:00:01 2022 +0200
3408
3409     Remove duplicate bcrypt_pbkdf.o from Makefile
3410     
3411     bcrypt_pbkdf.o is duplicated in the openbsd-compat Makefile's object
3412     file list.
3413
3414 commit deb506d00da8d11fb04c1e7b9b1e1cc379c1705c
3415 Author: djm@openbsd.org <djm@openbsd.org>
3416 Date:   Sun May 8 22:32:36 2022 +0000
3417
3418     upstream: When performing operations that glob(3) a remote path, ensure
3419     
3420     that the implicit working directory used to construct that path escapes
3421     glob(3) characters.
3422     
3423     This prevents glob characters from being processed in places they
3424     shouldn't, e.g. "cd /tmp/a*/", "get *.txt" should have the get operation
3425     treat the path "/tmp/a*" literally and not attempt to expand it.
3426     
3427     Reported by Lusia Kundel; ok markus@
3428     
3429     OpenBSD-Commit-ID: 4f647f58482cbad3d58b1eab7f6a1691433deeef
3430
3431 commit f38cf74f20b5da113cfa823afd5bfb5c6ba65f3d
3432 Author: Darren Tucker <dtucker@dtucker.net>
3433 Date:   Fri May 6 14:50:18 2022 +1000
3434
3435     Also retest OpenBSD upstream on .yml changes.
3436
3437 commit f87a132800ba3710ab130d703448a31ef1128d77
3438 Author: Darren Tucker <dtucker@dtucker.net>
3439 Date:   Fri May 6 14:46:09 2022 +1000
3440
3441     Note that, for now, we need variadic macros.
3442
3443 commit 217b518e0f7c52c4b909e935141a55344c61e644
3444 Author: Darren Tucker <dtucker@dtucker.net>
3445 Date:   Fri May 6 14:39:34 2022 +1000
3446
3447     Add ubsan minimal testcase on OpenBSD.
3448     
3449     As suggested by djm@.
3450
3451 commit 457dce2cfef6a48f5442591cd8b21c7e8cba13f8
3452 Author: djm@openbsd.org <djm@openbsd.org>
3453 Date:   Thu May 5 01:04:14 2022 +0000
3454
3455     upstream: sshkey_unshield_private() contains a exact duplicate of
3456     
3457     the code in private2_check_padding(). Pull private2_check_padding() up so the
3458     code can be reused. From Martin Vahlensieck, ok deraadt@
3459     
3460     OpenBSD-Commit-ID: 876884c3f0e62e8fd8d1594bab06900f971c9c85
3461
3462 commit 0e44db4d9cb313e68a59a44d27884af66c02356e
3463 Author: djm@openbsd.org <djm@openbsd.org>
3464 Date:   Thu May 5 00:56:58 2022 +0000
3465
3466     upstream: channel_new no longer frees remote_name. So update the
3467     
3468     comment accordingly.  As remote_name is not modified, it can be const as
3469     well. From Martin Vahlensieck
3470     
3471     OpenBSD-Commit-ID: e4e10dc8dc9f40c166ea5a8e991942bedc75a76a
3472
3473 commit 37b62fd5caf19c85a48241535277cefff65adace
3474 Author: djm@openbsd.org <djm@openbsd.org>
3475 Date:   Thu May 5 00:55:11 2022 +0000
3476
3477     upstream: mux.c: mark argument as const; from Martin Vahlensieck
3478     
3479     OpenBSD-Commit-ID: 69a1a93a55986c7c2ad9f733c093b46a47184341
3480
3481 commit f4e67c0ad259b4cf10177277a5827fa5545bac53
3482 Author: markus@openbsd.org <markus@openbsd.org>
3483 Date:   Wed May 4 07:31:22 2022 +0000
3484
3485     upstream: make sure stdout is non-blocking; ok djm@
3486     
3487     OpenBSD-Commit-ID: 64940fffbd1b882eda2d7c8c7a43c79368309c0d
3488
3489 commit e5c036d2092c00bef395e9161dc5ce42d4be9565
3490 Author: florian@openbsd.org <florian@openbsd.org>
3491 Date:   Tue May 3 07:42:27 2022 +0000
3492
3493     upstream: Add FIDO AUTHENTICATOR section and explain a bit how FIDO
3494     
3495     works. The wording came mostly from the 8.2 OpenSSH release notes, addapted
3496     to fit the man page. Then move the -O bits into the new section as is already
3497     done for CERTIFICATES and MODULI GENERATION. Finally we can explain the
3498     trade-offs of resident keys. While here, consistently refer to the FIDO
3499     thingies as "FIDO authenticators", not "FIDO tokens".
3500     
3501     input & OK jmc, naddy
3502     
3503     OpenBSD-Commit-ID: dd98748d7644df048f78dcf793b3b63db9ab1d25
3504
3505 commit 575771bf79bef7127be6aaccddc46031ea15529e
3506 Author: jmc@openbsd.org <jmc@openbsd.org>
3507 Date:   Mon May 2 05:40:37 2022 +0000
3508
3509     upstream: remove an obsolete rsa1 format example from an example;
3510     
3511     from megan batty
3512     ok djm
3513     
3514     OpenBSD-Commit-ID: db2c89879c29bf083df996bd830abfb1e70d62bf
3515
3516 commit 0bc6b4c8f04e292577bdb44d5dc6b630d3448087
3517 Author: djm@openbsd.org <djm@openbsd.org>
3518 Date:   Sun May 1 23:20:30 2022 +0000
3519
3520     upstream: fix some integer overflows in sieve_large() that show up when
3521     
3522     trying to generate modp groups > 16k bits. Reported via GHPR#306 by Bertram
3523     Felgenhauer, but fixed in a different way. feedback/ok tb@
3524     
3525     OpenBSD-Commit-ID: 81cbc6dd3a21c57bd6fadea10e44afe37bca558e
3526
3527 commit a45615cb172bc827e21ec76750de39dfb30ecc05
3528 Author: djm@openbsd.org <djm@openbsd.org>
3529 Date:   Fri Apr 29 04:55:07 2022 +0000
3530
3531     upstream: be stricter in which characters will be accepted in
3532     
3533     specifying a mask length; allow only 0-9. From khaleesicodes via GHPR#278; ok
3534     dtucker@
3535     
3536     OpenBSD-Commit-ID: e267746c047ea86665cdeccef795a8a56082eeb2
3537
3538 commit 4835544d2dd31de6ffc7dba59f92093aea98155b
3539 Author: Darren Tucker <dtucker@dtucker.net>
3540 Date:   Sat Apr 30 10:56:41 2022 +1000
3541
3542     Add Mac OS X 12 test target.
3543
3544 commit 97a6a8b8c1f2da09712d0e72d0ef800e4edd34cd
3545 Author: Darren Tucker <dtucker@dtucker.net>
3546 Date:   Fri Apr 29 18:27:34 2022 +1000
3547
3548     Only run tests when source files change.
3549     
3550     Also run tests on changes to V_9_0 branch.
3551
3552 commit 6d0392b9ff4b50a56ac5685d1b9392e2cd432ca3
3553 Author: Darren Tucker <dtucker@dtucker.net>
3554 Date:   Fri Apr 29 18:22:34 2022 +1000
3555
3556     Remove now-empty int32_minmax.inc.
3557
3558 commit af59463553b5ad52d3b42c4455ee3c5600158bb7
3559 Author: djm@openbsd.org <djm@openbsd.org>
3560 Date:   Fri Apr 29 03:24:30 2022 +0000
3561
3562     upstream: mention that the helpers are used by ssh(1), ssh-agent(1)
3563     
3564     and ssh-keygen(1). Previously only ssh(1) was mentioned. From Pedro
3565     Martelletto
3566     
3567     OpenBSD-Commit-ID: 30f880f989d4b329589c1c404315685960a5f153
3568
3569 commit 3e26b3a6eebcee27be177207cc0846fb844b7a56
3570 Author: dtucker@openbsd.org <dtucker@openbsd.org>
3571 Date:   Fri Apr 29 03:16:48 2022 +0000
3572
3573     upstream: Don't leak SK device. Patch from Pedro Martelletto via
3574     
3575     github PR#316. ok djm@
3576     
3577     OpenBSD-Commit-ID: 17d11327545022e727d95fd08b213171c5a4585d
3578
3579 commit 247082b5013f0d4fcae8f97453f2a2f01bcda811
3580 Author: djm@openbsd.org <djm@openbsd.org>
3581 Date:   Fri Apr 29 03:13:32 2022 +0000
3582
3583     upstream: fix memleak on session-bind path; from Pedro Martelletto, ok
3584     
3585     dtucker@
3586     
3587     OpenBSD-Commit-ID: e85899a26ba402b4c0717b531317e8fc258f0a7e
3588
3589 commit e05522008092ceb86a87bdd4ad7878424315db89
3590 Author: djm@openbsd.org <djm@openbsd.org>
3591 Date:   Thu Apr 28 02:53:31 2022 +0000
3592
3593     upstream: avoid printing hash algorithm twice; from lucas AT sexy.is
3594     
3595     OpenBSD-Commit-ID: 9d24671e10a84141b7c504396cabad600e47a941
3596
3597 commit 0979e29356915261d69a9517a1e0aaade7c9fc75
3598 Author: dtucker@openbsd.org <dtucker@openbsd.org>
3599 Date:   Wed Apr 27 11:08:55 2022 +0000
3600
3601     upstream: Add authfd path to debug output. ok markus@
3602     
3603     OpenBSD-Commit-ID: f735a17d1a6f2bee63bfc609d76ef8db8c090890
3604
3605 commit 67b7c784769c74fd4d6b147d91e17e1ac1a8a96d
3606 Author: dtucker@openbsd.org <dtucker@openbsd.org>
3607 Date:   Tue Apr 26 07:41:44 2022 +0000
3608
3609     upstream: Check sshauthopt_new() for NULL. bz#3425, from
3610     
3611     tessgauthier at microsoft.com.  ok djm@
3612     
3613     OpenBSD-Commit-ID: af0315bc3e44aa406daa7e0ae7c2d719a974483f
3614
3615 commit d571314d14b919fbd7c84a61f9bf2065fc0a6841
3616 Author: millert@openbsd.org <millert@openbsd.org>
3617 Date:   Wed Apr 20 16:00:25 2022 +0000
3618
3619     upstream: Remove unnecessary includes: openssl/hmac.h and
3620     
3621     openssl/evp.h. From Martin Vahlensieck.
3622     
3623     OpenBSD-Commit-ID: a6debb5fb0c8a44e43e8d5ca7cc70ad2f3ea31c3
3624
3625 commit da8dddf8cc1f2516ff894b8183e83a7c5ba3ef80
3626 Author: millert@openbsd.org <millert@openbsd.org>
3627 Date:   Wed Apr 20 15:59:18 2022 +0000
3628
3629     upstream: Add missing includes of stdlib.h and stdint.h. We need
3630     
3631     stdlib.h for malloc(3) and stdint.h for SIZE_MAX. Unlike the other xmss
3632     files, ssh-xmss.c does not include xmss_commons.h so ssh-xmss.c must include
3633     those headers itself. From Martin Vahlensieck
3634     
3635     OpenBSD-Commit-ID: 70e28a9818cee3da1be2ef6503d4b396dd421e6b
3636
3637 commit fe9d87a6800a7a33be08f4d5ab662a758055ced2
3638 Author: millert@openbsd.org <millert@openbsd.org>
3639 Date:   Wed Apr 20 15:56:49 2022 +0000
3640
3641     upstream: Avoid an unnecessary xstrdup in rm_env() when matching
3642     
3643     patterns. Since match_pattern() doesn't modify its arguments (they are
3644     const), there is no need to make an extra copy of the strings in
3645     options->send_env. From Martin Vahlensieck
3646     
3647     OpenBSD-Commit-ID: 2c9db31e3f4d3403b49642c64ee048b2a0a39351
3648
3649 commit 7bf2eb958fbb551e7d61e75c176bb3200383285d
3650 Author: Darren Tucker <dtucker@dtucker.net>
3651 Date:   Tue Apr 26 23:30:59 2022 +1000
3652
3653     Add debian-riscv64 test target.
3654
3655 commit 3913c935523902482974c4c503bcff20bd850a6a
3656 Author: Darren Tucker <dtucker@dtucker.net>
3657 Date:   Mon Apr 25 17:20:06 2022 +1000
3658
3659     Update OpenSSL and LibreSSL versions in tests.
3660
3661 commit dcd8dca29bcdb193ff6be35b96fc55e6e30d37d9
3662 Author: Darren Tucker <dtucker@dtucker.net>
3663 Date:   Sat Apr 23 20:40:28 2022 +1000
3664
3665     Include stdlib.h for free() prototype.
3666     
3667     ... which is used inside the CUSTOM_SYS_AUTH_GET_LASTLOGIN_MSG block.
3668
3669 commit 4cc05de568e1c3edd7834ff3bd9d8214eb34861b
3670 Author: Darren Tucker <dtucker@dtucker.net>
3671 Date:   Sat Apr 23 20:17:26 2022 +1000
3672
3673     Cache timezone data in capsicum sandbox.
3674     
3675     From emaste at freebsd.org, originally part of FreeBSD commit r339216
3676     / fc3c19a9 with autoconf bits added by me.
3677
3678 commit c31404426d212e2964ff9e5e58e1d0fce3d83f27
3679 Author: dtucker@openbsd.org <dtucker@openbsd.org>
3680 Date:   Thu Apr 21 01:36:46 2022 +0000
3681
3682     upstream: It looks like we can't completely avoid
3683     
3684     waiting for processes to exit so retrieve the pid via controlmaster and
3685     use that.
3686     
3687     OpenBSD-Regress-ID: 8246f00f22b14e49d2ff1744c94897ead33d457b
3688
3689 commit d19b21afab5c8e2f3df6bd8aee9766bdad3d8c58
3690 Author: dtucker@openbsd.org <dtucker@openbsd.org>
3691 Date:   Wed Apr 20 13:25:55 2022 +0000
3692
3693     upstream: Use ssh -f and ControlPersist ..
3694     
3695     to start up test forwards and ssh -O stop to shut them down intead of
3696     sleep loops.  This speeds up the test by an order of magnitude.
3697     
3698     OpenBSD-Regress-ID: eb3db5f805100919b092a3b2579c611fba3e83e7
3699
3700 commit 5f76286a126721fa005de6edf3d1c7a265555f19
3701 Author: dtucker@openbsd.org <dtucker@openbsd.org>
3702 Date:   Wed Apr 20 05:24:13 2022 +0000
3703
3704     upstream: Simplify forward-control test.
3705     
3706     Since we no longer need to support SSH1 we don't need to run shell
3707     commands on the other end of the connection and can use ssh -N instead.
3708     This also makes the test less racy.
3709     
3710     OpenBSD-Regress-ID: 32e94ce272820cc398f30b848b2b0f080d10302c
3711
3712 commit 687bbf23572d8bdf25cbbcdf8ac583514e1ba710
3713 Author: djm@openbsd.org <djm@openbsd.org>
3714 Date:   Thu Mar 31 03:07:33 2022 +0000
3715
3716     upstream: regression test for sftp cp command
3717     
3718     OpenBSD-Regress-ID: c96bea9edde3a384b254785e7f9b2b24a81cdf82
3719
3720 commit f1233f19a6a9fe58f52946f50df4772f5b136761
3721 Author: dtucker@openbsd.org <dtucker@openbsd.org>
3722 Date:   Wed Apr 20 01:13:47 2022 +0000
3723
3724     upstream: Import regenerated moduli
3725     
3726     OpenBSD-Commit-ID: f9a0726d957cf10692a231996a1f34e7f9cdfeb0
3727
3728 commit fec014785de198b9a325d1b94e324bb958c5fe7b
3729 Author: djm@openbsd.org <djm@openbsd.org>
3730 Date:   Wed Apr 20 04:19:11 2022 +0000
3731
3732     upstream: Try to continue running local I/O for channels in state
3733     
3734     OPEN during SSH transport rekeying. The most visible benefit is that it
3735     should make ~-escapes work in the client (e.g. to exit) if the connection
3736     happened to have stalled during a rekey event. Based work by and ok dtucker@
3737     
3738     OpenBSD-Commit-ID: a66e8f254e92edd4ce09c9f750883ec8f1ea5f45
3739
3740 commit e68154b0d4f0f5085a050ea896955da1b1be6e30
3741 Author: dtucker@openbsd.org <dtucker@openbsd.org>
3742 Date:   Wed Apr 20 01:13:47 2022 +0000
3743
3744     upstream: Import regenerated moduli
3745     
3746     OpenBSD-Commit-ID: f9a0726d957cf10692a231996a1f34e7f9cdfeb0
3747
3748 commit 69928b106d8f0fa15b88cf3850d992ed81c44ae0
3749 Author: tj@openbsd.org <tj@openbsd.org>
3750 Date:   Sat Apr 16 00:22:31 2022 +0000
3751
3752     upstream: list the correct version number
3753     
3754     for when usage of the sftp protocol became default and fix a typo
3755     from ed maste
3756     
3757     OpenBSD-Commit-ID: 24e1795ed2283fdeacf16413c2f07503bcdebb31
3758
3759 commit 21042a05c0b304c16f655efeec97438249d2e2cc
3760 Author: dtucker@openbsd.org <dtucker@openbsd.org>
3761 Date:   Tue Apr 12 05:09:49 2022 +0000
3762
3763     upstream: Correct path for system known hosts file in description
3764     
3765     of IgnoreUserKnownHosts.  Patch from Martin Vahlensieck via tech@
3766     
3767     OpenBSD-Commit-ID: 9b7784f054fa5aa4d63cb36bd563889477127215
3768
3769 commit 53f4aff60a7c1a08a23917bd47496f8901c471f5
3770 Author: Darren Tucker <dtucker@dtucker.net>
3771 Date:   Sat Apr 16 14:33:20 2022 +1000
3772
3773     Resync moduli.5 with upstream.
3774     
3775     1.18: remove duplicate publication year; carsten dot kunze at arcor dot de
3776     1.19: ssh-keygen's -G/-T have been replaced with -M generate/screen.
3777
3778 commit d2b888762b9844eb0d8eb59909cdf5af5159f810
3779 Author: Darren Tucker <dtucker@dtucker.net>
3780 Date:   Sat Apr 16 14:31:13 2022 +1000
3781
3782     Retire fbsd6 test VM.
3783     
3784     It's long since out of support, relatively slow (it's i686) and the
3785     compiler has trouble with PIE.
3786
3787 commit cd1f70009860a154b51230d367c55ea5f9a4504e
3788 Author: djm@openbsd.org <djm@openbsd.org>
3789 Date:   Mon Apr 11 22:52:08 2022 +0000
3790
3791     upstream: clear io_want/io_ready flags at start of poll() cycle;
3792     
3793     avoids plausible spin during rekeying if channel io_want flags are reused
3794     across cycles. ok markus@ deraadt@
3795     
3796     OpenBSD-Commit-ID: 91034f855b7c73cd2591657c49ac30f10322b967
3797
3798 commit aa1920302778273f7f94c2091319aba199068ca0
3799 Author: dtucker@openbsd.org <dtucker@openbsd.org>
3800 Date:   Fri Apr 8 05:43:39 2022 +0000
3801
3802     upstream: Note that curve25519-sha256 was later published in
3803     
3804     RFC8731.  ok djm@
3805     
3806     OpenBSD-Commit-ID: 2ac2b5d642d4cf5918eaec8653cad9a4460b2743
3807
3808 commit 4673fa8f2be983f2f88d5afd754adb1a2a39ec9e
3809 Author: djm@openbsd.org <djm@openbsd.org>
3810 Date:   Fri Apr 8 04:40:40 2022 +0000
3811
3812     upstream: two defensive changes from Tobias Stoeckmann via GHPR287
3813     
3814     enforce stricter invarient for sshbuf_set_parent() - never allow
3815     a buffer to have a previously-set parent changed.
3816     
3817     In sshbuf_reset(), if the reallocation fails, then zero the entire
3818     buffer and not the (potentially smaller) default initial alloc size.
3819     
3820     OpenBSD-Commit-ID: 14583203aa5d50ad38d2e209ae10abaf8955e6a9
3821
3822 commit 26eef015e2d2254375e13afaaf753b78932b1bf5
3823 Author: Damien Miller <djm@mindrot.org>
3824 Date:   Mon Apr 11 16:07:09 2022 +1000
3825
3826     Revert "update build-aux files to match autoconf-2.71"
3827     
3828     This reverts commit 0a8ca39fac6ad19096b6c263436f8b2dd51606f2.
3829     
3830     It turns out that the checked-in copies of these files are actually newer
3831     than autoconf-2.71's copies, so this was effectively a downgrade.
3832     Spotted by Bo Anderson via github
3833
3834 commit 0a8ca39fac6ad19096b6c263436f8b2dd51606f2
3835 Author: Damien Miller <djm@mindrot.org>
3836 Date:   Fri Apr 8 14:48:58 2022 +1000
3837
3838     update build-aux files to match autoconf-2.71
3839     
3840     i.e. config.guess, config.sub and install-sh
3841
3842 commit 94eb6858efecc1b4f02d8a6bd35e149f55c814c8
3843 Author: Damien Miller <djm@mindrot.org>
3844 Date:   Wed Apr 6 10:47:48 2022 +1000
3845
3846     update version numbers for release
3847
3848 commit 8e4a8eadf4fe74e65e6492f34250f8cf7d67e8da
3849 Author: djm@openbsd.org <djm@openbsd.org>
3850 Date:   Mon Apr 4 22:45:25 2022 +0000
3851
3852     upstream: openssh-9.0
3853     
3854     OpenBSD-Commit-ID: 0dfb461188f4513ec024c1534da8c1ce14c20b64
3855
3856 commit a9f23ea2e3227f406880c2634d066f6f50fa5eaa
3857 Author: naddy@openbsd.org <naddy@openbsd.org>
3858 Date:   Thu Mar 31 17:58:44 2022 +0000
3859
3860     upstream: ssh: document sntrup761x25519-sha512@openssh.com as
3861     
3862     default KEX
3863     
3864     OpenBSD-Commit-ID: 12545bfa10bcbf552d04d9d9520d0f4e98b0e171
3865
3866 commit 9ec2713d122af79d66ebb9c1d6d9ae8621a8945f
3867 Author: naddy@openbsd.org <naddy@openbsd.org>
3868 Date:   Thu Mar 31 17:27:27 2022 +0000
3869
3870     upstream: man pages: add missing commas between subordinate and
3871     
3872     main clauses
3873     
3874     jmc@ dislikes a comma before "then" in a conditional, so leave those
3875     untouched.
3876     
3877     ok jmc@
3878     
3879     OpenBSD-Commit-ID: 9520801729bebcb3c9fe43ad7f9776ab4dd05ea3
3880
3881 commit 3741df98ffaaff92b474ee70d8ef276b5882f85a
3882 Author: Darren Tucker <dtucker@dtucker.net>
3883 Date:   Mon Apr 4 23:52:11 2022 +1000
3884
3885     Disable security key on fbsd6 test host.
3886
3887 commit 32c12236f27ae83bfe6d2983b67c9bc67a83a417
3888 Author: Darren Tucker <dtucker@dtucker.net>
3889 Date:   Mon Apr 4 15:16:51 2022 +1000
3890
3891     Specify TEST_SHELL=bash on AIX.
3892     
3893     The system shells cause the agent-restrict test to fail due to some
3894     quoting so explicitly specify bash until we can get configure to
3895     autmatically work around that.
3896
3897 commit 90452c8b69d065b7c7c285ff78b81418a75bcd76
3898 Author: Darren Tucker <dtucker@dtucker.net>
3899 Date:   Fri Apr 1 23:38:44 2022 +1100
3900
3901     Only return events from ppoll that were requested.
3902     
3903     If the underlying system's select() returns bits that were not in the
3904     request set, our ppoll() implementation can return revents for events
3905     not requested, which can apparently cause a hang.  Only return revents
3906     for activity in the requested event set.  bz#3416, analysis and fix by
3907     yaroslav.kuzmin at vmssoftware com, ok djm@
3908
3909 commit 6c49eb5fabc56f4865164ed818aa5112d09c31a8
3910 Author: Darren Tucker <dtucker@dtucker.net>
3911 Date:   Fri Apr 1 23:21:40 2022 +1100
3912
3913     Only run regression tests on slow VMs.
3914
3915 commit f67e47903977b42cb6abcd5565a61bd7293e4dc3
3916 Author: Darren Tucker <dtucker@dtucker.net>
3917 Date:   Fri Apr 1 23:21:06 2022 +1100
3918
3919     Increase test timeout to allow slow VMs to finish
3920
3921 commit 02488c1b54065ddc4f25835dbd2618b2a2fe21f5
3922 Author: Darren Tucker <dtucker@dtucker.net>
3923 Date:   Fri Apr 1 16:27:38 2022 +1100
3924
3925     Use bash or ksh if available for SH in Makefile.
3926
3927 commit 34c7018c316af4773e432066de28d0ef9d0888cd
3928 Author: Darren Tucker <dtucker@dtucker.net>
3929 Date:   Fri Apr 1 14:56:54 2022 +1100
3930
3931     Set Makefile SHELL as determined by configure.
3932     
3933     This should improve compatibility for users with non-POSIX shells.  If
3934     using Makefile.in directly (eg make -f Makefile.in distprep) then SHELL
3935     will need to be specified on the command line (along with MANFMT in that
3936     particular case).  ok djm@
3937
3938 commit 5b054d76402faab38c48377efd112426469553a0
3939 Author: Darren Tucker <dtucker@dtucker.net>
3940 Date:   Fri Apr 1 13:16:47 2022 +1100
3941
3942     Skip slow tests on (very) slow test targets.
3943
3944 commit b275818065b31a865142c48c2acf6a7c1655c542
3945 Author: Damien Miller <djm@mindrot.org>
3946 Date:   Thu Mar 31 14:11:36 2022 +1100
3947
3948     depend
3949
3950 commit 3fa539c3ffaabd6211995512d33e29150f88c5c5
3951 Author: djm@openbsd.org <djm@openbsd.org>
3952 Date:   Thu Mar 31 03:07:03 2022 +0000
3953
3954     upstream: add a sftp client "cp" command that supports server-side
3955     
3956     copying of files. Useful for this task and for testing the copy-data
3957     extension. Patch from Mike Frysinger; ok dtucker@
3958     
3959     OpenBSD-Commit-ID: 1bb1b950af0d49f0d5425b1f267e197aa1b57444
3960
3961 commit 7988bfc4b701c4b3fe9b36c8561a3d1c5d4c9a74
3962 Author: djm@openbsd.org <djm@openbsd.org>
3963 Date:   Thu Mar 31 03:05:49 2022 +0000
3964
3965     upstream: add support for the "corp-data" protocol extension to
3966     
3967     allow server-side copies to be performed without having to go via the client.
3968     Patch by Mike Frysinger, ok dtucker@
3969     
3970     OpenBSD-Commit-ID: 00aa510940fedd66dab1843b58682de4eb7156d5
3971
3972 commit 32dc1c29a4ac9c592ddfef0a4895eb36c1f567ba
3973 Author: djm@openbsd.org <djm@openbsd.org>
3974 Date:   Wed Mar 30 21:13:23 2022 +0000
3975
3976     upstream: select post-quantum KEX
3977     
3978     sntrup761x25519-sha512@openssh.com as the default; ok markus@
3979     
3980     OpenBSD-Commit-ID: f02d99cbfce22dffec2e2ab1b60905fbddf48fb9
3981
3982 commit d6556de1db0822c76ba2745cf5c097d9472adf7c
3983 Author: djm@openbsd.org <djm@openbsd.org>
3984 Date:   Wed Mar 30 21:10:25 2022 +0000
3985
3986     upstream: fix poll() spin when a channel's output fd closes without
3987     
3988     data in the channel buffer. Introduce more exact packing of channel fds into
3989     the pollfd array. fixes bz3405 and bz3411; ok deraadt@ markus@
3990     
3991     OpenBSD-Commit-ID: 06740737849c9047785622ad5d472cb6a3907d10
3992
3993 commit 8a74a96d25ca4d32fbf298f6c0ac5a148501777d
3994 Author: djm@openbsd.org <djm@openbsd.org>
3995 Date:   Wed Mar 30 04:33:09 2022 +0000
3996
3997     upstream: ssh is almost out of getopt() characters; note the
3998     
3999     remaining remaining available ones in a comment
4000     
4001     OpenBSD-Commit-ID: 48d38cef59d6bc8e84c6c066f6d601875d3253fd
4002
4003 commit 6d4fc51adb9d8a42f67b5474f02f877422379de6
4004 Author: djm@openbsd.org <djm@openbsd.org>
4005 Date:   Wed Mar 30 04:27:51 2022 +0000
4006
4007     upstream: avoid NULL deref via ssh-keygen -Y find-principals.
4008     
4009     bz3409, reported by Mateusz Adamowski
4010     
4011     OpenBSD-Commit-ID: a3b2c02438052ee858e0ee18e5a288586b5df2c5
4012
4013 commit e937514920335b92b543fd9be79cd6481d1eb0b6
4014 Author: Darren Tucker <dtucker@dtucker.net>
4015 Date:   Mon Mar 28 17:51:03 2022 +1100
4016
4017     Add AIX 5.1 test target.
4018
4019 commit 4bbe815ba974b4fd89cc3fc3e3ef1be847a0befe
4020 Author: Darren Tucker <dtucker@dtucker.net>
4021 Date:   Sat Mar 26 22:01:31 2022 +1100
4022
4023     Drop leading "v" from release version identifier.
4024     
4025     It's present in the git tags but not in the release tarball names.
4026     Also drop extra "/" from URL path.
4027
4028 commit f5cdd3b3c275dffaebfca91df782dca29975e9ac
4029 Author: Darren Tucker <dtucker@dtucker.net>
4030 Date:   Sat Mar 26 16:28:04 2022 +1100
4031
4032     Use tarballs when testing LibreSSL releases.
4033     
4034     This means they'll still work when the combination of -portable and
4035     openbsd github repos no longer match.
4036
4037 commit 24dc37d198f35a7cf71bf4d5384363c7ef4209d4
4038 Author: Darren Tucker <dtucker@dtucker.net>
4039 Date:   Sat Mar 26 15:02:45 2022 +1100
4040
4041     Remove now-unused passwd variable.
4042
4043 commit 5b467ceef2c356f0a77f5e8ab4eb0fac367e4d24
4044 Author: Darren Tucker <dtucker@dtucker.net>
4045 Date:   Sat Mar 26 13:15:44 2022 +1100
4046
4047     Missing semicolon.
4048
4049 commit 2923d026e55998133c0f6e5186dca2a3c0fa5ff5
4050 Author: Darren Tucker <dtucker@dtucker.net>
4051 Date:   Sat Mar 26 12:49:50 2022 +1100
4052
4053     Factor out platform-specific locked account check.
4054     
4055     Also fixes an incorrect free on platforms with both libiaf and shadow
4056     passwords (probably only Unixware).  Prompted by github PR#284,
4057     originally from @c3h2_ctf and stoeckmann@.
4058
4059 commit d23efe4b12886ffe416be10bc0a7da6ca8aa72d1
4060 Author: Darren Tucker <dtucker@dtucker.net>
4061 Date:   Sat Mar 26 08:13:46 2022 +1100
4062
4063     Add OpenWRT mips and mipsel test targets.
4064
4065 commit 16ea8b85838dd7a4dbeba4e51ac4f43fd68b1e5b
4066 Author: djm@openbsd.org <djm@openbsd.org>
4067 Date:   Sun Mar 20 08:52:17 2022 +0000
4068
4069     upstream: don't leak argument list; bz3404, reported by Balu
4070     
4071     Gajjala ok dtucker@
4072     
4073     OpenBSD-Commit-ID: fddc32d74e5dd5cff1a49ddd6297b0867eae56a6
4074
4075 commit a72bde294fe0518c9a44ba63864093a1ef2425e3
4076 Author: djm@openbsd.org <djm@openbsd.org>
4077 Date:   Sun Mar 20 08:51:21 2022 +0000
4078
4079     upstream: make addargs() and replacearg() a little more robust and
4080     
4081     improve error reporting
4082     
4083     make freeargs(NULL) a noop like the other free functions
4084     
4085     ok dtucker as part of bz3403
4086     
4087     OpenBSD-Commit-ID: 15f86da83176978b4d1d288caa24c766dfa2983d
4088
4089 commit 731087d2619fa7f01e675b23f57af10d745e8af2
4090 Author: djm@openbsd.org <djm@openbsd.org>
4091 Date:   Fri Mar 18 04:04:11 2022 +0000
4092
4093     upstream: don't try to resolve ListenAddress directives in the sshd
4094     
4095     re-exec path - we're never going to use the result and if the operation fails
4096     then it can prevent connections from being accepted. Reported by Aaron
4097     Poffenberger; with / ok dtucker@
4098     
4099     OpenBSD-Commit-ID: 44c53a43909a328e2f5ab26070fdef3594eded60
4100
4101 commit 1c83c082128694ddd11ac05fdf31d70312ff1763
4102 Author: djm@openbsd.org <djm@openbsd.org>
4103 Date:   Fri Mar 18 02:50:21 2022 +0000
4104
4105     upstream: remove blank line
4106     
4107     OpenBSD-Commit-ID: d5e0182965b2fbfb03ad5f256d1a1ce5706bcddf
4108
4109 commit 807be68684da7a1fe969c399ddce2fafb7997dcb
4110 Author: djm@openbsd.org <djm@openbsd.org>
4111 Date:   Fri Mar 18 02:32:22 2022 +0000
4112
4113     upstream: helpful comment
4114     
4115     OpenBSD-Commit-ID: e3315a45cb04e7feeb614d76ec80a9fe4ca0e8c7
4116
4117 commit a0b5816f8f1f645acdf74f7bc11b34455ec30bac
4118 Author: djm@openbsd.org <djm@openbsd.org>
4119 Date:   Fri Mar 18 02:31:25 2022 +0000
4120
4121     upstream: ssh-keygen -Y check-novalidate requires namespace or SEGV
4122     
4123     will ensue. Patch from Mateusz Adamowski via GHPR#307
4124     
4125     OpenBSD-Commit-ID: 99e8ec38f9feb38bce6de240335be34aedeba5fd
4126
4127 commit 5a252d54a63be30d5ba4be76210942d754a531c0
4128 Author: djm@openbsd.org <djm@openbsd.org>
4129 Date:   Tue Mar 15 05:27:37 2022 +0000
4130
4131     upstream: improve DEBUG_CHANNEL_POLL debugging message
4132     
4133     OpenBSD-Commit-ID: 2275eb7bc4707d019b1a0194b9c92c0b78da848f
4134
4135 commit ce324cf58ba2840e31afeb996935800780c8fa4b
4136 Author: cheloha@openbsd.org <cheloha@openbsd.org>
4137 Date:   Sun Mar 13 23:27:54 2022 +0000
4138
4139     upstream: ssh: xstrdup(): use memcpy(3)
4140     
4141     Copying the given string into the buffer with strlcpy(3) confers no
4142     benefit in this context because we have already determined the
4143     string's length with strlen(3) in order to allocate that buffer.
4144     
4145     Thread: https://marc.info/?l=openbsd-tech&m=164687525802691&w=2
4146     
4147     ok dtucker@ millert@
4148     
4149     OpenBSD-Commit-ID: f8bfc082e36e2d2dc4e1feece02fe274155ca11a
4150
4151 commit 2893c5e764557f48f9d6a929e224ed49c59545db
4152 Author: Darren Tucker <dtucker@dtucker.net>
4153 Date:   Fri Mar 11 18:43:58 2022 +1100
4154
4155     Resync fmt_scaled. with OpenBSD.
4156     
4157     Fixes underflow reported in bz#3401.
4158
4159 commit 5ae31a0fdd27855af29f48ff027491629fff5979
4160 Author: Darren Tucker <dtucker@dtucker.net>
4161 Date:   Wed Mar 9 09:41:56 2022 +1100
4162
4163     Provide killpg implementation.
4164     
4165     Based on github PR#301 for Tandem NonStop.
4166
4167 commit c41c84b439f4cd74d4fe44298a4b4037ddd7d2ae
4168 Author: Darren Tucker <dtucker@dtucker.net>
4169 Date:   Wed Mar 9 09:29:30 2022 +1100
4170
4171     Check for missing ftruncate prototype.
4172     
4173     From github PR#301 in conjunction with rsbeckerca.
4174
4175 commit 8cf5275452a950869cb90eeac7d220b01f77b12e
4176 Author: Darren Tucker <dtucker@dtucker.net>
4177 Date:   Tue Mar 8 20:04:06 2022 +1100
4178
4179     Default to not using sandbox when cross compiling.
4180     
4181     On most systems poll(2) does not work when the number of FDs is reduced
4182     with setrlimit, so assume it doesn't when cross compiling and we can't
4183     run the test.  bz#3398.
4184
4185 commit 379b30120da53d7c84aa8299c26b18c51c2a0dac
4186 Author: djm@openbsd.org <djm@openbsd.org>
4187 Date:   Tue Mar 1 01:59:19 2022 +0000
4188
4189     upstream: pack pollfd array before server_accept_loop() ppoll()
4190     
4191     call, and terminate sshd if ppoll() returns errno==EINVAL
4192     
4193     avoids spin in ppoll when MaxStartups > RLIMIT_NOFILE, reported by
4194     Daniel Micay
4195     
4196     feedback/ok deraadt
4197     
4198     OpenBSD-Commit-ID: dbab1c24993ac977ec24d83283b8b7528f7c2c15
4199
4200 commit eceafbe0bdbbd9bd2f3cf024ccb350666a9934dd
4201 Author: naddy@openbsd.org <naddy@openbsd.org>
4202 Date:   Sun Feb 27 01:33:59 2022 +0000
4203
4204     upstream: include rejected signature algorithm in error message and
4205     
4206     not the (useless) key type; ok djm@
4207     
4208     OpenBSD-Commit-ID: d0c0f552a4d9161203e07e95d58a76eb602a76ff
4209
4210 commit f2f3269423618a83157e18902385e720f9776007
4211 Author: dtucker@openbsd.org <dtucker@openbsd.org>
4212 Date:   Fri Feb 25 09:46:24 2022 +0000
4213
4214     upstream: Remove the char * casts from arguments to do_lstat,
4215     
4216     do_readdir and do_stat paths since the underlying functions now take a const
4217     char *. Patch from vapier at gentoo.org.
4218     
4219     OpenBSD-Commit-ID: 9e4d964dbfb0ed683a2a2900711b88e7f1c0297b
4220
4221 commit 4a66dac052c5ff5047161853f36904607649e4f9
4222 Author: djm@openbsd.org <djm@openbsd.org>
4223 Date:   Fri Feb 25 02:09:27 2022 +0000
4224
4225     upstream: save an unneccessary alloc/free, based on patch from
4226     
4227     Martin Vahlensieck; ok dtucker@
4228     
4229     OpenBSD-Commit-ID: 90ffbf1f837e509742f2c31a1fbf2c0fd376fd5f
4230
4231 commit 6f117cb151efe138ac57bdd8e26165f350328f5f
4232 Author: Darren Tucker <dtucker@dtucker.net>
4233 Date:   Tue Mar 1 09:02:06 2022 +1100
4234
4235     Remove unused ivbits argument from chacha_keysetup
4236
4237 commit 15974235dd528aeab0ec67fb92a0a1d733f62be2
4238 Author: Darren Tucker <dtucker@dtucker.net>
4239 Date:   Tue Mar 1 09:00:20 2022 +1100
4240
4241     Add OPENBSD ORIGINAL marker.
4242
4243 commit f2ff669347d320532e7c1b63cdf5c62f46e73150
4244 Author: Darren Tucker <dtucker@dtucker.net>
4245 Date:   Mon Feb 28 22:21:36 2022 +1100
4246
4247     No unused param warnings for clang-12 and gcc-11.
4248     
4249     These have too many false positives in -Werror tests on the github CI
4250     since we often provide empty stub functions for functionality not needed
4251     for particular configurations.
4252
4253 commit 96558ecd87adac62efa9a2b5479f686ab86b0be1
4254 Author: Darren Tucker <dtucker@dtucker.net>
4255 Date:   Sat Feb 26 14:10:41 2022 +1100
4256
4257     Add debian-i386 test target.
4258
4259 commit 284b6e5394652d519e31782e3b3cdfd7b21d1a81
4260 Author: Darren Tucker <dtucker@dtucker.net>
4261 Date:   Sat Feb 26 14:06:14 2022 +1100
4262
4263     Allow ppoll_time64 in seccomp sandbox.
4264     
4265     Should fix sandbox violations on (some? at least i386 and armhf) 32bit
4266     Linux platforms.  Patch from chutzpahu at gentoo.org and cjwatson at
4267     debian.org via bz#3396.
4268
4269 commit 0132056efabc5edb85c3c7105d2fb6dee41843c6
4270 Author: Darren Tucker <dtucker@dtucker.net>
4271 Date:   Fri Feb 25 19:47:48 2022 +1100
4272
4273     Improve handling of _getshort and _getlong.
4274     
4275     If the system native ones are exactly as required then use them,
4276     otherwise use the local versions mapped to another name to prevent
4277     name collisions.
4278
4279 commit 8e206e0dd6b9f757b07979e48f53ad5bf9b7b52b
4280 Author: Darren Tucker <dtucker@dtucker.net>
4281 Date:   Fri Feb 25 15:14:22 2022 +1100
4282
4283     Constify utimes in compat library to match specs.
4284     
4285     Patch from vapier at chromium.org.
4286
4287 commit 1b2920e3b63db2eddebeec7330ffe8b723055573
4288 Author: Darren Tucker <dtucker@dtucker.net>
4289 Date:   Fri Feb 25 13:50:56 2022 +1100
4290
4291     ANSIfy getshort and getlong.
4292     
4293     These functions appear to have come from OpenBSD's lib/libc/net/res_comp.c
4294     which made this change in 2005.
4295
4296 commit 54a86f4f6e1c43a2ca2be23ef799ab8910d4af70
4297 Author: Darren Tucker <dtucker@dtucker.net>
4298 Date:   Fri Feb 25 13:23:04 2022 +1100
4299
4300     Use PICFLAG instead of hard coding -fPIC.
4301
4302 commit 3016ba47035ac3561aabd48e2be70167fe157d6a
4303 Author: Darren Tucker <dtucker@dtucker.net>
4304 Date:   Fri Feb 25 11:37:11 2022 +1100
4305
4306     Add tests for latest releases of {Libre,Open}SSL.
4307
4308 commit f107467179428a0e3ea9e4aa9738ac12ff02822d
4309 Author: Colin Watson <cjwatson@debian.org>
4310 Date:   Thu Feb 24 16:04:18 2022 +0000
4311
4312     Improve detection of -fzero-call-used-regs=all support
4313     
4314     GCC doesn't tell us whether this option is supported unless it runs into
4315     the situation where it would need to emit corresponding code.
4316
4317 commit 3383b2cac0e9275bc93c4b4760e6e048f537e1d6
4318 Author: djm@openbsd.org <djm@openbsd.org>
4319 Date:   Wed Feb 23 21:21:49 2022 +0000
4320
4321     upstream: free(3) wants stdlib.h
4322     
4323     OpenBSD-Commit-ID: 227a8c70a95b4428c49e46863c9ef4bd318a3b8a
4324
4325 commit a4537e79ab4ac6db4493c5158744b9ebde5efcb0
4326 Author: djm@openbsd.org <djm@openbsd.org>
4327 Date:   Wed Feb 23 21:21:16 2022 +0000
4328
4329     upstream: put back the scp manpage changes for SFTP mode too
4330     
4331     OpenBSD-Commit-ID: 05dc53921f927e1b5e5694e1f3aa314549f2e768
4332
4333 commit 449bcb8403adfb9724805d02a51aea76046de185
4334 Author: deraadt@openbsd.org <deraadt@openbsd.org>
4335 Date:   Wed Feb 23 19:01:00 2022 +0000
4336
4337     upstream: and we go back to testing sftp-scp after the 8.9
4338     
4339     release...
4340     
4341     OpenBSD-Commit-ID: a80440168258adca543a4607b871327a279c569c
4342
4343 commit 166456cedad3962b83b848b1e9caf80794831f0f
4344 Author: Damien Miller <djm@mindrot.org>
4345 Date:   Wed Feb 23 22:31:11 2022 +1100
4346
4347     makedepend
4348
4349 commit 32ebaa0dbca5d0bb86e384e72bebc153f48413e4
4350 Author: djm@openbsd.org <djm@openbsd.org>
4351 Date:   Wed Feb 23 11:18:13 2022 +0000
4352
4353     upstream: avoid integer overflow of auth attempts (harmless, caught
4354     
4355     by monitor)
4356     
4357     OpenBSD-Commit-ID: 488ad570b003b21e0cd9e7a00349cfc1003b4d86
4358
4359 commit 6e0258c64c901753df695e06498b26f9f4812ea6
4360 Author: djm@openbsd.org <djm@openbsd.org>
4361 Date:   Wed Feb 23 11:17:10 2022 +0000
4362
4363     upstream: randomise the password used in fakepw
4364     
4365     OpenBSD-Commit-ID: 34e159f73b1fbf0a924a9c042d8d61edde293947
4366
4367 commit bf114d6f0a9df0b8369823d9a0daa6c72b0c4cc9
4368 Author: djm@openbsd.org <djm@openbsd.org>
4369 Date:   Wed Feb 23 11:15:57 2022 +0000
4370
4371     upstream: use asprintf to construct .rhosts paths
4372     
4373     OpenBSD-Commit-ID: 8286e8d3d2c6ff916ff13d041d1713073f738a8b
4374
4375 commit c07e154fbdc7285e9ec54e78d8a31f7325d43537
4376 Author: djm@openbsd.org <djm@openbsd.org>
4377 Date:   Wed Feb 23 11:07:09 2022 +0000
4378
4379     upstream: openssh-8.9
4380     
4381     OpenBSD-Commit-ID: 5c5f791c87c483cdab6d9266b43acdd9ca7bde0e
4382
4383 commit bc16667b4a1c3cad7029304853c143a32ae04bd4
4384 Author: Darren Tucker <dtucker@dtucker.net>
4385 Date:   Tue Feb 22 15:29:22 2022 +1100
4386
4387     Extend select+rlimit sanbox test to include poll.
4388     
4389     POSIX specifies that poll() shall fail if "nfds argument is greater
4390     than {OPEN_MAX}".  The setrlimit sandbox sets this to effectively zero
4391     so this causes poll() to fail in the preauth privsep process.
4392     
4393     This is likely the underlying cause for the previously observed similar
4394     behaviour of select() on plaforms where it is implement in userspace on
4395     top of poll().
4396
4397 commit 6520c488de95366be031d49287ed243620399e23
4398 Author: Darren Tucker <dtucker@dtucker.net>
4399 Date:   Tue Feb 22 13:08:59 2022 +1100
4400
4401     Add Alpine Linux test VM.
4402
4403 commit a4b325a3fc82d11e0f5d61f62e7fde29415f7afb
4404 Author: Darren Tucker <dtucker@dtucker.net>
4405 Date:   Tue Feb 22 12:27:07 2022 +1100
4406
4407     Include sys/param.h if present.
4408     
4409     Needed for howmany() on MUSL systems such as Alpine.
4410
4411 commit 5a102e9cb287a43bd7dfe594b775a89a8e94697c
4412 Author: Darren Tucker <dtucker@dtucker.net>
4413 Date:   Tue Feb 22 12:25:52 2022 +1100
4414
4415     Only include sys/poll.h if we don't have poll.h.
4416     
4417     Prevents warnings on MUSL based systems such as Alpine.
4418
4419 commit 7c0d4ce911d5c58b6166b2db754a4e91f352adf5
4420 Author: Damien Miller <djm@mindrot.org>
4421 Date:   Tue Feb 22 11:14:51 2022 +1100
4422
4423     disable agent-restrict test on minix3
4424     
4425     Minix seems to have a platform-wide limit on the number of
4426     select(2) syscalls that can be concurrently issued. This test
4427     seems to exceed this limit.
4428     
4429     Refer to:
4430     
4431     https://github.com/Stichting-MINIX-Research-Foundation/minix/blob/R3.3.0/minix/servers/vfs/select.c#L114
4432     https://github.com/Stichting-MINIX-Research-Foundation/minix/blob/R3.3.0/minix/servers/vfs/select.c#L30-L31
4433
4434 commit 81d33d8e3cf7ea5ce3a5653c6102b623e019428a
4435 Author: Darren Tucker <dtucker@dtucker.net>
4436 Date:   Mon Feb 21 21:27:20 2022 +1100
4437
4438     Skip agent-getpeereid when running as root.
4439
4440 commit fbd772570a25436a33924d91c164d2b24021f010
4441 Author: dtucker@openbsd.org <dtucker@openbsd.org>
4442 Date:   Sun Feb 20 03:47:26 2022 +0000
4443
4444     upstream: Aproximate realpath on the expected output by deduping
4445     
4446     leading slashes. Fixes test failure when user's home dir is / which is
4447     possible in some portable configurations.
4448     
4449     OpenBSD-Regress-ID: 53b8c53734f8893806961475c7106397f98d9f63
4450
4451 commit 336685d223a59f893faeedf0a562e053fd84058e
4452 Author: Darren Tucker <dtucker@dtucker.net>
4453 Date:   Sun Feb 20 13:30:52 2022 +1100
4454
4455     Really move DSA to end of list.
4456     
4457     In commit ad16a84e syncing from OpenBSD, RSA was accidentally moved to
4458     the end of the list instead of DSA.  Spotted by andrew at fyfe.gb.net.
4459
4460 commit 63bf4f49ed2fdf2da6f97136c9df0c8168546eb3
4461 Author: Darren Tucker <dtucker@dtucker.net>
4462 Date:   Fri Feb 18 12:12:21 2022 +1100
4463
4464     Add test configs for MUSL C library.
4465
4466 commit f7fc6a43f1173e8b2c38770bf6cee485a562d03b
4467 Author: Damien Miller <djm@mindrot.org>
4468 Date:   Thu Feb 17 22:54:19 2022 +1100
4469
4470     minix needs BROKEN_POLL too; chokes on /dev/null
4471
4472 commit 667fec5d4fe4406745750a32f69b5d2e1a75e94b
4473 Author: djm@openbsd.org <djm@openbsd.org>
4474 Date:   Thu Feb 17 10:58:27 2022 +0000
4475
4476     upstream: check for EINTR/EAGAIN failures in the rfd fast-path; caught
4477     
4478     by dtucker's minix3 vm :) ok dtucker@
4479     
4480     OpenBSD-Commit-ID: 2e2c895a3e82ef347aa6694394a76a438be91361
4481
4482 commit 41417dbda9fb55a0af49a8236e3ef9d50d862644
4483 Author: Darren Tucker <dtucker@dtucker.net>
4484 Date:   Thu Feb 17 22:05:29 2022 +1100
4485
4486     Comment hurd test, the VM is currently broken.
4487
4488 commit b2aee35a1f0dc798339b3fcf96136da71b7e3f6d
4489 Author: Damien Miller <djm@mindrot.org>
4490 Date:   Thu Feb 17 21:15:16 2022 +1100
4491
4492     find sk-dummy.so when build_dir != src_dir
4493     
4494     spotted by Corinna Vinschen; feedback & ok dtucker@
4495
4496 commit 62a2d4e50b2e89f2ef04576931895d5139a5d037
4497 Author: Damien Miller <djm@mindrot.org>
4498 Date:   Wed Feb 16 16:26:17 2022 +1100
4499
4500     update versions in preparation for 8.9 release
4501
4502 commit dd6d3dded721ac653ea73c017325e5bfeeec837f
4503 Author: djm@openbsd.org <djm@openbsd.org>
4504 Date:   Tue Feb 15 05:13:36 2022 +0000
4505
4506     upstream: document the unbound/host-bound options to
4507     
4508     PubkeyAuthentication; spotted by HARUYAMA Seigo
4509     
4510     OpenBSD-Commit-ID: 298f681b66a9ecd498f0700082c7a6c46e948981
4511
4512 commit df93529dd727fdf2fb290700cd4f1adb0c3c084b
4513 Author: Darren Tucker <dtucker@dtucker.net>
4514 Date:   Mon Feb 14 14:19:40 2022 +1100
4515
4516     Test if sshd accidentally acquires controlling tty
4517     
4518     When SSHD_ACQUIRES_CTTY is defined, test for the problematic behaviour
4519     in the STREAMS code before activating the workaround.  ok djm@
4520
4521 commit 766176cfdbfd7ec38bb6118dde6e4daa0df34888
4522 Author: Darren Tucker <dtucker@dtucker.net>
4523 Date:   Sat Feb 12 10:24:56 2022 +1100
4524
4525     Add cygwin-release test config.
4526     
4527     This tests the flags used to build the cygwin release binaries.
4528
4529 commit b30698662b862f5397116d23688aac0764e0886e
4530 Author: Darren Tucker <dtucker@dtucker.net>
4531 Date:   Fri Feb 11 21:00:35 2022 +1100
4532
4533     Move SSHD_ACQUIRES_CTTY workaround into compat.
4534     
4535     On some (most? all?) SysV based systems with STREAMS based ptys,
4536     sshd could acquire a controlling terminal during pty setup when
4537     it pushed the "ptem" module, due to what is probably a bug in
4538     the STREAMS driver that's old enough to vote.  Because it was the
4539     privileged sshd's controlling terminal, it was not available for
4540     the user's session, which ended up without one.  This is known to
4541     affect at least Solaris <=10, derivatives such as OpenIndiana and
4542     several other SysV systems.  See bz#245 for the backstory.
4543     
4544     In the we past worked around that by not calling setsid in the
4545     privileged sshd child, which meant it was not a session or process
4546     group leader.  This solved controlling terminal problem because sshd
4547     was not eligble to acquire one, but had other side effects such as
4548     not cleaning up helper subprocesses in the SIGALRM handler since it
4549     was not PG leader.  Recent cleanups in the signal handler uncovered
4550     this, resulting in the LoginGraceTime timer not cleaning up privsep
4551     unprivileged processes.
4552     
4553     This change moves the workaround into the STREAMS pty allocation code,
4554     by allocating a sacrificial pty to act as sshd's controlling terminal
4555     before allocating user ptys, so those are still available for users'
4556     sessions.
4557     
4558     On the down side:
4559      - this will waste a pty per ssh connection on affected platforms.
4560     
4561     On the up side:
4562      - it makes the process group behaviour consistent between platforms.
4563     
4564      - it puts the workaround nearest the code that actually causes the
4565        problem and competely out of the mainline code.
4566     
4567      - the workaround is only activated if you use the STREAMS code.  If,
4568        say, Solaris 11 has the bug but also a working openpty() it doesn't
4569        matter that we defined SSHD_ACQUIRES_CTTY.
4570     
4571      - the workaround is only activated when the fist pty is allocated,
4572        ie in the post-auth privsep monitor.  This means there's no risk
4573        of fd leaks to the unprivileged processes, and there's no effect on
4574        sessions that do not allocate a pty.
4575     
4576     Based on analysis and work by djm@, ok djm@
4577
4578 commit cd00b48cf10f3565936a418c1e6d7e48b5c36140
4579 Author: Darren Tucker <dtucker@dtucker.net>
4580 Date:   Fri Feb 11 20:09:32 2022 +1100
4581
4582     Simplify handling of --with-ssl-dir.
4583     
4584     ok djm@
4585
4586 commit ea13fc830fc0e0dce2459f1fab2ec5099f73bdf0
4587 Author: Darren Tucker <dtucker@dtucker.net>
4588 Date:   Fri Feb 11 13:39:29 2022 +1100
4589
4590     Stop testing OpenBSD HEAD on 6.9 and 7.0.
4591     
4592     HEAD is not guaranteed to work on previous stable branches, and at the
4593     moment is broken due to libfido API changes.
4594
4595 commit 50b9e4a4514697ffb9592200e722de6b427cb9ff
4596 Author: dtucker@openbsd.org <dtucker@openbsd.org>
4597 Date:   Fri Feb 11 00:43:56 2022 +0000
4598
4599     upstream: Always initialize delim before passing to hpdelim2 which
4600     
4601     might not set it. Found by the Valgrind tests on github, ok deraadt@
4602     
4603     OpenBSD-Commit-ID: c830c0db185ca43beff3f41c19943c724b4f636d
4604
4605 commit 6ee53064f476cf163acd5521da45b11b7c57321b
4606 Author: Darren Tucker <dtucker@dtucker.net>
4607 Date:   Fri Feb 11 10:03:06 2022 +1100
4608
4609     Fix helper include path and remove excess code.
4610     
4611     Looks like test_hpdelim.c was imported twice into the same file.
4612     Spotted by kevin.brott at gmail com and chris at cataclysmal org.
4613
4614 commit 9fa63a19f68bc87452d3cf5c577cafad2921b7a4
4615 Author: Darren Tucker <dtucker@dtucker.net>
4616 Date:   Thu Feb 10 23:27:02 2022 +1100
4617
4618     Put poll.h inside ifdef.
4619
4620 commit 3ac00dfeb54b252c15dcbf1971582e9e3b946de6
4621 Author: Darren Tucker <dtucker@dtucker.net>
4622 Date:   Thu Feb 10 22:17:31 2022 +1100
4623
4624     We now support POLLPRI so actually define it.
4625
4626 commit 25bd659cc72268f2858c5415740c442ee950049f
4627 Author: dtucker@openbsd.org <dtucker@openbsd.org>
4628 Date:   Sun Feb 6 22:58:33 2022 +0000
4629
4630     upstream: Add test for empty hostname with port.
4631     
4632     OpenBSD-Regress-ID: e19e89d3c432b68997667efea44cf015bbe2a7e3
4633
4634 commit a29af853cff41c0635f0378c00fe91bf9c91dea4
4635 Author: dtucker@openbsd.org <dtucker@openbsd.org>
4636 Date:   Fri Feb 4 07:53:44 2022 +0000
4637
4638     upstream: Add unit tests for hpdelim.
4639     
4640     OpenBSD-Regress-ID: be97b85c19895e6a1ce13c639765a3b48fd95018
4641
4642 commit 9699151b039ecc5fad9ac6c6c02e9afdbd26f15f
4643 Author: djm@openbsd.org <djm@openbsd.org>
4644 Date:   Thu Feb 10 04:12:38 2022 +0000
4645
4646     upstream: revert for imminent OpenSSH release, which wil ship with
4647     
4648     scp in RCP mode.
4649     
4650     > revision 1.106
4651     > date: 2021/10/15 14:46:46;  author: deraadt;  state: Exp;  lines: +13 -9;  commitid: w5n9B2RE38tFfggl;
4652     > openbsd 7.0 release shipped with the (hopefully last) scp that uses RCP
4653     > protocol for copying.  Let's get back to testing the SFTP protocol.
4654     
4655     This will be put back once the OpenSSH release is done.
4656     
4657     OpenBSD-Commit-ID: 0c725481a78210aceecff1537322c0b2df03e768
4658
4659 commit 45279abceb37c3cbfac8ba36dde8b2c8cdd63d32
4660 Author: dtucker@openbsd.org <dtucker@openbsd.org>
4661 Date:   Tue Feb 8 08:59:12 2022 +0000
4662
4663     upstream: Switch hpdelim interface to accept only ":" as delimiter.
4664     
4665     Historicallly, hpdelim accepted ":" or "/" as a port delimiter between
4666     hosts (or addresses) and ports.  These days most of the uses for "/"
4667     are no longer accepted, so there are several places where it checks the
4668     delimiter to disallow it.  Make hpdelim accept only ":" and use hpdelim2
4669     in the other cases.  ok djm@
4670     
4671     OpenBSD-Commit-ID: 7e6420bd1be87590b6840973f5ad5305804e3102
4672
4673 commit a1bcbf04a7c2d81944141db7ecd0ba292d175a66
4674 Author: pedro martelletto <pedro@yubico.com>
4675 Date:   Mon Feb 7 09:09:59 2022 +0100
4676
4677     fix typos in previous
4678
4679 commit 56192518e329b39f063487bc2dc4d796f791eca0
4680 Author: Damien Miller <djm@mindrot.org>
4681 Date:   Mon Feb 7 12:53:47 2022 +1100
4682
4683     compat code for fido_assert_set_clientdata()
4684
4685 commit d6b5aa08fdcf9b527f8b8f932432941d5b76b7ab
4686 Author: djm@openbsd.org <djm@openbsd.org>
4687 Date:   Mon Feb 7 01:25:12 2022 +0000
4688
4689     upstream: use libfido2 1.8.0+ fido_assert_set_clientdata() instead
4690     
4691     of manually hashing data outselves. Saves a fair bit of code and makes life
4692     easier for some -portable platforms.
4693     
4694     OpenBSD-Commit-ID: 351dfaaa5ab1ee928c0e623041fca28078cff0e0
4695
4696 commit 86cc93fd3c26b2e0c7663c6394995fb04ebfbf3b
4697 Author: jsg@openbsd.org <jsg@openbsd.org>
4698 Date:   Sun Feb 6 00:29:03 2022 +0000
4699
4700     upstream: remove please from manual pages ok jmc@ sthen@ millert@
4701     
4702     OpenBSD-Commit-ID: 6543acb00f4f38a23472538e1685c013ca1a99aa
4703
4704 commit ad16a84e64a8cf1c69c63de3fb9008320a37009c
4705 Author: dtucker@openbsd.org <dtucker@openbsd.org>
4706 Date:   Fri Feb 4 02:49:17 2022 +0000
4707
4708     upstream: Since they are deprecated, move DSA to the end of the
4709     
4710     default list of public keys so that they will be tried last.  From github
4711     PR#295 from "ProBackup-nl", ok djm@
4712     
4713     OpenBSD-Commit-ID: 7e5d575cf4971d4e2de92e0b6d6efaba53598bf0
4714
4715 commit 253de42753de85dde266e061b6fec12ca6589f7d
4716 Author: Damien Miller <djm@mindrot.org>
4717 Date:   Wed Feb 2 16:52:07 2022 +1100
4718
4719     portable-specific string array constification
4720     
4721     from Mike Frysinger
4722
4723 commit dfdcc2220cf359c492d5d34eb723370e8bd8a19e
4724 Author: djm@openbsd.org <djm@openbsd.org>
4725 Date:   Tue Feb 1 23:37:15 2022 +0000
4726
4727     upstream: test 'ssh-keygen -Y find-principals' with wildcard
4728     
4729     principals; from Fabian Stelzer
4730     
4731     OpenBSD-Regress-ID: fbe4da5f0032e7ab496527a5bf0010fd700f8f40
4732
4733 commit 968e508967ef42480cebad8cf3172465883baa77
4734 Author: dtucker@openbsd.org <dtucker@openbsd.org>
4735 Date:   Fri Jan 21 02:54:41 2022 +0000
4736
4737     upstream: Enable all supported ciphers and macs in the server
4738     
4739     before trying to benchmark them.  Increase the data file size to get more
4740     signal.
4741     
4742     OpenBSD-Regress-ID: dc3697d9f7defdfc51c608782c8e750128e46eb6
4743
4744 commit 15b7199a1fd37eff4c695e09d573f3db9f4274b7
4745 Author: djm@openbsd.org <djm@openbsd.org>
4746 Date:   Tue Feb 1 23:34:47 2022 +0000
4747
4748     upstream: allow 'ssh-keygen -Y find-principals' to match wildcard
4749     
4750     principals in allowed_signers files; from Fabian Stelzer
4751     
4752     OpenBSD-Commit-ID: 1e970b9c025b80717dddff5018fe5e6f470c5098
4753
4754 commit 541667fe6dc26d7881e55f0bb3a4baa6f3171645
4755 Author: djm@openbsd.org <djm@openbsd.org>
4756 Date:   Tue Feb 1 23:32:51 2022 +0000
4757
4758     upstream: mark const string array contents const too, i.e. static
4759     
4760     const char *array => static const char * const array from Mike Frysinger
4761     
4762     OpenBSD-Commit-ID: a664e31ea6a795d7c81153274a5f47b22bdc9bc1
4763
4764 commit 8cfa73f8a2bde4c98773f33f974c650bdb40dd3c
4765 Author: djm@openbsd.org <djm@openbsd.org>
4766 Date:   Tue Feb 1 23:11:11 2022 +0000
4767
4768     upstream: better match legacy scp behaviour: show un-expanded paths
4769     
4770     in error messages. Spotted by and ok tb@
4771     
4772     OpenBSD-Commit-ID: 866c8ffac5bd7d38ecbfc3357c8adfa58af637b7
4773
4774 commit 4e62c13ab419b4b224c8bc6a761e91fcf048012d
4775 Author: dtucker@openbsd.org <dtucker@openbsd.org>
4776 Date:   Tue Feb 1 07:57:32 2022 +0000
4777
4778     upstream: Remove explicit kill of privsep preauth child's PID in
4779     
4780     SIGALRM handler. It's no longer needed since the child will get terminated by
4781     the SIGTERM to the process group that cleans up any auth helpers, it
4782     simplifies the signal handler and removes the risk of a race when updating
4783     the PID. Based on analysis by HerrSpace in github PR#289, ok djm@
4784     
4785     OpenBSD-Commit-ID: 2be1ffa28b4051ad9e33bb4371e2ec8a31d6d663
4786
4787 commit 2a7ccd2ec4022917b745af7186f514f365b7ebe9
4788 Author: guenther@openbsd.org <guenther@openbsd.org>
4789 Date:   Fri Jan 28 06:18:42 2022 +0000
4790
4791     upstream: When it's the possessive of 'it', it's spelled "its",
4792     
4793     without the apostrophe.
4794     
4795     OpenBSD-Commit-ID: fb6ab9c65bd31de831da1eb4631ddac018c5fae7
4796
4797 commit 8a0848cdd3b25c049332cd56034186b7853ae754
4798 Author: Alex James <theracermaster@gmail.com>
4799 Date:   Sun Jan 30 16:13:36 2022 -0600
4800
4801     sandbox-seccomp-filter: allow gettid
4802     
4803     Some allocators (such as Scudo) use gettid while tracing allocations [1].
4804     Allow gettid in preauth to prevent sshd from crashing with Scudo.
4805     
4806     [1]: https://github.com/llvm/llvm-project/blob/llvmorg-13.0.0/compiler-rt/lib/gwp_asan/common.cpp#L46
4807
4808 commit b30d32159dc3c7052f4bfdf36357996c905af739
4809 Author: djm@openbsd.org <djm@openbsd.org>
4810 Date:   Sat Jan 22 00:49:34 2022 +0000
4811
4812     upstream: add a ssh_packet_process_read() function that reads from
4813     
4814     a fd directly into the transport input buffer.
4815     
4816     Use this in the client and server mainloops to avoid unnecessary
4817     copying. It also lets us use a more greedy read size without penalty.
4818     
4819     Yields a 2-3% performance gain on cipher-speed.sh (in a fairly
4820     unscientific test tbf)
4821     
4822     feedback dtucker@ ok markus@
4823     
4824     OpenBSD-Commit-ID: df4112125bf79d8e38e79a77113e1b373078e632
4825
4826 commit a1a8efeaaa9cccb15cdc0a2bd7c347a149a3a7e3
4827 Author: djm@openbsd.org <djm@openbsd.org>
4828 Date:   Sat Jan 22 00:45:31 2022 +0000
4829
4830     upstream: Use sshbuf_read() to read directly into the channel input
4831     
4832     buffer rather than into a stack buffer that needs to be copied again;
4833     Improves performance by about 1% on cipher-speed.sh feedback dtucker@ ok
4834     markus@
4835     
4836     OpenBSD-Commit-ID: bf5e6e3c821ac3546dc8241d8a94e70d47716572
4837
4838 commit 29a76994e21623a1f84d68ebb9dc5a3c909fa3a7
4839 Author: Damien Miller <djm@mindrot.org>
4840 Date:   Tue Jan 25 11:52:34 2022 +1100
4841
4842     depend
4843
4844 commit 754e0d5c7712296a7a3a83ace863812604c7bc4f
4845 Author: djm@openbsd.org <djm@openbsd.org>
4846 Date:   Sat Jan 22 00:43:43 2022 +0000
4847
4848     upstream: Add a sshbuf_read() that attempts to read(2) directly in
4849     
4850     to a sshbuf; ok markus@
4851     
4852     OpenBSD-Commit-ID: 2d8f249040a4279f3bc23c018947384de8d4a45b
4853
4854 commit c7964fb9829d9ae2ece8b51a76e4a02e8449338d
4855 Author: djm@openbsd.org <djm@openbsd.org>
4856 Date:   Fri Jan 21 07:04:19 2022 +0000
4857
4858     upstream: add a helper for writing an error message to the
4859     
4860     stderr_buf and setting quit_pending; no functional change but saves a bunch
4861     of boilerplate
4862     
4863     OpenBSD-Commit-ID: 0747657cad6b9eabd514a6732adad537568e232d
4864
4865 commit d23b4f7fdb1bd87e2cd7a9ae7c198ae99d347916
4866 Author: djm@openbsd.org <djm@openbsd.org>
4867 Date:   Fri Jan 21 06:58:06 2022 +0000
4868
4869     upstream: correct comment and use local variable instead of long
4870     
4871     indirection; spotted by dtucker@
4872     
4873     OpenBSD-Commit-ID: 5f65f5f69db2b7d80a0a81b08f390a63f8845965
4874
4875 commit d069b020a02b6e3935080204ee44d233e8158ebb
4876 Author: deraadt@openbsd.org <deraadt@openbsd.org>
4877 Date:   Fri Jan 21 00:53:40 2022 +0000
4878
4879     upstream: When poll(2) returns -1, for some error conditions
4880     
4881     pfd[].revents is not cleared.  There are subtle errors in various programs.
4882     In this particular case, the program should error out. ok djm millert
4883     
4884     OpenBSD-Commit-ID: 00f839b16861f7fb2adcf122e95e8a82fa6a375c
4885
4886 commit e204b34337a965feb439826157c191919fd9ecf8
4887 Author: Damien Miller <djm@mindrot.org>
4888 Date:   Sat Jan 22 11:38:21 2022 +1100
4889
4890     restore tty force-read hack
4891     
4892     This portable-specific hack fixes a hang on exit for ttyful sessions
4893     on Linux and some SysVish Unix variants. It was accidentally disabled
4894     in commit 5c79952dfe1a (a precursor to the mainloop poll(2) conversion).
4895     
4896     Spotted by John in bz3383
4897
4898 commit 68085066b6bad43643b43f5957fcc5fd34782ccd
4899 Author: Corinna Vinschen <vinschen@redhat.com>
4900 Date:   Fri Jan 21 03:22:56 2022 +1100
4901
4902     Fix signedness bug in Cygwin code
4903     
4904     The Cygwin-specific pattern match code has a bug.  It checks
4905     the size_t value returned by mbstowcs for being < 0.  The right
4906     thing to do is to check against (size_t) -1.  Fix that.
4907     
4908     Signed-off-by: Corinna Vinschen <vinschen@redhat.com>
4909
4910 commit 2e5cfed513e84444483baf1d8b31c40072b05103
4911 Author: Darren Tucker <dtucker@dtucker.net>
4912 Date:   Thu Jan 20 13:26:27 2022 +1100
4913
4914     Improve compatibility of early exit trap handling.
4915     
4916     Dash (as used by the github runners) has some differences in its trap
4917     builtin:
4918      - it doesn't have -p (which is fine, that's not in posix).
4919      - it doesn't work in a subshell (which turns out to be in compliance
4920        with posix, which means bash isn't).
4921      - it doesn't work in a pipeline, ie "trap|cat" produces no output.
4922
4923 commit 3fe6800b6027add478e648934cbb29d684e51943
4924 Author: Darren Tucker <dtucker@dtucker.net>
4925 Date:   Thu Jan 20 00:49:57 2022 +1100
4926
4927     Move more tests out of valgrind-1 runner.
4928
4929 commit 20da6ed136dd76e6a0b229ca3036ef9c7c7ef798
4930 Author: Darren Tucker <dtucker@dtucker.net>
4931 Date:   Wed Jan 19 15:37:39 2022 +1100
4932
4933     Invoke EXIT handler early when using Valgrind.
4934     
4935     When using Valgrind, we need to wait for all invoked programs to
4936     complete before checking their valgrind logs.  Some tests, notably
4937     agent-restrict, set an EXIT trap handler to clean up things like
4938     ssh-agent, but those do not get invoked until test-exec.sh exits.
4939     This causes the Valgrind wait to deadlock, so if present invoke
4940     the EXIT handler before checking the Valgrind logs.
4941
4942 commit ad2e0580c87b0714cf166bca9d926a95ddeee1c8
4943 Author: Darren Tucker <dtucker@dtucker.net>
4944 Date:   Tue Jan 18 12:55:21 2022 +1100
4945
4946     Remove line leftover from upstream sync.
4947
4948 commit d1051c0f11a6b749027e26bbeb61b07df4b67e15
4949 Author: djm@openbsd.org <djm@openbsd.org>
4950 Date:   Mon Jan 17 22:56:04 2022 +0000
4951
4952     upstream: when decompressing zlib compressed packets, use
4953     
4954     Z_SYNC_FLUSH instead of Z_PARTIAL_FLUSH as the latter is not actually
4955     specified as a valid mode for inflate(). There should be no practical change
4956     in behaviour as the compression side ensures a flush that should make all
4957     data available to the receiver in all cases.
4958     
4959     repoted by lamm AT ibm.com via bz3372; ok markus
4960     
4961     OpenBSD-Commit-ID: 67cfc1fa8261feae6d2cc0c554711c97867cc81b
4962
4963 commit d5981b1883746b1ae178a46229c26b53af99e37a
4964 Author: djm@openbsd.org <djm@openbsd.org>
4965 Date:   Mon Jan 17 21:41:04 2022 +0000
4966
4967     upstream: make most of the sftp errors more idiomatic, following
4968     
4969     the general form of "[local/remote] operation path: error message"; ok markus
4970     
4971     OpenBSD-Commit-ID: 61364cd5f3a9fecaf8d63b4c38a42c0c91f8b571
4972
4973 commit ac7c9ec894ed0825d04ef69c55babb49bab1d32e
4974 Author: djm@openbsd.org <djm@openbsd.org>
4975 Date:   Mon Jan 17 21:39:51 2022 +0000
4976
4977     upstream: when transferring multiple files in SFTP mode, create the
4978     
4979     destination directory if it doesn't already exist to match olde-scp(1)
4980     behaviour. noticed by deraadt@ ok markus@
4981     
4982     OpenBSD-Commit-ID: cf44dfa231d4112f697c24ff39d7ecf2e6311407
4983
4984 commit 39d17e189f8e72c34c722579d8d4e701fa5132da
4985 Author: djm@openbsd.org <djm@openbsd.org>
4986 Date:   Fri Jan 14 03:43:48 2022 +0000
4987
4988     upstream: allow pin-required FIDO keys to be added to ssh-agent(1).
4989     
4990     ssh-askpass will be used to request the PIN at authentication time.
4991     
4992     From Pedro Martelletto, ok djm
4993     
4994     OpenBSD-Commit-ID: de8189fcd35b45f632484864523c1655550e2950
4995
4996 commit 52423f64e13db2bdc31a51b32e999cb1bfcf1263
4997 Author: djm@openbsd.org <djm@openbsd.org>
4998 Date:   Fri Jan 14 03:35:10 2022 +0000
4999
5000     upstream: ssh-sk: free a resident key's user id
5001     
5002     From Pedro Martelletto; ok dtucker & me
5003     
5004     OpenBSD-Commit-ID: 47be40d602b7a6458c4c71114df9b53d149fc2e9
5005
5006 commit 014e2f147a2788bfb3cc58d1b170dcf2bf2ee493
5007 Author: djm@openbsd.org <djm@openbsd.org>
5008 Date:   Fri Jan 14 03:34:00 2022 +0000
5009
5010     upstream: sshsk_load_resident: don't preallocate resp
5011     
5012     resp is allocated by client_converse(), at which point we lose
5013     the original pointer.
5014     
5015     From Pedro Martelletto; ok dtucker & me
5016     
5017     OpenBSD-Commit-ID: 1f1b5ea3282017d6584dfed4f8370dc1db1f44b1
5018
5019 commit c88265f207dfe0e8bdbaf9f0eda63ed6b33781cf
5020 Author: djm@openbsd.org <djm@openbsd.org>
5021 Date:   Fri Jan 14 03:32:52 2022 +0000
5022
5023     upstream: sshsk_sign: trim call to sshkey_fingerprint()
5024     
5025     the resulting fingerprint doesn't appear to be used for anything,
5026     and we end up leaking it.
5027     
5028     from Pedro Martelletto; ok dtucker & me
5029     
5030     OpenBSD-Commit-ID: 5625cf6c68f082bc2cbbd348e69a3ed731d2f9b7
5031
5032 commit 1cd1b2eac39661b849d5a4b4b56363e22bb5f61e
5033 Author: djm@openbsd.org <djm@openbsd.org>
5034 Date:   Fri Jan 14 03:31:52 2022 +0000
5035
5036     upstream: use status error message to communicate ~user expansion
5037     
5038     failures; provides better experience for scp in sftp mode, where ~user paths
5039     are more likely to be used; spotted jsg, feedback jsg & deraadt ok jsg &
5040     markus
5041     
5042     (forgot to include this file in previous commit)
5043     
5044     OpenBSD-Commit-ID: d37cc4c8c861ce48cd6ea9899e96aaac3476847b
5045
5046 commit a1d42a6ce0398da3833bedf374ef2571af7fea50
5047 Author: Damien Miller <djm@mindrot.org>
5048 Date:   Fri Jan 14 13:49:32 2022 +1100
5049
5050     fix edge case in poll(2) wrapper
5051     
5052     Correct handling of select(2) exceptfds. These should only be consulted
5053     for POLLPRI flagged pfds and not unconditionally converted to POLLERR.
5054     
5055     with and ok dtucker@
5056
5057 commit 976b9588b4b5babcaceec4767a241c11a67a5ccb
5058 Author: Darren Tucker <dtucker@dtucker.net>
5059 Date:   Fri Jan 14 13:46:35 2022 +1100
5060
5061     Wrap OpenSSL includes in unit tests in ifdef.
5062     
5063     Fixes unit test on systems that do not have OpenSSL headers installed.
5064
5065 commit c171879374b2e8b07157503f5639ed0bce59ce89
5066 Author: Darren Tucker <dtucker@dtucker.net>
5067 Date:   Thu Jan 13 15:53:33 2022 +1100
5068
5069     Remove sort wrapper.
5070     
5071     agent-restrict now takes care of this itself.
5072
5073 commit 9cc2654403f1a686bb26c07a6ac790edf334cef5
5074 Author: dtucker@openbsd.org <dtucker@openbsd.org>
5075 Date:   Thu Jan 13 04:53:16 2022 +0000
5076
5077     upstream: Set LC_ALL in both local and remote shells so that sorted
5078     
5079     output matches regardless of what the user's shell sets it to.  ok djm@
5080     
5081     OpenBSD-Regress-ID: 4e97dd69a68b05872033175a4c2315345d01837f
5082
5083 commit 7a75f748cb2dd2f771bf70ea72698aa027996ab1
5084 Author: dtucker@openbsd.org <dtucker@openbsd.org>
5085 Date:   Thu Jan 13 04:22:10 2022 +0000
5086
5087     upstream: Avoid %'s in commands (not used in OpenBSD, but used in
5088     
5089     -portable's Valgrind test) being interpretted as printf format strings.
5090     
5091     OpenBSD-Regress-ID: dc8655db27ac4acd2c386c4681bf42a10d80b043
5092
5093 commit 6c435bd4994d71442192001483a1cdb846e5ffcd
5094 Author: Darren Tucker <dtucker@dtucker.net>
5095 Date:   Wed Jan 12 16:58:13 2022 +1100
5096
5097     Stop on first test failure to minimize logs.
5098
5099 commit 4bc2ba6095620a4484b708ece12842afd8c7685b
5100 Author: dtucker@openbsd.org <dtucker@openbsd.org>
5101 Date:   Wed Jan 12 07:18:37 2022 +0000
5102
5103     upstream: Use egrep when searching for an anchored string.
5104     
5105     OpenBSD-Regress-ID: dd114a2ac27ac4b06f9e4a586d3f6320c54aeeb4
5106
5107 commit 6bf2efa2679da1e8e60731f41677b2081dedae2c
5108 Author: Darren Tucker <dtucker@dtucker.net>
5109 Date:   Wed Jan 12 18:25:06 2022 +1100
5110
5111     Add "rev" command replacement if needed.
5112
5113 commit 72bcd7993dadaf967bb3d8564ee31cbf38132b5d
5114 Author: dtucker@openbsd.org <dtucker@openbsd.org>
5115 Date:   Wed Jan 12 03:30:32 2022 +0000
5116
5117     upstream: Don't log NULL hostname in restricted agent code,
5118     
5119     printf("%s", NULL) is not safe on all platforms.  with & ok djm
5120     
5121     OpenBSD-Commit-ID: faf10cdae4adde00cdd668cd1f6e05d0a0e32a02
5122
5123 commit acabefe3f8fb58c867c99fed9bbf84dfa1771727
5124 Author: djm@openbsd.org <djm@openbsd.org>
5125 Date:   Tue Jan 11 22:33:16 2022 +0000
5126
5127     upstream: remove hardcoded domain and use window.location.host, so this
5128     
5129     can be run anywhere
5130     
5131     OpenBSD-Regress-ID: 2ac2ade3b6227d9c547351d3ccdfe671e62b7f92
5132
5133 commit 96da0946e44f34adc0397eb7caa6ec35a3e79891
5134 Author: dtucker@openbsd.org <dtucker@openbsd.org>
5135 Date:   Tue Jan 11 02:56:19 2022 +0000
5136
5137     upstream: "void" functions should not return anything. From Tim Rice
5138     
5139     via -portable.
5140     
5141     OpenBSD-Commit-ID: ce6616304f4c9881b46413e616b226c306830e2a
5142
5143 commit a882a09722c9f086c9edb65d0c4022fd965ec1ed
5144 Author: djm@openbsd.org <djm@openbsd.org>
5145 Date:   Tue Jan 11 01:26:47 2022 +0000
5146
5147     upstream: suppress "Connection to xxx closed" messages at LogLevel >=
5148     
5149     error bz3378; ok dtucker@
5150     
5151     OpenBSD-Commit-ID: d5bf457d5d2eb927b81d0663f45248a31028265c
5152
5153 commit 61a1a6af22e17fc94999a5d1294f27346e6c4668
5154 Author: Damien Miller <djm@mindrot.org>
5155 Date:   Wed Jan 12 08:57:49 2022 +1100
5156
5157     OS X poll(2) is broken; use compat replacement
5158     
5159     Darwin's poll(2) implementation is broken. For character-special
5160     devices like /dev/null, it returns POLLNVAL when polled with
5161     POLLIN.
5162     
5163     Apparently this is Apple bug 3710161, which is AFAIK not public,
5164     but a websearch will find other OSS projects rediscovering it
5165     periodically since it was first identified in 2005 (!!)
5166
5167 commit 613a6545fc5a9542753b503cbe5906538a640b60
5168 Author: Darren Tucker <dtucker@dtucker.net>
5169 Date:   Tue Jan 11 20:56:01 2022 +1100
5170
5171     libhardended_malloc.so moved into out dir.
5172
5173 commit 61761340be5e11046556623f8f5412b236cefa95
5174 Author: Tim Rice <tim@multitalents.net>
5175 Date:   Mon Jan 10 11:07:04 2022 -0800
5176
5177     Make USL compilers happy
5178     UX:acomp: ERROR: "sftp-server.c", line 567: void function cannot return value
5179
5180 commit 3ef403f351e80a59b6f7e9d43cb82c181855483c
5181 Author: Darren Tucker <dtucker@dtucker.net>
5182 Date:   Mon Jan 10 21:07:38 2022 +1100
5183
5184     Add wrapper for "sort" to set LC_ALL=C.
5185     
5186     Found by djm, this should make sorts stable and reduce test flakiness.
5187
5188 commit bd69e29f5716090181dbe0b8272eb7eab1a383bb
5189 Author: dtucker@openbsd.org <dtucker@openbsd.org>
5190 Date:   Sat Jan 8 07:55:26 2022 +0000
5191
5192     upstream: Remove errant "set -x" left over from debugging.
5193     
5194     OpenBSD-Regress-ID: cd989268e034264cec5df97be7581549032c87dc
5195
5196 commit 1a7c88e26fd673813dc5f61c4ac278564845e004
5197 Author: dtucker@openbsd.org <dtucker@openbsd.org>
5198 Date:   Sat Jan 8 07:01:13 2022 +0000
5199
5200     upstream: Enable all supported hostkey algorithms (but no others).
5201     
5202     Allows hostbased test to pass when built without OpenSSL.
5203     
5204     OpenBSD-Regress-ID: 5ddd677a68b672517e1e78460dc6ca2ccc0a9562
5205
5206 commit 12b457c2a42ff271e7967d9bedd068cebb048db9
5207 Author: djm@openbsd.org <djm@openbsd.org>
5208 Date:   Sat Jan 8 07:37:32 2022 +0000
5209
5210     upstream: use status error message to communicate ~user expansion
5211     
5212     failures; provides better experience for scp in sftp mode, where ~user paths
5213     are more likely to be used; spotted jsg, feedback jsg & deraadt ok jsg &
5214     markus
5215     
5216     OpenBSD-Commit-ID: fc610ce00ca0cdc2ecdabbd49ce7cb82033f905f
5217
5218 commit 63670d4e9030bcee490d5a9cce561373ac5b3b23
5219 Author: djm@openbsd.org <djm@openbsd.org>
5220 Date:   Sat Jan 8 07:36:11 2022 +0000
5221
5222     upstream: fix some corner-case bugs in scp sftp-mode handling of
5223     
5224     ~-prefixed paths; spotted by jsg; feedback jsg & deraadt, ok jsg & markus
5225     
5226     OpenBSD-Commit-ID: d1697dbaaa9f0f5649d69be897eab25c7d37c222
5227
5228 commit e14940bbec57fc7d3ce0644dbefa35f5a8ec97d0
5229 Author: djm@openbsd.org <djm@openbsd.org>
5230 Date:   Sat Jan 8 07:34:57 2022 +0000
5231
5232     upstream: more idiomatic error messages; spotted by jsg & deraadt
5233     
5234     ok jsg & markus
5235     
5236     OpenBSD-Commit-ID: 43618c692f3951747b4151c477c7df22afe2bcc8
5237
5238 commit 9acddcd5918c623f7ebf454520ffe946a8f15e90
5239 Author: djm@openbsd.org <djm@openbsd.org>
5240 Date:   Sat Jan 8 07:33:54 2022 +0000
5241
5242     upstream: add a variant of send_status() that allows overriding the
5243     
5244     default, generic error message. feedback/ok markus & jsg
5245     
5246     OpenBSD-Commit-ID: 81f251e975d759994131b717ee7c0b439659c40f
5247
5248 commit 961411337719d4cd78f1ab33e4ac549f3fa22f50
5249 Author: djm@openbsd.org <djm@openbsd.org>
5250 Date:   Sat Jan 8 07:32:45 2022 +0000
5251
5252     upstream: refactor tilde_expand_filename() and make it handle ~user
5253     
5254     paths with no trailing slash; feedback/ok markus and jsg
5255     
5256     OpenBSD-Commit-ID: a2ab365598a902f0f14ba6a4f8fb2d07a9b5d51d
5257
5258 commit dc38236ab6827dec575064cac65c8e7035768773
5259 Author: dtucker@openbsd.org <dtucker@openbsd.org>
5260 Date:   Thu Jan 6 22:14:25 2022 +0000
5261
5262     upstream: Don't explicitly set HostbasedAuthentication in
5263     
5264     sshd_config. It defaults to "no", and not explicitly setting it allows us to
5265     enable it for the (optional) hostbased test.
5266     
5267     OpenBSD-Regress-ID: aa8e3548eb5793721641d26e56c29f363b767c0c
5268
5269 commit e12d912ddf1c873cb72e5de9a197afbe0b6622d2
5270 Author: dtucker@openbsd.org <dtucker@openbsd.org>
5271 Date:   Thu Jan 6 21:46:56 2022 +0000
5272
5273     upstream: Add test for hostbased auth. It requires some external
5274     
5275     setup (see comments at the top) and thus is disabled unless
5276     TEST_SSH_HOSTBASED_AUTH and SUDO are set.
5277     
5278     OpenBSD-Regress-ID: 3ec8ba3750c5b595fc63e7845d13483065a4827a
5279
5280 commit a48533a8da6a0f4f05ecd055dc8048047e53569e
5281 Author: Damien Miller <djm@mindrot.org>
5282 Date:   Fri Jan 7 09:24:26 2022 +1100
5283
5284     depend
5285
5286 commit d9dbb5d9a0326e252d3c7bc13beb9c2434f59409
5287 Author: djm@openbsd.org <djm@openbsd.org>
5288 Date:   Thu Jan 6 22:06:51 2022 +0000
5289
5290     upstream: allow hostbased auth to select RSA keys when only
5291     
5292     RSA/SHA2 are configured (this is the default case); ok markus@
5293     
5294     OpenBSD-Commit-ID: 411c18c7bde40c60cc6dfb7017968577b4d4a827
5295
5296 commit fdb1d58d0d3888b042e5a500f6ce524486aaf782
5297 Author: djm@openbsd.org <djm@openbsd.org>
5298 Date:   Thu Jan 6 22:05:42 2022 +0000
5299
5300     upstream: add a helper function to match a key type to a list of
5301     
5302     signature algorithms. RSA keys can make signatures with multiple algorithms,
5303     so some special handling is required. ok markus@
5304     
5305     OpenBSD-Commit-ID: 03b41b2bda06fa4cd9c84cef6095033b9e49b6ff
5306
5307 commit 11e8c4309a5086a45fbbbc87d0af5323c6152914
5308 Author: djm@openbsd.org <djm@openbsd.org>
5309 Date:   Thu Jan 6 22:04:20 2022 +0000
5310
5311     upstream: log some details on hostkeys that ssh loads for
5312     
5313     hostbased authn ok markus@
5314     
5315     OpenBSD-Commit-ID: da17061fa1f0e58cb31b88478a40643e18233e38
5316
5317 commit c6706f661739514a34125aa3136532a958929510
5318 Author: djm@openbsd.org <djm@openbsd.org>
5319 Date:   Thu Jan 6 22:03:59 2022 +0000
5320
5321     upstream: log signature algorithm during verification by monitor;
5322     
5323     ok markus
5324     
5325     OpenBSD-Commit-ID: 02b92bb42c4d4bf05a051702a56eb915151d9ecc
5326
5327 commit 8832402bd500d1661ccc80a476fd563335ef6cdc
5328 Author: djm@openbsd.org <djm@openbsd.org>
5329 Date:   Thu Jan 6 22:02:52 2022 +0000
5330
5331     upstream: piece of UpdateHostkeys client strictification: when
5332     
5333     updating known_hosts with new keys, ignore NULL keys (forgot to include in
5334     prior commit)
5335     
5336     OpenBSD-Commit-ID: 49d2eda6379490e1ceec40c3b670b973f63dea08
5337
5338 commit c2d9ced1da0276961d86690b3bd7ebdaca7fdbf7
5339 Author: djm@openbsd.org <djm@openbsd.org>
5340 Date:   Thu Jan 6 22:01:14 2022 +0000
5341
5342     upstream: include rejected signature algorithm in error message
5343     
5344     and not the (useless) key type; ok markus
5345     
5346     OpenBSD-Commit-ID: 4180b5ec7ab347b43f84e00b1972515296dab023
5347
5348 commit 7aa7b096cf2bafe2777085abdeed5ce00581f641
5349 Author: djm@openbsd.org <djm@openbsd.org>
5350 Date:   Thu Jan 6 22:00:18 2022 +0000
5351
5352     upstream: make ssh-keysign use the requested signature algorithm
5353     
5354     and not the default for the keytype. Part of unbreaking hostbased auth for
5355     RSA/SHA2 keys. ok markus@
5356     
5357     OpenBSD-Commit-ID: b5639a14462948970da3a8020dc06f9a80ecccdc
5358
5359 commit 291721bc7c840d113a49518f3fca70e86248b8e8
5360 Author: djm@openbsd.org <djm@openbsd.org>
5361 Date:   Thu Jan 6 21:57:28 2022 +0000
5362
5363     upstream: stricter UpdateHostkey signature verification logic on
5364     
5365     the client- side. Require RSA/SHA2 signatures for RSA hostkeys except when
5366     RSA/SHA1 was explicitly negotiated during initial KEX; bz3375
5367     
5368     ok markus@
5369     
5370     OpenBSD-Commit-ID: 46e75e8dfa2c813781805b842580dcfbd888cf29
5371
5372 commit 0fa33683223c76289470a954404047bc762be84c
5373 Author: djm@openbsd.org <djm@openbsd.org>
5374 Date:   Thu Jan 6 21:55:23 2022 +0000
5375
5376     upstream: Fix signature algorithm selection logic for
5377     
5378     UpdateHostkeys on the server side. The previous code tried to prefer RSA/SHA2
5379     for hostkey proofs of RSA keys, but missed some cases. This will use RSA/SHA2
5380     signatures for RSA keys if the client proposed these algorithms in initial
5381     KEX. bz3375
5382     
5383     Mostly by Dmitry Belyavskiy with some tweaks by me.
5384     
5385     ok markus@
5386     
5387     OpenBSD-Commit-ID: c17ba0c3236340d2c6a248158ebed042ac6a8029
5388
5389 commit 17877bc81db3846e6e7d4cfb124d966bb9c9296b
5390 Author: djm@openbsd.org <djm@openbsd.org>
5391 Date:   Thu Jan 6 21:48:38 2022 +0000
5392
5393     upstream: convert ssh, sshd mainloops from select() to poll();
5394     
5395     feedback & ok deraadt@ and markus@ has been in snaps for a few months
5396     
5397     OpenBSD-Commit-ID: a77e16a667d5b194dcdb3b76308b8bba7fa7239c
5398
5399 commit 5c79952dfe1aa36105c93b3f383ce9be04dee384
5400 Author: djm@openbsd.org <djm@openbsd.org>
5401 Date:   Thu Jan 6 21:46:23 2022 +0000
5402
5403     upstream: prepare for conversion of ssh, sshd mainloop from
5404     
5405     select() to poll() by moving FD_SET construction out of channel handlers into
5406     separate functions. ok markus
5407     
5408     OpenBSD-Commit-ID: 937fbf2a4de12b19fb9d5168424e206124807027
5409
5410 commit 24c5187edfef4651a625b7d5d692c8c7e794f71f
5411 Author: djm@openbsd.org <djm@openbsd.org>
5412 Date:   Wed Jan 5 21:54:37 2022 +0000
5413
5414     upstream: add a comment so I don't make this mistake again
5415     
5416     OpenBSD-Commit-ID: 69c7f2362f9de913bb29b6318580c5a1b52c921e
5417
5418 commit 7369900441929058263a17f56aa67e05ff7ec628
5419 Author: djm@openbsd.org <djm@openbsd.org>
5420 Date:   Wed Jan 5 21:50:00 2022 +0000
5421
5422     upstream: fix cut-and-pasto in error message
5423     
5424     OpenBSD-Commit-ID: 4cc5c619e4b456cd2e9bb760d17e3a9c84659198
5425
5426 commit 294c11b1c7d56d3fb61e329603a782315ed70c62
5427 Author: djm@openbsd.org <djm@openbsd.org>
5428 Date:   Wed Jan 5 08:25:05 2022 +0000
5429
5430     upstream: select all RSA hostkey algorithms for UpdateHostkeys tests,
5431     
5432     not just RSA-SHA1
5433     
5434     OpenBSD-Regress-ID: b40e62b65863f2702a0c10aca583b2fe76772bd8
5435
5436 commit 2ea1108c30e3edb6f872dfc1e6da10b041ddf2c0
5437 Author: djm@openbsd.org <djm@openbsd.org>
5438 Date:   Wed Jan 5 04:56:15 2022 +0000
5439
5440     upstream: regress test both sshsig message hash algorithms, possible
5441     
5442     now because the algorithm is controllable via the CLI
5443     
5444     OpenBSD-Regress-ID: 0196fa87acc3544b2b4fd98de844a571cb09a39f
5445
5446 commit 2327c306b5d4a2b7e71178e5a4d139af9902c2b0
5447 Author: djm@openbsd.org <djm@openbsd.org>
5448 Date:   Wed Jan 5 04:50:11 2022 +0000
5449
5450     upstream: allow selection of hash at sshsig signing time; code
5451     
5452     already supported either sha512 (default) or sha256, but plumbing wasn't
5453     there mostly by Linus Nordberg
5454     
5455     OpenBSD-Commit-ID: 1b536404b9da74a84b3a1c8d0b05fd564cdc96cd
5456
5457 commit 56e941d0a00d6d8bae88317717d5e1b7395c9529
5458 Author: djm@openbsd.org <djm@openbsd.org>
5459 Date:   Wed Jan 5 04:27:54 2022 +0000
5460
5461     upstream: add missing -O option to usage() for ssh-keygen -Y sign;
5462     
5463     from Linus Nordberg
5464     
5465     OpenBSD-Commit-ID: 4e78feb4aa830727ab76bb2e3d940440ae1d7af0
5466
5467 commit 141a14ec9b0924709c98df2dd8013bde5d8d12c7
5468 Author: djm@openbsd.org <djm@openbsd.org>
5469 Date:   Wed Jan 5 04:27:01 2022 +0000
5470
5471     upstream: move sig_process_opts() to before sig_sign(); no
5472     
5473     functional code change
5474     
5475     OpenBSD-Commit-ID: da02d61f5464f72b4e8b299f83e93c3b657932f9
5476
5477 commit 37a14249ec993599a9051731e4fb0ac5e976aec1
5478 Author: djm@openbsd.org <djm@openbsd.org>
5479 Date:   Wed Jan 5 04:10:39 2022 +0000
5480
5481     upstream: regression test for find-principals NULL deref; from Fabian
5482     
5483     Stelzer
5484     
5485     OpenBSD-Regress-ID: f845a8632a5a7d5ae26978004c93e796270fd3e5
5486
5487 commit eb1f042142fdaba93f6c9560cf6c91ae25f6884a
5488 Author: djm@openbsd.org <djm@openbsd.org>
5489 Date:   Wed Jan 5 04:02:42 2022 +0000
5490
5491     upstream: NULL deref when using find-principals when matching an
5492     
5493     allowed_signers line that contains a namespace restriction, but no
5494     restriction specified on the command-line; report and fix from Fabian Stelzer
5495     
5496     OpenBSD-Commit-ID: 4a201b86afb668c908d1a559c6af456a61f4b145
5497
5498 commit 8f3b18030579f395eca2181da31a5f945af12a59
5499 Author: dtucker@openbsd.org <dtucker@openbsd.org>
5500 Date:   Tue Jan 4 08:38:53 2022 +0000
5501
5502     upstream: Log command invocation while debugging.
5503     
5504     This will aid in manually reproducing failing commands.
5505     
5506     OpenBSD-Regress-ID: b4aba8d5ac5675ceebeeeefa3261ce344e67333a
5507
5508 commit bbf285164df535f0d38c36237f007551bbdae27f
5509 Author: Darren Tucker <dtucker@dtucker.net>
5510 Date:   Sun Dec 26 10:31:15 2021 +1100
5511
5512     Always save config.h as build artifact.
5513     
5514     Should allow better comparison between failing and succeeding test
5515     platforms.
5516
5517 commit 03bd4ed0db699687c5cd83405d26f81d2dc28d22
5518 Author: Darren Tucker <dtucker@dtucker.net>
5519 Date:   Sat Dec 25 16:42:51 2021 +1100
5520
5521     Add OpenBSD 7.0 target.  Retire 6.8.
5522
5523 commit c45a752f0de611afd87755c2887c8a24816d08ee
5524 Author: jsg@openbsd.org <jsg@openbsd.org>
5525 Date:   Sat Jan 1 05:55:06 2022 +0000
5526
5527     upstream: spelling
5528     
5529     OpenBSD-Commit-ID: c63e43087a64d0727af13409c708938e05147b62
5530
5531 commit c672f83a89a756564db0d3af9934ba0e1cf8fa3e
5532 Author: djm@openbsd.org <djm@openbsd.org>
5533 Date:   Tue Jan 4 07:20:33 2022 +0000
5534
5535     upstream: unbreak test: was picking up system ssh-add instead of the
5536     
5537     one supposedly being tested. Spotted by dtucker and using his VM zoo (which
5538     includes some systems old enough to lack ed25519 key support)
5539     
5540     OpenBSD-Regress-ID: 7976eb3df11cc2ca3af91030a6a8c0cef1590bb5
5541
5542 commit a23698c3082ffe661abed14b020eac9b0c25eb9f
5543 Author: djm@openbsd.org <djm@openbsd.org>
5544 Date:   Sat Jan 1 04:18:06 2022 +0000
5545
5546     upstream: fix memleak in process_extension(); oss-fuzz issue #42719
5547     
5548     OpenBSD-Commit-ID: d8d49f840162fb7b8949e3a5adb8107444b6de1e
5549
5550 commit cb885178f36b83d0f14cfe9f345d2068103feed0
5551 Author: jsg@openbsd.org <jsg@openbsd.org>
5552 Date:   Sat Jan 1 01:55:30 2022 +0000
5553
5554     upstream: spelling ok dtucker@
5555     
5556     OpenBSD-Commit-ID: bfc7ba74c22c928de2e257328b3f1274a3dfdf19
5557
5558 commit 6b977f8080a32c5b3cbb9edb634b9d5789fb79be
5559 Author: djm@openbsd.org <djm@openbsd.org>
5560 Date:   Sun Dec 26 23:34:41 2021 +0000
5561
5562     upstream: split method list search functionality from
5563     
5564     authmethod_lookup() into a separate authmethod_byname(), for cases where we
5565     don't need to check whether a method is enabled, etc.
5566     
5567     use this to fix the "none" authentication method regression reported
5568     by Nam Nguyen via bugs@
5569     
5570     ok deraadt@
5571     
5572     OpenBSD-Commit-ID: 8cd188dc3a83aa8abe5b7693e762975cd8ea8a17
5573
5574 commit 0074aa2c8d605ee7587279a22cdad4270b4ddd07
5575 Author: jmc@openbsd.org <jmc@openbsd.org>
5576 Date:   Wed Dec 22 06:56:41 2021 +0000
5577
5578     upstream: sort -H and -h in SYNOPSIS/usage(); tweak the -H text;
5579     
5580     ok djm
5581     
5582     OpenBSD-Commit-ID: 90721643e41e9e09deb5b776aaa0443456ab0965
5583
5584 commit 1c9853a68b2319f2e5f929179735e8fbb9988a67
5585 Author: Darren Tucker <dtucker@dtucker.net>
5586 Date:   Wed Dec 22 19:33:10 2021 +1100
5587
5588     Use SHA.*_HMAC_BLOCK_SIZE if needed.
5589     
5590     If the platform has a native SHA2, does not define SHA.*_BLOCK_LENGTH
5591     but does define SHA.*_HMAC_BLOCK_SIZE (eg Solaris) then use the latter.
5592     Should fix --without-openssl build on Solaris.
5593
5594 commit 715c892f0a5295b391ae92c26ef4d6a86ea96e8e
5595 Author: Damien Miller <djm@mindrot.org>
5596 Date:   Wed Dec 22 09:02:50 2021 +1100
5597
5598     remove sys/param.h in -portable, after upstream
5599
5600 commit 7a7c69d8b4022b1e5c0afb169c416af8ce70f3e8
5601 Author: Damien Miller <djm@mindrot.org>
5602 Date:   Mon Dec 20 13:05:20 2021 +1100
5603
5604     add agent-restrict.sh file, missed in last commit
5605
5606 commit f539136ca51a4976644db5d0be8158cc1914c72a
5607 Author: djm@openbsd.org <djm@openbsd.org>
5608 Date:   Sun Dec 19 22:20:12 2021 +0000
5609
5610     upstream: regression test for destination restrictions in ssh-agent
5611     
5612     OpenBSD-Regress-ID: 3c799d91e736b1753b4a42d80c42fc40de5ad33d
5613
5614 commit 6e4980eb8ef94c04874a79dd380c3f568e8416d6
5615 Author: anton@openbsd.org <anton@openbsd.org>
5616 Date:   Sat Dec 18 06:53:59 2021 +0000
5617
5618     upstream: Make use of ntests variable, pointed out by clang 13.
5619     
5620     OpenBSD-Regress-ID: 4241a3d21bdfa1630ed429b6d4fee51038d1be72
5621
5622 commit 3eead8158393b697f663ec4301e3c7b6f24580b1
5623 Author: deraadt@openbsd.org <deraadt@openbsd.org>
5624 Date:   Tue Dec 14 21:25:27 2021 +0000
5625
5626     upstream: sys/param.h cleanup, mostly using MINIMUM() and
5627     
5628     <limits.h> ok dtucker
5629     
5630     OpenBSD-Regress-ID: 172a4c45d3bcf92fa6cdf6c4b9db3f1b3abe4db0
5631
5632 commit 266678e19eb0e86fdf865b431b6e172e7a95bf48
5633 Author: djm@openbsd.org <djm@openbsd.org>
5634 Date:   Sun Dec 19 22:15:42 2021 +0000
5635
5636     upstream: document host-bound publickey authentication
5637     
5638     OpenBSD-Commit-ID: ea6ed91779a81f06d961e30ecc49316b3d71961b
5639
5640 commit 3d00024b3b156aa9bbd05d105f1deb9cb088f6f7
5641 Author: djm@openbsd.org <djm@openbsd.org>
5642 Date:   Sun Dec 19 22:15:21 2021 +0000
5643
5644     upstream: document agent protocol extensions
5645     
5646     OpenBSD-Commit-ID: 09e8bb391bbaf24c409b75a4af44e0cac65405a7
5647
5648 commit c385abf76511451bcba78568167b1cd9e90587d5
5649 Author: djm@openbsd.org <djm@openbsd.org>
5650 Date:   Sun Dec 19 22:14:47 2021 +0000
5651
5652     upstream: PubkeyAuthentication=yes|no|unbound|host-bound
5653     
5654     Allow control over which pubkey methods are used. Added out of
5655     concern that some hardware devices may have difficulty signing
5656     the longer pubkey authentication challenges. This provides a
5657     way for them to disable the extension. It's also handy for
5658     testing.
5659     
5660     feedback / ok markus@
5661     
5662     OpenBSD-Commit-ID: ee52580db95c355cf6d563ba89974c210e603b1a
5663
5664 commit 34b1e9cc7654f41cd4c5b1cc290b999dcf6579bb
5665 Author: djm@openbsd.org <djm@openbsd.org>
5666 Date:   Sun Dec 19 22:14:12 2021 +0000
5667
5668     upstream: document destination-constrained keys
5669     
5670     feedback / ok markus@
5671     
5672     OpenBSD-Commit-ID: cd8c526c77268f6d91c06adbee66b014d22d672e
5673
5674 commit a6d7677c4abcfba268053e5867f2acabe3aa371b
5675 Author: djm@openbsd.org <djm@openbsd.org>
5676 Date:   Sun Dec 19 22:13:55 2021 +0000
5677
5678     upstream: Use hostkey parsed from hostbound userauth request
5679     
5680     Require host-bound userauth requests for forwarded SSH connections.
5681     
5682     The hostkey parsed from the host-bound userauth request is now checked
5683     against the most recently bound session ID / hostkey on the agent socket
5684     and the signature refused if they do not match.
5685     
5686     ok markus@
5687     
5688     OpenBSD-Commit-ID: d69877c9a3bd8d1189a5dbdeceefa432044dae02
5689
5690 commit baaff0ff4357cc5a079621ba6e2d7e247b765061
5691 Author: djm@openbsd.org <djm@openbsd.org>
5692 Date:   Sun Dec 19 22:13:33 2021 +0000
5693
5694     upstream: agent support for parsing hostkey-bound signatures
5695     
5696     Allow parse_userauth_request() to work with blobs from
5697     publickey-hostbound-v00@openssh.com userauth attempts.
5698     
5699     Extract hostkey from these blobs.
5700     
5701     ok markus@
5702     
5703     OpenBSD-Commit-ID: 81c064255634c1109477dc65c3e983581d336df8
5704
5705 commit 3e16365a79cdeb2d758cf1da6051b1c5266ceed7
5706 Author: djm@openbsd.org <djm@openbsd.org>
5707 Date:   Sun Dec 19 22:13:12 2021 +0000
5708
5709     upstream: EXT_INFO negotiation of hostbound pubkey auth
5710     
5711     the EXT_INFO packet gets a new publickey-hostbound@openssh.com to
5712     advertise the hostbound public key method.
5713     
5714     Client side support to parse this feature flag and set the kex->flags
5715     indicator if the expected version is offered (currently "0").
5716     
5717     ok markus@
5718     
5719     OpenBSD-Commit-ID: 4cdb2ca5017ec1ed7a9d33bda95c1d6a97b583b0
5720
5721 commit 94ae0c6f0e35903b695e033bf4beacea1d376bb1
5722 Author: djm@openbsd.org <djm@openbsd.org>
5723 Date:   Sun Dec 19 22:12:54 2021 +0000
5724
5725     upstream: client side of host-bound pubkey authentication
5726     
5727     Add kex->flags member to enable the publickey-hostbound-v00@openssh.com
5728     authentication method.
5729     
5730     Use the new hostbound method in client if the kex->flags flag was set,
5731     and include the inital KEX hostkey in the userauth request.
5732     
5733     Note: nothing in kex.c actually sets the new flag yet
5734     
5735     ok markus@
5736     
5737     OpenBSD-Commit-ID: 5a6fce8c6c8a77a80ee1526dc467d91036a5910d
5738
5739 commit 288fd0218dbfdcb05d9fbd1885904bed9b6d42e6
5740 Author: djm@openbsd.org <djm@openbsd.org>
5741 Date:   Sun Dec 19 22:12:30 2021 +0000
5742
5743     upstream: sshd side of hostbound public key auth
5744     
5745     This is identical to the standard "publickey" method, but it also includes
5746     the initial server hostkey in the message signed by the client.
5747     
5748     feedback / ok markus@
5749     
5750     OpenBSD-Commit-ID: 7ea01bb7238a560c1bfb426fda0c10a8aac07862
5751
5752 commit dbb339f015c33d63484261d140c84ad875a9e548
5753 Author: djm@openbsd.org <djm@openbsd.org>
5754 Date:   Sun Dec 19 22:12:07 2021 +0000
5755
5756     upstream: prepare for multiple names for authmethods
5757     
5758     allow authentication methods to have one additional name beyond their
5759     primary name.
5760     
5761     allow lookup by this synonym
5762     
5763     Use primary name for authentication decisions, e.g. for
5764     PermitRootLogin=publickey
5765     
5766     Pass actual invoked name to the authmethods, so they can tell whether they
5767     were requested via the their primary name or synonym.
5768     
5769     ok markus@
5770     
5771     OpenBSD-Commit-ID: 9e613fcb44b8168823195602ed3d09ffd7994559
5772
5773 commit 39f00dcf44915f20684160f0a88d3ef8a3278351
5774 Author: djm@openbsd.org <djm@openbsd.org>
5775 Date:   Sun Dec 19 22:11:39 2021 +0000
5776
5777     upstream: ssh-agent side of destination constraints
5778     
5779     Gives ssh-agent the ability to parse restrict-destination-v00@openssh.com
5780     constraints and to apply them to keys.
5781     
5782     Check constraints against the hostkeys recorded for a SocketEntry when
5783     attempting a signature, adding, listing or deleting keys. Note that
5784     the "delete all keys" request will remove constrained keys regardless of
5785     location.
5786     
5787     feedback Jann Horn & markus@
5788     ok markus@
5789     
5790     OpenBSD-Commit-ID: 84a7fb81106c2d609a6ac17469436df16d196319
5791
5792 commit ce943912df812c573a33d00bf9e5435b7fcca3f7
5793 Author: djm@openbsd.org <djm@openbsd.org>
5794 Date:   Sun Dec 19 22:11:06 2021 +0000
5795
5796     upstream: ssh-add side of destination constraints
5797     
5798     Have ssh-add accept a list of "destination constraints" that allow
5799     restricting where keys may be used in conjunction with a ssh-agent/ssh
5800     that supports session ID/hostkey binding.
5801     
5802     Constraints are specified as either "[user@]host-pattern" or
5803     "host-pattern>[user@]host-pattern".
5804     
5805     The first form permits a key to be used to authenticate as the
5806     specified user to the specified host.
5807     
5808     The second form permits a key that has previously been permitted
5809     for use at a host to be available via a forwarded agent to an
5810     additional host.
5811     
5812     For example, constraining a key with "user1@host_a" and
5813     "host_a>host_b". Would permit authentication as "user1" at
5814     "host_a", and allow the key to be available on an agent forwarded
5815     to "host_a" only for authentication to "host_b". The key would not
5816     be visible on agent forwarded to other hosts or usable for
5817     authentication there.
5818     
5819     Internally, destination constraints use host keys to identify hosts.
5820     The host patterns are used to obtain lists of host keys for that
5821     destination that are communicated to the agent. The user/hostkeys are
5822     encoded using a new restrict-destination-v00@openssh.com key
5823     constraint.
5824     
5825     host keys are looked up in the default client user/system known_hosts
5826     files. It is possible to override this set on the command-line.
5827     
5828     feedback Jann Horn & markus@
5829     ok markus@
5830     
5831     OpenBSD-Commit-ID: 6b52cd2b637f3d29ef543f0ce532a2bce6d86af5
5832
5833 commit 5e950d765727ee0b20fc3d2cbb0c790b21ac2425
5834 Author: djm@openbsd.org <djm@openbsd.org>
5835 Date:   Sun Dec 19 22:10:24 2021 +0000
5836
5837     upstream: ssh-add side of destination constraints
5838     
5839     Have ssh-add accept a list of "destination constraints" that allow
5840     restricting where keys may be used in conjunction with a ssh-agent/ssh
5841     that supports session ID/hostkey binding.
5842     
5843     Constraints are specified as either "[user@]host-pattern" or
5844     "host-pattern>[user@]host-pattern".
5845     
5846     The first form permits a key to be used to authenticate as the
5847     specified user to the specified host.
5848     
5849     The second form permits a key that has previously been permitted
5850     for use at a host to be available via a forwarded agent to an
5851     additional host.
5852     
5853     For example, constraining a key with "user1@host_a" and
5854     "host_a>host_b". Would permit authentication as "user1" at
5855     "host_a", and allow the key to be available on an agent forwarded
5856     to "host_a" only for authentication to "host_b". The key would not
5857     be visible on agent forwarded to other hosts or usable for
5858     authentication there.
5859     
5860     Internally, destination constraints use host keys to identify hosts.
5861     The host patterns are used to obtain lists of host keys for that
5862     destination that are communicated to the agent. The user/hostkeys are
5863     encoded using a new restrict-destination-v00@openssh.com key
5864     constraint.
5865     
5866     host keys are looked up in the default client user/system known_hosts
5867     files. It is possible to override this set on the command-line.
5868     
5869     feedback Jann Horn & markus@
5870     ok markus@
5871     
5872     OpenBSD-Commit-ID: ef47fa9ec0e3c2a82e30d37ef616e245df73163e
5873
5874 commit 4c1e3ce85e183a9d0c955c88589fed18e4d6a058
5875 Author: djm@openbsd.org <djm@openbsd.org>
5876 Date:   Sun Dec 19 22:09:23 2021 +0000
5877
5878     upstream: ssh-agent side of binding
5879     
5880     record session ID/hostkey/forwarding status for each active socket.
5881     
5882     Attempt to parse data-to-be-signed at signature request time and extract
5883     session ID from the blob if it is a pubkey userauth request.
5884     
5885     ok markus@
5886     
5887     OpenBSD-Commit-ID: a80fd41e292b18b67508362129e9fed549abd318
5888
5889 commit e9497ecf73f3c16667288bce48d4e3d7e746fea1
5890 Author: djm@openbsd.org <djm@openbsd.org>
5891 Date:   Sun Dec 19 22:08:48 2021 +0000
5892
5893     upstream: ssh client side of binding
5894     
5895     send session ID, hostkey, signature and a flag indicating whether the
5896     agent connection is being forwarded to ssh agent each time a connection
5897     is opened via a new "session-bind@openssh.com" agent extension.
5898     
5899     ok markus@
5900     
5901     OpenBSD-Commit-ID: 2f154844fe13167d3ab063f830d7455fcaa99135
5902
5903 commit b42c61d6840d16ef392ed0f365e8c000734669aa
5904 Author: djm@openbsd.org <djm@openbsd.org>
5905 Date:   Sun Dec 19 22:08:06 2021 +0000
5906
5907     upstream: Record session ID, host key and sig at intital KEX
5908     
5909     These will be used later for agent session ID / hostkey binding
5910     
5911     ok markus@
5912     
5913     OpenBSD-Commit-ID: a9af29e33772b18e3e867c6fa8ab35e1694a81fe
5914
5915 commit 26ca33d186473d58a32d812e19273ce078b6ffff
5916 Author: djm@openbsd.org <djm@openbsd.org>
5917 Date:   Tue Dec 7 22:06:45 2021 +0000
5918
5919     upstream: better error message for FIDO keys when we can't match
5920     
5921     them to a token
5922     
5923     OpenBSD-Commit-ID: 58255c2a1980088f4ed144db67d879ada2607650
5924
5925 commit adb0ea006d7668190f0c42aafe3a2864d352e34a
5926 Author: Darren Tucker <dtucker@dtucker.net>
5927 Date:   Wed Dec 15 10:50:33 2021 +1100
5928
5929     Correct value for IPTOS_DSCP_LE.
5930     
5931     It needs to allow for the preceeding two ECN bits.  From daisuke.higashi
5932     at gmail.com via OpenSSH bz#3373, ok claudio@, job@, djm@.
5933
5934 commit 3dafd3fe220bd9046f11fcf5191a79ec8800819f
5935 Author: Darren Tucker <dtucker@dtucker.net>
5936 Date:   Fri Dec 10 11:57:30 2021 +1100
5937
5938     Increase timeout for test step.
5939
5940 commit 5aefb05cd5b843e975b191d6ebb7ddf8de35c112
5941 Author: Darren Tucker <dtucker@dtucker.net>
5942 Date:   Fri Dec 10 10:27:27 2021 +1100
5943
5944     Update the list of tests that don't work on Minix.
5945     
5946     While there, remove CC (configure will now find clang) and make the test
5947     list easier to update via cut and paste.
5948
5949 commit 1c09bb1b2e207d091cec299c49416c23d24a1b31
5950 Author: Darren Tucker <dtucker@dtucker.net>
5951 Date:   Fri Dec 10 10:12:57 2021 +1100
5952
5953     Add minix host tuple.
5954     
5955     Define SETEUID_BREAKS_SETUID for it which should make privsep work.
5956
5957 commit a2188579032cf080213a78255373263466cb90cc
5958 Author: jsg@openbsd.org <jsg@openbsd.org>
5959 Date:   Sun Dec 5 12:28:27 2021 +0000
5960
5961     upstream: fix unintended sizeof pointer in debug path ok markus@
5962     
5963     OpenBSD-Commit-ID: b9c0481ffc0cd801e0840e342e6a282a85aac93c
5964
5965 commit da40355234068c82f1a36196f2d18dd2d81aaafd
5966 Author: naddy@openbsd.org <naddy@openbsd.org>
5967 Date:   Sat Dec 4 00:05:39 2021 +0000
5968
5969     upstream: RSA/SHA-1 is not used by default anymore on the server
5970     
5971     OpenBSD-Commit-ID: 64abef6cfc3e53088225f6b8a1dcd86d52dc8353
5972
5973 commit e9c71498a083a8b502aa831ea931ce294228eda0
5974 Author: djm@openbsd.org <djm@openbsd.org>
5975 Date:   Thu Dec 2 23:45:36 2021 +0000
5976
5977     upstream: hash full host:port when asked to hash output, fixes hashes
5978     
5979     for non- default ports. bz3367 ok dtucker@
5980     
5981     OpenBSD-Commit-ID: 096021cc847da7318ac408742f2d0813ebe9aa73
5982
5983 commit b5601202145a03106012c22cb8980bcac2949f0b
5984 Author: djm@openbsd.org <djm@openbsd.org>
5985 Date:   Thu Dec 2 23:23:13 2021 +0000
5986
5987     upstream: improve the testing of credentials against inserted FIDO
5988     
5989     keys a little more: ask the token whether a particular key belongs to it in
5990     cases where the token support on-token user- verification (e.g. biometrics)
5991     rather than just assuming that it will accept it.
5992     
5993     Will reduce spurious "Confirm user presence" notifications for key
5994     handles that relate to FIDO keys that are not currently inserted in at
5995     least some cases.
5996     
5997     Motivated by bz3366; by Pedro Martelletto
5998     
5999     OpenBSD-Commit-ID: ffac7f3215842397800e1ae2e20229671a55a63d
6000
6001 commit ca709e27c41c90f4565b17282c48dca7756e083c
6002 Author: djm@openbsd.org <djm@openbsd.org>
6003 Date:   Thu Dec 2 22:40:05 2021 +0000
6004
6005     upstream: move check_sk_options() up so we can use it earlier
6006     
6007     OpenBSD-Commit-ID: 67fe98ba1c846d22035279782c4664c1865763b4
6008
6009 commit b711bc01a7ec76bb6a285730990cbce9b8ca5773
6010 Author: dtucker@openbsd.org <dtucker@openbsd.org>
6011 Date:   Thu Dec 2 22:35:05 2021 +0000
6012
6013     upstream: ssh-rsa is no longer in the default for
6014     
6015     PubkeyAcceptedAlgorithms.
6016     
6017     OpenBSD-Commit-ID: 34a9e1bc30966fdcc922934ae00f09f2596cd73c
6018
6019 commit dc91ceea33cd4a9f05be953e8d8062f732db5c8a
6020 Author: djm@openbsd.org <djm@openbsd.org>
6021 Date:   Thu Dec 2 02:44:44 2021 +0000
6022
6023     upstream: don't put the tty into raw mode when SessionType=none, avoids
6024     
6025     ^c being unable to kill such a session. bz3360; ok dtucker@
6026     
6027     OpenBSD-Commit-ID: 83960c433052303b643b4c380ae2f799ac896f65
6028
6029 commit e6e7d2654a13ba10141da7b42ea683ea4eeb1f38
6030 Author: Damien Miller <djm@mindrot.org>
6031 Date:   Mon Nov 29 14:11:03 2021 +1100
6032
6033     previous commit broke bcrypt_pbkdf()
6034     
6035     Accidentally reverted part of the conversion to use SHA512 from SUPERCOP
6036     instead of OpenBSD-style libc SHA512.
6037
6038 commit c0459588b8d00b73e506c6095958ecfe62a4a7ba
6039 Author: Darren Tucker <dtucker@dtucker.net>
6040 Date:   Mon Nov 29 14:03:19 2021 +1100
6041
6042     Fix typo in Neils' name.
6043
6044 commit 158bf854e2a22cf09064305f4a4e442670562685
6045 Author: Damien Miller <djm@mindrot.org>
6046 Date:   Mon Nov 29 12:30:22 2021 +1100
6047
6048     sync bcrypt-related files with OpenBSD
6049     
6050     The main change is that Niels Provos kindly agreed to rescind the
6051     BSD license advertising clause, shifting them to the 3-term BSD
6052     license.
6053     
6054     This was the last thing in OpenSSH that used the advertising clause.
6055
6056 commit e8976d92a42883ff6b8991438f07df60c2c0d82d
6057 Author: Damien Miller <djm@mindrot.org>
6058 Date:   Mon Nov 29 12:29:29 2021 +1100
6059
6060     depend
6061
6062 commit 8249afeec013e557fe7491a72ca3285de03e25b1
6063 Author: djm@openbsd.org <djm@openbsd.org>
6064 Date:   Sun Nov 28 07:21:26 2021 +0000
6065
6066     upstream: sshsig: return "key not found" when searching empty files
6067     
6068     rather than "internal error"
6069     
6070     OpenBSD-Commit-ID: e2ccae554c78d7a7cd33fc5d217f35be7e2507ed
6071
6072 commit 9e3227d4dbb5ad9c9091b4c14982cab4bba87b4d
6073 Author: djm@openbsd.org <djm@openbsd.org>
6074 Date:   Sun Nov 28 07:15:10 2021 +0000
6075
6076     upstream: ssh-keygen -Y match-principals doesn't accept any -O
6077     
6078     options at present, so don't say otherwise in SYNOPSIS; spotted jmc@
6079     
6080     OpenBSD-Commit-ID: 9cc43a18f4091010741930b48b3db2f2e4f1d35c
6081
6082 commit 56db1f4a4cf5039fc3b42e84c4b16291fdff32b1
6083 Author: djm@openbsd.org <djm@openbsd.org>
6084 Date:   Sun Nov 28 07:14:29 2021 +0000
6085
6086     upstream: fix indenting in last commit
6087     
6088     OpenBSD-Commit-ID: 8b9ba989815d0dec1fdf5427a4a4b58eb9cac4d2
6089
6090 commit 50bea24a9a9bdebad327c76e700def3261f5694e
6091 Author: djm@openbsd.org <djm@openbsd.org>
6092 Date:   Sun Nov 28 07:10:18 2021 +0000
6093
6094     upstream: missing initialisation for oerrno
6095     
6096     OpenBSD-Commit-ID: 05d646bba238080259bec821c831a6f0b48d2a95
6097
6098 commit 5a0f4619041d09cd29f3a08da41db5040372bdd1
6099 Author: Darren Tucker <dtucker@dtucker.net>
6100 Date:   Sun Nov 28 15:31:37 2021 +1100
6101
6102     Correct ifdef to activate poll() only if needed.
6103
6104 commit d4035c81a71237f690edd7eda32bef7d63fd9528
6105 Author: djm@openbsd.org <djm@openbsd.org>
6106 Date:   Sat Nov 27 07:23:35 2021 +0000
6107
6108     upstream: whitespac e
6109     
6110     OpenBSD-Regress-ID: b9511d41568056bda489e13524390167889908f8
6111
6112 commit a443491e6782ef0f5a8bb87a5536c8ee4ff233a1
6113 Author: djm@openbsd.org <djm@openbsd.org>
6114 Date:   Sat Nov 27 07:20:58 2021 +0000
6115
6116     upstream: regression test for match-principals. Mostly by Fabian
6117     
6118     Stelzer
6119     
6120     OpenBSD-Regress-ID: ced0bec89af90935103438986bbbc4ad1df9cfa7
6121
6122 commit 78230b3ec8cbabc1e7de68732dc5cbd4837c6675
6123 Author: djm@openbsd.org <djm@openbsd.org>
6124 Date:   Sat Nov 27 07:14:46 2021 +0000
6125
6126     upstream: Add ssh-keygen -Y match-principals operation to perform
6127     
6128     matching of principals names against an allowed signers file.
6129     
6130     Requested by and mostly written by Fabian Stelzer, towards a TOFU
6131     model for SSH signatures in git. Some tweaks by me.
6132     
6133     "doesn't bother me" deraadt@
6134     
6135     OpenBSD-Commit-ID: 8d1b71f5a4127bc5e10a880c8ea6053394465247
6136
6137 commit 15db86611baaafb24c40632784dabf82e3ddb1a7
6138 Author: djm@openbsd.org <djm@openbsd.org>
6139 Date:   Thu Nov 25 23:02:24 2021 +0000
6140
6141     upstream: debug("func: ...") -> debug_f("...")
6142     
6143     OpenBSD-Commit-ID: d58494dc05c985326a895adfbe16fbd5bcc54347
6144
6145 commit b7ffbb17e37f59249c31f1ff59d6c5d80888f689
6146 Author: Darren Tucker <dtucker@dtucker.net>
6147 Date:   Fri Nov 19 18:53:46 2021 +1100
6148
6149     Allow for fd = -1 in compat ppoll overflow check.
6150     
6151     Fixes tests on at least FreeBSD 6, possibly others.
6152
6153 commit 04b172da5b96a51b0d55c905b423ababff9f4e0b
6154 Author: Darren Tucker <dtucker@dtucker.net>
6155 Date:   Fri Nov 19 16:01:51 2021 +1100
6156
6157     Don't auto-enable Capsicum sandbox on FreeBSD 9/10.
6158     
6159     Since we changed from select() to ppoll() tests have been failing.
6160     This seems to be because FreeBSD 10 (and presumably 9) do not allow
6161     ppoll() in the privsep process and sshd will fail with "Not permitted in
6162     capability mode".  Setting CAP_EVENT on the FDs doesn't help, but weirdly,
6163     poll() works without that.  Those versions are EOL so this situation is
6164     unlikely to change.
6165
6166 commit a823f39986e7b879f26412e64c15630e1cfa0dc5
6167 Author: djm@openbsd.org <djm@openbsd.org>
6168 Date:   Thu Nov 18 03:53:48 2021 +0000
6169
6170     upstream: regression test for ssh-keygen -Y find-principals fix; from
6171     
6172     Fabian Stelzer ok djm markus
6173     
6174     OpenBSD-Regress-ID: 34fe4088854c1a2eb4c0c51cc4676ba24096bac4
6175
6176 commit 199c4df66c0e39dd5c3333b162af274678c0501d
6177 Author: djm@openbsd.org <djm@openbsd.org>
6178 Date:   Thu Nov 18 21:32:11 2021 +0000
6179
6180     upstream: less confusing debug message; bz#3365
6181     
6182     OpenBSD-Commit-ID: 836268d3642c2cdc84d39b98d65837f5241e4a50
6183
6184 commit 97f9b6e61316c97a32dad94b7a37daa9b5f6b836
6185 Author: djm@openbsd.org <djm@openbsd.org>
6186 Date:   Thu Nov 18 21:11:01 2021 +0000
6187
6188     upstream: avoid xmalloc(0) for PKCS#11 keyid for ECDSA keys (we
6189     
6190     already did this for RSA keys). Avoids fatal errors for PKCS#11 libraries
6191     that return empty keyid, e.g. Microchip ATECC608B "cryptoauthlib"; bz#3364
6192     
6193     OpenBSD-Commit-ID: 054d4dc1d6a99a2e6f8eebc48207b534057c154d
6194
6195 commit c74aa0eb73bd1edf79947d92d9c618fc3424c4a6
6196 Author: djm@openbsd.org <djm@openbsd.org>
6197 Date:   Thu Nov 18 03:50:41 2021 +0000
6198
6199     upstream: ssh-keygen -Y find-principals was verifying key validity
6200     
6201     when using ca certs but not with simple key lifetimes within the allowed
6202     signers file.
6203     
6204     Since it returns the first keys principal it finds this could
6205     result in a principal with an expired key even though a valid
6206     one is just below.
6207     
6208     patch from Fabian Stelzer; feedback/ok djm markus
6209     
6210     OpenBSD-Commit-ID: b108ed0a76b813226baf683ab468dc1cc79e0905
6211
6212 commit d902d728dfd81622454260e23bc09d5e5a9a795e
6213 Author: Darren Tucker <dtucker@dtucker.net>
6214 Date:   Thu Nov 18 23:44:07 2021 +1100
6215
6216     Correct calculation of tv_nsec in poll().
6217
6218 commit 21dd5a9a3fb35e8299a1fbcf8d506f1f6b752b85
6219 Author: Darren Tucker <dtucker@dtucker.net>
6220 Date:   Thu Nov 18 23:11:37 2021 +1100
6221
6222     Add compat implementation of ppoll using pselect.
6223
6224 commit b544ce1ad4afb7ee2b09f714aa63efffc73fa93a
6225 Author: Darren Tucker <dtucker@dtucker.net>
6226 Date:   Thu Nov 18 23:05:34 2021 +1100
6227
6228     Put poll.h inside ifdef HAVE_POLL_H.
6229
6230 commit 875408270c5a7dd69ed5449e5d85bd7120c88f70
6231 Author: djm@openbsd.org <djm@openbsd.org>
6232 Date:   Thu Nov 18 03:31:44 2021 +0000
6233
6234     upstream: check for POLLHUP wherever we check for POLLIN
6235     
6236     OpenBSD-Commit-ID: 6aa6f3ec6b17c3bd9bfec672a917f003a76d93e5
6237
6238 commit 36b5e37030d35bbaa18ba56825b1af55971d18a0
6239 Author: djm@openbsd.org <djm@openbsd.org>
6240 Date:   Thu Nov 18 03:07:59 2021 +0000
6241
6242     upstream: fd leak in sshd listen loop error path; from Gleb
6243     
6244     Smirnoff
6245     
6246     OpenBSD-Commit-ID: a7a2be27a690a74bf2381bc16cea38e265657412
6247
6248 commit b99498d0c93f1edd04857b318308a66b28316bd8
6249 Author: djm@openbsd.org <djm@openbsd.org>
6250 Date:   Thu Nov 18 03:07:20 2021 +0000
6251
6252     upstream: check for POLLHUP as well as POLLIN in sshd listen loop;
6253     
6254     ok deraadt millert
6255     
6256     OpenBSD-Commit-ID: a4f1244c5a9c2b08dac4f3b1dc22e9d1dc60c587
6257
6258 commit 1f3055d788e8cf80851eb1728b535d57eb0dba6a
6259 Author: djm@openbsd.org <djm@openbsd.org>
6260 Date:   Thu Nov 18 03:06:03 2021 +0000
6261
6262     upstream: check for POLLHUP as well as POLLIN, handle transient IO
6263     
6264     errors as well as half-close on the output side; ok deraadt millert
6265     
6266     OpenBSD-Commit-ID: de5c5b9939a37476d256328cbb96305bdecf511e
6267
6268 commit 9778a15fa6dbdac6a95bf15865c2688b4bd6944e
6269 Author: Damien Miller <djm@mindrot.org>
6270 Date:   Thu Nov 18 10:16:55 2021 +1100
6271
6272     adjust seccomp filter for select->poll conversion
6273     
6274     Needed to add ppoll syscall but also to relax the fallback rlimit
6275     sandbox. Linux poll() fails with EINVAL if npfds > RLIMIT_NOFILE,
6276     so we have to allow a single fd in the rlimit.
6277
6278 commit fcd8d895bbb849c64f0aed934e3303d37f696f5d
6279 Author: Damien Miller <djm@mindrot.org>
6280 Date:   Thu Nov 18 10:16:44 2021 +1100
6281
6282     update depends
6283
6284 commit 76292787a1e93e668f10e36b4bf59ce0ae28e156
6285 Author: Damien Miller <djm@mindrot.org>
6286 Date:   Thu Nov 18 09:26:20 2021 +1100
6287
6288     compat for timespecsub() and friends
6289
6290 commit fd7e7de4ddb4399c7e929b44f2bbfc118eddfcf8
6291 Author: djm@openbsd.org <djm@openbsd.org>
6292 Date:   Wed Nov 17 21:06:39 2021 +0000
6293
6294     upstream: set num_listen_socks to 0 on close-all instead of -1,
6295     
6296     which interferes with the new poll()-based listen loop; spotted and debugged
6297     by anton@+deraadt@
6298     
6299     OpenBSD-Commit-ID: f7ab8ab124f615a2e0c45fee14c38d2f2abbabbd
6300
6301 commit fd9343579afac30a971f06643a669733d9acb407
6302 Author: deraadt@openbsd.org <deraadt@openbsd.org>
6303 Date:   Sun Nov 14 18:47:43 2021 +0000
6304
6305     upstream: use ppoll() instead of pselect() with djm
6306     
6307     OpenBSD-Commit-ID: 980f87c9564d5d2ad55722b7a6f44f21284cd215
6308
6309 commit 092d29b232ef1a19609a5316ed7e4d896bb2e696
6310 Author: deraadt@openbsd.org <deraadt@openbsd.org>
6311 Date:   Sun Nov 14 06:15:36 2021 +0000
6312
6313     upstream: match .events with .fd better
6314     
6315     OpenBSD-Commit-ID: 77eef212ca0add905949532af390164489c5984b
6316
6317 commit 8d642c9a90fa4ed5a3effd785fb3591e14de00cd
6318 Author: deraadt@openbsd.org <deraadt@openbsd.org>
6319 Date:   Sun Nov 14 03:25:10 2021 +0000
6320
6321     upstream: convert select() to poll() ok djm
6322     
6323     OpenBSD-Commit-ID: b53e4940ff10dd24f8d16e8db8ef1970015d7ead
6324
6325 commit 6582a31c388968f4073af2bd8621880735c3d42b
6326 Author: deraadt@openbsd.org <deraadt@openbsd.org>
6327 Date:   Sat Nov 13 21:14:13 2021 +0000
6328
6329     upstream: replace select() with ppoll(), including converting
6330     
6331     timeval's to timespec's to make things easier. back and forth and ok; djm
6332     
6333     OpenBSD-Commit-ID: 89d3b23c60875da919e7820f9de6213286ffbec9
6334
6335 commit 7c025c005550c86a40200a2bcdd355d09413d61a
6336 Author: deraadt@openbsd.org <deraadt@openbsd.org>
6337 Date:   Sat Nov 13 17:26:13 2021 +0000
6338
6339     upstream: It really looks like pledge "stdio dns" is possible
6340     
6341     earlier. Discussed with mestre
6342     
6343     OpenBSD-Commit-ID: 610873de63a593e0ac7bbbcb7a0f2894d36f4c01
6344
6345 commit 06acb04c20ee483fe4757bd12aec870cc4bb1076
6346 Author: deraadt@openbsd.org <deraadt@openbsd.org>
6347 Date:   Fri Nov 12 05:23:49 2021 +0000
6348
6349     upstream: aggressively pre-fill the pollfd array with fd=-1
6350     
6351     OpenBSD-Commit-ID: c2a525de8f83c1a04405bd79122c424140552a5b
6352
6353 commit 7eec76793dec06e8f06b6cf71f9473141c69d109
6354 Author: deraadt@openbsd.org <deraadt@openbsd.org>
6355 Date:   Thu Nov 11 15:32:32 2021 +0000
6356
6357     upstream: Convert from select() to ppoll(). Along the way, I
6358     
6359     observed that the select() code was using exceptfds incorrectly.. ok millert
6360     
6361     OpenBSD-Commit-ID: 548e05bfc31b2af02319eb3d051286d4128dec96
6362
6363 commit e665ed2d0c24fe11d5470ce72fa1e187377d3fc4
6364 Author: Darren Tucker <dtucker@dtucker.net>
6365 Date:   Fri Nov 12 22:55:27 2021 +1100
6366
6367     Switch from LibreSSL 3.4.0 to 3.4.1.
6368     
6369     The LibreSSL 3.4.0 release has an OPENBSD_BRANCH that points to
6370     "master" and that branch no longer has the files LibreSSL expects
6371     and thus it will no longer build, breaking the test.
6372
6373 commit 21b6b5a06c8c53c548d25e6074c5240e88e2ef34
6374 Author: djm@openbsd.org <djm@openbsd.org>
6375 Date:   Wed Nov 10 06:29:25 2021 +0000
6376
6377     upstream: add the sntrup761x25519-sha512@openssh.com hybrid
6378     
6379     ECDH/x25519 + Streamlined NTRU Prime post-quantum KEX to the default
6380     KEXAlgorithms list (after the ECDH methods but before the prime-group DH
6381     ones).
6382     
6383     ok markus@
6384     
6385     OpenBSD-Commit-ID: 22b77e27a04e497a10e22f138107579652854210
6386
6387 commit 239da797cbf07a640d7b1ea02d3f99ace3ef792d
6388 Author: djm@openbsd.org <djm@openbsd.org>
6389 Date:   Wed Nov 10 06:25:08 2021 +0000
6390
6391     upstream: fix ssh-keysign for KEX algorithms that use SHA384/512
6392     
6393     exchange hashes; feedback/ok markus@
6394     
6395     OpenBSD-Commit-ID: 09a8fda1c081f5de1e3128df64f28b7bdadee239
6396
6397 commit 6997a592ecb1013df0c6d7f8df3e6517827aef11
6398 Author: djm@openbsd.org <djm@openbsd.org>
6399 Date:   Mon Nov 8 21:32:49 2021 +0000
6400
6401     upstream: improve error message when trying to expand a ~user path
6402     
6403     for a user that doesn't exist; better matches what the shell does
6404     
6405     ok deraadt@
6406     
6407     OpenBSD-Commit-ID: 1ddefa3c3a78b69ce13d1b8f67bc9f2cefd23ad6
6408
6409 commit 10b899a15c88eb40eb5f73cd0fa84ef0966f79c9
6410 Author: Darren Tucker <dtucker@dtucker.net>
6411 Date:   Wed Nov 10 12:34:25 2021 +1100
6412
6413     Don't trust closefrom() on Linux.
6414     
6415     glibc's closefrom implementation does not work in a chroot when the kernel
6416     does not have close_range.  It tries to read from /proc/self/fd and when
6417     that fails dies with an assertion of sorts.  Instead, call close_range
6418     ourselves from our compat code and fall back if that fails.  bz#3349,
6419     with william.wilson at canonical.com and fweimer at redhat.com.
6420
6421 commit eb1f63195a9a38b519536a5b398d9939261ec081
6422 Author: dtucker@openbsd.org <dtucker@openbsd.org>
6423 Date:   Sat Nov 6 10:13:39 2021 +0000
6424
6425     upstream: Plug a couple of minor mem leaks. From beldmit at
6426     
6427     gmail.com via github PR#283, ok markus@
6428     
6429     OpenBSD-Commit-ID: ec1fa7d305d46226861c3ca6fb9c9beb2ada2892
6430
6431 commit e4f501bf1d3b53f1cc23d9521fd7c5163307b760
6432 Author: djm@openbsd.org <djm@openbsd.org>
6433 Date:   Fri Nov 5 03:10:58 2021 +0000
6434
6435     upstream: move cert_filter_principals() to earlier in the file for
6436     
6437     reuse; no code change
6438     
6439     OpenBSD-Commit-ID: 598fa9528b656b2f38bcc3cf5b6f3869a8c115cf
6440
6441 commit 59c60f96fee321c7f38f00372826d37f289534af
6442 Author: deraadt@openbsd.org <deraadt@openbsd.org>
6443 Date:   Wed Nov 3 22:00:56 2021 +0000
6444
6445     upstream: Many downstreams expect ssh to compile as non-C99...
6446     
6447     OpenBSD-Commit-ID: e6aa3e08bda68e5fb838fc8a49b1d2dfc38ee783
6448
6449 commit 7a78fe63b0b28ef7231913dfefe9d08f9bc41c61
6450 Author: Darren Tucker <dtucker@dtucker.net>
6451 Date:   Sat Nov 6 21:07:03 2021 +1100
6452
6453     Skip getline() on HP-UX 10.x.
6454     
6455     HP-UX 10.x has a getline() implementation in libc that does not behave
6456     as we expect so don't use it.  With correction from Thorsten Glaser and
6457     typo fix from Larkin Nickle.
6458
6459 commit 343ae252ebb35c6ecae26b447bf1551a7666720e
6460 Author: Damien Miller <djm@mindrot.org>
6461 Date:   Wed Nov 3 12:08:21 2021 +1100
6462
6463     basic SECURITY.md (refers people to the website)
6464
6465 commit ed45a0168638319e0a710633f6085b96b9cec656
6466 Author: djm@openbsd.org <djm@openbsd.org>
6467 Date:   Tue Nov 2 22:57:27 2021 +0000
6468
6469     upstream: crank SSH_SK_VERSION_MAJOR to match recent change in
6470     
6471     usr/bin/ssh
6472     
6473     OpenBSD-Regress-ID: 113d181c7e3305e138db9b688cdb8b0a0019e552
6474
6475 commit f3c34df860c4c1ebddacb973954e58167d9dbade
6476 Author: djm@openbsd.org <djm@openbsd.org>
6477 Date:   Tue Nov 2 22:56:40 2021 +0000
6478
6479     upstream: Better handle FIDO keys on tokens that provide user
6480     
6481     verification (UV) on the device itself, including biometric keys.
6482     
6483     Query the token during key creation to determine whether it supports
6484     on-token UV and, if so, clear the SSH_SK_USER_VERIFICATION_REQD flag
6485     in the key so that ssh(1) doesn't automatically prompty for PIN later.
6486     
6487     When making signatures with the key, query the token's capabilities
6488     again and check whether the token is able (right now) to perform user-
6489     verification without a PIN. If it is then the PIN prompt is bypassed
6490     and user verification delegated to the token. If not (e.g. the token
6491     is biometric capable, but no biometric are enrolled), then fall back
6492     to user verification via the usual PIN prompt.
6493     
6494     Work by Pedro Martelletto; ok myself and markus@
6495     
6496     NB. cranks SSH_SK_VERSION_MAJOR
6497     
6498     OpenBSD-Commit-ID: e318a8c258d9833a0b7eb0236cdb68b5143b2f27
6499
6500 commit 0328a081f38c09d2d4d650e94461a47fb5eef536
6501 Author: djm@openbsd.org <djm@openbsd.org>
6502 Date:   Fri Oct 29 03:03:06 2021 +0000
6503
6504     upstream: sshsig: add tests for signing key validity and
6505     
6506     find-principals
6507     
6508     - adds generic find-principals tests (this command had none before)
6509     - tests certs with a timeboxed validity both with and without a
6510      restriced lifetime for the CA
6511     - test for a revoked CA cert
6512     
6513     by Fabian Stelzer
6514     
6515     OpenBSD-Regress-ID: 9704b2c6df5b8ccfbdf2c06c5431f5f8cad280c9
6516
6517 commit ccd358e1e25e25c13f0825996283cbf7a1647a3b
6518 Author: djm@openbsd.org <djm@openbsd.org>
6519 Date:   Fri Oct 29 02:48:19 2021 +0000
6520
6521     upstream: avoid signedness warning; spotted in -portable
6522     
6523     OpenBSD-Regress-ID: 4cacc126086487c0ea7f3d86b42dec458cf0d0c6
6524
6525 commit 2741f52beb11490d7033a25e56ed0496f0c78006
6526 Author: djm@openbsd.org <djm@openbsd.org>
6527 Date:   Fri Oct 29 03:20:46 2021 +0000
6528
6529     upstream: ssh-keygen: make verify-time argument parsing optional
6530     
6531     From Fabian Stelzer
6532     
6533     OpenBSD-Commit-ID: 1ff35e4c366a45a073663df90381be6a8ef4d370
6534
6535 commit a1217d363b88b32cfe54c4f02c6c1cf4bdefdd23
6536 Author: Damien Miller <djm@mindrot.org>
6537 Date:   Fri Oct 29 13:48:34 2021 +1100
6538
6539     unbreak fuzz harness for recent changes
6540
6541 commit 68e522ed8183587c9367fa3842c5b75f64f3d12b
6542 Author: Darren Tucker <dtucker@dtucker.net>
6543 Date:   Fri Oct 29 13:32:24 2021 +1100
6544
6545     Use -Wbitwise-instead-of-logical if supported.
6546
6547 commit be28b23012aa3fa323be7ec84863cf238927c078
6548 Author: Damien Miller <djm@mindrot.org>
6549 Date:   Thu Oct 28 16:24:53 2021 +1100
6550
6551     use -Wmisleading-indentation cflag if available
6552     
6553     ok dtucker@
6554
6555 commit 2e6f5f24dd2f9217f4ab8b737ed428d5d5278f91
6556 Author: Damien Miller <djm@mindrot.org>
6557 Date:   Thu Oct 28 16:24:44 2021 +1100
6558
6559     depend
6560
6561 commit a5ab4882348d26addc9830a44e053238dfa2cb58
6562 Author: Damien Miller <djm@mindrot.org>
6563 Date:   Thu May 6 10:08:30 2021 +1000
6564
6565     remove built-in support for md5crypt()
6566     
6567     Users of MD5-hashed password should arrange for ./configure to link
6568     against libxcrypt or similar. Though it would be better to avoid use
6569     of MD5 password hashing entirely, it's arguably worse than DEScrypt.
6570     
6571     feedback and ok dtucker@
6572
6573 commit c5de1fffa6328b8246b87da28fa9df05813f76a3
6574 Author: djm@openbsd.org <djm@openbsd.org>
6575 Date:   Thu Oct 28 02:55:30 2021 +0000
6576
6577     upstream: increment SSH_SK_VERSION_MAJOR to match last change
6578     
6579     OpenBSD-Regress-ID: 17873814d1cbda97f49c8528d7b5ac9cadf6ddc0
6580
6581 commit 0001d04e55802d5bd9d6dece1081a99aa4ba2828
6582 Author: djm@openbsd.org <djm@openbsd.org>
6583 Date:   Thu Oct 28 02:54:18 2021 +0000
6584
6585     upstream: When downloading resident keys from a FIDO token, pass
6586     
6587     back the user ID that was used when the key was created and append it to the
6588     filename the key is written to (if it is not the default).
6589     
6590     Avoids keys being clobbered if the user created multiple
6591     resident keys with the same application string but different
6592     user IDs.
6593     
6594     feedback Pedro Martelletto; ok markus
6595     
6596     NB. increments SSH_SK_VERSION_MAJOR
6597     
6598     OpenBSD-Commit-ID: dbd658b5950f583106d945641a634bc6562dd3a3
6599
6600 commit d4bed5445646e605c383a4374fa962e23bf9e3a3
6601 Author: deraadt@openbsd.org <deraadt@openbsd.org>
6602 Date:   Sun Oct 24 21:24:17 2021 +0000
6603
6604     upstream: For open/openat, if the flags parameter does not contain
6605     
6606     O_CREAT, the 3rd (variadic) mode_t parameter is irrelevant.  Many developers
6607     in the past have passed mode_t (0, 044, 0644, or such), which might lead
6608     future people to copy this broken idiom, and perhaps even believe this
6609     parameter has some meaning or implication or application. Delete them all.
6610     This comes out of a conversation where tb@ noticed that a strange (but
6611     intentional) pledge behaviour is to always knock-out high-bits from mode_t on
6612     a number of system calls as a safety factor, and his bewilderment that this
6613     appeared to be happening against valid modes (at least visually), but no
6614     sorry, they are all irrelevant junk.  They could all be 0xdeafbeef. ok
6615     millert
6616     
6617     OpenBSD-Commit-ID: 503d11633497115688c0c6952686524f01f53121
6618
6619 commit d575cf44895104e0fcb0629920fb645207218129
6620 Author: Darren Tucker <dtucker@dtucker.net>
6621 Date:   Fri Oct 22 23:27:41 2021 +1100
6622
6623     kitchensink test target now needs krb5.
6624
6625 commit 4ae39cada214e955bcfd3448ff28f0ed18886706
6626 Author: Darren Tucker <dtucker@dtucker.net>
6627 Date:   Fri Oct 22 22:54:33 2021 +1100
6628
6629     Test both MIT KRB5 and Heimdal.
6630
6631 commit 22b2681d88619e5247dc53c9f112058a7e248d48
6632 Author: dtucker@openbsd.org <dtucker@openbsd.org>
6633 Date:   Fri Oct 22 10:51:57 2021 +0000
6634
6635     upstream: Plug mem addrinfo mem leaks.
6636     
6637     Prevent mem leaks in the (unlikely) event that getaddrinfo returns
6638     no addresses.  ALso, remove an unneeded NULL check in addr_ntop. From
6639     khaleesicodes via github PR#281, ok deraadt@
6640     
6641     OpenBSD-Commit-ID: e8a5afc686376637c355c5f7e122dc4b080b9c1a
6642
6643 commit 27c8c343b610263f83ac2328735feeb881c6c92f
6644 Author: dtucker@openbsd.org <dtucker@openbsd.org>
6645 Date:   Fri Oct 22 09:22:04 2021 +0000
6646
6647     upstream: Remove unnecessary semicolons
6648     
6649     ... in case statements. From khaleesicodes via github PR#280.
6650     
6651     OpenBSD-Commit-ID: e1e89360b65775cff83e77ce040b342015caf4ed
6652
6653 commit e7eb73b8d1fe1008d92433ea949491ce654bfaba
6654 Author: dtucker@openbsd.org <dtucker@openbsd.org>
6655 Date:   Fri Oct 22 09:19:34 2021 +0000
6656
6657     upstream: Fix typos in comments.
6658     
6659     From khaleesicodes via github PR#280.
6660     
6661     OpenBSD-Commit-ID: 26fdd83652c40f098bf7c685e8ebb9eb72cc45fc
6662
6663 commit 052a9d8494175e24312daa6c132665e58c17fe6e
6664 Author: deraadt@openbsd.org <deraadt@openbsd.org>
6665 Date:   Fri Oct 15 14:46:46 2021 +0000
6666
6667     upstream: switch scp(1) back to sftp protocol.
6668     
6669     openbsd 7.0 release shipped with the (hopefully last) scp that uses RCP
6670     protocol for copying.  Let's get back to testing the SFTP protocol.
6671     
6672     OpenBSD-Commit-ID: 9eaa35d95fd547b78b0a043b3f518e135f151f30
6673
6674 commit a07664646bf6d293f5bbd45a5de54f3c36bb85da
6675 Author: Darren Tucker <dtucker@dtucker.net>
6676 Date:   Fri Oct 22 14:00:05 2021 +1100
6677
6678     Source configs script so setup_ci can use settings
6679
6680 commit 34df52c201c6b47e5a46b50c215e4d98a8bf6587
6681 Author: Darren Tucker <dtucker@dtucker.net>
6682 Date:   Fri Oct 22 09:42:14 2021 +1100
6683
6684     Install libedit and pam based on config flags.
6685
6686 commit 8c626cc563e8d21d844d06f9971a9ee01de6aa2a
6687 Author: Darren Tucker <dtucker@dtucker.net>
6688 Date:   Thu Oct 21 16:53:39 2021 +1100
6689
6690     Don't use 'here string", it's not POSIX.
6691
6692 commit 086a4b5977472aefa3de918b88efad0faf83b2b1
6693 Author: Darren Tucker <dtucker@dtucker.net>
6694 Date:   Thu Oct 21 15:33:27 2021 +1100
6695
6696     Remove -Werror from compiler package to install.
6697
6698 commit 5a7a4687507d057f9b5e7497f3d3f82e64753c02
6699 Author: Darren Tucker <dtucker@dtucker.net>
6700 Date:   Thu Oct 21 15:00:53 2021 +1100
6701
6702     Build with -Werror on most recent gcc and clang.
6703
6704 commit 4d2cbdb525d673acf941d48a7044fcf03125611a
6705 Author: Darren Tucker <dtucker@dtucker.net>
6706 Date:   Fri Oct 15 12:59:06 2021 +1100
6707
6708     Include string.h and stdio.h for strerror.
6709
6710 commit fff13aaa262b7b3ec83ed21e29674cbf331780a7
6711 Author: Darren Tucker <dtucker@dtucker.net>
6712 Date:   Fri Oct 15 12:43:36 2021 +1100
6713
6714     Include error reason if trace disabling fails.
6715
6716 commit d4b38144c02f3faa5271e5fb35df93507e06f1b4
6717 Author: Darren Tucker <dtucker@dtucker.net>
6718 Date:   Tue Oct 12 22:55:51 2021 +1100
6719
6720     Add tcmalloc test target.
6721
6722 commit 002d65b0a30063c6e49bf8a53e709d8d5a0d45c1
6723 Author: dtucker@openbsd.org <dtucker@openbsd.org>
6724 Date:   Sat Oct 9 10:52:42 2021 +0000
6725
6726     upstream: Document that CASignatureAlgorithms, ExposeAuthInfo and
6727     
6728     PubkeyAuthOptions can be used in a Match block.  Patch from eehakkin via
6729     github PR#277.
6730     
6731     OpenBSD-Commit-ID: c0a63f5f52e918645967ac022b28392da4b866aa
6732
6733 commit 40bd3709dddaae3a1b6113748bec3faa6a607531
6734 Author: Darren Tucker <dtucker@dtucker.net>
6735 Date:   Thu Oct 7 15:55:49 2021 +1100
6736
6737     Skip SK unit tests when built without security-key
6738
6739 commit 482f73be10f10b93f818df19fcc8a912c0c371fc
6740 Author: Darren Tucker <dtucker@dtucker.net>
6741 Date:   Thu Oct 7 15:55:04 2021 +1100
6742
6743     Include relevant env vars on command line.
6744     
6745     Makes it easier to reproduce a build by cut/pasting the configure line.
6746
6747 commit ef5916b8acd9b1d2f39fad4951dae03b00dbe390
6748 Author: Darren Tucker <dtucker@dtucker.net>
6749 Date:   Thu Oct 7 14:28:02 2021 +1100
6750
6751     Only enable sk-* key types if ENABLE_SK is defined
6752
6753 commit 52d4232b493a9858fe616e28a8bbcc89afa2ad4d
6754 Author: Darren Tucker <dtucker@dtucker.net>
6755 Date:   Wed Oct 6 18:14:37 2021 +1100
6756
6757     Disable security key on minix3.
6758     
6759     The test doesn't work so disable.
6760
6761 commit 7cd062c3a29669b8d7dc2a97e6575f4dcb7d35a2
6762 Author: Darren Tucker <dtucker@dtucker.net>
6763 Date:   Wed Oct 6 17:45:28 2021 +1100
6764
6765     Add USE_LIBC_SHA2 for (at least) NetBSD 9.
6766
6767 commit 639c440f6c3c2a8216a5eb9455ef13bf4204089c
6768 Author: Darren Tucker <dtucker@dtucker.net>
6769 Date:   Wed Oct 6 17:09:31 2021 +1100
6770
6771     Define OPENSSL_NO_SHA including OpenSSL from test.
6772     
6773     We don't use SHA256 from OpenSSL in the sk-dummy module and the
6774     definitions can conflict with system sha2.h (eg on NetBSD) so define
6775     OPENSSL_NO_SHA so we don't attempt to redefine them.
6776
6777 commit 8f4be526a338d06624f146fa26007bb9dd3a4f7b
6778 Author: Darren Tucker <dtucker@dtucker.net>
6779 Date:   Wed Oct 6 15:40:58 2021 +1100
6780
6781     Disable security key on NetBSD4 test.
6782     
6783     sk-dummy used for the security key test includes both sha2.h and OpenSSL
6784     causing the definitions conflict so disable security key support on this
6785     platform.
6786
6787 commit 3b353ae58aa07a1cbbeb1da3ace21fc0dcccd66a
6788 Author: Damien Miller <djm@mindrot.org>
6789 Date:   Wed Oct 6 15:07:01 2021 +1100
6790
6791     clean regress/misc/sk-dummy in cleandir target
6792
6793 commit 57680a2ab43518c5ccbd8242c40482106cde6ac1
6794 Author: dtucker@openbsd.org <dtucker@openbsd.org>
6795 Date:   Sat Oct 2 03:17:01 2021 +0000
6796
6797     upstream: Dynamically allocate encoded HashKnownHosts and free as
6798     
6799     appropriate. Saves 1k of static storage and prevents snprintf "possible
6800     truncation" warnings from newer compilers (although in this case it's false
6801     positive since the actual sizes are limited by the output size of the SHA1).
6802     ok djm@
6803     
6804     OpenBSD-Commit-ID: e254ae723f7e3dce352c7d5abc4b6d87faf61bf4
6805
6806 commit e3e62deb549fde215b777d95276c304f84bf00c6
6807 Author: djm@openbsd.org <djm@openbsd.org>
6808 Date:   Wed Oct 6 03:35:13 2021 +0000
6809
6810     upstream: use libc SHA256 functions; make this work when compiled
6811     
6812     !WITH_OPENSSL
6813     
6814     OpenBSD-Regress-ID: fda0764c1097cd42f979ace29b07eb3481259890
6815
6816 commit 12937d867019469ebce83c2ff614cdc6688fc2d8
6817 Author: dtucker@openbsd.org <dtucker@openbsd.org>
6818 Date:   Fri Oct 1 05:20:20 2021 +0000
6819
6820     upstream: Add test for ssh hashed known_hosts handling.
6821     
6822     OpenBSD-Regress-ID: bcef3b3cd5a1ad9899327b4b2183de2541aaf9cf
6823
6824 commit 5a37cc118f464416d08cd0291a9b1611d8de9943
6825 Author: Damien Miller <djm@mindrot.org>
6826 Date:   Wed Oct 6 13:16:21 2021 +1100
6827
6828     fix broken OPENSSL_HAS_ECC test
6829     
6830     spotted by dtucker
6831
6832 commit 16a25414f303cd6790eb967aeb962040e32c9c7a
6833 Author: Damien Miller <djm@mindrot.org>
6834 Date:   Fri Oct 1 22:40:06 2021 +1000
6835
6836     make sk-dummy.so work without libcrypto installed
6837
6838 commit dee22129bbc61e25b1003adfa2bc584c5406ef2d
6839 Author: Damien Miller <djm@mindrot.org>
6840 Date:   Fri Oct 1 16:35:49 2021 +1000
6841
6842     make OPENSSL_HAS_ECC checks more thorough
6843     
6844     ok dtucker
6845
6846 commit 872595572b6c9a584ed754165e8b7c4c9e7e1d61
6847 Author: Damien Miller <djm@mindrot.org>
6848 Date:   Fri Oct 1 16:35:05 2021 +1000
6849
6850     fix FIDO key support for !OPENSSL_HAS_ECC case
6851     
6852     ok dtucker
6853
6854 commit 489741dc68366940d369ac670b210b4834a6c272
6855 Author: Damien Miller <djm@mindrot.org>
6856 Date:   Fri Oct 1 14:51:37 2021 +1000
6857
6858     enable security key support for --without-openssl
6859
6860 commit c978565c8589acfe4ea37ab5099d39c84158c713
6861 Author: Damien Miller <djm@mindrot.org>
6862 Date:   Fri Oct 1 13:27:50 2021 +1000
6863
6864     need stdlib.h for free(3)
6865
6866 commit 76a398edfb51951b2d65d522d7b02c72304db300
6867 Author: dtucker@openbsd.org <dtucker@openbsd.org>
6868 Date:   Thu Sep 30 05:26:26 2021 +0000
6869
6870     upstream: Fix up whitespace left by previous
6871     
6872     change removing privsep.  No other changes.
6873     
6874     OpenBSD-Regress-ID: 87adec225d8afaee4d6a91b2b71203f52bf14b15
6875
6876 commit ddcb53b7a7b29be65d57562302b2d5f41733e8dd
6877 Author: dtucker@openbsd.org <dtucker@openbsd.org>
6878 Date:   Thu Sep 30 05:20:08 2021 +0000
6879
6880     upstream: Remove references to privsep.
6881     
6882     This removes several do..while loops but does not change the
6883     indentation of the now-shallower loops, which will be done in a separate
6884     whitespace-only commit to keep changes of style and substance separate.
6885     
6886     OpenBSD-Regress-ID: 4bed1a0249df7b4a87c965066ce689e79472a8f7
6887
6888 commit ece2fbe486164860de8df3f8b943cccca3085eff
6889 Author: dtucker@openbsd.org <dtucker@openbsd.org>
6890 Date:   Thu Sep 30 04:22:50 2021 +0000
6891
6892     upstream: Use "skip" instead of "fatal"
6893     
6894     if SUDO isn't set for the *-command tests. This means running "make tests"
6895     without SUDO set will perform all of the tests that it can instead of
6896     failing on the ones it cannot run.
6897     
6898     OpenBSD-Regress-ID: bd4dbbb02f34b2e8c890558ad4a696248def763a
6899
6900 commit bb754b470c360e787a99fb4e88e2668198e97b41
6901 Author: djm@openbsd.org <djm@openbsd.org>
6902 Date:   Fri Oct 1 04:50:36 2021 +0000
6903
6904     upstream: unbreak FIDO sk-ed25519 key enrollment for OPENSSL=no builds;
6905     
6906     ok dtucker@
6907     
6908     OpenBSD-Commit-ID: 6323a5241728626cbb2bf0452cf6a5bcbd7ff709
6909
6910 commit 207648d7a6415dc915260ca75850404dbf9f0a0b
6911 Author: Darren Tucker <dtucker@dtucker.net>
6912 Date:   Wed Sep 29 20:03:58 2021 +1000
6913
6914     Include stdlib.h for arc4random_uniform prototype.
6915
6916 commit 696aadc854582c164d5fc04933d2f3e212dc0e06
6917 Author: Darren Tucker <dtucker@dtucker.net>
6918 Date:   Wed Sep 29 20:00:30 2021 +1000
6919
6920     Look for clang after cc and gcc.
6921
6922 commit a3c6375555026d85dbf811fab566b9f76f196144
6923 Author: Darren Tucker <dtucker@dtucker.net>
6924 Date:   Wed Sep 29 19:30:59 2021 +1000
6925
6926     Use backticks instead of $(..) for portability.
6927     
6928     Older shells (eg /bin/sh on Solaris 10) don't support $() syntax.
6929
6930 commit 958aaa0387133d51f84fe9c8f30bca03025f2867
6931 Author: Darren Tucker <dtucker@dtucker.net>
6932 Date:   Wed Sep 29 18:53:32 2021 +1000
6933
6934     Skip file-based tests by default on Mac OS.
6935     
6936     The file-based tests need OpenSSL so skip them.
6937
6938 commit 55c8bdf6e9afb0f9fa8e4f10c25c7f0081b48fd0
6939 Author: Darren Tucker <dtucker@dtucker.net>
6940 Date:   Wed Sep 29 18:42:47 2021 +1000
6941
6942     Build without OpenSSL on Mac OS.
6943     
6944     Modern versions don't ship enough libcrypto to build against.
6945
6946 commit c9172193ea975415facf0afb356d87df21535f88
6947 Author: Darren Tucker <dtucker@dtucker.net>
6948 Date:   Wed Sep 29 18:33:38 2021 +1000
6949
6950     Remove TEST_SSH_ECC.
6951     
6952     Convert the only remaining user of it to runtime detection using ssh -Q.
6953
6954 commit 5e6d28b7874b0deae95d2c68947c45212d32e599
6955 Author: Darren Tucker <dtucker@dtucker.net>
6956 Date:   Wed Sep 29 17:48:09 2021 +1000
6957
6958     Split c89 test openssl setting out.
6959
6960 commit c4ac7f98e230e83c015678dc958b1ffe828564ad
6961 Author: Darren Tucker <dtucker@dtucker.net>
6962 Date:   Wed Sep 29 17:40:50 2021 +1000
6963
6964     Expand TEST_SHELL consistently with other vars.
6965
6966 commit cfe5f7b0eb7621bfb0a756222de0431315c2ab8b
6967 Author: Darren Tucker <dtucker@dtucker.net>
6968 Date:   Wed Sep 29 17:26:50 2021 +1000
6969
6970     Replace `pwd` with make variable in regress cmd.
6971
6972 commit 899be59da5fbc3372444bd0fbe74af48313bed33
6973 Author: Darren Tucker <dtucker@dtucker.net>
6974 Date:   Wed Sep 29 17:14:33 2021 +1000
6975
6976     Get BUILDDIR from autoconf.
6977     
6978     Use this to replace `pwd`s in regress test command line.
6979
6980 commit c8d92d3d4f7d560146f2f936156ec4dac3fc5811
6981 Author: Darren Tucker <dtucker@dtucker.net>
6982 Date:   Wed Sep 29 13:28:56 2021 +1000
6983
6984     Add make clean step to tests.
6985
6986 commit 360fb41ef8359619ab90b0d131c914494e55d3dd
6987 Author: Darren Tucker <dtucker@dtucker.net>
6988 Date:   Wed Sep 29 11:36:13 2021 +1000
6989
6990     Test all available clang and gcc versions.
6991
6992 commit 4fb49899d7da22952d35a4bc4c9bdb2311087893
6993 Author: djm@openbsd.org <djm@openbsd.org>
6994 Date:   Wed Sep 29 01:32:21 2021 +0000
6995
6996     upstream: Test certificate hostkeys held in ssh-agent too. Would have
6997     
6998     caught regression fixed in sshd r1.575
6999     
7000     ok markus@
7001     
7002     OpenBSD-Regress-ID: 1f164d7bd89f83762db823eec4ddf2d2556145ed
7003
7004 commit ce4854e12e749a05646e5775e9deb8cfaf49a755
7005 Author: djm@openbsd.org <djm@openbsd.org>
7006 Date:   Wed Sep 29 01:33:32 2021 +0000
7007
7008     upstream: add some debug output showing how many key file/command lines
7009     
7010     were processed. Useful to see whether a file or command actually has keys
7011     present
7012     
7013     OpenBSD-Commit-ID: 0bd9ff94e84e03a22df8e6c12f6074a95d27f23c
7014
7015 commit 15abdd523501c349b703d9a27e2bb4252ad921ef
7016 Author: dtucker@openbsd.org <dtucker@openbsd.org>
7017 Date:   Tue Sep 28 11:14:50 2021 +0000
7018
7019     upstream: Make prototype for rijndaelEncrypt match function
7020     
7021     including the bounds. Fixes error in portable where GCC>=11 takes notice of
7022     the bounds. ok deraadt@
7023     
7024     OpenBSD-Commit-ID: cdd2f05fd1549e1786a70871e513cf9e9cf099a6
7025
7026 commit d1d29ea1d1ef1a1a54b209f062ec1dcc8399cf03
7027 Author: dtucker@openbsd.org <dtucker@openbsd.org>
7028 Date:   Tue Sep 28 11:10:05 2021 +0000
7029
7030     upstream: Import regenerated moduli.
7031     
7032     OpenBSD-Commit-ID: 4bec5db13b736b64b06a0fca704cbecc2874c8e1
7033
7034 commit 39f2111b1d5f00206446257377dcce58cc72369f
7035 Author: Darren Tucker <dtucker@dtucker.net>
7036 Date:   Wed Sep 29 10:53:55 2021 +1000
7037
7038     Add new compiler hardening flags.
7039     
7040     Add -fzero-call-used-regs and -ftrivial-auto-var-init to the list of
7041     compiler hardening flags that configure checks for.  These are supported
7042     by clang and gcc, and make ROP gadgets less useful and mitigate
7043     stack-based infoleaks respectively.  ok djm@
7044
7045 commit bf944e3794eff5413f2df1ef37cddf96918c6bde
7046 Author: Damien Miller <djm@mindrot.org>
7047 Date:   Mon Sep 27 00:03:19 2021 +1000
7048
7049     initgroups needs grp.h
7050
7051 commit 8c5b5655149bd76ea21026d7fe73ab387dbc3bc7
7052 Author: djm@openbsd.org <djm@openbsd.org>
7053 Date:   Sun Sep 26 14:01:11 2021 +0000
7054
7055     upstream: openssh-8.8
7056     
7057     OpenBSD-Commit-ID: 12357794602ac979eb7312a1fb190c453f492ec4
7058
7059 commit f3cbe43e28fe71427d41cfe3a17125b972710455
7060 Author: djm@openbsd.org <djm@openbsd.org>
7061 Date:   Sun Sep 26 14:01:03 2021 +0000
7062
7063     upstream: need initgroups() before setresgid(); reported by anton@,
7064     
7065     ok deraadt@
7066     
7067     OpenBSD-Commit-ID: 6aa003ee658b316960d94078f2a16edbc25087ce
7068
7069 commit 8acaff41f7518be40774c626334157b1b1c5583c
7070 Author: Damien Miller <djm@mindrot.org>
7071 Date:   Sun Sep 26 22:16:36 2021 +1000
7072
7073     update version numbers for release
7074
7075 commit d39039ddc0010baa91c70a0fa0753a2699bbf435
7076 Author: kn@openbsd.org <kn@openbsd.org>
7077 Date:   Sat Sep 25 09:40:33 2021 +0000
7078
7079     upstream: RSA/SHA-1 is not used by default anymore
7080     
7081     OK dtucker deraadt djm
7082     
7083     OpenBSD-Commit-ID: 055c51a221c3f099dd75c95362f902da1b8678c6
7084
7085 commit 9b2ee74e3aa8c461eb5552a6ebf260449bb06f7e
7086 Author: Darren Tucker <dtucker@dtucker.net>
7087 Date:   Fri Sep 24 11:08:03 2021 +1000
7088
7089     Move the fgrep replacement to hostkey-rotate.sh.
7090     
7091     The fgrep replacement for buggy greps doesn't work in the sftp-glob test
7092     so move it to just where we know it's needed.
7093
7094 commit f7039541570d4b66d76e6f574544db176d8d5c02
7095 Author: Darren Tucker <dtucker@dtucker.net>
7096 Date:   Fri Sep 24 08:04:14 2021 +1000
7097
7098     Replacement function for buggy fgrep.
7099     
7100     GNU (f)grep <=2.18, as shipped by FreeBSD<=12 and NetBSD<=9 will
7101     occasionally fail to find ssh host keys in the hostkey-rotate test.
7102     If we have those versions, use awk instead.
7103
7104 commit f6a660e5bf28a01962af87568e118a2d2e79eaa0
7105 Author: David Manouchehri <david.manouchehri@riseup.net>
7106 Date:   Thu Sep 23 17:03:18 2021 -0400
7107
7108     Don't prompt for yes/no questions.
7109
7110 commit 7ed1a3117c09f8c3f1add35aad77d3ebe1b85b4d
7111 Author: djm@openbsd.org <djm@openbsd.org>
7112 Date:   Mon Sep 20 06:53:56 2021 +0000
7113
7114     upstream: fix missing -s in SYNOPSYS and usage() as well as a
7115     
7116     capitalisation mistake; spotted by jmc@
7117     
7118     OpenBSD-Commit-ID: 0ed8ee085c7503c60578941d8b45f3a61d4c9710
7119
7120 commit 8c07170135dde82a26886b600a8bf6fb290b633d
7121 Author: dtucker@openbsd.org <dtucker@openbsd.org>
7122 Date:   Mon Sep 20 04:02:13 2021 +0000
7123
7124     upstream: Fix "Allocated port" debug message
7125     
7126     for unix domain sockets. From peder.stray at gmail.com via github PR#272,
7127     ok deraadt@
7128     
7129     OpenBSD-Commit-ID: 8d5ef3fbdcdd29ebb0792b5022a4942db03f017e
7130
7131 commit 277d3c6adfb128b4129db08e3d65195d94b55fe7
7132 Author: djm@openbsd.org <djm@openbsd.org>
7133 Date:   Mon Sep 20 01:55:42 2021 +0000
7134
7135     upstream: Switch scp back to use the old protocol by default, ahead of
7136     
7137     release. We'll wait a little longer for people to pick up sftp-server(8) that
7138     supports the extension that scp needs for ~user paths to continue working in
7139     SFTP protocol mode. Discussed with deraadt@
7140     
7141     OpenBSD-Commit-ID: f281f603a705fba317ff076e7b11bcf2df941871
7142
7143 commit ace19b34cc15bea3482be90450c1ed0cd0dd0669
7144 Author: djm@openbsd.org <djm@openbsd.org>
7145 Date:   Sat Sep 18 02:03:25 2021 +0000
7146
7147     upstream: better error message for ~user failures when the
7148     
7149     sftp-server lacks the expand-path extension; ok deraadt@
7150     
7151     OpenBSD-Commit-ID: 9c1d965d389411f7e86f0a445158bf09b8f9e4bc
7152
7153 commit 6b1238ba971ee722a310d95037b498ede5539c03
7154 Author: djm@openbsd.org <djm@openbsd.org>
7155 Date:   Thu Sep 16 15:22:22 2021 +0000
7156
7157     upstream: make some more scp-in-SFTP mode better match Unix idioms
7158     
7159     suggested by deraadt@
7160     
7161     OpenBSD-Commit-ID: 0f2439404ed4cf0b0be8bf49a1ee734836e1ac87
7162
7163 commit e694f8ac4409931e67d08ac44ed251b20b10a957
7164 Author: djm@openbsd.org <djm@openbsd.org>
7165 Date:   Thu Sep 16 15:11:19 2021 +0000
7166
7167     upstream: allow log_stderr==2 to prefix log messages with argv[0]
7168     
7169     use this to make scp's SFTP mode error messages more scp-like
7170     
7171     prompted by and ok deraadt@
7172     
7173     OpenBSD-Commit-ID: 0e821dbde423fc2280e47414bdc22aaa5b4e0733
7174
7175 commit 8a7a06ee505cb833e613f74a07392e9296286c30
7176 Author: Darren Tucker <dtucker@dtucker.net>
7177 Date:   Fri Sep 17 13:03:31 2021 +1000
7178
7179     Test against LibreSSL 3.2.6, 3.3.4, 3.4.0.
7180
7181 commit c25c84074a47f700dd6534995b4af4b456927150
7182 Author: djm@openbsd.org <djm@openbsd.org>
7183 Date:   Thu Sep 16 05:36:03 2021 +0000
7184
7185     upstream: missing space character in ssh -G output broke the
7186     
7187     t-sshcfgparse regression test; spotted by anton@
7188     
7189     OpenBSD-Commit-ID: bcc36fae2f233caac4baa8e58482da4aa350eed0
7190
7191 commit a4bee1934bf5e5575fea486628f4123d6a29dff8
7192 Author: djm@openbsd.org <djm@openbsd.org>
7193 Date:   Wed Sep 15 06:56:01 2021 +0000
7194
7195     upstream: allow CanonicalizePermittedCNAMEs=none in ssh_config; ok
7196     
7197     markus@
7198     
7199     OpenBSD-Commit-ID: 668a82ba8e56d731b26ffc5703213bfe071df623
7200
7201 commit d0fffc88c8fe90c1815c6f4097bc8cbcabc0f3dd
7202 Author: mbuhl@openbsd.org <mbuhl@openbsd.org>
7203 Date:   Tue Sep 14 11:04:21 2021 +0000
7204
7205     upstream: put back the mux_ctx memleak fix for SSH_CHANNEL_MUX_CLIENT
7206     
7207     OK mfriedl@
7208     
7209     OpenBSD-Commit-ID: 1aba1da828956cacaadb81a637338734697d9798
7210
7211 commit 19b3d846f06697c85957ab79a63454f57f8e22d6
7212 Author: schwarze@openbsd.org <schwarze@openbsd.org>
7213 Date:   Sat Sep 11 09:05:50 2021 +0000
7214
7215     upstream: Do not ignore SIGINT while waiting for input if editline(3)
7216     
7217     is not used. Instead, in non-interactive mode, exit sftp(1), like for other
7218     serious errors. As pointed out by dtucker@, when compiled without editline(3)
7219     support in portable OpenSSH, the el == NULL branch is also used for
7220     interactive mode. In that case, discard the input line and provide a fresh
7221     prompt to the user just like in the case where editline(3) is used. OK djm@
7222     
7223     OpenBSD-Commit-ID: 7d06f4d3ebba62115527fafacf38370d09dfb393
7224
7225 commit ba61123eef9c6356d438c90c1199a57a0d7bcb0a
7226 Author: djm@openbsd.org <djm@openbsd.org>
7227 Date:   Sat Sep 11 00:40:24 2021 +0000
7228
7229     upstream: when using SFTP protocol, continue transferring files after a
7230     
7231     transfer error occurs. This matches original scp/rcp behaviour. ok dtucker@
7232     
7233     OpenBSD-Commit-ID: dfe4558d71dd09707e9b5d6e7d2e53b793da69fa
7234
7235 commit b0ec59a708b493c6f3940336b1a537bcb64dd2a7
7236 Author: dtucker@openbsd.org <dtucker@openbsd.org>
7237 Date:   Fri Sep 10 11:38:38 2021 +0000
7238
7239     upstream: Document that non-interactive commands are run via the user's
7240     
7241     shell using the -c flag.  ok jmc@
7242     
7243     OpenBSD-Commit-ID: 4f0d912077732eead10423afd1acf4fc0ceec477
7244
7245 commit 66a658b5d9e009ea11f8a0ca6e69c7feb2d851ea
7246 Author: dtucker@openbsd.org <dtucker@openbsd.org>
7247 Date:   Fri Sep 10 10:26:02 2021 +0000
7248
7249     upstream: Document behaviour of arguments following non-interactive
7250     
7251     commands. Prompted by github PR#139 from EvanTheB, feedback & ok djm@ jmc@
7252     
7253     OpenBSD-Commit-ID: fc758d1fe0471dfab4304fcad6cd4ecc3d79162a
7254
7255 commit 1d47e28e407d1f95fdf8f799be23f48dcfa5206b
7256 Author: dtucker@openbsd.org <dtucker@openbsd.org>
7257 Date:   Fri Sep 10 07:11:11 2021 +0000
7258
7259     upstream: Clarify which file's attributes -p preserves, and that
7260     
7261     it's specifically the file mode bits. bz#3340 from calestyo at scientia.net,
7262     ok djm@ jmc@
7263     
7264     OpenBSD-Commit-ID: f09e6098ed1c4be00c730873049825f8ee7cb884
7265
7266 commit b344db7a413478e4c21e4cadba4a970ad3e6128a
7267 Author: djm@openbsd.org <djm@openbsd.org>
7268 Date:   Fri Sep 10 05:46:09 2021 +0000
7269
7270     upstream: openssh-7.4 was incorrectly listed twice; spotted by
7271     
7272     Dmitry Belyavskiy, ok dtucker@
7273     
7274     OpenBSD-Commit-ID: 4b823ae448f6e899927ce7b04225ac9e489f58ef
7275
7276 commit 9136d6239ad7a4a293e0418a49b69e70c76d58b8
7277 Author: jmc@openbsd.org <jmc@openbsd.org>
7278 Date:   Thu Sep 9 06:17:39 2021 +0000
7279
7280     upstream: - move CAVEATS to its correct order - use the term
7281     
7282     "legacy" protocol rather than "original", as the latter made the text
7283     misleading - uppercase SCP
7284     
7285     ok djm
7286     
7287     OpenBSD-Commit-ID: 8479255746d5fa76a358ee59e7340fecf4245ff0
7288
7289 commit 2d678c5e3bdc2f5c99f7af5122e9d054925d560d
7290 Author: David Carlier <devnexen@gmail.com>
7291 Date:   Wed Sep 8 19:49:54 2021 +0100
7292
7293     Disable tracing on FreeBSD using procctl.
7294     
7295     Placed at the start of platform_disable_tracing() to prevent declaration
7296     after code errors from strict C89 compilers (in the unlikely event that
7297     more than one method is enabled).
7298
7299 commit 73050fa38fb36ae3326d768b574806352b97002d
7300 Author: djm@openbsd.org <djm@openbsd.org>
7301 Date:   Wed Sep 8 23:31:39 2021 +0000
7302
7303     upstream: Use the SFTP protocol by default. The original scp/rcp
7304     
7305     protocol remains available via the -O flag.
7306     
7307     Note that ~user/ prefixed paths in SFTP mode require a protocol extension
7308     that was first shipped in OpenSSH 8.7.
7309     
7310     ok deraadt, after baking in snaps for a while without incident
7311     
7312     OpenBSD-Commit-ID: 23588976e28c281ff5988da0848cb821fec9213c
7313
7314 commit c4565e69ffa2485cff715aa842ea7a350296bfb6
7315 Author: Darren Tucker <dtucker@dtucker.net>
7316 Date:   Wed Sep 8 21:09:49 2021 +1000
7317
7318     Really fix test on OpenSSL 1.1.1 stable.
7319
7320 commit 79f1bb5f56cef3ae9276207316345b8309248478
7321 Author: Darren Tucker <dtucker@dtucker.net>
7322 Date:   Wed Sep 8 18:51:39 2021 +1000
7323
7324     Correct OpenSSL 1.1.1 stable identifier.
7325
7326 commit b6255593ed5ccbe5e7d3d4b26b2ad31ad4afc232
7327 Author: Darren Tucker <dtucker@dtucker.net>
7328 Date:   Wed Sep 8 18:39:44 2021 +1000
7329
7330     Increment nfds when coming from startup_pipe.
7331     
7332     If we have to increase nfds because startup_pipe[0] is above any of the
7333     descriptors passed in the fd_sets, we also need to add 1 to nfds since
7334     select takes highest FD number plus one.  bz#3345 from yaroslav.kuzmin
7335     at vmssoftware.com.
7336
7337 commit a3e92a6794817df6012ac8546aea19652cc91b61
7338 Author: Darren Tucker <dtucker@dtucker.net>
7339 Date:   Wed Sep 8 13:45:10 2021 +1000
7340
7341     Tests for OpenSSL 3.0.0 release & 1.1.1 branch.
7342
7343 commit 4afe431da98ec1cf6a2933fe5658f4fd68dee9e2
7344 Author: djm@openbsd.org <djm@openbsd.org>
7345 Date:   Wed Sep 8 03:23:44 2021 +0000
7346
7347     upstream: correct my mistake in previous fix; spotted by halex
7348     
7349     OpenBSD-Commit-ID: 3cc62d92e3f70006bf02468fc146bfc36fffa183
7350
7351 commit ca0e455b9331213ff9505a21b94c38e34faa2bba
7352 Author: djm@openbsd.org <djm@openbsd.org>
7353 Date:   Tue Sep 7 06:03:51 2021 +0000
7354
7355     upstream: avoid NULL deref in -Y find-principals. Report and fix
7356     
7357     from Carlo Marcelo Arenas Belón
7358     MIME-Version: 1.0
7359     Content-Type: text/plain; charset=UTF-8
7360     Content-Transfer-Encoding: 8bit
7361     
7362     OpenBSD-Commit-ID: 6238486f8ecc888d6ccafcd9ad99e621bb41f1e0
7363
7364 commit 37616807f150fb46610bbd5031c31af4857ad1e9
7365 Author: millert@openbsd.org <millert@openbsd.org>
7366 Date:   Mon Sep 6 00:36:01 2021 +0000
7367
7368     upstream: revision 1.381 neglected to remove
7369     
7370     sChallengeResponseAuthentication from the enum.  Noticed by
7371     christos@zoulas.com.  OK dtucker@
7372     
7373     OpenBSD-Commit-ID: b533283a4dd6d04a867da411a4c7a8fbc90e34ff
7374
7375 commit 7acb3578cdfec0b3d34501408071f7a96c1684ea
7376 Author: Darren Tucker <dtucker@dtucker.net>
7377 Date:   Sun Sep 5 20:45:42 2021 +1000
7378
7379     Correct version_num for OpenSSL dev branch.
7380
7381 commit 65bb01111320dfd0d25e21e1fd4d3f2b77532669
7382 Author: Darren Tucker <dtucker@dtucker.net>
7383 Date:   Sun Sep 5 19:37:39 2021 +1000
7384
7385     Test against OpenSSL 3 branch as well as dev.
7386     
7387     Now that OpenSSL development has moved to 3.1, test against the most
7388     recent version of the openssl-3.0 branch too.
7389
7390 commit 864ed0d5e04a503b97202c776b7cf3f163f3eeaa
7391 Author: Darren Tucker <dtucker@dtucker.net>
7392 Date:   Sun Sep 5 19:33:22 2021 +1000
7393
7394     OpenSSL development is now 3.1.*
7395
7396 commit a60209a586a928f92ab323bf23bd07f57093342e
7397 Author: dtucker@openbsd.org <dtucker@openbsd.org>
7398 Date:   Fri Sep 3 07:43:23 2021 +0000
7399
7400     upstream: Use .Cm instead of .Dq in StrictHostKeyChecking list for
7401     
7402     consistency. Patch from scop via github PR#257, ok jmc@
7403     
7404     OpenBSD-Commit-ID: 3652a91564570779431802c31224fb4a9cf39872
7405
7406 commit 8d1d9eb6de37331e872700e9e399a3190cca1242
7407 Author: dtucker@openbsd.org <dtucker@openbsd.org>
7408 Date:   Fri Sep 3 07:27:03 2021 +0000
7409
7410     upstream: Mention using ssh -i for specifying the public key file
7411     
7412     in the case where the private key is loaded into ssh-agent but is not present
7413     locally.  Based on patch from rafork via github PR#215, ok jmc@
7414     
7415     OpenBSD-Commit-ID: 2282e83b0ff78d2efbe705883b67240745fa5bb2
7416
7417 commit eb4362e5e3aa7ac26138b11e44d8c191910aff64
7418 Author: dtucker@openbsd.org <dtucker@openbsd.org>
7419 Date:   Fri Sep 3 05:25:50 2021 +0000
7420
7421     upstream: Refer to KEX "algorithms" instead of "methods" to match
7422     
7423     other references and improve consistency.  Patch from scop via github PR#241,
7424     ok djm@
7425     
7426     OpenBSD-Commit-ID: 840bc94ff6861b28d8603c8e8c16499bfb65e32c
7427
7428 commit b3318946ce5725da43c4bf7eeea1b73129c47d2a
7429 Author: dtucker@openbsd.org <dtucker@openbsd.org>
7430 Date:   Fri Sep 3 05:12:25 2021 +0000
7431
7432     upstream: Remove redundant attrib_clear in upload_dir_internal.
7433     
7434     The subsequent call to stat_to_attrib clears the struct as its first step
7435     anyway. From pmeinhardt via github PR#220, ok djm@
7436     
7437     OpenBSD-Commit-ID: f5234fc6d7425b607e179acb3383f21716f3029e
7438
7439 commit 7cc3fe28896e653956a6a2eed0a25d551b83a029
7440 Author: dtucker@openbsd.org <dtucker@openbsd.org>
7441 Date:   Fri Sep 3 04:11:13 2021 +0000
7442
7443     upstream: Add test for client termination status on signal.
7444     
7445     Based on patch from Alexxz via github PR#235 with some tweaks, to
7446     match patch in bz#3281.
7447     
7448     OpenBSD-Regress-ID: d87c7446fb8b5f8b45894fbbd6875df326e729e2
7449
7450 commit 5428b0d239f6b516c81d1dd15aa9fe9e60af75d4
7451 Author: deraadt@openbsd.org <deraadt@openbsd.org>
7452 Date:   Thu Sep 2 21:03:54 2021 +0000
7453
7454     upstream: sys/param.h is not needed for any visible reason
7455     
7456     OpenBSD-Commit-ID: 8bdea2d0c75692e4c5777670ac039d4b01c1f368
7457
7458 commit 1ff38f34b4c4545eb28106629cafa1e0496bc726
7459 Author: Shchelkunov Artem <a.shchelkunov@ideco.ru>
7460 Date:   Wed Aug 11 18:07:58 2021 +0500
7461
7462     Fix memory leak in error path.
7463     
7464     *info is allocated via xstrdup but was leaked in the PAM_AUTH_ERR path.
7465     From github PR#266.
7466
7467 commit cb37e2f0c0ca4fef844ed7edc5d0e3b7d0e83f6a
7468 Author: dtucker@openbsd.org <dtucker@openbsd.org>
7469 Date:   Wed Sep 1 03:16:06 2021 +0000
7470
7471     upstream: Fix ssh-rsa fallback for old PuTTY interop tests.
7472     
7473     OpenBSD-Regress-ID: a19ac929da604843a5b5f0f48d2c0eb6e0773d37
7474
7475 commit 8b02ef0f28dc24cda8cbcd8b7eb02bda8f8bbe59
7476 Author: dtucker@openbsd.org <dtucker@openbsd.org>
7477 Date:   Wed Sep 1 00:50:27 2021 +0000
7478
7479     upstream: Add a function to skip remaining tests.
7480     
7481     Many tests skip tests for various reasons but not in a consistent way and
7482     don't always clean up, so add that and switch the tests that do that over.
7483     
7484     OpenBSD-Regress-ID: 72d2ec90a3ee8849486956a808811734281af735
7485
7486 commit d486845c07324c04240f1674ac513985bd356f66
7487 Author: dtucker@openbsd.org <dtucker@openbsd.org>
7488 Date:   Tue Aug 31 07:13:59 2021 +0000
7489
7490     upstream: Specify path to PuTTY keys.
7491     
7492     Portable needs this and it makes no difference on OpenBSD, so resync
7493     them.  (Id sync only, Portable already had this.)
7494     
7495     OpenBSD-Regress-ID: 33f6f66744455886d148527af8368811e4264162
7496
7497 commit d22b299115e27606e846b23490746f69fdd4fb38
7498 Author: dtucker@openbsd.org <dtucker@openbsd.org>
7499 Date:   Tue Aug 31 06:13:23 2021 +0000
7500
7501     upstream: Better compat tests with old PuTTY.
7502     
7503     When running PuTTY interop tests and using a PuTTY version older than
7504     0.76, re-enable the ssh-rsa host key algorithm (the 256 and 512 variants
7505     of RSA were added some time between 0.73 and 0.76).
7506     
7507     OpenBSD-Regress-ID: e6138d6987aa705fa1e4f216db0bb386e1ff38e1
7508
7509 commit 87ad70d605c3e39c9b8aa275db27120d7cc09b77
7510 Author: Darren Tucker <dtucker@dtucker.net>
7511 Date:   Tue Aug 31 17:04:50 2021 +1000
7512
7513     Resync PuTTY interop tests.
7514     
7515     Resync behaviour when REGRESS_INTEROP_PUTTY is not set with OpenBSD.
7516
7517 commit e47b82a7bf51021afac218bf59a3be121827653d
7518 Author: dtucker@openbsd.org <dtucker@openbsd.org>
7519 Date:   Tue Aug 31 01:25:27 2021 +0000
7520
7521     upstream: Specify hostkeyalgorithms in SSHFP test.
7522     
7523     Specify host key algorithms in sshd's default set for the SSHFP test,
7524     from djm@.  Make the reason for when the test is skipped a bit clearer.
7525     
7526     OpenBSD-Regress-ID: 4f923dfc761480d5411de17ea6f0b30de3e32cea
7527
7528 commit 7db3e0a9e8477c018757b59ee955f7372c0b55fb
7529 Author: djm@openbsd.org <djm@openbsd.org>
7530 Date:   Mon Aug 30 01:15:45 2021 +0000
7531
7532     upstream: adapt to RSA/SHA1 deprectation
7533     
7534     OpenBSD-Regress-ID: 952397c39a22722880e4de9d1c50bb1a14f907bb
7535
7536 commit 2344750250247111a6c3c6a4fe84ed583a61cc11
7537 Author: djm@openbsd.org <djm@openbsd.org>
7538 Date:   Sun Aug 29 23:53:10 2021 +0000
7539
7540     upstream: After years of forewarning, disable the RSA/SHA-1
7541     
7542     signature algorithm by default. It is feasible to create colliding SHA1
7543     hashes, so we need to deprecate its use.
7544     
7545     RSA/SHA-256/512 remains available and will be transparently selected
7546     instead of RSA/SHA1 for most SSH servers released in the last five+
7547     years. There is no need to regenerate RSA keys.
7548     
7549     The use of RSA/SHA1 can be re-enabled by adding "ssh-rsa" to the
7550     PubkeyAcceptedAlgorithms directives on the client and server.
7551     
7552     ok dtucker deraadt
7553     
7554     OpenBSD-Commit-ID: 189bcc4789c7254e09e23734bdd5def8354ff1d5
7555
7556 commit 56c4455d3b54b7d481c77c82115c830b9c8ce328
7557 Author: djm@openbsd.org <djm@openbsd.org>
7558 Date:   Sun Aug 29 23:44:07 2021 +0000
7559
7560     upstream: wrap at 80 columns
7561     
7562     OpenBSD-Commit-ID: 47ca2286d6b52a9747f34da16d742879e1a37bf0
7563
7564 commit 95401eea8503943449f712e5f3de52fc0bc612c5
7565 Author: Darren Tucker <dtucker@dtucker.net>
7566 Date:   Fri Aug 20 18:14:13 2021 +1000
7567
7568     Replace shell function with ssh-keygen -A.
7569     
7570     Prevents the init script in the SysV package from trying (and failing)
7571     to generate unsupported key types.  Remove now-unused COMMENT_OUT_ECC.
7572     ok tim@
7573
7574 commit d83ec9ed995a76ed1d5c65cf10b447222ec86131
7575 Author: Darren Tucker <dtucker@dtucker.net>
7576 Date:   Fri Aug 20 15:39:05 2021 +1000
7577
7578     Remove obsolete Redhat PAM config and init script.
7579
7580 commit e1a596186c81e65a34ce13076449712d3bf97eb4
7581 Author: Damien Miller <djm@mindrot.org>
7582 Date:   Fri Aug 20 14:03:49 2021 +1000
7583
7584     depend
7585
7586 commit 5450606c8f7f7a0d70211cea78bc2dab74ab35d1
7587 Author: Damien Miller <djm@mindrot.org>
7588 Date:   Fri Aug 20 13:59:43 2021 +1000
7589
7590     update version numbers
7591
7592 commit feee2384ab8d694c770b7750cfa76a512bdf8246
7593 Author: djm@openbsd.org <djm@openbsd.org>
7594 Date:   Fri Aug 20 03:22:55 2021 +0000
7595
7596     upstream: openssh-8.7
7597     
7598     OpenBSD-Commit-ID: 8769dff0fd76ae3193d77bf83b439adee0f300cd
7599
7600 commit 9a2ed62173cc551b2b5f479460bb015b19499de8
7601 Author: Darren Tucker <dtucker@dtucker.net>
7602 Date:   Fri Aug 20 10:48:13 2021 +1000
7603
7604     Also check pid in pselect_notify_setup.
7605     
7606     Spotted by djm@.
7607
7608 commit deaadcb93ca15d4f38aa38fb340156077792ce87
7609 Author: Darren Tucker <dtucker@dtucker.net>
7610 Date:   Fri Aug 20 08:39:33 2021 +1000
7611
7612     Prefix pselect functions to clarify debug messages
7613
7614 commit 10e45654cff221ca60fd35ee069df67208fcf415
7615 Author: Darren Tucker <dtucker@dtucker.net>
7616 Date:   Fri Aug 20 08:30:42 2021 +1000
7617
7618     Fix race in pselect replacement code.
7619     
7620     On the second and subsequent calls to pselect the notify_pipe was not
7621     added to the select readset, opening up a race that om G. Christensen
7622     discovered on multiprocessor Solaris <=9 systems.
7623     
7624     Also reinitialize notify_pipe if the pid changes.  This will prevent a
7625     parent and child from using the same FD, although this is not an issue
7626     in the current structure it might be in future.
7627
7628 commit 464ba22f1e38d25402e5ec79a9b8d34a32df5a3f
7629 Author: Darren Tucker <dtucker@dtucker.net>
7630 Date:   Wed Aug 18 12:51:30 2021 +1000
7631
7632     Check compiler for c99 declarations after code.
7633     
7634     The sntrup761 reference code contains c99-style declarations after code
7635     so don't try to build that if the compiler doesn't support it.
7636
7637 commit 7d878679a4b155a359d32104ff473f789501748d
7638 Author: Darren Tucker <dtucker@dtucker.net>
7639 Date:   Tue Aug 17 15:12:04 2021 +1000
7640
7641     Remove trailing backslash on regress-unit-binaries
7642
7643 commit b71b2508f17c68c5d9dbbe537686d81cedb9a781
7644 Author: Darren Tucker <dtucker@dtucker.net>
7645 Date:   Tue Aug 17 07:59:27 2021 +1000
7646
7647     Put stdint.h inside HAVE_STDINT_H.
7648     
7649     From Tom G. Christensen.
7650
7651 commit 6a24567a29bd7b4ab64e1afad859ea845cbc6b8c
7652 Author: Darren Tucker <dtucker@dtucker.net>
7653 Date:   Mon Aug 16 14:13:02 2021 +1000
7654
7655     Improve github test driver script.
7656     
7657      - use a trap to always output any failed regress logs (since the script
7658        sets -e, the existing log output is never invoked).
7659      - pass LTESTS and SKIP_LTESTS when re-running with sshd options (eg.
7660        UsePAM).
7661
7662 commit b467cf13705f59ed348b620722ac098fe31879b7
7663 Author: Darren Tucker <dtucker@dtucker.net>
7664 Date:   Mon Aug 16 11:32:23 2021 +1000
7665
7666     Remove deprecated ubuntu-16.04 test targets.
7667     
7668     Github has deprecated ubuntu-16.04 and it will be removed on 20
7669     September.
7670
7671 commit 20e6eefcdf78394f05e453d456c1212ffaa6b6a4
7672 Author: Darren Tucker <dtucker@dtucker.net>
7673 Date:   Sun Aug 15 23:25:26 2021 +1000
7674
7675     Skip agent ptrace test on hurd.
7676
7677 commit 7c9115bbbf958fbf85259a061c1122e2d046aabf
7678 Author: Darren Tucker <dtucker@dtucker.net>
7679 Date:   Sun Aug 15 19:37:22 2021 +1000
7680
7681     Add hurd test target.
7682
7683 commit 7909a566f6c6a78fcd30708dc49f4e4f9bb80ce3
7684 Author: Darren Tucker <dtucker@dtucker.net>
7685 Date:   Sun Aug 15 12:45:10 2021 +1000
7686
7687     Skip scp3 tests on all dfly58 and 60 configs.
7688
7689 commit e65198e52cb03534e8c846d1bca74c310b1526de
7690 Author: Tim Rice <tim@multitalents.net>
7691 Date:   Sat Aug 14 13:08:07 2021 -0700
7692
7693     openbsd-compat/openbsd-compat.h: put bsd-signal.h before bsd-misc.h
7694     to get sigset_t from signal.h needed for the pselect replacement.
7695
7696 commit e50635640f79920d9375e0155cb3f4adb870eee5
7697 Author: Darren Tucker <dtucker@dtucker.net>
7698 Date:   Fri Aug 13 13:21:00 2021 +1000
7699
7700     Test OpenSSH from OpenBSD head on 6.8 and 6.9.
7701
7702 commit e0ba38861c490c680117b7fe0a1d61a181cd00e7
7703 Author: Darren Tucker <dtucker@dtucker.net>
7704 Date:   Fri Aug 13 13:00:14 2021 +1000
7705
7706     Skip scp3 test on dragonfly 58 and 60.
7707     
7708     The tests hang, so skip until we figure them out.
7709
7710 commit dcce2a2bcf007bf817a2fb0dce3db83fa9201e92
7711 Author: djm@openbsd.org <djm@openbsd.org>
7712 Date:   Thu Aug 12 23:59:25 2021 +0000
7713
7714     upstream: mention that CASignatureAlgorithms accepts +/- similarly to
7715     
7716     the other algorithm list directives; ok jmc bz#3335
7717     
7718     OpenBSD-Commit-ID: 0d46b53995817052c78e2dce9dbd133963b073d9
7719
7720 commit 090a82486e5d7a8f7f16613d67e66a673a40367f
7721 Author: schwarze@openbsd.org <schwarze@openbsd.org>
7722 Date:   Thu Aug 12 09:59:00 2021 +0000
7723
7724     upstream: In the editline(3) branch of the sftp(1) event loop,
7725     
7726     handle SIGINT rather than ignoring it, such that the user can use Ctrl-C to
7727     discard the currently edited command line and get a fresh prompt, just like
7728     in ftp(1), bc(1), and in shells.
7729     
7730     It is critical to not use ssl_signal() for this particular case
7731     because that function unconditionally sets SA_RESTART, but here we
7732     need the signal to interrupt the read(2) in the el_gets(3) event loop.
7733     
7734     OK dtucker@ deraadt@
7735     
7736     OpenBSD-Commit-ID: 8025115a773f52e9bb562eaab37ea2e021cc7299
7737
7738 commit e1371e4f58404d6411d9f95eb774b444cea06a26
7739 Author: naddy@openbsd.org <naddy@openbsd.org>
7740 Date:   Wed Aug 11 14:07:54 2021 +0000
7741
7742     upstream: scp: tweak man page and error message for -3 by default
7743     
7744     Now that the -3 option is enabled by default, flip the documentation
7745     and error message logic from "requires -3" to "blocked by -R".
7746     
7747     ok djm@
7748     
7749     OpenBSD-Commit-ID: a872592118444fb3acda5267b2a8c3d4c4252020
7750
7751 commit 49f46f6d77328a3d10a758522b670a3e8c2235e7
7752 Author: naddy@openbsd.org <naddy@openbsd.org>
7753 Date:   Wed Aug 11 14:05:19 2021 +0000
7754
7755     upstream: scp: do not spawn ssh with two -s flags for
7756     
7757     remote-to-remote copies
7758     
7759     Do not add another "-s" to the argument vector every time an SFTP
7760     connection is initiated.  Instead, introduce a subsystem flag to
7761     do_cmd() and add "-s" when the flag is set.
7762     
7763     ok djm@
7764     
7765     OpenBSD-Commit-ID: 25df69759f323661d31b2e1e790faa22e27966c1
7766
7767 commit 2a2cd00783e1da45ee730b7f453408af1358ef5b
7768 Author: djm@openbsd.org <djm@openbsd.org>
7769 Date:   Wed Aug 11 08:55:04 2021 +0000
7770
7771     upstream: test -Oprint-pubkey
7772     
7773     OpenBSD-Regress-ID: 3d51afb6d1f287975fb6fddd7a2c00a3bc5094e0
7774
7775 commit b9f4635ea5bc33ed5ebbacf332d79bae463b0f54
7776 Author: djm@openbsd.org <djm@openbsd.org>
7777 Date:   Wed Aug 11 08:54:17 2021 +0000
7778
7779     upstream: when verifying sshsig signatures, support an option
7780     
7781     (-Oprint-pubkey) to dump the full public key to stdout; based on patch from
7782     Fabian Stelzer; ok markus@
7783     
7784     OpenBSD-Commit-ID: 0598000e5b9adfb45d42afa76ff80daaa12fc3e2
7785
7786 commit 750c1a45ba4e8ad63793d49418a0780e77947b9b
7787 Author: djm@openbsd.org <djm@openbsd.org>
7788 Date:   Wed Aug 11 05:21:32 2021 +0000
7789
7790     upstream: oops, missed one more %p
7791     
7792     OpenBSD-Commit-ID: e7e62818d1564cc5cd9086eaf7a51cbd1a9701eb
7793
7794 commit b5aa27b69ab2e1c13ac2b5ad3f8f7d389bad7489
7795 Author: djm@openbsd.org <djm@openbsd.org>
7796 Date:   Wed Aug 11 05:20:17 2021 +0000
7797
7798     upstream: remove a bunch of %p in format strings; leftovers of
7799     
7800     debuggings past. prompted by Michael Forney, ok dtucker@
7801     
7802     OpenBSD-Commit-ID: 4853a0d6c9cecaba9ecfcc19066e52d3a8dcb2ac
7803
7804 commit 419aa01123db5ff5dbc68b2376ef23b222862338
7805 Author: Darren Tucker <dtucker@dtucker.net>
7806 Date:   Wed Aug 11 09:21:09 2021 +1000
7807
7808     Add includes.h to compat tests.
7809     
7810     On platforms where closefrom returns void (eg glibc>=2.34) the prototype
7811     for closefrom in its compat tests would cause compile errors.  Remove
7812     this and have the tests pull in the compat headers in the same way as
7813     the main code.  bz#3336.
7814
7815 commit 931f592f26239154eea3eb35a086585897b1a185
7816 Author: djm@openbsd.org <djm@openbsd.org>
7817 Date:   Tue Aug 10 03:35:45 2021 +0000
7818
7819     upstream: adapt to scp -M flag change; make scp3.sh test SFTP mode too
7820     
7821     OpenBSD-Regress-ID: 43fea26704a0f0b962b53c1fabcb68179638f9c0
7822
7823 commit 391ca67fb978252c48d20c910553f803f988bd37
7824 Author: djm@openbsd.org <djm@openbsd.org>
7825 Date:   Tue Aug 10 03:33:34 2021 +0000
7826
7827     upstream: Prepare for a future where scp(1) uses the SFTP protocol by
7828     
7829     default. Replace recently added -M option to select the protocol with -O
7830     (olde) and -s (SFTP) flags, and label the -s flag with a clear warning that
7831     it will be removed in the near future (so no, don't use it in scripts!).
7832     
7833     prompted by/feedback from deraadt@
7834     
7835     OpenBSD-Commit-ID: 92ad72cc6f0023c9be9e316d8b30eb6d8d749cfc
7836
7837 commit bfdd4b722f124a4fa9173d20dd64dd0fc69856be
7838 Author: djm@openbsd.org <djm@openbsd.org>
7839 Date:   Mon Aug 9 23:56:36 2021 +0000
7840
7841     upstream: make scp -3 the default for remote-to-remote copies. It
7842     
7843     provides a much better and more intuitive user experience and doesn't require
7844     exposing credentials to the source host.
7845     
7846     thanks naddy@ for catching the missing argument in usage()
7847     
7848     "Yes please!" - markus@
7849     "makes a lot of sense" - deraadt@
7850     "the right thing to do" - dtucker@
7851     
7852     OpenBSD-Commit-ID: d0d2af5f0965c5192ba5b2fa461c9f9b130e5dd9
7853
7854 commit 2f7a3b51cef689ad9e93d0c6c17db5a194eb5555
7855 Author: djm@openbsd.org <djm@openbsd.org>
7856 Date:   Mon Aug 9 23:49:31 2021 +0000
7857
7858     upstream: make scp in SFTP mode try to use relative paths as much
7859     
7860     as possible. Previosuly, it would try to make relative and ~/-rooted paths
7861     absolute before requesting transfers.
7862     
7863     prompted by and much discussion deraadt@
7864     ok markus@
7865     
7866     OpenBSD-Commit-ID: 46639d382ea99546a4914b545fa7b00fa1be5566
7867
7868 commit 2ab864010e0a93c5dd95116fb5ceaf430e2fc23c
7869 Author: djm@openbsd.org <djm@openbsd.org>
7870 Date:   Mon Aug 9 23:47:44 2021 +0000
7871
7872     upstream: SFTP protocol extension to allow the server to expand
7873     
7874     ~-prefixed paths, in particular ~user ones. Allows scp in sftp mode to accept
7875     these paths, like scp in rcp mode does.
7876     
7877     prompted by and much discussion deraadt@
7878     ok markus@
7879     
7880     OpenBSD-Commit-ID: 7d794def9e4de348e1e777f6030fc9bafdfff392
7881
7882 commit 41b019ac067f1d1f7d99914d0ffee4d2a547c3d8
7883 Author: djm@openbsd.org <djm@openbsd.org>
7884 Date:   Mon Aug 9 23:44:32 2021 +0000
7885
7886     upstream: when scp is in SFTP mode, try to deal better with ~
7887     
7888     prefixed paths. ~user paths aren't supported, but ~/ paths will be accepted
7889     and prefixed with the SFTP server starting directory (more to come)
7890     
7891     prompted by and discussed with deraadt@
7892     ok markus@
7893     
7894     OpenBSD-Commit-ID: 263a071f14555c045fd03132a8fb6cbd983df00d
7895
7896 commit b4b3f3da6cdceb3fd168b5fab69d11fba73bd0ae
7897 Author: djm@openbsd.org <djm@openbsd.org>
7898 Date:   Mon Aug 9 07:21:01 2021 +0000
7899
7900     upstream: on fatal errors, make scp wait for ssh connection before
7901     
7902     exiting avoids LogLevel=verbose (or greater) messages from ssh appearing
7903     after scp has returned exited and control has returned to the shell; ok
7904     markus@
7905     
7906     (this was originally committed as r1.223 along with unrelated stuff that
7907     I rolled back in r1.224)
7908     
7909     OpenBSD-Commit-ID: 1261fd667ad918484889ed3d7aec074f3956a74b
7910
7911 commit 2ae7771749e0b4cecb107f9d4860bec16c3f4245
7912 Author: djm@openbsd.org <djm@openbsd.org>
7913 Date:   Mon Aug 9 07:19:12 2021 +0000
7914
7915     upstream: rever r1.223 - I accidentally committed unrelated changes
7916     
7917     OpenBSD-Commit-ID: fb73f3865b2647a27dd94db73d6589506a9625f9
7918
7919 commit 986abe94d481a1e82a01747360bd767b96b41eda
7920 Author: djm@openbsd.org <djm@openbsd.org>
7921 Date:   Mon Aug 9 07:16:09 2021 +0000
7922
7923     upstream: show only the final path component in the progress meter;
7924     
7925     more useful with long paths (that may truncate) and better matches
7926     traditional scp behaviour; spotted by naddy@ ok deraadt@
7927     
7928     OpenBSD-Commit-ID: 26b544d0074f03ebb8a3ebce42317d8d7ee291a3
7929
7930 commit 2b67932bb3176dee4fd447af4368789e04a82b93
7931 Author: djm@openbsd.org <djm@openbsd.org>
7932 Date:   Mon Aug 9 07:13:54 2021 +0000
7933
7934     upstream: on fatal errors, make scp wait for ssh connection before
7935     
7936     exiting avoids LogLevel=verbose (or greater) messages from ssh appearing
7937     after scp has returned exited and control has returned to the shell; ok
7938     markus@
7939     
7940     OpenBSD-Commit-ID: ef9dab5ef5ae54a6a4c3b15d380568e94263456c
7941
7942 commit 724eb900ace30661d45db2ba01d0f924d95ecccb
7943 Author: dtucker@openbsd.org <dtucker@openbsd.org>
7944 Date:   Sun Aug 8 08:49:09 2021 +0000
7945
7946     upstream: xstrdup environment variable used by ForwardAgent. bz#3328
7947     
7948     from goetze at dovetail.com, ok djm@ deraadt@
7949     
7950     OpenBSD-Commit-ID: 760320dac1c3b26904284ba417a7d63fccc5e742
7951
7952 commit 86b4cb3a884846b358305aad17a6ef53045fa41f
7953 Author: dtucker@openbsd.org <dtucker@openbsd.org>
7954 Date:   Sun Aug 8 08:27:28 2021 +0000
7955
7956     upstream: Although it's POSIX, not all shells used in Portable support
7957     
7958     the implicit 'in "$@"' after 'for i'.
7959     
7960     OpenBSD-Regress-ID: 3c9aec6bca4868f85d2742b6ba5223fce110bdbc
7961
7962 commit f2ccf6c9f395923695f22345e626dfd691227aaf
7963 Author: Darren Tucker <dtucker@dtucker.net>
7964 Date:   Sun Aug 8 17:39:56 2021 +1000
7965
7966     Move portable specific settings down.
7967     
7968     This brings the top hunk of the file back in sync with OpenBSD
7969     so patches to the CVS Id should apply instead of always being
7970     rejected.
7971
7972 commit 71b0eb997e220b0fc9331635af409ad84979f2af
7973 Author: dtucker@openbsd.org <dtucker@openbsd.org>
7974 Date:   Sun Aug 8 07:27:52 2021 +0000
7975
7976     upstream: Move setting of USER further down the startup In portable
7977     
7978     we have to change this and having it in the same hunk as the CVS Id string
7979     means applying changes fails every. single. time.
7980     
7981     OpenBSD-Regress-ID: 87cd603eb6db58c9b430bf90adacb7f90864429b
7982
7983 commit f0aca2706c710a0da1a4be705f825a807cd15400
7984 Author: dtucker@openbsd.org <dtucker@openbsd.org>
7985 Date:   Sun Aug 8 06:38:33 2021 +0000
7986
7987     upstream: Drop -q in ssh-log-wrapper.sh to preserve logs.
7988     
7989     scp and sftp like to add -q to the command line passed to ssh which
7990     overrides the LogLevel we set in the config files and suppresses output
7991     to the debug logs so drop any "-q" from the invoked ssh.  In the one
7992     case where we actually want to use -q in the banner test, call the ssh
7993     binary directly bypassing the logging wrapper.
7994     
7995     OpenBSD-Regress-ID: e2c97d3c964bda33a751374c56f65cdb29755b75
7996
7997 commit cf27810a649c5cfae60f8ce66eeb25caa53b13bc
7998 Author: dtucker@openbsd.org <dtucker@openbsd.org>
7999 Date:   Sat Aug 7 01:57:08 2021 +0000
8000
8001     upstream: Fix prototype mismatch for do_cmd. ok djm@
8002     
8003     OpenBSD-Commit-ID: 1c1598bb5237a7ae0be99152f185e0071163714d
8004
8005 commit 85de69f64665245786e28c81ab01fe18b0e2a149
8006 Author: djm@openbsd.org <djm@openbsd.org>
8007 Date:   Sat Aug 7 01:55:01 2021 +0000
8008
8009     upstream: sftp-client.c needs poll.h
8010     
8011     remove unused variable
8012     
8013     OpenBSD-Commit-ID: 233ac6c012cd23af62f237167a661db391055a16
8014
8015 commit 397c4d72e50023af5fe3aee5cc2ad407a6eb1073
8016 Author: Darren Tucker <dtucker@dtucker.net>
8017 Date:   Sat Aug 7 11:30:57 2021 +1000
8018
8019     Include poll.h and friends for struct pollfd.
8020
8021 commit a9e2c533195f28627f205682482d9da384c4c52e
8022 Author: djm@openbsd.org <djm@openbsd.org>
8023 Date:   Sat Aug 7 00:14:17 2021 +0000
8024
8025     upstream: do_upload() used a near-identical structure for
8026     
8027     tracking expected status replies from the server to what do_download() was
8028     using.
8029     
8030     Refactor it to use the same structure and factor out some common
8031     code into helper functions.
8032     
8033     OpenBSD-Commit-ID: 0c167df8ab6df4a5292c32421922b0cf379e9054
8034
8035 commit 7b1cbcb7599d9f6a3bbad79d412604aa1203b5ee
8036 Author: djm@openbsd.org <djm@openbsd.org>
8037 Date:   Sat Aug 7 00:12:09 2021 +0000
8038
8039     upstream: make scp(1) in SFTP mode follow symlinks like
8040     
8041     traditional scp(1) ok markus@
8042     
8043     OpenBSD-Commit-ID: 97255e55be37e8e26605e4ba1e69f9781765d231
8044
8045 commit 133b44e500422df68c9c25c3b6de35c0263132f1
8046 Author: djm@openbsd.org <djm@openbsd.org>
8047 Date:   Sat Aug 7 00:10:49 2021 +0000
8048
8049     upstream: fix incorrect directory permissions on scp -3
8050     
8051     transfers; ok markus@
8052     
8053     OpenBSD-Commit-ID: 64b2abaa5635a2be65ee2e77688ad9bcebf576c2
8054
8055 commit 98b59244ca10e62ff67a420856770cb700164f59
8056 Author: djm@openbsd.org <djm@openbsd.org>
8057 Date:   Sat Aug 7 00:09:57 2021 +0000
8058
8059     upstream: a bit more debugging of file attributes being
8060     
8061     sent/received over the wire
8062     
8063     OpenBSD-Commit-ID: f68c4e207b08ef95200a8b2de499d422808e089b
8064
8065 commit c677e65365d6f460c084e41e0c4807bb8a9cf601
8066 Author: djm@openbsd.org <djm@openbsd.org>
8067 Date:   Sat Aug 7 00:08:52 2021 +0000
8068
8069     upstream: make scp(1) in SFTP mode output better match original
8070     
8071     scp(1) by suppressing "Retrieving [path]" lines that were emitted to support
8072     the interactive sftp(1) client. ok markus@
8073     
8074     OpenBSD-Commit-ID: 06be293df5f156a18f366079be2f33fa68001acc
8075
8076 commit 48cd39b7a4e5e7c25101c6d1179f98fe544835cd
8077 Author: djm@openbsd.org <djm@openbsd.org>
8078 Date:   Sat Aug 7 00:07:18 2021 +0000
8079
8080     upstream: factor out a structure duplicated between downloading
8081     
8082     and crossloading; ok markus@
8083     
8084     OpenBSD-Commit-ID: 96eede24d520569232086a129febe342e4765d39
8085
8086 commit 318c06bb04ee21a0cfa6b6022a201eacaa53f388
8087 Author: djm@openbsd.org <djm@openbsd.org>
8088 Date:   Sat Aug 7 00:06:30 2021 +0000
8089
8090     upstream: use sftp_client crossloading to implement scp -3
8091     
8092     feedback/ok markus@
8093     
8094     OpenBSD-Commit-ID: 7db4c0086cfc12afc9cfb71d4c2fd3c7e9416ee9
8095
8096 commit de7115b373ba0be3861c65de9b606a3e0e9d29a3
8097 Author: djm@openbsd.org <djm@openbsd.org>
8098 Date:   Sat Aug 7 00:02:41 2021 +0000
8099
8100     upstream: support for "cross"-loading files/directories, i.e.
8101     
8102     downloading from one SFTP server while simultaneously uploading to another.
8103     
8104     feedback & ok markus@
8105     
8106     OpenBSD-Commit-ID: 3982878e29d8df0fa4ddc502f5ff6126ac714235
8107
8108 commit a50bd0367ff2063bbc70a387740a2aa6914de094
8109 Author: djm@openbsd.org <djm@openbsd.org>
8110 Date:   Sat Aug 7 00:01:29 2021 +0000
8111
8112     upstream: factor our SSH2_FXP_OPEN calls into their own function;
8113     
8114     "looks fine" markus@
8115     
8116     OpenBSD-Commit-ID: d3dea2153f08855c6d9dacc01973248944adeffb
8117
8118 commit e3c0ba05873cf3d3f7d19d595667a251026b2d84
8119 Author: djm@openbsd.org <djm@openbsd.org>
8120 Date:   Sat Aug 7 00:00:33 2021 +0000
8121
8122     upstream: prepare for scp -3 implemented via sftp
8123     
8124     OpenBSD-Commit-ID: 194aac0dd87cb175334b71c2a30623a5ad55bb44
8125
8126 commit 395d8fbdb094497211e1461cf0e2f80af5617e0a
8127 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8128 Date:   Fri Aug 6 09:00:18 2021 +0000
8129
8130     upstream: Make diff invocation more portable.
8131     
8132     POSIX does not require diff to have -N, so compare in both directions
8133     with just -r, which should catch missing files in either directory.
8134     
8135     OpenBSD-Regress-ID: 0e2ec8594556a6f369ed5a0a90c6806419b845f7
8136
8137 commit d247a73ce27b460138599648d9c637c6f2b77605
8138 Author: djm@openbsd.org <djm@openbsd.org>
8139 Date:   Wed Aug 4 21:28:00 2021 +0000
8140
8141     upstream: regression test for scp -3
8142     
8143     OpenBSD-Regress-ID: b44375d125c827754a1f722ec6b6b75b634de05d
8144
8145 commit 35c8e41a6f6d8ad76f8d1cd81ac2ea23d0d993b2
8146 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8147 Date:   Fri Aug 6 05:04:42 2021 +0000
8148
8149     upstream: Document "ProxyJump none". bz#3334.
8150     
8151     OpenBSD-Commit-ID: f78cc6f55731f2cd35c3a41d5352ac1ee419eba7
8152
8153 commit 911ec6411821bda535d09778df7503b92f0eafab
8154 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8155 Date:   Wed Aug 4 01:34:55 2021 +0000
8156
8157     upstream: Allow for different (but POSIX compliant) behaviour of
8158     
8159     basename(3) and prevent a use-after-free in that case in the new sftp-compat
8160     code.
8161     
8162     POSIX allows basename(3) to either return a pointer to static storage
8163     or modify the passed string and return a pointer to that.  OpenBSD does
8164     the former and works as is, but on other platforms "filename" points
8165     into "tmp" which was just freed.  This makes the freeing of tmp
8166     consistent with the other variable in the loop.
8167     
8168     Pinpointed by the -portable Valgrind regress test.  ok djm@ deraadt@
8169     
8170     OpenBSD-Commit-ID: 750f3c19bd4440e4210e30dd5d7367386e833374
8171
8172 commit 6df1fecb5d3e51f3a8027a74885c3a44f6cbfcbd
8173 Author: Damien Miller <djm@mindrot.org>
8174 Date:   Wed Aug 4 11:05:11 2021 +1000
8175
8176     use openbsd-compat glob.h is required
8177
8178 commit 9ebd1828881dfc9014a344587934a5ce7db6fa1b
8179 Author: Darren Tucker <dtucker@dtucker.net>
8180 Date:   Tue Aug 3 21:03:23 2021 +1000
8181
8182     Missing space between macro arg and punctuation.
8183     
8184     From jmc@
8185
8186 commit 0fd3f62eddc7cf54dcc9053be6f58998f3eb926a
8187 Author: Darren Tucker <dtucker@dtucker.net>
8188 Date:   Tue Aug 3 21:02:33 2021 +1000
8189
8190     Avoid lines >80 chars.  From jmc@
8191
8192 commit af5d8094d8b755e1daaf2e20ff1dc252800b4c9b
8193 Author: djm@openbsd.org <djm@openbsd.org>
8194 Date:   Tue Aug 3 01:05:24 2021 +0000
8195
8196     upstream: regression tests for scp SFTP protocol support; mostly by
8197     
8198     Jakub Jelen in GHPR#194 ok markus
8199     
8200     OpenBSD-Regress-ID: 36f1458525bcb111741ec8547eaf58b13cddc715
8201
8202 commit e4673b7f67ae7740131a4ecea29a846593049a91
8203 Author: anton@openbsd.org <anton@openbsd.org>
8204 Date:   Thu Jul 29 15:34:09 2021 +0000
8205
8206     upstream: Treat doas with arguments as a valid SUDO variable.
8207     
8208     Allows one to specify SUDO="doas -n" which I do while running make regress.
8209     
8210     ok dtucker@
8211     
8212     OpenBSD-Regress-ID: 4fe5814b5010dbf0885500d703bea06048d11005
8213
8214 commit 197e29f1cca190d767c4b2b63a662f9a9e5da0b3
8215 Author: djm@openbsd.org <djm@openbsd.org>
8216 Date:   Mon Aug 2 23:38:27 2021 +0000
8217
8218     upstream: support for using the SFTP protocol for file transfers in
8219     
8220     scp, via a new "-M sftp" option. Marked as experimental for now.
8221     
8222     Some corner-cases exist, in particular there is no attempt to
8223     provide bug-compatibility with scp's weird "double shell" quoting
8224     rules.
8225     
8226     Mostly by Jakub Jelen in GHPR#194 with some tweaks by me. ok markus@
8227     Thanks jmc@ for improving the scp.1 bits.
8228     
8229     OpenBSD-Commit-ID: 6ce4c9157ff17b650ace571c9f7793d92874051c
8230
8231 commit dd533c7ab79d61a7796b77b64bd81b098e0d7f9f
8232 Author: jmc@openbsd.org <jmc@openbsd.org>
8233 Date:   Fri Jul 30 14:28:13 2021 +0000
8234
8235     upstream: fix a formatting error and add some Xr; from debian at
8236     
8237     helgefjell de
8238     
8239     removed references to rlogin etc. as no longer relevant;
8240     suggested by djm
8241     
8242     ok djm dtucker
8243     
8244     OpenBSD-Commit-ID: 3c431c303068d3aec5bb18573a0bd5e0cd77c5ae
8245
8246 commit c7cd347a8823819411222c1e10a0d26747d0fd5c
8247 Author: jmc@openbsd.org <jmc@openbsd.org>
8248 Date:   Fri Jul 30 14:25:01 2021 +0000
8249
8250     upstream: fix a formatting error and mark up known_hosts
8251     
8252     consistently; issues reported by debian at helgefjell de
8253     
8254     ok djm dtucker
8255     
8256     OpenBSD-Commit-ID: a1fd8d21dc77f507685443832df0c9700481b0ce
8257
8258 commit 4455aec2e4fc90f64ae4fc47e78ebc9c18721738
8259 Author: jmc@openbsd.org <jmc@openbsd.org>
8260 Date:   Wed Jul 28 05:57:42 2021 +0000
8261
8262     upstream: no need to talk about version 2 with the -Q option, so
8263     
8264     rewrite the text to read better;
8265     
8266     issue reported by debian at helgefjell de
8267     ok djm dtucker
8268     
8269     OpenBSD-Commit-ID: 59fe2e8219c37906740ad062e0fdaea487dbe9cf
8270
8271 commit bec429338e9b30d2c7668060e82608286a8a4777
8272 Author: jmc@openbsd.org <jmc@openbsd.org>
8273 Date:   Tue Jul 27 14:28:46 2021 +0000
8274
8275     upstream: word fix; reported by debian at helgefjell de
8276     
8277     OpenBSD-Commit-ID: 0c6fd22142422a25343c5bd1a618f31618f41ece
8278
8279 commit efad4deb5a1f1cf79ebefd63c6625059060bfbe1
8280 Author: jmc@openbsd.org <jmc@openbsd.org>
8281 Date:   Tue Jul 27 14:14:25 2021 +0000
8282
8283     upstream: standardise the grammar in the options list; issue
8284     
8285     reported by debian at helgefjell de
8286     
8287     ok dtucker djm
8288     
8289     OpenBSD-Commit-ID: 7ac15575045d82f4b205a42cc7d5207fe4c3f8e6
8290
8291 commit 1e11fb24066f3fc259ee30db3dbb2a3127e05956
8292 Author: Darren Tucker <dtucker@dtucker.net>
8293 Date:   Mon Aug 2 18:56:29 2021 +1000
8294
8295     Check for RLIMIT_NOFILE before trying to use it.
8296
8297 commit 0f494236b49fb48c1ef33669f14822ca4f3ce2f4
8298 Author: Darren Tucker <dtucker@dtucker.net>
8299 Date:   Tue Jul 27 17:45:34 2021 +1000
8300
8301     lastenv is only used in setenv.
8302     
8303     Prevents an unused variable warning on platforms that have setenv but
8304     not unsetenv.
8305
8306 commit a1f78e08bdb3eaa88603ba3c6e01de7c8671e28a
8307 Author: Darren Tucker <dtucker@dtucker.net>
8308 Date:   Mon Jul 26 12:45:30 2021 +1000
8309
8310     Move SUDO to "make test" command line.
8311     
8312     Environment variables don't get passed by vmrun, so move to command
8313     line.
8314
8315 commit 02e624273b9c78a49a01239159b8c09b8409b1a0
8316 Author: Darren Tucker <dtucker@dtucker.net>
8317 Date:   Sun Jul 25 23:26:36 2021 +1000
8318
8319     Set SUDO for tests and cleanup.
8320
8321 commit 460ae5d93051bab70239ad823dd784822d58baad
8322 Author: Darren Tucker <dtucker@dtucker.net>
8323 Date:   Sun Jul 25 22:37:55 2021 +1000
8324
8325     Pass OPENSSL=no to make tests too.
8326
8327 commit b398f499c68d74ebe3298b73757cf3f36e14e0cb
8328 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8329 Date:   Sun Jul 25 12:27:37 2021 +0000
8330
8331     upstream: Skip unit and makefile-based key conversion tests when
8332     
8333     we're building with OPENSSL=no.
8334     
8335     OpenBSD-Regress-ID: 20455ed9a977c93f846059d1fcb48e29e2c8d732
8336
8337 commit 727ce36c8c5941bde99216d27109405907caae4f
8338 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8339 Date:   Sun Jul 25 12:13:03 2021 +0000
8340
8341     upstream: Replace OPENSSL as the variable that points to the
8342     
8343     openssl binary with OPENSSL_BIN.  This will allow us to use the OPENSSL
8344     variable from mk.conf or the make(1) command line indicating if we're
8345     building with our without OpenSSL, and ultimately get the regress tests
8346     working in the OPENSSL=no configuration.
8347     
8348     OpenBSD-Regress-ID: 2d788fade3264d7803e5b54cae8875963f688c4e
8349
8350 commit 55e17101a9075f6a63af724261c5744809dcb95c
8351 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8352 Date:   Sat Jul 24 02:57:28 2021 +0000
8353
8354     upstream: Skip RFC4716 format import and export tests when built
8355     
8356     without OpenSSL.
8357     
8358     OpenBSD-Regress-ID: d2c2d5d38c1acc2b88cc99cfe00a2eb8bb39dfa4
8359
8360 commit f5ccb5895d39cd627ad9e7b2c671d2587616100d
8361 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8362 Date:   Sat Jul 24 02:51:14 2021 +0000
8363
8364     upstream: Don't omit ssh-keygen -y from usage when built without
8365     
8366     OpenSSL.  It is actually available, albeit only for ed25519 keys.
8367     
8368     OpenBSD-Commit-ID: 7a254c33d0e6a55c30c6b016a8d298d3cb7a7674
8369
8370 commit 819d57ac23469f1f03baa8feb38ddefbada90fdc
8371 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8372 Date:   Sat Jul 24 02:08:13 2021 +0000
8373
8374     upstream: Exclude key conversion options from usage when built
8375     
8376     without OpenSSL since those are not available, similar to what we currently
8377     do with the moduli screening options.  We can also use this to skip the
8378     conversion regression tests in this case.
8379     
8380     OpenBSD-Commit-ID: 3c82caa398cf99cd4518c23bba5a2fc66b16bafe
8381
8382 commit b6673b1d2ee90b4690ee84f634efe40225423c38
8383 Author: Darren Tucker <dtucker@dtucker.net>
8384 Date:   Sat Jul 24 13:02:51 2021 +1000
8385
8386     Test OpenBSD upstream with and without OpenSSL.
8387
8388 commit 9d38074b5453c1abbdf888e80828c278d3b886ac
8389 Author: djm@openbsd.org <djm@openbsd.org>
8390 Date:   Sat Jul 24 01:54:23 2021 +0000
8391
8392     upstream: test for first-match-wins in authorized_keys environment=
8393     
8394     options
8395     
8396     OpenBSD-Regress-ID: 1517c90276fe84b5dc5821c59f88877fcc34c0e8
8397
8398 commit 2b76f1dd19787e784711ea297ad8fc938b4484fd
8399 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8400 Date:   Fri Jul 23 05:53:02 2021 +0000
8401
8402     upstream: Simplify keygen-convert by using $SSH_KEYTYPES directly.
8403     
8404     OpenBSD-Regress-ID: cdbe408ec3671ea9ee9b55651ee551370d2a4108
8405
8406 commit 7d64a9fb587ba9592f027f7a2264226c713d6579
8407 Author: djm@openbsd.org <djm@openbsd.org>
8408 Date:   Sat Jul 24 01:55:19 2021 +0000
8409
8410     upstream: don't leak environment= variable when it is not the first
8411     
8412     match
8413     
8414     OpenBSD-Commit-ID: 7fbdc3dfe0032deaf003fd937eeb4d434ee4efe0
8415
8416 commit db2130e2340bf923e41c791aa9cd27b9e926042c
8417 Author: jmc@openbsd.org <jmc@openbsd.org>
8418 Date:   Fri Jul 23 06:01:17 2021 +0000
8419
8420     upstream: punctuation;
8421     
8422     OpenBSD-Commit-ID: 64be152e378c45975073ab1c07e0db7eddd15806
8423
8424 commit 03190d10980c6fc9124e988cb2df13101f266507
8425 Author: djm@openbsd.org <djm@openbsd.org>
8426 Date:   Fri Jul 23 05:56:47 2021 +0000
8427
8428     upstream: mention in comment that read_passphrase(..., RP_ALLOW_STDIN)
8429     
8430     will try to use askpass first. bz3314
8431     
8432     convert a couple of debug() -> debug_f() while here
8433     
8434     OpenBSD-Commit-ID: c7e812aebc28fcc5db06d4710e0f73613dee545c
8435
8436 commit 1653ece6832b2b304d46866b262d5f69880a9ec7
8437 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8438 Date:   Fri Jul 23 05:07:16 2021 +0000
8439
8440     upstream: Test conversion of ed25519 and ecdsa keys too.
8441     
8442     OpenBSD-Regress-ID: 3676d2d00e58e0d6d37f2878f108cc2b83bbe4bb
8443
8444 commit 8b7af02dcf9d2b738787efd27da7ffda9859bed2
8445 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8446 Date:   Fri Jul 23 04:56:21 2021 +0000
8447
8448     upstream: Add test for exporting pubkey from a passphrase-protected
8449     
8450     private key.
8451     
8452     OpenBSD-Regress-ID: da99d93e7b235fbd5b5aaa01efc411225e6ba8ac
8453
8454 commit 441095d4a3e5048fe3c87a6c5db5bc3383d767fb
8455 Author: djm@openbsd.org <djm@openbsd.org>
8456 Date:   Fri Jul 23 03:54:55 2021 +0000
8457
8458     upstream: regression test for time-limited signature keys
8459     
8460     OpenBSD-Regress-ID: 2a6f3bd900dbee0a3c96f1ff23e032c93ab392bc
8461
8462 commit 9e1882ef6489a7dd16b6d7794af96629cae61a53
8463 Author: djm@openbsd.org <djm@openbsd.org>
8464 Date:   Fri Jul 23 05:24:02 2021 +0000
8465
8466     upstream: note successful authentication method in final "Authenticated
8467     
8468     to ..." message and partial auth success messages (all at LogLevel=verbose)
8469     ok dtucker@
8470     
8471     OpenBSD-Commit-ID: 06834b89ceb89f8f16c5321d368a66c08f441984
8472
8473 commit a917e973a1b90b40ff1e950df083364b48fc6c78
8474 Author: djm@openbsd.org <djm@openbsd.org>
8475 Date:   Fri Jul 23 04:04:52 2021 +0000
8476
8477     upstream: Add a ForkAfterAuthentication ssh_config(5) counterpart
8478     
8479     to the ssh(1) -f flag. Last part of GHPR231 from Volker Diels-Grabsch. ok
8480     dtucker
8481     
8482     OpenBSD-Commit-ID: b18aeda12efdebe2093d55263c90fe4ea0bce0d3
8483
8484 commit e0c5088f1c96a145eb6ea1dee438010da78f9ef5
8485 Author: djm@openbsd.org <djm@openbsd.org>
8486 Date:   Fri Jul 23 04:00:59 2021 +0000
8487
8488     upstream: Add a StdinNull directive to ssh_config(5) that allows
8489     
8490     the config file to do the same thing as -n does on the ssh(1) commandline.
8491     Patch from Volker Diels-Grabsch via GHPR231; ok dtucker
8492     
8493     OpenBSD-Commit-ID: 66ddf3f15c76796d4dcd22ff464aed1edd62468e
8494
8495 commit e3957e21ffdc119d6d04c0b1686f8e2fe052f5ea
8496 Author: djm@openbsd.org <djm@openbsd.org>
8497 Date:   Fri Jul 23 03:57:20 2021 +0000
8498
8499     upstream: make authorized_keys environment="..." directives
8500     
8501     first-match-wins and more strictly limit their maximum number; prompted by
8502     OOM reported by OSS-fuzz (35470).
8503     
8504     feedback and ok dtucker@
8505     
8506     OpenBSD-Commit-ID: 01f63fc10dcd995e7aed9c378ad879161af83121
8507
8508 commit d0bb1ce731762c55acb95817df4d5fab526c7ecd
8509 Author: djm@openbsd.org <djm@openbsd.org>
8510 Date:   Fri Jul 23 03:37:52 2021 +0000
8511
8512     upstream: Let allowed signers files used by ssh-keygen(1)
8513     
8514     signatures support key lifetimes, and allow the verification mode to specify
8515     a signature time to check at. This is intended for use by git to support
8516     signing objects using ssh keys. ok dtucker@
8517     
8518     OpenBSD-Commit-ID: 3e2c67b7dcd94f0610194d1e8e4907829a40cf31
8519
8520 commit 44142068dc7ef783d135e91ff954e754d2ed432e
8521 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8522 Date:   Mon Jul 19 08:48:33 2021 +0000
8523
8524     upstream: Use SUDO when setting up hostkey.
8525     
8526     OpenBSD-Regress-ID: 990cf4481cab8dad62e90818a9b4b36c533851a7
8527
8528 commit 6b67f3f1d1d187597e54a139cc7785c0acebd9a2
8529 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8530 Date:   Mon Jul 19 05:08:54 2021 +0000
8531
8532     upstream: Increase time margin for rekey tests. Should help
8533     
8534     reliability on very heavily loaded hosts.
8535     
8536     OpenBSD-Regress-ID: 4c28a0fce3ea89ebde441d7091464176e9730533
8537
8538 commit 7953e1bfce9e76bec41c1331a29bc6cff9d416b8
8539 Author: Darren Tucker <dtucker@dtucker.net>
8540 Date:   Mon Jul 19 13:47:51 2021 +1000
8541
8542     Add sshfp-connect.sh file missed in previous.
8543
8544 commit b75a80fa8369864916d4c93a50576155cad4df03
8545 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8546 Date:   Mon Jul 19 03:13:28 2021 +0000
8547
8548     upstream: Ensure that all returned SSHFP records for the specified host
8549     
8550     name and hostkey type match instead of only one.  While there, simplify the
8551     code somewhat and add some debugging.  Based on discussion in bz#3322, ok
8552     djm@.
8553     
8554     OpenBSD-Commit-ID: 0a6a0a476eb7f9dfe8fe2c05a1a395e3e9b22ee4
8555
8556 commit 1cc1fd095393663cd72ddac927d82c6384c622ba
8557 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8558 Date:   Mon Jul 19 02:21:50 2021 +0000
8559
8560     upstream: Id sync only, -portable already has this.
8561     
8562     Put dh_set_moduli_file call inside ifdef WITH_OPENSSL. Fixes
8563     build with OPENSSL=no.
8564     
8565     OpenBSD-Commit-ID: af54abbebfb12bcde6219a44d544e18204defb15
8566
8567 commit 33abbe2f4153f5ca5c874582f6a7cc91ae167485
8568 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8569 Date:   Mon Jul 19 02:46:34 2021 +0000
8570
8571     upstream: Add test for host key verification via SSHFP records. This
8572     
8573     requires some external setup to operate so is disabled by default (see
8574     comments in sshfp-connect.sh).
8575     
8576     OpenBSD-Regress-ID: c52c461bd1df3a803d17498917d156ef64512fd9
8577
8578 commit f0cd000d8e3afeb0416dce1c711c3d7c28d89bdd
8579 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8580 Date:   Mon Jul 19 02:29:28 2021 +0000
8581
8582     upstream: Add ed25519 key and test SSHFP export of it. Only test
8583     
8584     RSA SSHFP export if we have RSA functionality compiled in.
8585     
8586     OpenBSD-Regress-ID: b4ff5181b8c9a5862e7f0ecdd96108622333a9af
8587
8588 commit 0075511e27e5394faa28edca02bfbf13b9a6693e
8589 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8590 Date:   Mon Jul 19 00:16:26 2021 +0000
8591
8592     upstream: Group keygen tests together.
8593     
8594     OpenBSD-Regress-ID: 07e2d25c527bb44f03b7c329d893a1f2d6c5c40c
8595
8596 commit 034828820c7e62652e7c48f9ee6b67fb7ba6fa26
8597 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8598 Date:   Sun Jul 18 23:10:10 2021 +0000
8599
8600     upstream: Add test for ssh-keygen printing of SSHFP records.
8601     
8602     OpenBSD-Regress-ID: fde9566b56eeb980e149bbe157a884838507c46b
8603
8604 commit 52c3b6985ef1d5dadb4c4fe212f8b3a78ca96812
8605 Author: djm@openbsd.org <djm@openbsd.org>
8606 Date:   Sat Jul 17 00:38:11 2021 +0000
8607
8608     upstream: wrap some long lines
8609     
8610     OpenBSD-Commit-ID: 4f5186b1466656762dae37d3e569438d900c350d
8611
8612 commit 43ec991a782791d0b3f42898cd789f99a07bfaa4
8613 Author: djm@openbsd.org <djm@openbsd.org>
8614 Date:   Sat Jul 17 00:36:53 2021 +0000
8615
8616     upstream: fix sftp on ControlPersist connections, broken by recent
8617     
8618     SessionType change; spotted by sthen@
8619     
8620     OpenBSD-Commit-ID: 4c5ddc5698790ae6ff50d2a4f8f832f0eeeaa234
8621
8622 commit 073f45c236550f158c9a94003e4611c07dea5279
8623 Author: djm@openbsd.org <djm@openbsd.org>
8624 Date:   Fri Jul 16 09:00:23 2021 +0000
8625
8626     upstream: Explicitly check for and start time-based rekeying in the
8627     
8628     client and server mainloops.
8629     
8630     Previously the rekey timeout could expire but rekeying would not start
8631     until a packet was sent or received. This could cause us to spin in
8632     select() on the rekey timeout if the connection was quiet.
8633     
8634     ok markus@
8635     
8636     OpenBSD-Commit-ID: 4356cf50d7900f3df0a8f2117d9e07c91b9ff987
8637
8638 commit ef7c4e52d5d840607f9ca3a302a4cbb81053eccf
8639 Author: jmc@openbsd.org <jmc@openbsd.org>
8640 Date:   Wed Jul 14 06:46:38 2021 +0000
8641
8642     upstream: reorder SessionType; ok djm
8643     
8644     OpenBSD-Commit-ID: c7dd0b39e942b1caf4976a0b1cf0fed33d05418c
8645
8646 commit 8aa2f9aeb56506dca996d68ab90ab9c0bebd7ec3
8647 Author: Darren Tucker <dtucker@dtucker.net>
8648 Date:   Wed Jul 14 11:26:50 2021 +1000
8649
8650     Make whitespace consistent.
8651
8652 commit 4f4297ee9b8a39f4dfd243a74c5f51f9e7a05723
8653 Author: Darren Tucker <dtucker@dtucker.net>
8654 Date:   Wed Jul 14 11:26:12 2021 +1000
8655
8656     Add ARM64 Linux self-hosted runner.
8657
8658 commit eda8909d1b0a85b9c3804a04d03ec6738fd9dc7f
8659 Author: djm@openbsd.org <djm@openbsd.org>
8660 Date:   Tue Jul 13 23:48:36 2021 +0000
8661
8662     upstream: add a SessionType directive to ssh_config, allowing the
8663     
8664     configuration file to offer equivalent control to the -N (no session) and -s
8665     (subsystem) command-line flags.
8666     
8667     Part of GHPR#231 by Volker Diels-Grabsch with some minor tweaks;
8668     feedback and ok dtucker@
8669     
8670     OpenBSD-Commit-ID: 726ee931dd4c5cc7f1d7a187b26f41257f9a2d12
8671
8672 commit 7ae69f2628e338ba6e0eae7ee8a63bcf8fea7538
8673 Author: djm@openbsd.org <djm@openbsd.org>
8674 Date:   Mon Jul 12 02:12:22 2021 +0000
8675
8676     upstream: fix some broken tests; clean up output
8677     
8678     OpenBSD-Regress-ID: 1d5038edb511dc4ce1622344c1e724626a253566
8679
8680 commit f5fc6a4c3404bbf65c21ca6361853b33d78aa87e
8681 Author: Darren Tucker <dtucker@dtucker.net>
8682 Date:   Mon Jul 12 18:00:05 2021 +1000
8683
8684     Add configure-time detection for SSH_TIME_T_MAX.
8685     
8686     Should fix printing cert times exceeding INT_MAX (bz#3329) on platforms
8687     were time_t is a long long.  The limit used is for the signed type, so if
8688     some system has a 32bit unsigned time_t then the lower limit will still
8689     be imposed and we would need to add some way to detect this.  Anyone using
8690     an unsigned 64bit can let us know when it starts being a problem.
8691
8692 commit fd2d06ae4442820429d634c0a8bae11c8e40c174
8693 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8694 Date:   Mon Jul 12 06:22:57 2021 +0000
8695
8696     upstream: Make limit for time_t test unconditional in the
8697     
8698     format_absolute_time fix for bz#3329 that allows printing of timestamps past
8699     INT_MAX. This was incorrectly included with the previous commit.   Based on
8700     discussion with djm@.
8701     
8702     OpenBSD-Commit-ID: 835936f6837c86504b07cabb596b613600cf0f6e
8703
8704 commit 6c29b387cd64a57b0ec8ae7d2c8d02789d88fcc3
8705 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8706 Date:   Mon Jul 12 06:08:57 2021 +0000
8707
8708     upstream: Use existing format_absolute_time() function when
8709     
8710     printing cert validity instead of doing it inline.  Part of bz#3329.
8711     
8712     OpenBSD-Commit-ID: a13d4e3c4f59644c23745eb02a09b2a4e717c00c
8713
8714 commit 99981d5f8bfa383791afea03f6bce8454e96e323
8715 Author: djm@openbsd.org <djm@openbsd.org>
8716 Date:   Fri Jul 9 09:55:56 2021 +0000
8717
8718     upstream: silence redundant error message; reported by Fabian Stelzer
8719     
8720     OpenBSD-Commit-ID: 9349a703016579a60557dafd03af2fe1d44e6aa2
8721
8722 commit e86097813419b49d5bff5c4b51d1c3a5d4d2d804
8723 Author: John Ericson <John.Ericson@Obsidian.Systems>
8724 Date:   Sat Dec 26 11:40:49 2020 -0500
8725
8726     Re-indent krb5 section after pkg-config addition.
8727
8728 commit 32dd2daa56c294e40ff7efea482c9eac536d8cbb
8729 Author: John Ericson <John.Ericson@Obsidian.Systems>
8730 Date:   Sat Dec 26 11:40:49 2020 -0500
8731
8732     Support finding Kerberos via pkg-config
8733     
8734     This makes cross compilation easier.
8735
8736 commit def7a72234d7e4f684d72d33a0f7229f9eee0aa4
8737 Author: Darren Tucker <dtucker@dtucker.net>
8738 Date:   Fri Jul 9 14:34:06 2021 +1000
8739
8740     Update comments about EGD to include prngd.
8741
8742 commit b5d23150b4e3368f4983fd169d432c07afeee45a
8743 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8744 Date:   Mon Jul 5 01:21:07 2021 +0000
8745
8746     upstream: Fix a couple of whitespace things. Portable already has
8747     
8748     these so this removes two diffs between the two.
8749     
8750     OpenBSD-Commit-ID: 769f017ebafd8e741e337b3e9e89eb5ac73c9c56
8751
8752 commit 8f57be9f279b8e905f9883066aa633c7e67b31cf
8753 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8754 Date:   Mon Jul 5 01:16:46 2021 +0000
8755
8756     upstream: Order includes as per style(9). Portable already has
8757     
8758     these so this removes a handful of diffs between the two.
8759     
8760     OpenBSD-Commit-ID: 8bd7452d809b199c19bfc49511a798f414eb4a77
8761
8762 commit b75624f8733b3ed9e240f86cac5d4a39dae11848
8763 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8764 Date:   Mon Jul 5 00:50:25 2021 +0000
8765
8766     upstream: Remove comment referencing now-removed
8767     
8768     RhostsRSAAuthentication.  ok djm@
8769     
8770     OpenBSD-Commit-ID: 3d864bfbd99a1d4429a58e301688f3be464827a9
8771
8772 commit b67eb12f013c5441bb4f0893a97533582ad4eb13
8773 Author: djm@openbsd.org <djm@openbsd.org>
8774 Date:   Mon Jul 5 00:25:42 2021 +0000
8775
8776     upstream: allow spaces to appear in usernames for local to remote,
8777     
8778     and scp -3 remote to remote copies. with & ok dtucker bz#1164
8779     
8780     OpenBSD-Commit-ID: e9b550f3a85ffbb079b6720833da31317901d6dd
8781
8782 commit 8c4ef0943e574f614fc7c6c7e427fd81ee64ab87
8783 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8784 Date:   Fri Jul 2 07:20:44 2021 +0000
8785
8786     upstream: Remove obsolete comments about SSHv1 auth methods. ok
8787     
8788     djm@
8789     
8790     OpenBSD-Commit-ID: 6060f70966f362d8eb4bec3da2f6c4712fbfb98f
8791
8792 commit 88908c9b61bcb99f16e8d398fc41e2b3b4be2003
8793 Author: Darren Tucker <dtucker@dtucker.net>
8794 Date:   Sat Jul 3 23:00:19 2021 +1000
8795
8796     Remove reference to ChallengeResponse.
8797     
8798     challenge_response_authentication was removed from the struct, keeping
8799     kbd_interactive_authentication.
8800
8801 commit 321874416d610ad2158ce6112f094a4862c2e37f
8802 Author: Darren Tucker <dtucker@dtucker.net>
8803 Date:   Sat Jul 3 20:38:09 2021 +1000
8804
8805     Move signal.h up include order to match upstream.
8806
8807 commit 4fa83e2d0e32c2dd758653e0359984bbf1334f32
8808 Author: Darren Tucker <dtucker@dtucker.net>
8809 Date:   Sat Jul 3 20:36:06 2021 +1000
8810
8811     Remove old OpenBSD version marker.
8812     
8813     Looks like an accidental leftover from a sync.
8814
8815 commit 9d5e31f55d5f3899b72645bac41a932d298ad73b
8816 Author: Darren Tucker <dtucker@dtucker.net>
8817 Date:   Sat Jul 3 20:34:19 2021 +1000
8818
8819     Remove duplicate error on error path.
8820     
8821     There's an extra error() call on the listen error path, it looks like
8822     its removal was missed during an upstream sync.
8823
8824 commit 888c459925c7478ce22ff206c9ac1fb812a40caf
8825 Author: Darren Tucker <dtucker@dtucker.net>
8826 Date:   Sat Jul 3 20:32:46 2021 +1000
8827
8828     Remove some whitespace not in upstream.
8829     
8830     Reduces diff vs OpenBSD by a small amount.
8831
8832 commit 4d2d4d47a18d93f3e0a91a241a6fdb545bbf7dc2
8833 Author: Darren Tucker <dtucker@dtucker.net>
8834 Date:   Sat Jul 3 19:27:43 2021 +1000
8835
8836     Replace remaining references to ChallengeResponse.
8837     
8838     Portable had a few additional references to ChallengeResponse related to
8839     UsePAM, replaces these with equivalent keyboard-interactive ones.
8840
8841 commit 53237ac789183946dac6dcb8838bc3b6b9b43be1
8842 Author: Darren Tucker <dtucker@dtucker.net>
8843 Date:   Sat Jul 3 19:23:28 2021 +1000
8844
8845     Sync remaining ChallengeResponse removal.
8846     
8847     These were omitted from commit 88868fd131.
8848
8849 commit 2c9e4b319f7e98744b188b0f58859d431def343b
8850 Author: Darren Tucker <dtucker@dtucker.net>
8851 Date:   Sat Jul 3 19:17:31 2021 +1000
8852
8853     Disable rocky84 to figure out why agent test fails
8854
8855 commit bfe19197a92b7916f64a121fbd3c179abf15e218
8856 Author: Darren Tucker <dtucker@dtucker.net>
8857 Date:   Fri Jul 2 15:43:28 2021 +1000
8858
8859     Remove now-unused SSHv1 enums.
8860     
8861     sRhostsRSAAuthentication and sRSAAuthentication are protocol 1 options
8862     and are no longer used.
8863
8864 commit c73b02d92d72458a5312bd098f32ce88868fd131
8865 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8866 Date:   Fri Jul 2 05:11:20 2021 +0000
8867
8868     upstream: Remove references to ChallengeResponseAuthentication in
8869     
8870     favour of KbdInteractiveAuthentication.  The former is what was in SSHv1, the
8871     latter is what is in SSHv2 (RFC4256) and they were treated as somewhat but
8872     not entirely equivalent.  We retain the old name as deprecated alias so
8873     config files continue to work and a reference in the man page for people
8874     looking for it.
8875     
8876     Prompted by bz#3303 which pointed out the discrepancy between the two
8877     when used with Match.  Man page help & ok jmc@, with & ok djm@
8878     
8879     OpenBSD-Commit-ID: 2c1bff8e5c9852cfcdab1f3ea94dfef5a22f3b7e
8880
8881 commit f841fc9c8c7568a3b5d84a4cc0cefacb7dbc16b9
8882 Author: Darren Tucker <dtucker@dtucker.net>
8883 Date:   Fri Jul 2 15:20:32 2021 +1000
8884
8885     Fix ifdefs around get_random_bytes_prngd.
8886     
8887     get_random_bytes_prngd() is used if either of PRNGD_PORT or PRNGD_SOCKET
8888     are defined, so adjust ifdef accordingly.
8889
8890 commit 0767627cf66574484b9c0834500b42ea04fe528a
8891 Author: Damien Miller <djm@mindrot.org>
8892 Date:   Fri Jul 2 14:30:23 2021 +1000
8893
8894     wrap get_random_bytes_prngd() in ifdef
8895     
8896     avoid unused static function warning
8897
8898 commit f93fdc4de158386efe1116bd44c5b3f4a7a82c25
8899 Author: Darren Tucker <dtucker@dtucker.net>
8900 Date:   Mon Jun 28 13:06:37 2021 +1000
8901
8902     Add rocky84 test target.
8903
8904 commit d443006c0ddfa7f6a5bd9c0ae92036f3d5f2fa3b
8905 Author: djm@openbsd.org <djm@openbsd.org>
8906 Date:   Fri Jun 25 06:30:22 2021 +0000
8907
8908     upstream: fix decoding of X.509 subject name; from Leif Thuresson
8909     
8910     via bz3327 ok markus@
8911     
8912     OpenBSD-Commit-ID: 0ea2e28f39750dd388b7e317bc43dd997a217ae8
8913
8914 commit 2a5704ec142202d387fda2d6872fd4715ab81347
8915 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8916 Date:   Fri Jun 25 06:20:39 2021 +0000
8917
8918     upstream: Use better language to refer to the user. From l1ving
8919     
8920     via github PR#250, ok jmc@
8921     
8922     OpenBSD-Commit-ID: 07ca3526626996613e128aeddf7748c93c4d6bbf
8923
8924 commit 4bdf7a04797a0ea1c431a9d54588417c29177d19
8925 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8926 Date:   Fri Jun 25 03:38:17 2021 +0000
8927
8928     upstream: Replace SIGCHLD/notify_pipe kludge with pselect.
8929     
8930     Previously sshd's SIGCHLD handler would wake up select() by writing a
8931     byte to notify_pipe.  We can remove this by blocking SIGCHLD, checking
8932     for child terminations then passing the original signal mask through
8933     to pselect.  This ensures that the pselect will immediately wake up if
8934     a child terminates between wait()ing on them and the pselect.
8935     
8936     In -portable, for platforms that do not have pselect the kludge is still
8937     there but is hidden behind a pselect interface.
8938     
8939     Based on other changes for bz#2158, ok djm@
8940     
8941     OpenBSD-Commit-ID: 202c85de0b3bdf1744fe53529a05404c5480d813
8942
8943 commit c9f7bba2e6f70b7ac1f5ea190d890cb5162ce127
8944 Author: Darren Tucker <dtucker@dtucker.net>
8945 Date:   Fri Jun 25 15:08:18 2021 +1000
8946
8947     Move closefrom() to before first malloc.
8948     
8949     When built against tcmalloc, tcmalloc allocates a descriptor for its
8950     internal use, so calling closefrom() afterward causes the descriptor
8951     number to be reused resulting in a corrupted connection.  Moving the
8952     closefrom a little earlier should resolve this.  From kircherlike at
8953     outlook.com via bz#3321, ok djm@
8954
8955 commit 7ebfe4e439853b88997c9cfc2ff703408a1cca92
8956 Author: Darren Tucker <dtucker@dtucker.net>
8957 Date:   Fri Jun 18 20:41:45 2021 +1000
8958
8959     Put second -lssh in link line for sftp-server.
8960     
8961     When building --without-openssl the recent port-prngd.c change adds
8962     a dependency on atomicio, but since nothing else in sftp-server uses
8963     it, the linker may not find it.  Add a second -lssh similar to other
8964     binaries.
8965
8966 commit e409d7966785cfd9f5970e66a820685c42169717
8967 Author: Darren Tucker <dtucker@dtucker.net>
8968 Date:   Fri Jun 18 18:34:08 2021 +1000
8969
8970     Try EGD/PRNGD if random device fails.
8971     
8972     When built --without-openssl, try EGD/PRGGD (if configured) as a last
8973     resort before failing.
8974
8975 commit e43a898043faa3a965dbaa1193cc60e0b479033d
8976 Author: Darren Tucker <dtucker@dtucker.net>
8977 Date:   Fri Jun 18 18:32:51 2021 +1000
8978
8979     Split EGD/PRNGD interface into its own file.
8980     
8981     This will allow us to use it when building --without-openssl.
8982
8983 commit acb2887a769a1b1912cfd7067f3ce04fad240260
8984 Author: Darren Tucker <dtucker@dtucker.net>
8985 Date:   Thu Jun 17 21:03:19 2021 +1000
8986
8987     Handle GIDs > 2^31 in getgrouplist.
8988     
8989     When compiled in 32bit mode, the getgrouplist implementation may fail
8990     for GIDs greater than LONG_MAX.  Analysis and change from ralf.winkel
8991     at tui.com.
8992
8993 commit 31fac20c941126281b527605b73bff30a8f02edd
8994 Author: dtucker@openbsd.org <dtucker@openbsd.org>
8995 Date:   Thu Jun 10 09:46:28 2021 +0000
8996
8997     upstream: Use $SUDO when reading sshd's pidfile here too.
8998     
8999     OpenBSD-Regress-ID: 6bfb0d455d493f24839034a629c5306f84dbd409
9000
9001 commit a3a58acffc8cc527f8fc6729486d34e4c3d27643
9002 Author: dtucker@openbsd.org <dtucker@openbsd.org>
9003 Date:   Thu Jun 10 09:43:51 2021 +0000
9004
9005     upstream: Use $SUDO when reading sshd's pidfile in case it was
9006     
9007     created with a very restrictive umask.  This resyncs with -portable.
9008     
9009     OpenBSD-Regress-ID: 07fd2af06df759d4f64b82c59094accca1076a5d
9010
9011 commit 249ad4ae51cd3bc235e75a4846eccdf8b1416611
9012 Author: dtucker@openbsd.org <dtucker@openbsd.org>
9013 Date:   Thu Jun 10 09:37:59 2021 +0000
9014
9015     upstream: Set umask when creating hostkeys to prevent excessive
9016     
9017     permissions warning.
9018     
9019     OpenBSD-Regress-ID: 382841db0ee28dfef7f7bffbd511803e1b8ab0ef
9020
9021 commit 9d0892153c005cc65897e9372b01fa66fcbe2842
9022 Author: dtucker@openbsd.org <dtucker@openbsd.org>
9023 Date:   Thu Jun 10 03:45:31 2021 +0000
9024
9025     upstream: Add regress test for SIGHUP restart
9026     
9027     while handling active and unauthenticated clients.  Should catch anything
9028     similar to the pselect bug just fixed in sshd.c.
9029     
9030     OpenBSD-Regress-ID: 3b3c19b5e75e43af1ebcb9586875b3ae3a4cac73
9031
9032 commit 73f6f191f44440ca3049b9d3c8e5401d10b55097
9033 Author: dtucker@openbsd.org <dtucker@openbsd.org>
9034 Date:   Thu Jun 10 03:14:14 2021 +0000
9035
9036     upstream: Continue accept loop when pselect
9037     
9038     returns -1, eg if it was interrupted by a signal.  This should prevent
9039     the hang discovered by sthen@ wherein sshd receives a SIGHUP while it has
9040     an unauthenticated child and goes on to a blocking read on a notify_pipe.
9041     feedback deraadt@, ok djm@
9042     
9043     OpenBSD-Commit-ID: 0243c1c5544fca0974dae92cd4079543a3fceaa0
9044
9045 commit c785c0ae134a8e8b5c82b2193f64c632a98159e4
9046 Author: djm@openbsd.org <djm@openbsd.org>
9047 Date:   Tue Jun 8 22:30:27 2021 +0000
9048
9049     upstream: test that UserKnownHostsFile correctly accepts multiple
9050     
9051     arguments; would have caught readconf.c r1.356 regression
9052     
9053     OpenBSD-Regress-ID: 71ca54e66c2a0211b04999263e56390b1f323a6a
9054
9055 commit 1a6f6b08e62c78906a3032e8d9a83e721c84574e
9056 Author: djm@openbsd.org <djm@openbsd.org>
9057 Date:   Tue Jun 8 22:06:12 2021 +0000
9058
9059     upstream: fix regression in r1.356: for ssh_config options that
9060     
9061     accepted multiple string arguments, ssh was only recording the first.
9062     Reported by Lucas via bugs@
9063     
9064     OpenBSD-Commit-ID: 7cbf182f7449bf1cb7c5b4452667dc2b41170d6d
9065
9066 commit 78e30af3e2b2dd540a341cc827c6b98dd8b0a6de
9067 Author: djm@openbsd.org <djm@openbsd.org>
9068 Date:   Tue Jun 8 07:40:12 2021 +0000
9069
9070     upstream: test argv_split() optional termination on comments
9071     
9072     OpenBSD-Regress-ID: 9fd1c4a27a409897437c010cfd79c54b639a059c
9073
9074 commit a023138957ea2becf1c7f93fcc42b0aaac6f2b03
9075 Author: dtucker@openbsd.org <dtucker@openbsd.org>
9076 Date:   Tue Jun 8 07:05:27 2021 +0000
9077
9078     upstream: Add testcases from bz#3319 for IPQoS and TunnelDevice
9079     
9080     being overridden on the command line.
9081     
9082     OpenBSD-Regress-ID: 801674d5d2d02abd58274a78cab2711f11de14a8
9083
9084 commit 660cea10b2cdc11f13ba99c89b1bbb368a4d9ff2
9085 Author: djm@openbsd.org <djm@openbsd.org>
9086 Date:   Tue Jun 8 06:52:43 2021 +0000
9087
9088     upstream: sprinkle some "# comment" at end of configuration lines
9089     
9090     to test comment handling
9091     
9092     OpenBSD-Regress-ID: cb82fbf40bda5c257a9f742c63b1798e5a8fdda7
9093
9094 commit acc9c32dcb6def6c7d3688bceb4c0e59bd26b411
9095 Author: djm@openbsd.org <djm@openbsd.org>
9096 Date:   Tue Jun 8 06:51:47 2021 +0000
9097
9098     upstream: more descriptive failure message
9099     
9100     OpenBSD-Regress-ID: 5300f6faf1d9e99c0cd10827b51756c5510e3509
9101
9102 commit ce04dd4eae23d1c9cf7c424a702f48ee78573bc1
9103 Author: djm@openbsd.org <djm@openbsd.org>
9104 Date:   Mon Jun 7 01:16:34 2021 +0000
9105
9106     upstream: test AuthenticationMethods inside a Match block as well
9107     
9108     as in the main config section
9109     
9110     OpenBSD-Regress-ID: ebe0a686621b7cb8bb003ac520975279c28747f7
9111
9112 commit 9018bd821fca17e26e92f7a7e51d9b24cd62f2db
9113 Author: djm@openbsd.org <djm@openbsd.org>
9114 Date:   Mon Jun 7 00:00:50 2021 +0000
9115
9116     upstream: prepare for stricter sshd_config parsing that will refuse
9117     
9118     a config that has {Allow,Deny}{Users,Groups} on a line with no subsequent
9119     arguments. Such lines are permitted but are nonsensical noops ATM
9120     
9121     OpenBSD-Regress-ID: ef65463fcbc0bd044e27f3fe400ea56eb4b8f650
9122
9123 commit a10f929d1ce80640129fc5b6bc1acd9bf689169e
9124 Author: djm@openbsd.org <djm@openbsd.org>
9125 Date:   Tue Jun 8 07:09:42 2021 +0000
9126
9127     upstream: switch sshd_config parsing to argv_split()
9128     
9129     similar to the previous commit, this switches sshd_config parsing to
9130     the newer tokeniser. Config parsing will be a little stricter wrt
9131     quote correctness and directives appearing without arguments.
9132     
9133     feedback and ok markus@
9134     
9135     tested in snaps for the last five or so days - thanks Theo and those who
9136     caught bugs
9137     
9138     OpenBSD-Commit-ID: 9c4305631d20c2d194661504ce11e1f68b20d93e
9139
9140 commit ea9e45c89a4822d74a9d97fef8480707d584da4d
9141 Author: djm@openbsd.org <djm@openbsd.org>
9142 Date:   Tue Jun 8 07:07:15 2021 +0000
9143
9144     upstream: Switch ssh_config parsing to use argv_split()
9145     
9146     This fixes a couple of problems with the previous tokeniser,
9147     strdelim()
9148     
9149     1. strdelim() is permissive wrt accepting '=' characters. This is
9150       intended to allow it to tokenise "Option=value" but because it
9151       cannot keep state, it will incorrectly split "Opt=val=val2".
9152     2. strdelim() has rudimentry handling of quoted strings, but it
9153       is incomplete and inconsistent. E.g. it doesn't handle escaped
9154       quotes inside a quoted string.
9155     3. It has no support for stopping on a (unquoted) comment. Because
9156       of this readconf.c r1.343 added chopping of lines at '#', but
9157       this caused a regression because these characters may legitimately
9158       appear inside quoted strings.
9159     
9160     The new tokeniser is stricter is a number of cases, including #1 above
9161     but previously it was also possible for some directives to appear
9162     without arguments. AFAIK these were nonsensical in all cases, and the
9163     new tokeniser refuses to accept them.
9164     
9165     The new code handles quotes much better, permitting quoted space as
9166     well as escaped closing quotes. Finally, comment handling should be
9167     fixed - the tokeniser will terminate only on unquoted # characters.
9168     
9169     feedback & ok markus@
9170     
9171     tested in snaps for the last five or so days - thanks Theo and those who
9172     caught bugs
9173     
9174     OpenBSD-Commit-ID: dc72fd12af9d5398f4d9e159d671f9269c5b14d5
9175
9176 commit d786424986c04d1d375f231fda177c8408e05c3e
9177 Author: dtucker@openbsd.org <dtucker@openbsd.org>
9178 Date:   Tue Jun 8 07:02:46 2021 +0000
9179
9180     upstream: Check if IPQoS or TunnelDevice are already set before
9181     
9182     overriding. Prevents values in config files from overriding values supplied
9183     on the command line.  bz#3319, ok markus.
9184     
9185     OpenBSD-Commit-ID: f3b08b898c324debb9195e6865d8999406938f74
9186
9187 commit aae4b4d3585b9f944d7dbd3c9e5ba0006c55e457
9188 Author: djm@openbsd.org <djm@openbsd.org>
9189 Date:   Tue Jun 8 06:54:40 2021 +0000
9190
9191     upstream: Allow argv_split() to optionally terminate tokenisation
9192     
9193     when it encounters an unquoted comment.
9194     
9195     Add some additional utility function for working with argument
9196     vectors, since we'll be switching to using them to parse
9197     ssh/sshd_config shortly.
9198     
9199     ok markus@ as part of a larger diff; tested in snaps
9200     
9201     OpenBSD-Commit-ID: fd9c108cef2f713f24e3bc5848861d221bb3a1ac
9202
9203 commit da9f9acaac5bab95dca642b48e0c8182b246ab69
9204 Author: Darren Tucker <dtucker@dtucker.net>
9205 Date:   Mon Jun 7 19:19:23 2021 +1000
9206
9207     Save logs on failure for upstream test
9208
9209 commit 76883c60161e5f3808787085a27a8c37f8cc4e08
9210 Author: Darren Tucker <dtucker@dtucker.net>
9211 Date:   Mon Jun 7 14:36:32 2021 +1000
9212
9213     Add obsdsnap-i386 upstream test target.
9214
9215 commit d45b9c63f947ec5ec314696e70281f6afddc0ac3
9216 Author: djm@openbsd.org <djm@openbsd.org>
9217 Date:   Mon Jun 7 03:38:38 2021 +0000
9218
9219     upstream: fix debug message when finding a private key to match a
9220     
9221     certificate being attempted for user authentication. Previously it would
9222     print the certificate's path, whereas it was supposed to be showing the
9223     private key's path. Patch from Alex Sherwin via GHPR247
9224     
9225     OpenBSD-Commit-ID: d5af3be66d0f22c371dc1fe6195e774a18b2327b
9226
9227 commit 530739d42f6102668aecd699be0ce59815c1eceb
9228 Author: djm@openbsd.org <djm@openbsd.org>
9229 Date:   Sun Jun 6 11:34:16 2021 +0000
9230
9231     upstream: Match host certificates against host public keys, not private
9232     
9233     keys. Allows use of certificates with private keys held in a ssh-agent.
9234     Reported by Miles Zhou in bz3524; ok dtucker@
9235     
9236     OpenBSD-Commit-ID: 25f5bf70003126d19162862d9eb380bf34bac22a
9237
9238 commit 4265215d7300901fd7097061c7517688ade82f8e
9239 Author: djm@openbsd.org <djm@openbsd.org>
9240 Date:   Sun Jun 6 03:40:39 2021 +0000
9241
9242     upstream: Client-side workaround for a bug in OpenSSH 7.4: this release
9243     
9244     allows RSA/SHA2 signatures for public key authentication but fails to
9245     advertise this correctly via SSH2_MSG_EXT_INFO. This causes clients of these
9246     server to incorrectly match PubkeyAcceptedAlgorithms and potentially refuse
9247     to offer valid keys.
9248     
9249     Reported by and based on patch from Gordon Messmer via bz3213, thanks
9250     also for additional analysis by Jakub Jelen. ok dtucker
9251     
9252     OpenBSD-Commit-ID: d6d0b7351d5d44c45f3daaa26efac65847a564f7
9253
9254 commit bda270d7fb8522d43c21a79a4b02a052d7c64de8
9255 Author: djm@openbsd.org <djm@openbsd.org>
9256 Date:   Sun Jun 6 03:17:02 2021 +0000
9257
9258     upstream: degrade gracefully if a sftp-server offers the
9259     
9260     limits@openssh.com extension but fails when the client tries to invoke it.
9261     Reported by Hector Martin via bz3318
9262     
9263     OpenBSD-Commit-ID: bd9d1839c41811616ede4da467e25746fcd9b967
9264
9265 commit d345d5811afdc2d6923019b653cdd93c4cc95f76
9266 Author: djm@openbsd.org <djm@openbsd.org>
9267 Date:   Sun Jun 6 03:15:39 2021 +0000
9268
9269     upstream: the limits@openssh.com extension was incorrectly marked
9270     
9271     as an operation that writes to the filesystem, which made it unavailable in
9272     sftp-server read-only mode. Spotted by Hector Martin via bz3318
9273     
9274     OpenBSD-Commit-ID: f054465230787e37516c4b57098fc7975e00f067
9275
9276 commit 2b71010d9b43d7b8c9ec1bf010beb00d98fa765a
9277 Author: naddy@openbsd.org <naddy@openbsd.org>
9278 Date:   Sat Jun 5 13:47:00 2021 +0000
9279
9280     upstream: PROTOCOL.certkeys: update reference from IETF draft to
9281     
9282     RFC
9283     
9284     Also fix some typos.
9285     ok djm@
9286     
9287     OpenBSD-Commit-ID: 5e855b6c5a22b5b13f8ffa3897a868e40d349b44
9288
9289 commit aa99b2d9a3e45b943196914e8d8bf086646fdb54
9290 Author: Darren Tucker <dtucker@dtucker.net>
9291 Date:   Fri Jun 4 23:41:29 2021 +1000
9292
9293     Clear notify_pipe from readset if present.
9294     
9295     Prevents leaking an implementation detail to the caller.
9296
9297 commit 6de8dadf6b4d0627d35bca0667ca44b1d61c2c6b
9298 Author: Darren Tucker <dtucker@dtucker.net>
9299 Date:   Fri Jun 4 23:24:25 2021 +1000
9300
9301     space->tabs.
9302
9303 commit c8677065070ee34c05c7582a9c2f58d8642e552d
9304 Author: Darren Tucker <dtucker@dtucker.net>
9305 Date:   Fri Jun 4 18:39:48 2021 +1000
9306
9307     Add pselect implementation for platforms without.
9308     
9309     This is basically the existing notify_pipe kludge from serverloop.c
9310     moved behind a pselect interface.  It works by installing a signal
9311     handler that writes to a pipe that the select is watching, then calls
9312     the original handler.
9313     
9314     The select call in serverloop will become pselect soon, at which point the
9315     kludge will be removed from thereand will only exist in the compat layer.
9316     Original code by markus, help from djm.
9317
9318 commit 7cd7f302d3a072748299f362f9e241d81fcecd26
9319 Author: Vincent Brillault <vincent.brillault@cern.ch>
9320 Date:   Sun May 24 09:15:06 2020 +0200
9321
9322     auth_log: dont log partial successes as failures
9323     
9324     By design, 'partial' logins are successful logins, so initially with
9325     authenticated set to 1, for which another authentication is required. As
9326     a result, authenticated is always reset to 0 when partial is set to 1.
9327     However, even if authenticated is 0, those are not failed login
9328     attempts, similarly to attempts with authctxt->postponed set to 1.
9329
9330 commit e7606919180661edc7f698e6a1b4ef2cfb363ebf
9331 Author: djm@openbsd.org <djm@openbsd.org>
9332 Date:   Fri Jun 4 06:19:07 2021 +0000
9333
9334     upstream: The RB_GENERATE_STATIC(3) macro expands to a series of
9335     
9336     function definitions and not a statement, so there should be no semicolon
9337     following them. Patch from Michael Forney
9338     
9339     OpenBSD-Commit-ID: c975dd180580f0bdc0a4d5b7d41ab1f5e9b7bedd
9340
9341 commit c298c4da574ab92df2f051561aeb3e106b0ec954
9342 Author: djm@openbsd.org <djm@openbsd.org>
9343 Date:   Fri Jun 4 05:59:18 2021 +0000
9344
9345     upstream: rework authorized_keys example section, removing irrelevant
9346     
9347     stuff, de-wrapping the example lines and better aligning the examples with
9348     common usage and FAQs; ok jmc
9349     
9350     OpenBSD-Commit-ID: d59f1c9281f828148e2a2e49eb9629266803b75c
9351
9352 commit d9cb35bbec5f623589d7c58fc094817b33030f35
9353 Author: djm@openbsd.org <djm@openbsd.org>
9354 Date:   Fri Jun 4 05:10:03 2021 +0000
9355
9356     upstream: adjust SetEnv description to clarify $TERM handling
9357     
9358     OpenBSD-Commit-ID: 8b8cc0124856bc1094949d55615e5c44390bcb22
9359
9360 commit 771f57a8626709f2ad207058efd68fbf30d31553
9361 Author: dtucker@openbsd.org <dtucker@openbsd.org>
9362 Date:   Fri Jun 4 05:09:08 2021 +0000
9363
9364     upstream: Switch the listening select loop from select() to
9365     
9366     pselect() and mask signals while checking signal flags, umasking for pselect
9367     and restoring afterwards. Also restore signals before sighup_restart so they
9368     don't remain blocked after restart.
9369     
9370     This prevents a race where a SIGTERM or SIGHUP can arrive between
9371     checking the flag and calling select (eg if sshd is processing a
9372     new connection) resulting in sshd not shutting down until the next
9373     time it receives a new connection.  bz#2158, with & ok djm@
9374     
9375     OpenBSD-Commit-ID: bf85bf880fd78e00d7478657644fcda97b9a936f
9376
9377 commit f64f8c00d158acc1359b8a096835849b23aa2e86
9378 Author: djm@openbsd.org <djm@openbsd.org>
9379 Date:   Fri Jun 4 05:02:40 2021 +0000
9380
9381     upstream: allow ssh_config SetEnv to override $TERM, which is otherwise
9382     
9383     handled specially by the protocol. Useful in ~/.ssh/config to set TERM to
9384     something generic (e.g. "xterm" instead of "xterm-256color") for destinations
9385     that lack terminfo entries. feedback and ok dtucker@
9386     
9387     OpenBSD-Commit-ID: 38b1ef4d5bc159c7d9d589d05e3017433e2d5758
9388
9389 commit 60107677dc0ce1e93c61f23c433ad54687fcd9f5
9390 Author: djm@openbsd.org <djm@openbsd.org>
9391 Date:   Fri Jun 4 04:02:21 2021 +0000
9392
9393     upstream: correct extension name "no-presence-required" =>
9394     
9395     "no-touch-required"
9396     
9397     document "verify-required" option
9398     
9399     OpenBSD-Commit-ID: 1879ff4062cf61d79b515e433aff0bf49a6c55c5
9400
9401 commit ecc186e46e3e30f27539b4311366dfda502f0a08
9402 Author: Darren Tucker <dtucker@dtucker.net>
9403 Date:   Wed Jun 2 13:54:11 2021 +1000
9404
9405     Retire fbsd7 test target.
9406     
9407     It's the slowest of the selfhosted targets (since it's 32bit but has
9408     most of the crypto algos). We still have coverage for 32bit i386.
9409
9410 commit 5de0867b822ec48b5eec9abde0f5f95d1d646546
9411 Author: Darren Tucker <dtucker@dtucker.net>
9412 Date:   Wed Jun 2 11:21:40 2021 +1000
9413
9414     Check for $OPENSSL in md5 fallback too.
9415
9416 commit 1db69d1b6542f8419c04cee7fd523a4a11004be2
9417 Author: Darren Tucker <dtucker@dtucker.net>
9418 Date:   Wed Jun 2 11:17:54 2021 +1000
9419
9420     Add dfly60 target.
9421
9422 commit a3f2dd955f1c19cad387a139f0e719af346ca6ef
9423 Author: dtucker@openbsd.org <dtucker@openbsd.org>
9424 Date:   Wed Jun 2 00:17:45 2021 +0000
9425
9426     upstream: Merge back shell portability changes
9427     
9428     bringing it back in sync with -portable.
9429     
9430     OpenBSD-Regress-ID: c07905ba931e66ad7d849b87b7d19648007175d1
9431
9432 commit 9d482295c9f073e84d75af46b720a1c0f7ec2867
9433 Author: dtucker@openbsd.org <dtucker@openbsd.org>
9434 Date:   Tue Jun 1 23:56:20 2021 +0000
9435
9436     upstream: Use a default value for $OPENSSL,
9437     
9438     allowing it to be overridden. Do the same in the PuTTY tests since it's
9439     needed there and not exported by test-exec.sh.
9440     
9441     OpenBSD-Regress-ID: c49dcd6aa7602a8606b7afa192196ca1fa65de16
9442
9443 commit 07660b3c99f8ea74ddf4a440e55c16c9f7fb3dd1
9444 Author: dtucker@openbsd.org <dtucker@openbsd.org>
9445 Date:   Mon May 24 10:25:18 2021 +0000
9446
9447     upstream: Find openssl binary via environment variable. This
9448     
9449     allows overriding if necessary (eg in -portable where we're testing against a
9450     specific version of OpenSSL).
9451     
9452     OpenBSD-Regress-ID: 491f39cae9e762c71aa4bf045803d077139815c5
9453
9454 commit 1a4d1da9188d7c88f646b61f0d6a3b34f47c5439
9455 Author: djm@openbsd.org <djm@openbsd.org>
9456 Date:   Fri May 21 04:03:47 2021 +0000
9457
9458     upstream: fix memleak in test
9459     
9460     OpenBSD-Regress-ID: 5e529d0982aa04666604936df43242e97a7a6f81
9461
9462 commit 60455a5d98065a73ec9a1f303345856bbd49aecc
9463 Author: djm@openbsd.org <djm@openbsd.org>
9464 Date:   Fri May 21 03:59:01 2021 +0000
9465
9466     upstream: also check contents of remaining string
9467     
9468     OpenBSD-Regress-ID: d526fa07253f4eebbc7d6205a0ab3d491ec71a28
9469
9470 commit 39f6cd207851d7b67ca46903bfce4a9f615b5b1c
9471 Author: djm@openbsd.org <djm@openbsd.org>
9472 Date:   Fri May 21 03:48:07 2021 +0000
9473
9474     upstream: unit test for misc.c:strdelim() that mostly servces to
9475     
9476     highlight its inconsistencies
9477     
9478     OpenBSD-Regress-ID: 8d2bf970fcc01ccc6e36a5065f89b9c7fa934195
9479
9480 commit 7a3a1dd2c7d4461962acbcc0ebee9445ba892be0
9481 Author: Darren Tucker <dtucker@dtucker.net>
9482 Date:   Thu May 27 21:23:15 2021 +1000
9483
9484     Put minix3 config in the host-specific block.
9485
9486 commit 59a194825f12fff8a7f75d91bf751ea17645711b
9487 Author: djm@openbsd.org <djm@openbsd.org>
9488 Date:   Mon May 31 06:48:42 2021 +0000
9489
9490     upstream: Hash challenge supplied by client during FIDO key enrollment
9491     
9492     prior to passing it to libfido2, which does expect a hash.
9493     
9494     There is no effect for users who are simply generating FIDO keys using
9495     ssh-keygen - by default we generate a random 256 bit challenge, but
9496     people building attestation workflows around our tools should now have
9497     a more consistent experience (esp. fewer failures when they fail to
9498     guess the magic 32-byte challenge length requirement).
9499     
9500     ok markus@
9501     
9502     OpenBSD-Commit-ID: b8d5363a6a7ca3b23dc28f3ca69470472959f2b5
9503
9504 commit eb68e669bc8ab968d4cca5bf1357baca7136a826
9505 Author: Darren Tucker <dtucker@dtucker.net>
9506 Date:   Thu May 27 21:14:15 2021 +1000
9507
9508     Include login_cap.h for login_getpwclass override.
9509     
9510     On minix3, login_getpwclass is __RENAME'ed to __login_getpwclass50 so
9511     without this the include overriding login_getpwclass causes a compile
9512     error.
9513
9514 commit 2063af71422501b65c7a92a5e14c0e6a3799ed89
9515 Author: Darren Tucker <dtucker@dtucker.net>
9516 Date:   Thu May 27 21:13:38 2021 +1000
9517
9518     Add minix3 test target.
9519
9520 commit 2e1efcfd9f94352ca5f4b6958af8a454f8cf48cd
9521 Author: djm@openbsd.org <djm@openbsd.org>
9522 Date:   Wed May 26 01:47:24 2021 +0000
9523
9524     upstream: fix SEGV in UpdateHostkeys debug() message, triggered
9525     
9526     when the update removed more host keys than remain present. Fix tested by
9527     reporter James Cook, via bugs@
9528     
9529     OpenBSD-Commit-ID: 44f641f6ee02bb957f0c1d150495b60cf7b869d3
9530
9531 commit 9acd76e6e4d2b519773e7119c33cf77f09534909
9532 Author: naddy@openbsd.org <naddy@openbsd.org>
9533 Date:   Sun May 23 18:22:57 2021 +0000
9534
9535     upstream: ssh: The client configuration keyword is
9536     
9537     "hostbasedacceptedalgorithms"
9538     
9539     This fixes a mistake that slipped in when "HostbasedKeyTypes" was
9540     renamed to "HostbasedAcceptedAlgorithms".
9541     
9542     Bug report by zack@philomathiclife.com
9543     
9544     OpenBSD-Commit-ID: d745a7e8e50b2589fc56877f322ea204bc784f38
9545
9546 commit 078a0e60c92700da4c536c93c007257828ccd05b
9547 Author: Darren Tucker <dtucker@dtucker.net>
9548 Date:   Tue May 25 11:40:47 2021 +1000
9549
9550     Rename README.md to ci-status.md.
9551     
9552     The original intent was to provide a status page for the CIs configured
9553     in that directory, but it had the side effect of replacing the top-level
9554     README.md.
9555
9556 commit 7be4ac813662f68e89f23c50de058a49aa32f7e4
9557 Author: djm@openbsd.org <djm@openbsd.org>
9558 Date:   Wed May 19 01:24:05 2021 +0000
9559
9560     upstream: restore blocking status on stdio fds before close
9561     
9562     ssh(1) needs to set file descriptors to non-blocking mode to operate
9563     but it was not restoring the original state on exit. This could cause
9564     problems with fds shared with other programs via the shell, e.g.
9565     
9566     > $ cat > test.sh << _EOF
9567     > #!/bin/sh
9568     > {
9569     >         ssh -Fnone -oLogLevel=verbose ::1 hostname
9570     >         cat /usr/share/dict/words
9571     > } | sleep 10
9572     > _EOF
9573     > $ ./test.sh
9574     > Authenticated to ::1 ([::1]:22).
9575     > Transferred: sent 2352, received 2928 bytes, in 0.1 seconds
9576     > Bytes per second: sent 44338.9, received 55197.4
9577     > cat: stdout: Resource temporarily unavailable
9578     
9579     This restores the blocking status for fds 0,1,2 (stdio) before ssh(1)
9580     abandons/closes them.
9581     
9582     This was reported as bz3280 and GHPR246; ok dtucker@
9583     
9584     OpenBSD-Commit-ID: 8cc67346f05aa85a598bddf2383fcfcc3aae61ce
9585
9586 commit c4902e1a653c67fea850ec99c7537f358904c0af
9587 Author: djm@openbsd.org <djm@openbsd.org>
9588 Date:   Mon May 17 11:43:16 2021 +0000
9589
9590     upstream: fix breakage of -W forwaring introduced in 1.554; reported by
9591     
9592     naddy@ and sthen@, ok sthen@
9593     
9594     OpenBSD-Commit-ID: f72558e643a26dc4150cff6e5097b5502f6c85fd
9595
9596 commit afea01381ad1fcea1543b133040f75f7542257e6
9597 Author: dtucker@openbsd.org <dtucker@openbsd.org>
9598 Date:   Mon May 17 07:22:45 2021 +0000
9599
9600     upstream: Regenerate moduli.
9601     
9602     OpenBSD-Commit-ID: 83c93a2a07c584c347ac6114d6329b18ce515557
9603
9604 commit be2866d6207b090615ff083c9ef212b603816a56
9605 Author: Damien Miller <djm@mindrot.org>
9606 Date:   Mon May 17 09:40:23 2021 +1000
9607
9608     Handle Android libc returning NULL pw->pw_passwd
9609     
9610     Reported by Luke Dashjr
9611
9612 commit 5953c143008259d87342fb5155bd0b8835ba88e5
9613 Author: djm@openbsd.org <djm@openbsd.org>
9614 Date:   Fri May 14 05:20:32 2021 +0000
9615
9616     upstream: fix previous: test saved no_shell_flag, not the one that just
9617     
9618     got clobbered
9619     
9620     OpenBSD-Commit-ID: b8deace085d9d941b2d02f810243b9c302e5355d
9621
9622 commit 1e9fa55f4dc4b334651d569d3448aaa3841f736f
9623 Author: djm@openbsd.org <djm@openbsd.org>
9624 Date:   Fri May 14 03:09:48 2021 +0000
9625
9626     upstream: Fix ssh started with ControlPersist incorrectly executing a
9627     
9628     shell when the -N (no shell) option was specified. bz3290 reported by Richard
9629     Schwab; patch from markus@ ok me
9630     
9631     OpenBSD-Commit-ID: ea1ea4af16a95687302f7690bdbe36a6aabf87e1
9632
9633 commit d1320c492f655d8f5baef8c93899d79dded217a5
9634 Author: dtucker@openbsd.org <dtucker@openbsd.org>
9635 Date:   Wed May 12 11:34:30 2021 +0000
9636
9637     upstream: Clarify language about moduli. While both ends of the
9638     
9639     connection do need to use the same parameters (ie groups), the DH-GEX
9640     protocol takes care of that and both ends do not need the same contents in
9641     the moduli file, which is what the previous text suggested.  ok djm@ jmc@
9642     
9643     OpenBSD-Commit-ID: f0c18cc8e79c2fbf537a432a9070ed94e96a622a
9644
9645 commit d3cc4d650ce3e59f3e370b101778b0e8f1c02c4d
9646 Author: djm@openbsd.org <djm@openbsd.org>
9647 Date:   Fri May 7 04:11:51 2021 +0000
9648
9649     upstream: include pid in LogVerbose spam
9650     
9651     OpenBSD-Commit-ID: aacb86f96ee90c7cb84ec27452374285f89a7f00
9652
9653 commit e3c032333be5fdbbaf2751f6f478e044922b4ec4
9654 Author: djm@openbsd.org <djm@openbsd.org>
9655 Date:   Fri May 7 03:09:38 2021 +0000
9656
9657     upstream: don't sigdie() in signal handler in privsep child process;
9658     
9659     this can end up causing sandbox violations per bz3286; ok dtucker@
9660     
9661     OpenBSD-Commit-ID: a7f40b2141dca4287920da68ede812bff7ccfdda
9662
9663 commit a4039724a3f2abac810735fc95cf9114a3856049
9664 Author: dtucker@openbsd.org <dtucker@openbsd.org>
9665 Date:   Fri May 7 09:23:40 2021 +0000
9666
9667     upstream: Increase ConnectionAttempts from 4 to 10 as the tests
9668     
9669     occasionally time out on heavily loaded hosts.
9670     
9671     OpenBSD-Regress-ID: 29a8cdef354fc9da471a301f7f65184770434f3a
9672
9673 commit c0d7e36e979fa3cdb60f5dcb6ac9ad3fd018543b
9674 Author: djm@openbsd.org <djm@openbsd.org>
9675 Date:   Fri May 7 02:26:55 2021 +0000
9676
9677     upstream: dump out a usable private key string too; inspired by Tyson
9678     
9679     Whitehead
9680     
9681     OpenBSD-Regress-ID: 65572d5333801cb2f650ebc778cbdc955e372058
9682
9683 commit 24fee8973abdf1c521cd2c0047d89e86d9c3fc38
9684 Author: djm@openbsd.org <djm@openbsd.org>
9685 Date:   Fri May 7 02:29:40 2021 +0000
9686
9687     upstream: correct mistake in spec - the private key blobs are encoded
9688     
9689     verbatim and not as strings (i.e. no 4-byte length header)
9690     
9691     OpenBSD-Commit-ID: 3606b5d443d72118c5b76c4af6dd87a5d5a4f837
9692
9693 commit f43859159cc62396ad5d080f0b1f2635a67dac02
9694 Author: dtucker@openbsd.org <dtucker@openbsd.org>
9695 Date:   Tue May 4 22:53:52 2021 +0000
9696
9697     upstream: Don't pass NULL as a string in debugging as it does not work
9698     
9699     on some platforms in -portable.  ok djm@
9700     
9701     OpenBSD-Commit-ID: 937c892c99aa3c9c272a8ed78fa7c2aba3a44fc9
9702
9703 commit ac31aa3c6341905935e75f0539cf4a61bbe99779
9704 Author: djm@openbsd.org <djm@openbsd.org>
9705 Date:   Mon May 3 00:16:45 2021 +0000
9706
9707     upstream: more debugging for UpdateHostKeys signature failures
9708     
9709     OpenBSD-Commit-ID: 1ee95f03875e1725df15d5e4bea3e73493d57d36
9710
9711 commit 8e32e97e788e0676ce83018a742203614df6a2b3
9712 Author: Darren Tucker <dtucker@dtucker.net>
9713 Date:   Sat May 1 20:07:47 2021 +1000
9714
9715     Add obsd69 test target.
9716
9717 commit f06893063597c5bb9d9e93f851c4070e77d2fba9
9718 Author: djm@openbsd.org <djm@openbsd.org>
9719 Date:   Fri Apr 30 04:29:53 2021 +0000
9720
9721     upstream: a little debugging in the main mux process for status
9722     
9723     confirmation failures in multiplexed sessions
9724     
9725     OpenBSD-Commit-ID: 6e27b87c95176107597035424e1439c3232bcb49
9726
9727 commit e65cf00da6bc31e5f54603b7feb7252dc018c033
9728 Author: dtucker@openbsd.org <dtucker@openbsd.org>
9729 Date:   Fri Apr 30 04:02:52 2021 +0000
9730
9731     upstream: Remove now-unused skey function prototypes leftover from
9732     
9733     skey removal.
9734     
9735     OpenBSD-Commit-ID: 2fc36d519fd37c6f10ce74854c628561555a94c3
9736
9737 commit ae5f9b0d5c8126214244ee6b35aae29c21028133
9738 Author: Darren Tucker <dtucker@dtucker.net>
9739 Date:   Thu Apr 29 13:01:50 2021 +1000
9740
9741     Wrap sntrup761x25519 inside ifdef.
9742     
9743     From balu.gajjala at gmail.com via bz#3306.
9744
9745 commit 70a8dc138a6480f85065cdb239915ad4b7f928cf
9746 Author: Darren Tucker <dtucker@dtucker.net>
9747 Date:   Wed Apr 28 14:44:07 2021 +1000
9748
9749     Add status badges for Actions-based tests.
9750
9751 commit 40b59024cc3365815381474cdf4fe423102e391b
9752 Author: Darren Tucker <dtucker@dtucker.net>
9753 Date:   Wed Apr 28 12:22:11 2021 +1000
9754
9755     Add obsdsnap (OpenBSD snapshot) test target.
9756
9757 commit e627067ec8ef9ae8e7a638f4dbac91d52dee3e6d
9758 Author: Darren Tucker <dtucker@dtucker.net>
9759 Date:   Wed Apr 28 11:35:28 2021 +1000
9760
9761     Add test building upstream OpenBSD source.
9762
9763 commit 1b8108ebd12fc4ed0fb39ef94c5ba122558ac373
9764 Author: Darren Tucker <dtucker@dtucker.net>
9765 Date:   Tue Apr 27 14:22:20 2021 +1000
9766
9767     Test against OpenSSL 1.1.0h instead of 1.1.0g.
9768     
9769     1.1.0g requires a perl glob module that's not installed by default.
9770
9771 commit 9bc20efd39ce8525be33df3ee009f5a4564224f1
9772 Author: Darren Tucker <dtucker@dtucker.net>
9773 Date:   Tue Apr 27 12:37:59 2021 +1000
9774
9775     Use the default VM type for libcrypto ver tests.
9776
9777 commit 9f79e80dc40965c2e73164531250b83b176c1eea
9778 Author: Darren Tucker <dtucker@dtucker.net>
9779 Date:   Tue Apr 27 12:24:10 2021 +1000
9780
9781     Always build OpenSSL shared.
9782     
9783     This is the default for current versions but we need it to test against
9784     earlier versions.
9785
9786 commit b3cc9fbdff2782eca79e33e02ac22450dc63bce9
9787 Author: Darren Tucker <dtucker@dtucker.net>
9788 Date:   Tue Apr 27 09:18:02 2021 +1000
9789
9790     Fix custom OpenSSL tests.
9791     
9792     Check out specified OpenSSL version.  Install custom libcrypto where
9793     configure expects to find it.  Remove unneeded OpenSSL config time
9794     options.  Older OpenSSL versions were not make -j safe so remove it.
9795
9796 commit 77532609874a99a19e3e2eb2d1b7fa93aef963bb
9797 Author: Darren Tucker <dtucker@dtucker.net>
9798 Date:   Mon Apr 26 17:18:25 2021 +1000
9799
9800     Export CC and CFLAGS for c89 test.
9801
9802 commit 33f62dfbe865f4de77980ab88774bf1eb5e4e040
9803 Author: Darren Tucker <dtucker@dtucker.net>
9804 Date:   Mon Apr 26 17:13:44 2021 +1000
9805
9806     Add c89 here too.
9807
9808 commit da9d59f526fce58e11cba49cd8eb011dc0bf5677
9809 Author: Darren Tucker <dtucker@dtucker.net>
9810 Date:   Mon Apr 26 15:34:23 2021 +1000
9811
9812     Add test against OpenSSL w/out ECC.
9813
9814 commit 29e194a752359ebf85bf7fce100f23a0477fc4de
9815 Author: Darren Tucker <dtucker@dtucker.net>
9816 Date:   Mon Apr 26 14:49:59 2021 +1000
9817
9818     Ensure we can still build with C89.
9819
9820 commit a38016d369d21df5d35f761f2b67e175e132ba22
9821 Author: Darren Tucker <dtucker@dtucker.net>
9822 Date:   Mon Apr 26 14:29:03 2021 +1000
9823
9824     Interop test agains PuTTY.
9825
9826 commit 095b0307a77be8803768857cc6c0963fa52ed85b
9827 Author: Darren Tucker <dtucker@dtucker.net>
9828 Date:   Mon Apr 26 14:02:03 2021 +1000
9829
9830     Support testing against arbitary libcrytpo vers.
9831     
9832     Add tests against various LibreSSL and OpenSSL versions.
9833
9834 commit b16082aa110fa7128ece2a9037ff420c4a285317
9835 Author: Darren Tucker <dtucker@dtucker.net>
9836 Date:   Mon Apr 26 13:35:44 2021 +1000
9837
9838     Add fbsd10 test target.
9839
9840 commit 2c805f16b24ea37cc051c6018fcb05defab6e57a
9841 Author: Darren Tucker <dtucker@dtucker.net>
9842 Date:   Sun Apr 25 14:15:02 2021 +1000
9843
9844     Disable compiler hardening on nbsd4.
9845     
9846     The system compiler supports -fstack-protector-all, but using it will
9847     result in an internal compiler error on some files.
9848
9849 commit 6a5d39305649da5dff1934ee54292ee0cebd579d
9850 Author: Darren Tucker <dtucker@dtucker.net>
9851 Date:   Sun Apr 25 13:01:34 2021 +1000
9852
9853     Add nbsd3, nbsd4 and nbsd9 test targets.
9854
9855 commit d1aed05bd2e4ae70f359a394dc60a2d96b88f78c
9856 Author: Darren Tucker <dtucker@dtucker.net>
9857 Date:   Sat Apr 24 22:03:46 2021 +1000
9858
9859     Comment out nbsd2 test target for now.
9860
9861 commit a6b4ec94e5bd5a8a18cd2c9942d829d2e5698837
9862 Author: Darren Tucker <dtucker@dtucker.net>
9863 Date:   Sat Apr 24 17:52:24 2021 +1000
9864
9865     Add OPENBSD ORIGINAL marker.
9866
9867 commit 3737c9f66ee590255546c4b637b6d2be669a11eb
9868 Author: Darren Tucker <dtucker@dtucker.net>
9869 Date:   Fri Apr 23 19:49:46 2021 +1000
9870
9871     Replace "==" (a bashism) with "=".
9872
9873 commit a116b6f5be17a1dd345b7d54bf8aa3779a28a0df
9874 Author: Darren Tucker <dtucker@dtucker.net>
9875 Date:   Fri Apr 23 16:34:48 2021 +1000
9876
9877     Add nbsd2 test target.
9878
9879 commit 196bf2a9bb771f45d9b0429cee7d325962233c44
9880 Author: Darren Tucker <dtucker@dtucker.net>
9881 Date:   Fri Apr 23 14:54:10 2021 +1000
9882
9883     Add obsd68 test target.
9884
9885 commit e3ba6574ed69e8b7af725cf5e8a9edaac04ff077
9886 Author: Darren Tucker <dtucker@dtucker.net>
9887 Date:   Fri Apr 23 14:53:32 2021 +1000
9888
9889     Remove dependency on bash.
9890
9891 commit db1f9ab8feb838aee9f5b99c6fd3f211355dfdcf
9892 Author: Darren Tucker <dtucker@dtucker.net>
9893 Date:   Fri Apr 23 14:41:13 2021 +1000
9894
9895     Add obsd67 test target.
9896
9897 commit c039a6bf79192fe1daa9ddcc7c87dd98e258ae7c
9898 Author: Darren Tucker <dtucker@dtucker.net>
9899 Date:   Fri Apr 23 11:08:23 2021 +1000
9900
9901     Re-add macos-11.0 test target.
9902
9903 commit a6db3a47b56adb76870d59225ffb90a65bc4daf2
9904 Author: Darren Tucker <dtucker@dtucker.net>
9905 Date:   Fri Apr 23 10:28:28 2021 +1000
9906
9907     Add openindiana test target.
9908
9909 commit 3fe7e73b025c07eda46d78049f1da8ed7dfc0c69
9910 Author: Darren Tucker <dtucker@dtucker.net>
9911 Date:   Fri Apr 23 10:26:35 2021 +1000
9912
9913     Test krb5 on Solaris 11 too.
9914
9915 commit f57fbfe5eb02df1a91f1a237c4d27165afd87c13
9916 Author: Darren Tucker <dtucker@dtucker.net>
9917 Date:   Thu Apr 22 22:27:26 2021 +1000
9918
9919     Don't always set SUDO.
9920     
9921     Rely on sourcing configs to set as appropriate.
9922
9923 commit e428f29402fb6ac140b52f8f12e06ece7bb104a0
9924 Author: Darren Tucker <dtucker@dtucker.net>
9925 Date:   Thu Apr 22 22:26:08 2021 +1000
9926
9927     Remove now-unused 2nd arg to configs.
9928
9929 commit cb4ff640d79b3c736879582139778f016bbb2cd7
9930 Author: Darren Tucker <dtucker@dtucker.net>
9931 Date:   Wed Apr 21 01:08:04 2021 +1000
9932
9933     Add win10 test target.
9934
9935 commit 4457837238072836b2fa3107d603aac809624983
9936 Author: Darren Tucker <dtucker@dtucker.net>
9937 Date:   Tue Apr 20 23:31:29 2021 +1000
9938
9939     Add nbsd8 test target.
9940
9941 commit bd4fba22e14da2fa196009010aabec5a8ba9dd42
9942 Author: Darren Tucker <dtucker@dtucker.net>
9943 Date:   Sat Apr 17 09:55:47 2021 +1000
9944
9945     Add obsd51 target.
9946
9947 commit 9403d0e805c77a5741ea8c3281bbe92558c2f125
9948 Author: Darren Tucker <dtucker@dtucker.net>
9949 Date:   Fri Apr 16 18:14:25 2021 +1000
9950
9951     Add fbsd13 target.
9952
9953 commit e86968280e358e62649d268d41f698d64d0dc9fa
9954 Author: Damien Miller <djm@mindrot.org>
9955 Date:   Fri Apr 16 13:55:25 2021 +1000
9956
9957     depend
9958
9959 commit 2fb25ca11e8b281363a2a2a4dec4c497a1475d9a
9960 Author: Damien Miller <djm@mindrot.org>
9961 Date:   Fri Apr 16 13:53:02 2021 +1000
9962
9963     crank version in README and RPM spec files
9964
9965 commit b2b60ebab0cb77b5bc02d364d72e13db882f33ae
9966 Author: djm@openbsd.org <djm@openbsd.org>
9967 Date:   Fri Apr 16 03:42:00 2021 +0000
9968
9969     upstream: openssh-8.6
9970     
9971     OpenBSD-Commit-ID: b5f3e133c846127ec114812248bc17eff07c3e19
9972
9973 commit faf2b86a46c9281d237bcdec18c99e94a4eb820a
9974 Author: markus@openbsd.org <markus@openbsd.org>
9975 Date:   Thu Apr 15 16:24:31 2021 +0000
9976
9977     upstream: do not pass file/func to monitor; noted by Ilja van Sprundel;
9978     
9979     ok djm@
9980     
9981     OpenBSD-Commit-ID: 85ae5c063845c410283cbdce685515dcd19479fa
9982
9983 commit 2dc328023f60212cd29504fc05d849133ae47355
9984 Author: Damien Miller <djm@mindrot.org>
9985 Date:   Wed Apr 14 11:42:55 2021 +1000
9986
9987     sshd don't exit on transient read errors
9988     
9989     openssh-8.5 introduced a regression that would cause sshd to exit
9990     because of transient read errors on the network socket (e.g. EINTR,
9991     EAGAIN). Reported by balu.gajjala AT gmail.com via bz3297
9992
9993 commit d5d6b7d76d171a2e6861609dcd92e714ee62ad88
9994 Author: Damien Miller <djm@mindrot.org>
9995 Date:   Sat Apr 10 18:45:00 2021 +1000
9996
9997     perform report_failed_grab() inline
9998
9999 commit ea996ce2d023aa3c6d31125e2c3ebda1cb42db8c
10000 Author: Damien Miller <djm@mindrot.org>
10001 Date:   Sat Apr 10 18:22:57 2021 +1000
10002
10003     dedicated gnome-ssk-askpass3 source
10004     
10005     Compatibility with Wayland requires that we use the gdk_seat_grab()
10006     API for grabbing mouse/keyboard, however these API don't exist in
10007     Gtk+2.
10008     
10009     This branches gnome-ssk-askpass2.c => gnome-ssk-askpass3.c and
10010     makes the changes to use the gdk_seat_grab() instead of grabbing
10011     mouse/focus separately via GDK.
10012     
10013     In the future, we can also use the branched file to avoid some
10014     API that has been soft-deprecated in GTK+3, e.g. gtk_widget_modify_fg
10015
10016 commit bfa5405da05d906ffd58216eb77c4375b62d64c2
10017 Author: Darren Tucker <dtucker@dtucker.net>
10018 Date:   Thu Apr 8 15:18:15 2021 +1000
10019
10020     Ensure valgrind-out exists.
10021     
10022     Normally the regress tests would create it, but running the unit tests
10023     on their own would fail because the directory did not exist.
10024
10025 commit 1f189181f3ea09a9b08aa866f78843fec800874f
10026 Author: Darren Tucker <dtucker@dtucker.net>
10027 Date:   Thu Apr 8 15:17:19 2021 +1000
10028
10029     Pass OBJ to unit test make invocation.
10030     
10031     At least the Valgrind unit tests uses $OBJ.
10032
10033 commit f42b550c281d28bd19e9dd6ce65069164f3482b0
10034 Author: Darren Tucker <dtucker@dtucker.net>
10035 Date:   Thu Apr 8 14:20:12 2021 +1000
10036
10037     Add pattern for valgrind-unit.
10038
10039 commit 19e534462710e98737478fd9c44768b50c27c4c6
10040 Author: Darren Tucker <dtucker@dtucker.net>
10041 Date:   Thu Apr 8 13:31:08 2021 +1000
10042
10043     Run unit tests under valgrind.
10044     
10045     Run a separate build for the unit tests under Valgrind.  They take long
10046     enough that running in parallel with the other Valgrind tests helps.
10047
10048 commit 80032102d05e866dc2a48a5caf760cf42c2e090e
10049 Author: Darren Tucker <dtucker@dtucker.net>
10050 Date:   Thu Apr 8 13:25:57 2021 +1000
10051
10052     ifdef out MIN and MAX.
10053     
10054     In -portable, defines.h ensures that these are defined, so redefining
10055     potentially causes a warning.  We don't just delete it to make any
10056     future code syncs a little but easier.  bz#3293.
10057
10058 commit d1bd184046bc310c405f45da3614a1dc5b3e521a
10059 Author: Darren Tucker <dtucker@dtucker.net>
10060 Date:   Wed Apr 7 10:23:51 2021 +1000
10061
10062     Remove only use of warn().
10063     
10064     The warn() function is only used in one place in portable and does not
10065     exist upstream.  Upgrade the only instance it's used to fail()
10066     (the privsep/sandbox+proxyconnect, from back when that was new) and
10067     remove the now-unused function.
10068
10069 commit fea8f4b1aa85026ad5aee5ad8e1599a8d5141fe0
10070 Author: Darren Tucker <dtucker@dtucker.net>
10071 Date:   Wed Apr 7 10:18:32 2021 +1000
10072
10073     Move make_tmpdir() into portable-specific area.
10074     
10075     Reduces diff vs OpenBSD and makes it more likely diffs will apply
10076     cleanly.
10077
10078 commit 13e5fa2acffd26e754c6ee1d070d0afd035d4cb7
10079 Author: dtucker@openbsd.org <dtucker@openbsd.org>
10080 Date:   Tue Apr 6 23:57:56 2021 +0000
10081
10082     upstream: Add TEST_SSH_ELAPSED_TIMES environment variable to print the
10083     
10084     elapsed time in seconds of each test.  This depends on "date +%s" which is
10085     not specified by POSIX but is commonly implemented.
10086     
10087     OpenBSD-Regress-ID: ec3c8c19ff49b2192116a0a646ee7c9b944e8a9c
10088
10089 commit ef4f46ab4387bb863b471bad124d46e8d911a79a
10090 Author: Darren Tucker <dtucker@dtucker.net>
10091 Date:   Wed Apr 7 09:59:15 2021 +1000
10092
10093     Move the TEST_SSH_PORT section down a bit.
10094     
10095     This groups the portable-specific changes together and makes it a
10096     little more likely that patches will apply cleanly.
10097
10098 commit 3674e33fa70dfa1fe69b345bf576113af7b7be11
10099 Author: Darren Tucker <dtucker@dtucker.net>
10100 Date:   Wed Apr 7 10:05:10 2021 +1000
10101
10102     Further split Valgrind tests.
10103     
10104     Even split in two, the Valgrind tests take by far the longest to run,
10105     so split them four ways to further increase parallelism.
10106
10107 commit 961af266b861e30fce1e26170ee0dbb5bf591f29
10108 Author: djm@openbsd.org <djm@openbsd.org>
10109 Date:   Tue Apr 6 23:24:30 2021 +0000
10110
10111     upstream: include "ssherr.h" not <ssherr.h>; from Balu Gajjala via
10112     
10113     bz#3292
10114     
10115     OpenBSD-Commit-ID: e9535cd9966eb2e69e73d1ede1f44905c30310bd
10116
10117 commit e7d0a285dbdd65d8df16123ad90f15e91862f959
10118 Author: Damien Miller <djm@mindrot.org>
10119 Date:   Wed Apr 7 08:50:38 2021 +1000
10120
10121     wrap struct rlimit in HAVE_GETRLIMIT too
10122
10123 commit f283a6c2e0a9bd9369e18462acd00be56fbe5b0d
10124 Author: Damien Miller <djm@mindrot.org>
10125 Date:   Wed Apr 7 08:20:35 2021 +1000
10126
10127     wrap getrlimit call in HAVE_GETRLIMIT; bz3291
10128
10129 commit 679bdc4a5c9244f427a7aee9c14b0a0ed086da1f
10130 Author: dtucker@openbsd.org <dtucker@openbsd.org>
10131 Date:   Tue Apr 6 09:07:33 2021 +0000
10132
10133     upstream: Don't check return value of unsetenv(). It's part of the
10134     
10135     environment setup and not part of the actual test, and some platforms
10136     -portable runs on declare it as returning void, which prevents the test from
10137     compiling.
10138     
10139     OpenBSD-Regress-ID: 24f08543ee3cdebc404f2951f3e388cc82b844a1
10140
10141 commit 320af2f3de6333aa123f1b088eca146a245e968a
10142 Author: jmc@openbsd.org <jmc@openbsd.org>
10143 Date:   Sun Apr 4 11:36:56 2021 +0000
10144
10145     upstream: remove stray inserts; from matthias schmidt
10146     
10147     OpenBSD-Commit-ID: 2c36ebdc54e14bbf1daad70c6a05479a073d5c63
10148
10149 commit 801f710953b24dd2f21939171c622eac77c7484d
10150 Author: jmc@openbsd.org <jmc@openbsd.org>
10151 Date:   Sun Apr 4 06:11:24 2021 +0000
10152
10153     upstream: missing comma; from kawashima james
10154     
10155     OpenBSD-Commit-ID: 31cec6bf26c6db4ffefc8a070715ebef274e68ea
10156
10157 commit b3ca08cb174266884d44ec710a84cd64c12414ea
10158 Author: Darren Tucker <dtucker@dtucker.net>
10159 Date:   Mon Apr 5 23:46:42 2021 +1000
10160
10161     Install libcbor with libfido2.
10162
10163 commit f3ca8af87a4c32ada660da12ae95cf03d190c083
10164 Author: Damien Miller <djm@mindrot.org>
10165 Date:   Sat Apr 3 18:21:08 2021 +1100
10166
10167     enable authopt and misc unit tests
10168     
10169     Neither were wired into the build, both required some build
10170     adaptations for -portable
10171
10172 commit dc1b45841fb97e3d7f655ddbcfef3839735cae5f
10173 Author: djm@openbsd.org <djm@openbsd.org>
10174 Date:   Sat Apr 3 06:58:30 2021 +0000
10175
10176     upstream: typos in comments; GHPR#180 from Vill
10177     
10178     =?UTF-8?q?e=20Skytt=C3=A4?=
10179     MIME-Version: 1.0
10180     Content-Type: text/plain; charset=UTF-8
10181     Content-Transfer-Encoding: 8bit
10182     
10183     OpenBSD-Commit-ID: 93c732381ae0e2b680c79e67c40c1814b7ceed2c
10184
10185 commit 53ea05e09b04fd7b6dea66b42b34d65fe61b9636
10186 Author: djm@openbsd.org <djm@openbsd.org>
10187 Date:   Sat Apr 3 06:55:52 2021 +0000
10188
10189     upstream: sync CASignatureAlgorithms lists with reality. GHPR#174 from
10190     
10191     Matt Hazinski
10192     
10193     OpenBSD-Commit-ID: f05e4ca54d7e67b90fe58fe1bdb1d2a37e0e2696
10194
10195 commit 57ed647ee07bb883a2f2264231bcd1df6a5b9392
10196 Author: Damien Miller <djm@mindrot.org>
10197 Date:   Sat Apr 3 17:47:37 2021 +1100
10198
10199     polish whitespace for portable files
10200
10201 commit 31d8d231eb9377df474746a822d380c5d68d7ad6
10202 Author: djm@openbsd.org <djm@openbsd.org>
10203 Date:   Sat Apr 3 06:18:40 2021 +0000
10204
10205     upstream: highly polished whitespace, mostly fixing spaces-for-tab
10206     
10207     and bad indentation on continuation lines. Prompted by GHPR#185
10208     
10209     OpenBSD-Commit-ID: e5c81f0cbdcc6144df1ce468ec1bac366d8ad6e9
10210
10211 commit 34afde5c73b5570d6f8cce9b49993b23b77bfb86
10212 Author: djm@openbsd.org <djm@openbsd.org>
10213 Date:   Sat Apr 3 05:54:14 2021 +0000
10214
10215     upstream: whitespace (tab after space)
10216     
10217     OpenBSD-Commit-ID: 0e2b3f7674e985d3f7c27ff5028e690ba1c2efd4
10218
10219 commit 7cd262c1c5a08cc7f4f30e3cab108ef089d0a57b
10220 Author: Darren Tucker <dtucker@dtucker.net>
10221 Date:   Sat Apr 3 16:59:10 2021 +1100
10222
10223     Save config.h and config.log on failure too.
10224
10225 commit 460aee9298f365357e9fd26851c22e0dca51fd6a
10226 Author: djm@openbsd.org <djm@openbsd.org>
10227 Date:   Sat Apr 3 05:46:41 2021 +0000
10228
10229     upstream: fix incorrect plural; from Ville Skyt
10230     
10231     =?UTF-8?q?t=C3=A4=20via=20GHPR#181?=
10232     MIME-Version: 1.0
10233     Content-Type: text/plain; charset=UTF-8
10234     Content-Transfer-Encoding: 8bit
10235     
10236     OpenBSD-Commit-ID: 92f31754c6296d8f403d7c293e09dc27292d22c9
10237
10238 commit 082804c14e548cada75c81003a3c68ee098138ee
10239 Author: djm@openbsd.org <djm@openbsd.org>
10240 Date:   Sat Apr 3 05:40:39 2021 +0000
10241
10242     upstream: ensure that pkcs11_del_provider() is called before exit -
10243     
10244     some PKCS#11 providers get upset if C_Initialize is not matched with
10245     C_Finalize.
10246     
10247     From Adithya Baglody via GHPR#234; ok markus
10248     
10249     OpenBSD-Commit-ID: f8e770e03b416ee9a58f9762e162add900f832b6
10250
10251 commit 464ebc82aa926dd132ec75a0b064574ef375675e
10252 Author: djm@openbsd.org <djm@openbsd.org>
10253 Date:   Sat Apr 3 05:28:43 2021 +0000
10254
10255     upstream: unused variable
10256     
10257     OpenBSD-Commit-ID: 85f6a394c8e0f60d15ecddda75176f112007b205
10258
10259 commit dc3c0be8208c488e64a8bcb7d9efad98514e0ffb
10260 Author: djm@openbsd.org <djm@openbsd.org>
10261 Date:   Sat Apr 3 05:21:46 2021 +0000
10262
10263     upstream: Fix two problems in string->argv conversion: 1) multiple
10264     
10265     backslashes were not being dequoted correctly and 2) quoted space in the
10266     middle of a string was being incorrectly split.
10267     MIME-Version: 1.0
10268     Content-Type: text/plain; charset=UTF-8
10269     Content-Transfer-Encoding: 8bit
10270     
10271     A unit test for these cases has already been committed
10272     
10273     prompted by and based on GHPR#223 by Eero Häkkinen; ok markus@
10274     
10275     OpenBSD-Commit-ID: d7ef27abb4eeeaf6e167e9312e4abe9e89faf1e4
10276
10277 commit f75bcbba58a08c670727ece5e3f8812125969799
10278 Author: Damien Miller <djm@mindrot.org>
10279 Date:   Sat Apr 3 16:22:48 2021 +1100
10280
10281     missing bits from 259d648e
10282
10283 commit 4cbc4a722873d9b68cb5496304dc050d7168df78
10284 Author: djm@openbsd.org <djm@openbsd.org>
10285 Date:   Wed Mar 31 21:59:26 2021 +0000
10286
10287     upstream: cannot effectively test posix-rename extension after
10288     
10289     changes in feature advertisment.
10290     
10291     OpenBSD-Regress-ID: 5e390bf88d379162aaa81b60ed86b34cb0c54d29
10292
10293 commit 259d648e63e82ade4fe2c2c73c8b67fe57d9d049
10294 Author: djm@openbsd.org <djm@openbsd.org>
10295 Date:   Fri Mar 19 04:23:50 2021 +0000
10296
10297     upstream: add a test for misc.c:argv_split(), currently fails
10298     
10299     OpenBSD-Regress-ID: ad6b96d6ebeb9643b698b3575bdd6f78bb144200
10300
10301 commit 473ddfc2d6b602cb2d1d897e0e5c204de145cd9a
10302 Author: djm@openbsd.org <djm@openbsd.org>
10303 Date:   Fri Mar 19 03:25:01 2021 +0000
10304
10305     upstream: split
10306     
10307     OpenBSD-Regress-ID: f6c03c0e4c58b3b9e04b161757b8c10dc8378c34
10308
10309 commit 1339800fef8d0dfbfeabff71b34670105bcfddd2
10310 Author: djm@openbsd.org <djm@openbsd.org>
10311 Date:   Wed Mar 31 22:16:34 2021 +0000
10312
10313     upstream: Use new limits@openssh.com protocol extension to let the
10314     
10315     client select good limits based on what the server supports. Split the
10316     download and upload buffer sizes to allow them to be chosen independently.
10317     
10318     In practice (and assuming upgraded sftp/sftp-server at each end), this
10319     increases the download buffer 32->64KiB and the upload buffer
10320     32->255KiB.
10321     
10322     Patches from Mike Frysinger; ok dtucker@
10323     
10324     OpenBSD-Commit-ID: ebd61c80d85b951b794164acc4b2f2fd8e88606c
10325
10326 commit 6653c61202d104e59c8e741329fcc567f7bc36b8
10327 Author: djm@openbsd.org <djm@openbsd.org>
10328 Date:   Wed Mar 31 21:58:07 2021 +0000
10329
10330     upstream: do not advertise protocol extensions that have been
10331     
10332     disallowed by the command-line options (e.g. -p/-P/-R); ok dtucker@
10333     
10334     OpenBSD-Commit-ID: 3a8a76b3f5131741aca4b41bfab8d101c9926205
10335
10336 commit 71241fc05db4bbb11bb29340b44b92e2575373d8
10337 Author: Damien Miller <djm@mindrot.org>
10338 Date:   Mon Mar 29 15:14:25 2021 +1100
10339
10340     gnome-ssh-askpass3 is a valid target here
10341
10342 commit 8a9520836e71830f4fccca066dba73fea3d16bda
10343 Author: djm@openbsd.org <djm@openbsd.org>
10344 Date:   Fri Mar 19 02:22:34 2021 +0000
10345
10346     upstream: return non-zero exit status when killed by signal; bz#3281 ok
10347     
10348     dtucker@
10349     
10350     OpenBSD-Commit-ID: 117b31cf3c807993077b596bd730c24da9e9b816
10351
10352 commit 1269b8a686bf1254b03cd38af78167a04aa6ec88
10353 Author: djm@openbsd.org <djm@openbsd.org>
10354 Date:   Fri Mar 19 02:18:28 2021 +0000
10355
10356     upstream: increase maximum SSH2_FXP_READ to match the maximum
10357     
10358     packet size. Also handle zero-length reads that are borderline nonsensical
10359     but not explicitly banned by the spec. Based on patch from Mike Frysinger,
10360     feedback deraadt@ ok dtucker@
10361     
10362     OpenBSD-Commit-ID: 4e67d60d81bde7b84a742b4ee5a34001bdf80d9c
10363
10364 commit 860b67604416640e8db14f365adc3f840aebcb1f
10365 Author: djm@openbsd.org <djm@openbsd.org>
10366 Date:   Tue Mar 16 06:15:43 2021 +0000
10367
10368     upstream: don't let logging clobber errno before use
10369     
10370     OpenBSD-Commit-ID: ce6cca370005c270c277c51c111bb6911e1680ec
10371
10372 commit 5ca8a9216559349c56e09039c4335636fd85c241
10373 Author: Darren Tucker <dtucker@dtucker.net>
10374 Date:   Sat Mar 13 14:40:43 2021 +1100
10375
10376     Only call dh_set_moduli_file if using OpenSSL.
10377     
10378     Fixes link failure when configuring --without-openssl since dh.c is not
10379     linked in.
10380
10381 commit 867a7dcf003c51d5a83f83565771a35f0d9530ac
10382 Author: Darren Tucker <dtucker@dtucker.net>
10383 Date:   Sat Mar 13 13:52:53 2021 +1100
10384
10385     Don't install moduli during tests.
10386     
10387     Now that we have TEST_SSH_MODULI_FILE pointing to the moduli in the
10388     soure directory we don't need to install the file to prevent warnings
10389     about it being missing.
10390
10391 commit 0c054538fccf92b4a028008321d3711107bee6d5
10392 Author: Darren Tucker <dtucker@dtucker.net>
10393 Date:   Sat Mar 13 13:51:26 2021 +1100
10394
10395     Point TEST_SSH_MODULI_FILE at our own moduli.
10396     
10397     This will allow the test to run without requiring a moduli file
10398     installed at the configured default path.
10399
10400 commit 4d48219c72ab0c71238806f057f0e9630b7dd25c
10401 Author: jsg@openbsd.org <jsg@openbsd.org>
10402 Date:   Fri Mar 12 05:18:01 2021 +0000
10403
10404     upstream: spelling
10405     
10406     OpenBSD-Commit-ID: 478bc3db04f62f1048ed6e1765400f3ab325e60f
10407
10408 commit 88057eb6df912abf2678ea5c846d9d9cbc92752c
10409 Author: dtucker@openbsd.org <dtucker@openbsd.org>
10410 Date:   Fri Mar 12 04:08:19 2021 +0000
10411
10412     upstream: Add ModuliFile keyword to sshd_config to specify the
10413     
10414     location of the "moduli" file containing the groups for DH-GEX.  This will
10415     allow us to run tests against arbitrary moduli files without having to
10416     install them. ok djm@
10417     
10418     OpenBSD-Commit-ID: 8df99d60b14ecaaa28f3469d01fc7f56bff49f66
10419
10420 commit f07519a2af96109325b5a48b1af18b57601074ca
10421 Author: djm@openbsd.org <djm@openbsd.org>
10422 Date:   Fri Mar 12 03:43:40 2021 +0000
10423
10424     upstream: pwcopy() struct passwd that we're going to reuse across a
10425     
10426     bunch of library calls; bz3273 ok dtucker@
10427     
10428     OpenBSD-Commit-ID: b6eafa977b2e44607b1b121f5de855107809b762
10429
10430 commit 69d6d4b0c8a88d3d1288415605f36e2df61a2f12
10431 Author: dtucker@openbsd.org <dtucker@openbsd.org>
10432 Date:   Wed Mar 10 06:32:27 2021 +0000
10433
10434     upstream: Import regenerated moduli file.
10435     
10436     OpenBSD-Commit-ID: 7ac6c252d2a5be8fbad4c66d9d35db507c9dac5b
10437
10438 commit e5895e8ecfac65086ea6b34d0d168409a66a15e1
10439 Author: djm@openbsd.org <djm@openbsd.org>
10440 Date:   Wed Mar 10 04:58:45 2021 +0000
10441
10442     upstream: no need to reset buffer after send_msg() as that is done
10443     
10444     for us; patch from Mike Frysinger
10445     
10446     OpenBSD-Commit-ID: 565516495ff8362a38231e0f1a087b8ae66da59c
10447
10448 commit 721948e67488767df0fa0db71ff2578ee2bb9210
10449 Author: dtucker@openbsd.org <dtucker@openbsd.org>
10450 Date:   Sat Mar 13 01:52:16 2021 +0000
10451
10452     upstream: Add TEST_SSH_MODULI_FILE variable to allow overriding of the
10453     
10454     moduli file used during the test run.
10455     
10456     OpenBSD-Regress-ID: be10f785263120edb64fc87db0e0d6570a10220a
10457
10458 commit 82fef71e20ffef425b932bec26f5bc46aa1ed41c
10459 Author: Darren Tucker <dtucker@dtucker.net>
10460 Date:   Fri Mar 12 15:58:57 2021 +1100
10461
10462     Allow (but return EACCES) fstatat64 in sandbox.
10463     
10464     This is apparently used in some configurations of OpenSSL when glibc
10465     has getrandom().  bz#3276, patch from Kris Karas, ok djm@
10466
10467 commit 1cd67ee15ce3d192ab51be22bc4872a6a7a4b6d9
10468 Author: Darren Tucker <dtucker@dtucker.net>
10469 Date:   Fri Mar 12 13:16:10 2021 +1100
10470
10471     Move generic includes outside of ifdef.
10472     
10473     This ensures that the macros in log.h are defined in the case where
10474     either of --with-solaris-projects or --with-solaris-privs are used
10475     without --with-solaris-contracts.  bz#3278.
10476
10477 commit 2421a567a8862fe5102a4e7d60003ebffd1313dd
10478 Author: Darren Tucker <dtucker@dtucker.net>
10479 Date:   Wed Mar 10 17:41:21 2021 +1100
10480
10481     Import regenerated moduli file.
10482
10483 commit e99080c05d9d48dbbdb022538533d53ae1bd567d
10484 Author: millert@openbsd.org <millert@openbsd.org>
10485 Date:   Sat Mar 6 20:36:31 2021 +0000
10486
10487     upstream: Fix PRINT macro, the suffix param to sshlog() was missing.
10488     
10489     Also remove redundant __func__ prefix from PRINT calls as the macro already
10490     adds __FILE__, __func__ and __LINE__.  From Christos Zoulas. OK dtucker@
10491     
10492     OpenBSD-Commit-ID: 01fdfa9c5541151b5461d9d7d6ca186a3413d949
10493
10494 commit 160db17fc678ceb5e3fd4a7e006cc73866f484aa
10495 Author: djm@openbsd.org <djm@openbsd.org>
10496 Date:   Wed Mar 3 22:41:49 2021 +0000
10497
10498     upstream: don't sshbuf_get_u32() into an enum; reported by goetze
10499     
10500     AT dovetail.com via bz3269
10501     
10502     OpenBSD-Commit-ID: 99a30a8f1df9bd72be54e21eee5c56a0f050921a
10503
10504 commit cffd033817a5aa388764b6661855dcdaabab0588
10505 Author: sthen@openbsd.org <sthen@openbsd.org>
10506 Date:   Wed Mar 3 21:40:16 2021 +0000
10507
10508     upstream: typo in other_hostkeys_message() display output, ok djm
10509     
10510     OpenBSD-Commit-ID: 276f58afc97b6f5826e0be58380b737603dbf5f5
10511
10512 commit 7fe141b96b13bd7dc67ca985e14d55b9bd8a03fd
10513 Author: djm@openbsd.org <djm@openbsd.org>
10514 Date:   Wed Mar 3 08:42:52 2021 +0000
10515
10516     upstream: needs FILE*; from Mike Frysinger
10517     
10518     OpenBSD-Commit-ID: dddb3aa9cb5792eeeaa37a1af67b5a3f25ded41d
10519
10520 commit d2afd717e62d76bb41ab5f3ab4ce6f885c8edc98
10521 Author: Damien Miller <djm@mindrot.org>
10522 Date:   Tue Mar 2 21:31:47 2021 +1100
10523
10524     update depend
10525
10526 commit f0c4eddf7cf224ebcac1f07ac8afdb30c6e9fe0a
10527 Author: Damien Miller <djm@mindrot.org>
10528 Date:   Tue Mar 2 21:30:14 2021 +1100
10529
10530     update relnotes URL
10531
10532 commit 67a8bb7fe62a381634db4c261720092e7d514a3d
10533 Author: Damien Miller <djm@mindrot.org>
10534 Date:   Tue Mar 2 21:29:54 2021 +1100
10535
10536     update RPM spec version numbers
10537
10538 commit 0a4b23b11b9a4e6eec332dd5c6ab2ac6f62aa164
10539 Author: djm@openbsd.org <djm@openbsd.org>
10540 Date:   Tue Mar 2 01:48:18 2021 +0000
10541
10542     upstream: openssh-8.5
10543     
10544     OpenBSD-Commit-ID: 185e85d60fe042b8f8fa1ef29d4ef637bdf397d6
10545
10546 commit de3866383b6720ad4cad83be76fe4c8aa111a249
10547 Author: Darren Tucker <dtucker@dtucker.net>
10548 Date:   Mon Mar 1 21:13:24 2021 +1100
10549
10550     Only upload config logs if configure fails.
10551
10552 commit 85ff2a564ce838f8690050081176c1de1fb33116
10553 Author: dtucker@openbsd.org <dtucker@openbsd.org>
10554 Date:   Sun Feb 28 22:56:30 2021 +0000
10555
10556     upstream: Add %k to list of keywords. From
10557     
10558     =?UTF-8?q?=20Eero=20H=C3=A4kkinenvia=20bz#3267?=
10559     MIME-Version: 1.0
10560     Content-Type: text/plain; charset=UTF-8
10561     Content-Transfer-Encoding: 8bit
10562     
10563     OpenBSD-Commit-ID: 9c87f39a048cee2a7d1c8bab951b2f716256865e
10564
10565 commit e774bac35933e71f924f4301786e7fb5bbe1422f
10566 Author: dtucker@openbsd.org <dtucker@openbsd.org>
10567 Date:   Sun Feb 28 01:50:47 2021 +0000
10568
10569     upstream: Do not try to reset signal handler for signal 0 in
10570     
10571     subprocess. Prevents spurious debug message.  ok djm@
10572     
10573     OpenBSD-Commit-ID: 7f9785e292dcf304457566ad4637effd27ad1d46
10574
10575 commit 351c5dbbd74ce300c4f058112f9731c867c6e225
10576 Author: djm@openbsd.org <djm@openbsd.org>
10577 Date:   Sat Feb 27 23:42:37 2021 +0000
10578
10579     upstream: fix alphabetic ordering of options; spotted by Iain Morgan
10580     
10581     OpenBSD-Commit-ID: f955fec617d74af0feb5b275831a9fee813d7ad5
10582
10583 commit 0d1c9dbe578597f8d45d3ac7690df10d32d743e5
10584 Author: Darren Tucker <dtucker@dtucker.net>
10585 Date:   Sat Feb 27 12:25:25 2021 +1100
10586
10587     zlib is now optional.
10588
10589 commit b7c6ee7b437d9adfd19ef49d6c0f19f13f26f9b3
10590 Author: Jeffrey H. Johnson <61629094+johnsonjh@users.noreply.github.com>
10591 Date:   Sat Feb 27 01:04:58 2021 +0000
10592
10593     Fix punctuatio and typo in README.md.
10594     
10595     Some very minor fixes, missing 's' and punctuation.
10596
10597 commit 6248b86074804983e8f7a2058856a516dbfe2924
10598 Author: Damien Miller <djm@mindrot.org>
10599 Date:   Fri Feb 26 16:45:50 2021 +1100
10600
10601     Revert "ssh: optional bind interface if bind address specified."
10602     
10603     This reverts commit 5a878a71a3528c2626aa1d331934fd964782d41c.
10604     
10605     Apologies - I accidentally pushed this.
10606
10607 commit 493339a940b13be6071629c3c2dd5a3b6fc17023
10608 Author: Damien Miller <djm@mindrot.org>
10609 Date:   Fri Feb 26 15:45:38 2021 +1100
10610
10611     detech BSD libc hash functions in libbsd / libmd
10612     
10613     Some Linux distributions are shipping the BSD-style hashing functions
10614     (e.g. SHA256Update) in libbsd and/or libmd. Detect this situation to
10615     avoid header/replacement clashes later. ok dtucker@
10616
10617 commit 5a878a71a3528c2626aa1d331934fd964782d41c
10618 Author: Dmitrii Turlupov <dturlupov@factor-ts.ru>
10619 Date:   Thu Feb 4 16:27:31 2021 +0300
10620
10621     ssh: optional bind interface if bind address specified.
10622     
10623     Allows the -b and -B options to be used together.
10624     For example, when the interface is in the VRF.
10625
10626 commit 1fe4d70df94d3bcc2b35fd57cad6b5fc4b2d7b16
10627 Author: djm@openbsd.org <djm@openbsd.org>
10628 Date:   Fri Feb 26 04:18:42 2021 +0000
10629
10630     upstream: remove this KEX fuzzer; it's awkward to use and doesn't play
10631     
10632     nice with popular fuzzing drivers like libfuzzer. AFAIK nobody has used it
10633     but me.
10634     
10635     OpenBSD-Regress-ID: cad919522b3ce90c147c95abaf81b0492ac296c9
10636
10637 commit 24a3a67bd7421740d08803b84bd784e764107928
10638 Author: Darren Tucker <dtucker@dtucker.net>
10639 Date:   Fri Feb 26 11:49:19 2021 +1100
10640
10641     Remove macos-11.00 PAM test target too.
10642     
10643     These are failing apparently due to some kind of infrastructure problem,
10644     making it look like every commit is busted.
10645
10646 commit 473201783f732ca8b0ec528b56aa55fa0d8cf717
10647 Author: djm@openbsd.org <djm@openbsd.org>
10648 Date:   Fri Feb 26 00:16:58 2021 +0000
10649
10650     upstream: a bit more debugging behind #ifdef DEBUG_SK
10651     
10652     OpenBSD-Commit-ID: d9fbce14945721061cb322f0084c2165d33d1993
10653
10654 commit fd9fa76a344118fe1ef10b9a6c9e85d39599e9a8
10655 Author: Darren Tucker <dtucker@dtucker.net>
10656 Date:   Fri Feb 26 01:15:10 2021 +1100
10657
10658     Remove macos-11.0 from the test target list.
10659     
10660     It has been consistently failing for the past few days with a github
10661     actions internal error.
10662
10663 commit 476ac8e9d33dbf96ef97aab812b8d7089d0cdc24
10664 Author: Philip Hands <phil@hands.com>
10665 Date:   Wed Feb 24 23:43:16 2021 +0100
10666
10667     tidy the $INSTALLKEY_SH code layout a little
10668     
10669     SSH-Copy-ID-Upstream: 78178aa5017222773e4c23d9001391eeaeca8983
10670
10671 commit 983e05ef3b81329d76d6a802b39ad0d1f637c06c
10672 Author: Jakub Jelen <jjelen@redhat.com>
10673 Date:   Tue Sep 29 10:02:45 2020 +0000
10674
10675     if unable to add a missing newline, fail
10676     
10677     SSH-Copy-ID-Upstream: 76b25e18f55499ea9edb4c4d6dc4a80bebc36d95
10678
10679 commit 3594b3b015f6014591da88ba71bf6ff010be7411
10680 Author: Philip Hands <phil@hands.com>
10681 Date:   Tue Oct 13 14:12:58 2020 +0200
10682
10683     use $AUTH_KEY_DIR, now that we have it
10684     
10685     since that was a change made since jjelen's commit was written
10686     
10687     also, quote the variables
10688     
10689     SSH-Copy-ID-Upstream: 588cd8e5cbf95f3443d92b9ab27c5d73ceaf6616
10690
10691 commit 333e25f7bc43cee6e36f766e39dad6f9918b318c
10692 Author: Jakub Jelen <jjelen@redhat.com>
10693 Date:   Tue Sep 29 10:00:01 2020 +0000
10694
10695     restorecon the correct directory
10696     
10697     if using different path for authorized_keys file
10698     
10699     SSH-Copy-ID-Upstream: 791a3df47b48412c726bff6f7b1d190721e65d51
10700
10701 commit 9beeab8a37a49a9e3ffb1972fff6621ee5bd7a71
10702 Author: djm@openbsd.org <djm@openbsd.org>
10703 Date:   Thu Feb 25 03:27:34 2021 +0000
10704
10705     upstream: s/PubkeyAcceptedKeyTypes/PubkeyAcceptedAlgorithms/
10706     
10707     OpenBSD-Regress-ID: 3dbc005fa29f69dc23d97e433b6dffed6fe7cb69
10708
10709 commit 2dd9870c16ddbd83740adeead5030d6840288c8f
10710 Author: dtucker@openbsd.org <dtucker@openbsd.org>
10711 Date:   Wed Feb 24 23:12:35 2021 +0000
10712
10713     upstream: Rename pubkeyacceptedkeytypes to pubkeyacceptedalgorithms in
10714     
10715     test to match change to config-dump output.
10716     
10717     OpenBSD-Regress-ID: 74c9a4ad50306be873d032819d5e55c24eb74d5d
10718
10719 commit b9225c3a1c3f5827e31d5d64a71b8e0504a25619
10720 Author: dtucker@openbsd.org <dtucker@openbsd.org>
10721 Date:   Wed Feb 24 01:18:08 2021 +0000
10722
10723     upstream: Put obsolete aliases for hostbasedalgorithms and
10724     
10725     pubkeyacceptedalgorithms after their current names so that the config-dump
10726     mode finds and uses the current names.  Spotted by Phil Pennock.
10727     
10728     OpenBSD-Commit-ID: 5dd10e93cccfaff3aaaa09060c917adff04a9b15
10729
10730 commit 8b8b60542d6652b2c91e0ef9e9cc81bcb65e6b42
10731 Author: djm@openbsd.org <djm@openbsd.org>
10732 Date:   Tue Feb 23 21:55:08 2021 +0000
10733
10734     upstream: lots more s/key types/signature algorithms/ mostly in
10735     
10736     HostbasedAcceptedAlgorithms and HostKeyAlgorithms; prompted by Jakub Jelen
10737     
10738     OpenBSD-Commit-ID: 3f719de4385b1a89e4323b2549c66aae050129cb
10739
10740 commit 0aeb508aaabc4818970c90831e3d21843c3c6d09
10741 Author: djm@openbsd.org <djm@openbsd.org>
10742 Date:   Tue Feb 23 21:50:18 2021 +0000
10743
10744     upstream: Correct reference to signature algorithms as keys; from
10745     
10746     Jakub Jelen
10747     
10748     OpenBSD-Commit-ID: 36f7ecee86fc811aa0f8e21e7a872eee044b4be5
10749
10750 commit f186a020f2ba5f9c462a23293750e29ba0a746b1
10751 Author: Darren Tucker <dtucker@dtucker.net>
10752 Date:   Tue Feb 23 16:05:22 2021 +1100
10753
10754     Add a couple more test VMs.
10755
10756 commit ffcdd3d90e74176b3bb22937ad1f65a6c1cd3f9d
10757 Author: Darren Tucker <dtucker@dtucker.net>
10758 Date:   Mon Feb 22 08:09:27 2021 +1100
10759
10760     Valgrind test: split and move up list.
10761     
10762     Since the valgrind test takes so long it approaches the limit allowed by
10763     github, move it to the head of the list so it's the first one started and
10764     split the longest tests out into a second instance that runs concurrently
10765     with the first.
10766
10767 commit c3b1636770785cc2830dedd0f22ef7d3d3491d6d
10768 Author: djm@openbsd.org <djm@openbsd.org>
10769 Date:   Tue Feb 23 00:05:31 2021 +0000
10770
10771     upstream: warn when the user specifies a ForwardAgent path that does
10772     
10773     not exist and exit if ExitOnForwardFailure is set; bz3264
10774     
10775     OpenBSD-Commit-ID: 72f7875865e723e464c71bf8692e83110699bf26
10776
10777 commit 5fcb0514949d61aadaf4a89cf16eb78fb47491ec
10778 Author: Darren Tucker <dtucker@dtucker.net>
10779 Date:   Sat Feb 20 13:34:02 2021 +1100
10780
10781     Disable rlimit sandbox, doesn't work with valgrind
10782     
10783     Only run regress tests, runing unit tests as well makes it run longer
10784     than allowed y github.
10785
10786 commit bb0b9bf45396c19486080d3eb0a159f94de7e6ba
10787 Author: Darren Tucker <dtucker@dtucker.net>
10788 Date:   Sat Feb 20 13:06:25 2021 +1100
10789
10790     Upload valgrind logs on failure.
10791
10792 commit ebb3b75e974cb241c6b9b9f5881b09c7bd32b651
10793 Author: Darren Tucker <dtucker@dtucker.net>
10794 Date:   Fri Feb 19 22:18:50 2021 +1100
10795
10796     Rename "vm" to "os" in selfhosted to match c-cpp.
10797     
10798     Should make it easier to share code or maybe merge at some point.
10799
10800 commit 76c0be0fe0465cb2b975dbd409f8d38b55e55bcb
10801 Author: Darren Tucker <dtucker@dtucker.net>
10802 Date:   Fri Feb 19 22:15:22 2021 +1100
10803
10804     Upload regress failure logs in c-cpp too.
10805
10806 commit 8751b6c3136f5225c40f41bbf29aa29e15795f6e
10807 Author: Darren Tucker <dtucker@dtucker.net>
10808 Date:   Fri Feb 19 22:13:36 2021 +1100
10809
10810     Comment out Solaris 64bit PAM build...
10811     
10812     until I can figure out why it's failing.
10813
10814 commit e9f6d563c06886b277c6b9abafa99fa80726dc48
10815 Author: Darren Tucker <dtucker@dtucker.net>
10816 Date:   Fri Feb 19 10:20:17 2021 +1100
10817
10818     Actually run Valgrind tests.
10819
10820 commit 41d232e226624f1a81c17091c36b44c9010aae62
10821 Author: Darren Tucker <dtucker@dtucker.net>
10822 Date:   Fri Feb 19 10:16:56 2021 +1100
10823
10824     Add test against Valgrind.
10825
10826 commit e6528d91f12fba05f0ea64224091c9d0f38bdf1d
10827 Author: Darren Tucker <dtucker@dtucker.net>
10828 Date:   Thu Feb 18 16:30:01 2021 +1100
10829
10830     Add fbsd12 test target.
10831
10832 commit 6506cb2798d98ff03a7cc06567c392a81f540680
10833 Author: Darren Tucker <dtucker@dtucker.net>
10834 Date:   Thu Feb 18 15:21:13 2021 +1100
10835
10836     Remove unused arg.
10837
10838 commit 93c31a623973b0fad508214593aab6ca94b11dcb
10839 Author: Darren Tucker <dtucker@dtucker.net>
10840 Date:   Thu Feb 18 14:54:07 2021 +1100
10841
10842     Add DEBUG_SK to kitchensink builds.
10843
10844 commit 65085740d3574eeb3289d592f042df62c2689bb0
10845 Author: Darren Tucker <dtucker@dtucker.net>
10846 Date:   Thu Feb 18 14:53:14 2021 +1100
10847
10848     Add bbone test target (arm32).
10849
10850 commit 63238f5aed66148b8d6ca7bd5fb347d624200155
10851 Author: djm@openbsd.org <djm@openbsd.org>
10852 Date:   Thu Feb 18 02:49:35 2021 +0000
10853
10854     upstream: Fix the hostkeys rotation extension documentation
10855     
10856     The documentation was lacking the needed want-reply field in the initial
10857     global request.
10858     
10859     https://github.com/openssh/openssh-portable/pull/218 by dbussink
10860     
10861     OpenBSD-Commit-ID: 051824fd78edf6d647a0b9ac011bf88e28775054
10862
10863 commit 34c5ef6e2d06d9f0e20cb04a9aebf67a6f96609a
10864 Author: djm@openbsd.org <djm@openbsd.org>
10865 Date:   Thu Feb 18 02:15:07 2021 +0000
10866
10867     upstream: make names in function prototypes match those in
10868     
10869     definition from https://github.com/openssh/openssh-portable/pull/225 by
10870     ZenithalHourlyRate
10871     
10872     OpenBSD-Commit-ID: 7c736307bf3f2c7cb24d6f82f244eee959485acd
10873
10874 commit 88e3d4de31ab4f14cac658e9e0c512043b15b146
10875 Author: djm@openbsd.org <djm@openbsd.org>
10876 Date:   Thu Feb 18 02:13:58 2021 +0000
10877
10878     upstream: unbreak SK_DEBUG builds
10879     
10880     from https://github.com/openssh/openssh-portable/pull/225 by
10881     ZenithalHourlyRate
10882     
10883     OpenBSD-Commit-ID: 28d7259ce1b04d025411464decfa2f1a097b43eb
10884
10885 commit 788cbc5b74a53956ba9fff11e1ca506271a3597f
10886 Author: djm@openbsd.org <djm@openbsd.org>
10887 Date:   Thu Feb 18 00:30:17 2021 +0000
10888
10889     upstream: sftp-server: implement limits@openssh.com extension
10890     
10891     This is a simple extension that allows the server to clearly
10892     communicate transfer limits it is imposing so the client doesn't
10893     have to guess, or force the user to manually tune.  This is
10894     particularly useful when an attempt to use too large of a value
10895     causes the server to abort the connection.
10896     
10897     Patch from Mike Frysinger; ok dtucker@
10898     
10899     OpenBSD-Commit-ID: f96293221e5aa24102d9bf30e4f4ef04d5f4fb51
10900
10901 commit 324449a68d510720d0e4dfcc8e9e5a702fe6a48f
10902 Author: Damien Miller <djm@mindrot.org>
10903 Date:   Thu Feb 18 12:06:25 2021 +1100
10904
10905     support OpenSSL 3.x cipher IV API change
10906     
10907     OpenSSL renamed the "get current CIPHER_CTX" IV operation in 3.x.
10908     This uses the new name if available.
10909     
10910     https://github.com/openssl/openssl/issues/13411
10911     
10912     bz#3238 ok dtucker@
10913
10914 commit 845fe9811c047063d935eca89188ed55c993626b
10915 Author: Damien Miller <djm@mindrot.org>
10916 Date:   Thu Feb 18 11:25:38 2021 +1100
10917
10918     prefer login_getpwclass() to login_getclass()
10919     
10920     FreeBSD has login_getpwclass() that does some special magic for
10921     UID=0. Prefer this to login_getclass() as its easier to emulate
10922     the former with the latter.
10923     
10924     Based on FreeBSD PR 37416 via Ed Maste; ok dtucker@
10925
10926 commit d0763c8d566119cce84d9806e419badf20444b02
10927 Author: Darren Tucker <dtucker@dtucker.net>
10928 Date:   Thu Feb 18 10:45:27 2021 +1100
10929
10930     Fixing quoting for installing moduli on target guest.
10931
10932 commit b3afc243bc820f323a09e3218e9ec8a30a3c1933
10933 Author: Darren Tucker <dtucker@dtucker.net>
10934 Date:   Thu Feb 18 10:27:16 2021 +1100
10935
10936     Install moduli on target not host.
10937
10938 commit f060c2bc85d59d111fa18a12eb3872ee4b9f7e97
10939 Author: Damien Miller <djm@mindrot.org>
10940 Date:   Thu Feb 18 10:33:58 2021 +1100
10941
10942     don't free string returned by login_getcapstr(3)
10943     
10944     OpenBSD and NetBSD require the caller to free strings returned
10945     bu the login_* functions, but FreeBSD requires that callers don't.
10946     
10947     Fortunately in this case, we can harmlessly leak as the process is
10948     about to exec the shell/command.
10949     
10950     From https://reviews.freebsd.org/D28617 via Ed Maste; ok dtucker@
10951
10952 commit bc9b0c25703215501da28aa7a6539f96c0fa656f
10953 Author: Darren Tucker <dtucker@dtucker.net>
10954 Date:   Thu Feb 18 10:10:00 2021 +1100
10955
10956     Skip unit tests on sol11 to speed things up.
10957
10958 commit 161873035c12cc22211fc73d07170ade47746bc5
10959 Author: Darren Tucker <dtucker@dtucker.net>
10960 Date:   Thu Feb 18 10:09:27 2021 +1100
10961
10962     Remove SKIP_UNIT as it needs to be a make arg.
10963
10964 commit 1c293868e4b4e8e74e3ea15b8dff90f6b089967a
10965 Author: Darren Tucker <dtucker@dtucker.net>
10966 Date:   Thu Feb 18 10:05:03 2021 +1100
10967
10968     Always intall moduli.
10969     
10970     Allows us to run tests without falling back to a fixed modulus.  Ensure that
10971     the directory exists.
10972
10973 commit 5c8f41ad100601ec2fdcbccdfe92890c31f81bbe
10974 Author: Darren Tucker <dtucker@dtucker.net>
10975 Date:   Thu Feb 18 09:59:09 2021 +1100
10976
10977     Quote SSHD_CONFOPTS in case it contains spaces.
10978
10979 commit 4653116c1f5384ea7006e6396d9b53c33d218975
10980 Author: Darren Tucker <dtucker@dtucker.net>
10981 Date:   Thu Feb 18 09:51:18 2021 +1100
10982
10983     Fix labels on targets (dots vs underscores).
10984
10985 commit 4512047f57ca3c6e8cd68f0cc69be59e98b25287
10986 Author: Darren Tucker <dtucker@dtucker.net>
10987 Date:   Wed Feb 17 21:47:48 2021 +1100
10988
10989     More compact representation of config matrix.
10990
10991 commit 0406cd09f05c2e419b113dd4c0eac8bc34ec915b
10992 Author: Darren Tucker <dtucker@dtucker.net>
10993 Date:   Wed Feb 17 21:19:18 2021 +1100
10994
10995     Skip unit tests on hosted VMs to speed things up.
10996
10997 commit 4582612e6147d766c336198c498740242fb8f1ec
10998 Author: Darren Tucker <dtucker@dtucker.net>
10999 Date:   Wed Feb 17 20:21:29 2021 +1100
11000
11001     Merge macos and ubuntu tests.
11002
11003 commit 09f4b84654b71099559492e9aed5e1a38bf24815
11004 Author: Darren Tucker <dtucker@dtucker.net>
11005 Date:   Wed Feb 17 18:41:30 2021 +1100
11006
11007     Convert most github hosted tests to new config structure.
11008
11009 commit 65380ff7e054be1454e5ab4fd7bb9c66f8fcbaa9
11010 Author: Darren Tucker <dtucker@dtucker.net>
11011 Date:   Wed Feb 17 18:27:36 2021 +1100
11012
11013     Only run selfhosted tests from selfhosted repo.
11014
11015 commit f031366535650b88248ed7dbf23033afdf466240
11016 Author: Darren Tucker <dtucker@dtucker.net>
11017 Date:   Fri Jan 15 14:11:43 2021 +1100
11018
11019     Add self-hosted runners for VMs of other platforms.
11020     
11021     Github only hosts a limited number of platforms, and the runner code
11022     is only supported on slightly wider range of platforms.  To increase
11023     our test coverage beyond that, we run the runner natively on a VM host,
11024     where it runs a jobs that boot VMs of other platforms, waits for them
11025     to come up then runs the build and test by ssh'ing into the guest.
11026     This means that the minimum dependencies for the guests are quite low
11027     (basically just sshd, a compiler and make).
11028     
11029     The interface to the VM host is fairly simple (basically 3 scripts:
11030     vmstartup, vmrun and vmshutdown), but those are specific to the VM host
11031     so are not in the public repo.  We also mount the working directory on the
11032     host via sshfs, so things like artifact upload by the runner also work.
11033     
11034     As part of this we are moving the per-test-target configs into a single
11035     place (.github/configs) where there will be referenced by a single short
11036     "config" key.  I plan to make the github-hosted runners use this too.
11037     
11038     The self-hosted runners are run off a private repo on github since that
11039     prevents third parties from accessing them[0], and since runner quota is
11040     limited on private repos, we avoid running the tests we run on the public
11041     repo.
11042     
11043     [0] https://docs.github.com/en/actions/hosting-your-own-runners/about-self-hosted-runners#self-hosted-runner-security-with-public-repositories
11044
11045 commit 64bbd7444d658ef7ee14a7ea5ccc7f5810279ee7
11046 Author: dtucker@openbsd.org <dtucker@openbsd.org>
11047 Date:   Wed Feb 17 03:59:00 2021 +0000
11048
11049     upstream: Make sure puttygen is new enough to successfully run the
11050     
11051     PuTTY interop tests, otherwise skip them.
11052     
11053     OpenBSD-Regress-ID: 34565bb50b8aec58331ed02a5e9e0a9a929bef51
11054
11055 commit da0a9afcc446a30ca49dd216612c41ac3cb1f2d4
11056 Author: markus@openbsd.org <markus@openbsd.org>
11057 Date:   Mon Feb 15 20:43:15 2021 +0000
11058
11059     upstream: ssh: add PermitRemoteOpen for remote dynamic forwarding
11060     
11061     with SOCKS ok djm@, dtucker@
11062     
11063     OpenBSD-Commit-ID: 64fe7b6360acc4ea56aa61b66498b5ecc0a96a7c
11064
11065 commit b696858a7f9db72a83d02cb6edaca4b30a91b386
11066 Author: markus@openbsd.org <markus@openbsd.org>
11067 Date:   Mon Feb 15 20:36:35 2021 +0000
11068
11069     upstream: factor out opt_array_append; ok djm@
11070     
11071     OpenBSD-Commit-ID: 571bc5dd35f99c5cf9de6aaeac428b168218e74a
11072
11073 commit ad74fc127cc45567e170e8c6dfa2cfd9767324ec
11074 Author: dlg@openbsd.org <dlg@openbsd.org>
11075 Date:   Mon Feb 15 11:09:22 2021 +0000
11076
11077     upstream: ProxyJump takes "none" to disable processing like
11078     
11079     ProxyCommand does
11080     
11081     ok djm@ jmc@
11082     
11083     OpenBSD-Commit-ID: 941a2399da2193356bdc30b879d6e1692f18b6d3
11084
11085 commit 16eacdb016ccf38dd9959c78edd3a6282513aa53
11086 Author: djm@openbsd.org <djm@openbsd.org>
11087 Date:   Fri Feb 12 03:49:09 2021 +0000
11088
11089     upstream: sftp: add missing lsetstat@openssh.com documentation
11090     
11091     patch from Mike Frysinger
11092     
11093     OpenBSD-Commit-ID: 9c114db88d505864075bfe7888b7c8745549715b
11094
11095 commit e04fd6dde16de1cdc5a4d9946397ff60d96568db
11096 Author: djm@openbsd.org <djm@openbsd.org>
11097 Date:   Fri Feb 12 03:14:18 2021 +0000
11098
11099     upstream: factor SSH_AGENT_CONSTRAIN_EXTENSION parsing into its own
11100     
11101     function and remove an unused variable; ok dtucker@
11102     
11103     OpenBSD-Commit-ID: e1a938657fbf7ef0ba5e73b30365734a0cc96559
11104
11105 commit 1bb130ed34721d46452529d094d9bbf045607d79
11106 Author: Darren Tucker <dtucker@dtucker.net>
11107 Date:   Thu Feb 11 10:18:05 2021 +1100
11108
11109     Add __NR_futex_time64 to seccomp sandbox.
11110     
11111     This is apparently needed for (some) 32 bit platforms with glibc 2.33.
11112     Patch from nix at esperi.org.uk and jjelen at redhat.com via bz#3260.
11113
11114 commit f88a7a431212a16e572ecabd559e632f369c363e
11115 Author: Darren Tucker <dtucker@dtucker.net>
11116 Date:   Sat Feb 6 09:37:01 2021 +1100
11117
11118     Add a hostname function for systems that don't have it.
11119     
11120     Some systems don't have a hostname command (it's not required by POSIX).
11121     The do have uname -n (which is), but as found by tim@ some others (eg
11122     UnixWare) do not report the FQDN from uname -n.
11123
11124 commit 5e385a71ef2317856f37c91a98658eb12eb5a89c
11125 Author: dtucker@openbsd.org <dtucker@openbsd.org>
11126 Date:   Fri Feb 5 22:03:40 2021 +0000
11127
11128     upstream: Roll back the hostname->uname change in rev 1.10. It turns
11129     
11130     out uname -n doesn't do what we need for some platforms in portable, so we'll
11131     fix the original problem (that some other platforms don't have hostname at
11132     all) by providing wrapper function to implement it.
11133     
11134     OpenBSD-Regress-ID: 827a707d6201d5a8e196a8c28aec1d2c76c52341
11135
11136 commit b446c214279de50ed8388e54897eb1be5281c894
11137 Author: dtucker@openbsd.org <dtucker@openbsd.org>
11138 Date:   Fri Feb 5 06:01:58 2021 +0000
11139
11140     upstream: hostname is not specified by POSIX but uname -n is, so use
11141     
11142     the latter for portability.  Patch from Geert Hendrickx via github PR#208.
11143     
11144     OpenBSD-Regress-ID: d6a79c7c4d141a0d05ade4a042eb57dddbce89f3
11145
11146 commit 1cb6ce98d658e5fbdae025a3bd65793980e3b5d9
11147 Author: David Carlier <devnexen@gmail.com>
11148 Date:   Sat Nov 21 12:22:23 2020 +0000
11149
11150     Using explicit_memset for the explicit_bzero compatibility layer.
11151     
11152     Favoriting the native implementation in this case.
11153
11154 commit 2e0beff67def2120f4b051b1016d7fbf84823e78
11155 Author: Luca Weiss <luca@z3ntu.xyz>
11156 Date:   Sun Nov 8 14:19:23 2020 +0100
11157
11158     Deny (non-fatal) statx in preauth privsep child.
11159
11160 commit a35d3e911e193a652bd09eed40907e3e165b0a7b
11161 Author: dtucker@openbsd.org <dtucker@openbsd.org>
11162 Date:   Fri Feb 5 02:20:23 2021 +0000
11163
11164     upstream: Remove debug message from sigchld handler. While this
11165     
11166     works on OpenBSD it can cause problems on other platforms.  From kircherlike
11167     at outlook.com via bz#3259, ok djm@
11168     
11169     OpenBSD-Commit-ID: 3e241d7ac1ee77e3de3651780b5dc47b283a7668
11170
11171 commit 69338ab46afe9e3dfb7762ad65351d854077c998
11172 Author: djm@openbsd.org <djm@openbsd.org>
11173 Date:   Tue Feb 2 22:36:59 2021 +0000
11174
11175     upstream: whitespace
11176     
11177     OpenBSD-Commit-ID: 544bb092e03fcbecb420196cd0f70af13ea868ad
11178
11179 commit f71219a01d8f71c4b3ed7e456337a84ddba1653e
11180 Author: djm@openbsd.org <djm@openbsd.org>
11181 Date:   Tue Feb 2 22:36:46 2021 +0000
11182
11183     upstream: fix memleaks in private key deserialisation; enforce more
11184     
11185     consistency between redundant fields in private key certificate and private
11186     key body; ok markus@
11187     
11188     OpenBSD-Commit-ID: dec344e414d47f0a7adc13aecf3760fe58101240
11189
11190 commit 3287790e78bf5b53c4a3cafb67bb5aa03e3910f0
11191 Author: djm@openbsd.org <djm@openbsd.org>
11192 Date:   Tue Feb 2 22:35:14 2021 +0000
11193
11194     upstream: memleak on error path; ok markus@
11195     
11196     OpenBSD-Commit-ID: 2091a36d6ca3980c81891a6c4bdc544e63cb13a8