1commit 449d25b4f8b8d3bb55a865ebcbec17b39b37c208 2Author: Damien Miller <djm@mindrot.org> 3Date: Mon Jul 6 17:56:53 2026 +1000 4 5 depend 6 7commit 0227fe4606ebf86b3f6f9b80af12e171eaa58416 8Author: Damien Miller <djm@mindrot.org> 9Date: Mon Jul 6 17:56:10 2026 +1000 10 11 crank version numbers 12 13commit 0210c7cc942ee54bd6a647d5732df9786c4b08d0 14Author: djm@openbsd.org <djm@openbsd.org> 15Date: Mon Jul 6 07:54:26 2026 +0000 16 17 upstream: openssh-10.4 18 19 OpenBSD-Commit-ID: ce7b0749e5139c70410ee92a13d368d7d34262b5 20 21commit 5d04ca6af739b82fd30d84d2783ca802ebfa1192 22Author: djm@openbsd.org <djm@openbsd.org> 23Date: Mon Jul 6 07:53:30 2026 +0000 24 25 upstream: Fix multiple RFC 4462 (GSSAPIAuthentication) compliance 26 27 problems 28 29 1) Remove an early failure return for GSSAPI authentication attempts 30 made for invalid accounts that yielded different behaviour for 31 valid vs invalid accounts. 32 33 2) Fix a situation where some GSSAPI requestes were not correctly 34 subjected to MaxAuthTries. 35 36 3) Fix a moderate pre-authentication resource DoS related to #2. 37 38 Add missing logging for error cases. 39 40 Report and fixes from Manfred Kaiser, milCERT AT 41 42 OpenBSD-Commit-ID: ca0acdd64eea435d6f89534538a9eb404a5629d3 43 44commit e8bdfb151a356d0171fea4194dd205fbb252be23 45Author: djm@openbsd.org <djm@openbsd.org> 46Date: Mon Jul 6 07:49:58 2026 +0000 47 48 upstream: fix ownership and lifetime of several bits of client 49 50 state that need to persist for the life of the connection, especially the 51 cached hostkey that was being incorrectly freed early on some paths, possibly 52 allowing its use after free. 53 54 Reported by Zhenpeng (Leo) Lin from depthfirst.com 55 56 OpenBSD-Commit-ID: faaa6ad72e7d69d41fa8b197b606265b7d9bc73f 57 58commit d43ba60c91cb323ca921049b7d43b1908c318454 59Author: djm@openbsd.org <djm@openbsd.org> 60Date: Mon Jul 6 07:44:48 2026 +0000 61 62 upstream: Fix cases in GSSAPI and keyboard-interactive 63 64 authentication where the minimum per-attempt delay was not being enforced. 65 66 Reported by Orange Cyberdefense Vulnerability Team 67 68 OpenBSD-Commit-ID: c40bd35cc2428fcaccad7a141703c28baa6da01e 69 70commit cf67d46cba77d493152830a108b5f294ee9c5140 71Author: dtucker@openbsd.org <dtucker@openbsd.org> 72Date: Sun Jul 5 02:46:44 2026 +0000 73 74 upstream: void functions should not return anything. Patch from Tim 75 76 Rice. 77 78 OpenBSD-Commit-ID: bb5021b2b45d9d3f54a012d569872805d107f59c 79 80commit 93d6348ae44491b7542d78c0d55da7130e9db017 81Author: djm@openbsd.org <djm@openbsd.org> 82Date: Sun Jul 5 00:16:21 2026 +0000 83 84 upstream: fix inverted test that broke ssh-add with keys on stdin. From 85 86 Laurence Tratt 87 88 OpenBSD-Commit-ID: bcef522cfa587c7cf035660bb347cff36b65bfbd 89 90commit aab5620a66777afbe9e0939b4961e5751d6e7938 91Author: Damien Miller <djm@mindrot.org> 92Date: Fri Jul 3 14:20:02 2026 +1000 93 94 grammar fix; from Daniel O'Connor 95 96commit c123ac1c579212c08c17d927cb8e379d45f9fccb 97Author: Damien Miller <djm@mindrot.org> 98Date: Fri Jul 3 14:16:29 2026 +1000 99 100 more config option details in README.privsep 101 102commit 3912be7baa05819c382ce0e5d0ef847c9d80f230 103Author: Damien Miller <djm@mindrot.org> 104Date: Fri Jul 3 14:10:16 2026 +1000 105 106 more README.privsep polish 107 108commit f80e6545ee9eb60b3fb8b0097fcc12aad47a54b4 109Author: Damien Miller <djm@mindrot.org> 110Date: Fri Jul 3 13:33:16 2026 +1000 111 112 tweak; from dlg@ 113 114commit 01ed1c648a2c42e85e73cac3b7647f1cddc4abba 115Author: Damien Miller <djm@mindrot.org> 116Date: Fri Jul 3 12:49:26 2026 +1000 117 118 tweak previous 119 120commit 85dcff277e7a5299ec13af12517aefb123b1aa95 121Author: Damien Miller <djm@mindrot.org> 122Date: Fri Jul 3 12:31:27 2026 +1000 123 124 revise README.privsep for multi-binary model 125 126 This rewrites most of the privsep description to more accurately capture 127 recent changes in how sshd managed privilege across its lifecycle, 128 including describing the roles of the sshd-session and sshd-auth 129 helper binaries. 130 131 Also 100% more ASCII art 132 133commit a5ecfdc21864b29ef9a939b9cfe7a2a8ffcdf439 134Author: Darren Tucker <dtucker@dtucker.net> 135Date: Thu Jul 2 10:05:43 2026 +1000 136 137 Need clang >= 19 for constexpr in hardened_malloc. 138 139commit c53864fc40045d0413c36a19ca784b1b2f985dd9 140Author: Darren Tucker <dtucker@dtucker.net> 141Date: Thu Jun 25 18:43:48 2026 +1000 142 143 Tabs -> spaces. 144 145commit 0a75a95d582028c5ce91f524c20365df9f2515f2 146Author: Zoltan Fridrich <zfridric@redhat.com> 147Date: Wed Apr 16 15:11:59 2025 +0200 148 149 Provide better error for non-supported private keys 150 151 Signed-off-by: Zoltan Fridrich <zfridric@redhat.com> 152 153commit 654e1a3e5b58029b05f1df0308e7e4d4407b37c2 154Author: djm@openbsd.org <djm@openbsd.org> 155Date: Wed Jul 1 01:14:39 2026 +0000 156 157 upstream: more missing mldsa44-ed25519, based on GHPR696 from Loganaden 158 159 Velvindron 160 161 OpenBSD-Commit-ID: f32e17df54fa66b0e936f1aeb3963f949e4a9bb8 162 163commit 088ca00b8f19a0257b2f869cb828ab75e99ab3a1 164Author: djm@openbsd.org <djm@openbsd.org> 165Date: Wed Jul 1 01:08:51 2026 +0000 166 167 upstream: whitespace 168 169 OpenBSD-Commit-ID: 730e54174b2182c7011cc87a0fdae595cd9bcc2d 170 171commit 0cdead097bde10712cd0635b5d350c16e07ba52a 172Author: djm@openbsd.org <djm@openbsd.org> 173Date: Wed Jul 1 01:06:54 2026 +0000 174 175 upstream: simplify SIGINFO output: remove list of active channels (too 176 177 verbose) and just display destination and connection duration; requested 178 deraadt@ 179 180 OpenBSD-Commit-ID: cb36192cd53483f8e452ea91bc42be7bbb2fffa3 181 182commit 55ffd11b88f073662cdf0c8c48fe0800b8a71fc4 183Author: djm@openbsd.org <djm@openbsd.org> 184Date: Wed Jul 1 00:52:31 2026 +0000 185 186 upstream: Tighten up the introduction a little: 187 188 Mention Match as a conditional directive (previously it only 189 mentioned Host) 190 191 Try to use consistent language in the introduction to refer to 192 configuration directives (previously it used "parameters" and 193 "keywords" interchangeably). 194 195 Mention that comments may appear at the end of the line too, and that 196 whitespace at the beginning/end of lines is not significant. 197 198 OpenBSD-Commit-ID: e08f34413eeced47478c14d5005726f9bdd5d80e 199 200commit 8b05bbeb293c5f777915e37e9ed43a06fb8e7614 201Author: dtucker@openbsd.org <dtucker@openbsd.org> 202Date: Wed Jul 1 00:52:23 2026 +0000 203 204 upstream: Move negative-FD checks to before first use. CID 909998, 205 206 ok djm@ 207 208 OpenBSD-Commit-ID: f0208911d27fd5bd66cd608c7b6fb5a36002d6a5 209 210commit 296393226e4849010516150f3e19dbfc68789503 211Author: djm@openbsd.org <djm@openbsd.org> 212Date: Wed Jul 1 00:04:46 2026 +0000 213 214 upstream: ssh -o doesn't support Host or Include options, they are only 215 216 valid in the config file. bz3968 from xspielinbox 217 218 OpenBSD-Commit-ID: cbecf11f2eea63e3cf6752e9bbe59091ba60cd32 219 220commit fe85df40aed36a49b9883186a123a1435c17f895 221Author: djm@openbsd.org <djm@openbsd.org> 222Date: Tue Jun 30 23:55:32 2026 +0000 223 224 upstream: mention mldsa44-ed25519 in usage(); based on GHPR695 from 225 226 Loganaden Velvindron 227 228 OpenBSD-Commit-ID: 4af2400312b6ca232a68a758160ca5c64ca6a168 229 230commit aabe6d25498d9dc69fa21fbb14352fd4b3d5e9fa 231Author: tb@openbsd.org <tb@openbsd.org> 232Date: Tue Jun 30 03:42:53 2026 +0000 233 234 upstream: ssherr-libcrypto: avoid use of deprecated 235 236 ERR_load_crypto_strings() 237 238 Follow regress and use unchecked OPENSSL_init_crypto() because 239 ERR_load_crypto_strings() has been deprecated in OpenSSL 1.1.0. 240 This call can in principle fail, in which case there's a fallback 241 to generic error strings. 242 243 There is still use of OpenSSL 3.x-deprecated API in here. That's 244 a problem for someone else to solve. 245 246 ok djm 247 248 OpenBSD-Commit-ID: 3e9dc94caa83b361775b83a92425e858f8680c05 249 250commit dcba967d3f39f89d17634e550e1741b2b91f4c5c 251Author: djm@openbsd.org <djm@openbsd.org> 252Date: Tue Jun 30 02:30:19 2026 +0000 253 254 upstream: another ruser_name/ruser_group vs attrib_to_stat() ordering 255 256 screwup. Coverity CID 910530 via dtucker@ 257 258 OpenBSD-Commit-ID: d8c4656119f09304e79fcf2ab32299ed68006a29 259 260commit 710cd5abcea22aeddbd5d5d661c224eaa05e47b9 261Author: djm@openbsd.org <djm@openbsd.org> 262Date: Tue Jun 30 00:10:48 2026 +0000 263 264 upstream: set FD_CLOEXEC on the fds between sftp and its ssh 265 266 process, avoids risk of subcommands that write on odd fds breaking the 267 connection. GHPR693 from Manuel Einfalt; feedback deraadt@ ok dtucker@ 268 269 OpenBSD-Commit-ID: 91b12cd66580dab6b3bfe5e507a1a8310c8f9149 270 271commit fa447bd5836f6d1c742c543207a3a6ec2909da75 272Author: djm@openbsd.org <djm@openbsd.org> 273Date: Tue Jun 30 00:09:01 2026 +0000 274 275 upstream: check key and IV length received in privsep state 276 277 transfer exactly match the expected sizes for the selected cipher; partially 278 redundant to similar checks in cipher_init(), but nice to be more exact. 279 280 GHPR from jmestwa-coder; ok dtucker@ 281 282 OpenBSD-Commit-ID: d4a9deef194cc44189e835ac59b7b800b9b5c281 283 284commit 23a7c4d1284694f9973ebdae7884cd25d33e5cf8 285Author: djm@openbsd.org <djm@openbsd.org> 286Date: Mon Jun 29 23:00:00 2026 +0000 287 288 upstream: revert bits that weren't ready for commit yet 289 290 OpenBSD-Commit-ID: ee8a219f02db32778444356ad2d93b983a38a704 291 292commit b9d2162e4a919168bbd983fa68663f813b534034 293Author: djm@openbsd.org <djm@openbsd.org> 294Date: Mon Jun 29 22:56:44 2026 +0000 295 296 upstream: Move user/group name lookup to correct place; coverity 297 298 CID 910530 via dtucker@ 299 300 OpenBSD-Commit-ID: 03ba9f8c720eea38436e4fef4c40814eae1b1fe3 301 302commit 0875a78bb7228986c2e89ef2f5fe041d2ab27ed7 303Author: djm@openbsd.org <djm@openbsd.org> 304Date: Mon Jun 29 09:14:25 2026 +0000 305 306 upstream: fix ineffective max file size check when loading 307 308 blobs/keys from files and add another one on a patch that was not covered by 309 the existing ones. From Tess Gauthier via bz3969 and bz3970 310 311 OpenBSD-Commit-ID: c0dec6c587853349113df85b6dc528dc15079af0 312 313commit 5d8e42933ab3f1a1c17608c32d680300f5524a99 314Author: djm@openbsd.org <djm@openbsd.org> 315Date: Mon Jun 29 08:59:31 2026 +0000 316 317 upstream: check strdup() return to avoid NULL deref on failure. 318 319 bz3948 from RuiHe-MO 320 321 OpenBSD-Commit-ID: 2b1fbfb2e1f3359150feadfdf05acaa1c7d211e8 322 323commit 0eaeddeefa4bd9b1241788b27ed2967ab596c759 324Author: djm@openbsd.org <djm@openbsd.org> 325Date: Mon Jun 29 08:57:06 2026 +0000 326 327 upstream: s/calloc/xcalloc/ to reduce noise from AI bug detectors 328 329 that don't understand context 330 331 OpenBSD-Commit-ID: dcef5b1804620f2aed108267bbf5023a81230e14 332 333commit a9cb2e30d3a50ba6a24047d87cd80e4b4a18b5ff 334Author: djm@openbsd.org <djm@openbsd.org> 335Date: Mon Jun 29 08:48:22 2026 +0000 336 337 upstream: fix "ls -n", which was still displaying user/group names 338 339 rather than numeric uids/gids. Based on patch from Tamilan in bz3953 340 341 OpenBSD-Commit-ID: 65dd2ecb870b727e872cf9df544f8767426d2cc0 342 343commit 3c3226f79cf4fa1c0436a91768760b92df87ffab 344Author: djm@openbsd.org <djm@openbsd.org> 345Date: Mon Jun 29 08:21:50 2026 +0000 346 347 upstream: move documentation of the Include directive to near the 348 349 start of the options list, alongside that for Match and Host which are 350 similar insofar as they all affect configuration parsing rather than altering 351 the configuration directly. from xspielinbox via bz3968 352 353 OpenBSD-Commit-ID: 1cde8af8d40dbbe3ea49cf56c5d408946c875230 354 355commit ce697f1eaf76a3d8d700894726c7a826af393ed5 356Author: djm@openbsd.org <djm@openbsd.org> 357Date: Mon Jun 29 08:19:21 2026 +0000 358 359 upstream: mention RefuseConnection, VersionAddendum and 360 361 WarnWeakCrypto along with other options. from xspielinbox via bz3968 362 363 OpenBSD-Commit-ID: 5d4ef72dc703a74e64175e4611961ea338379d66 364 365commit 849748c6e5d79274020489b03d068361d98ff42f 366Author: djm@openbsd.org <djm@openbsd.org> 367Date: Mon Jun 29 08:16:46 2026 +0000 368 369 upstream: correct directive name (s/Host/Match) in error message 370 371 from xspielinbox via bz3968 372 373 OpenBSD-Commit-ID: 3aec5cc9d349bcef12abc951490474f1217b4aeb 374 375commit c8716138281d3dac33c2c7e98615c52d2b606d85 376Author: djm@openbsd.org <djm@openbsd.org> 377Date: Mon Jun 29 07:56:19 2026 +0000 378 379 upstream: report errors in fill_default_options() properly, based on 380 381 GHPR649 by Zoltán Fridrich 382 MIME-Version: 1.0 383 Content-Type: text/plain; charset=UTF-8 384 Content-Transfer-Encoding: 8bit 385 386 OpenBSD-Commit-ID: 10137e31df74c3100e3abc7d008b1645ca5b45af 387 388commit d9df26d7e93f76bc5b1c0cbd31cde0af00ccbbc0 389Author: djm@openbsd.org <djm@openbsd.org> 390Date: Mon Jun 29 07:46:22 2026 +0000 391 392 upstream: don't use deprecated ERR_load_crypto_strings() 393 394 GHPR650 from Mike Frysinger 395 396 OpenBSD-Regress-ID: bfe86d9be1db4569c091f3d763cba04ddbb86ec0 397 398commit 365522938f7a44df993c38f8a51836bab3628211 399Author: Damien Miller <djm@mindrot.org> 400Date: Mon Jun 29 17:21:01 2026 +1000 401 402 don't leak rrset on fail; GHPR681 from metsw24-max 403 404 ok dtucker 405 406commit fceb78d14abc710f2bab31f28d321a9bb2476781 407Author: Damien Miller <djm@mindrot.org> 408Date: Mon Jun 29 17:18:58 2026 +1000 409 410 check sockaddr length; GHPR681 from metsw24-max 411 412 ok dtucker 413 414commit 9d5238f44dda8d9455c085f51f2fb00774f69d38 415Author: Damien Miller <djm@mindrot.org> 416Date: Mon Jun 29 17:17:28 2026 +1000 417 418 return result of raise(2); GHPR681 from metsw24-max 419 420 ok dtucker 421 422commit fa5416dec1232dc67d979d28942344cdc8086ae6 423Author: Damien Miller <djm@mindrot.org> 424Date: Mon Jun 29 17:16:55 2026 +1000 425 426 use size_t for lengths; GHPR681 from metsw24-max 427 428 ok dtucker 429 430commit ef6bef31de60b077cb7da954b202d65156fd510e 431Author: Damien Miller <djm@mindrot.org> 432Date: Mon Jun 29 17:15:10 2026 +1000 433 434 fix leak of error path; GHPR681 from metsw24-max 435 436 ok dtucker 437 438commit 84365594f44423b69392f295f82e9cbcdd8c2640 439Author: djm@openbsd.org <djm@openbsd.org> 440Date: Mon Jun 29 07:36:37 2026 +0000 441 442 upstream: don't print an error message when trying to load a host 443 444 private key when PKCS#11 keys are in use, as these don't need the private 445 half on the filesystem. GHPR664 from Ingo Franzki 446 447 OpenBSD-Commit-ID: c93352e218cb1b74af04e8dc3a42eddec1f312c0 448 449commit d6a589d3c8530375c2d56bcfb914575a7fcd3715 450Author: djm@openbsd.org <djm@openbsd.org> 451Date: Mon Jun 29 02:13:05 2026 +0000 452 453 upstream: make ssh-add open it's connection to the agent after it 454 455 has finished getopt() processing and not before. This allows the -v flag to 456 work properly. 457 458 ok jca@ 459 460 OpenBSD-Commit-ID: b9ac820018875aeb5b43ae2119a70c16a5cd2aef 461 462commit 1cfbed8a131de166d86fbf5ac3245d55046cfab3 463Author: djm@openbsd.org <djm@openbsd.org> 464Date: Mon Jun 29 02:08:55 2026 +0000 465 466 upstream: Fix bounds checking when signing messages of length 467 468 greater than will fit in a size_t. In OpenSSH, messages sizes are bounded by 469 SSHBUF_SIZE_MAX so this was unreachable. From Swival scanner. 470 471 OpenBSD-Commit-ID: 31ab874abe21a528fa995d78023c5ad9444a31e1 472 473commit c58b363e4f7c10134b583fc92556229bf6c2c16b 474Author: djm@openbsd.org <djm@openbsd.org> 475Date: Mon Jun 29 01:58:29 2026 +0000 476 477 upstream: fix ECDSA order check for curves with cofactor != 1. All 478 479 supported EC curves have cofactor 1, so this is a nop. From Swival scanner 480 481 OpenBSD-Commit-ID: 4ae44cc97714fcb6d19fa56714ede56c1ef521e1 482 483commit c1cebbc7c69acfe5df07b4a95e4c32cebc3e105a 484Author: djm@openbsd.org <djm@openbsd.org> 485Date: Mon Jun 29 01:53:21 2026 +0000 486 487 upstream: avoid situation where sftp_download() could get stuck in 488 489 a loop if a broken server repeatedly returned zero length while reading a 490 file. Identified by Swival scanner 491 492 OpenBSD-Commit-ID: 53f1de5065ff01952d2abb51747c2418ce21cd96 493 494commit 1b39f39657d2e58f8ec57341581a39bbf0be645b 495Author: djm@openbsd.org <djm@openbsd.org> 496Date: Mon Jun 29 01:47:21 2026 +0000 497 498 upstream: avoid download to server-controlled path when performing 499 500 download on the commandline. From Swival scanner 501 502 OpenBSD-Commit-ID: d1b2c44305fdfe6d51eed9ecc727e59478bf311f 503 504commit 36480181fa22f98e180b4f9e10203480c0346c78 505Author: djm@openbsd.org <djm@openbsd.org> 506Date: Sun Jun 28 23:47:16 2026 +0000 507 508 upstream: resist that return ".." via remote glob during 509 510 remote/remote copies, similar to fixes for bz3871 for remote/local copies. 511 From Swival scanner 512 513 OpenBSD-Commit-ID: c0c20a1b746db55c08e53658bf21ea9405b300a5 514 515commit 8dec7df34b38ea510b5548a020f2664e59700d23 516Author: djm@openbsd.org <djm@openbsd.org> 517Date: Sun Jun 28 23:31:28 2026 +0000 518 519 upstream: avoid possible NULL deref; from Swival scanner 520 521 OpenBSD-Commit-ID: 62ea8e12b7cddee933596e72f8ab0f7364147c0f 522 523commit 09c2eeb9c8a0f42716d67548c75a6f4870732caa 524Author: djm@openbsd.org <djm@openbsd.org> 525Date: Fri Jun 26 06:17:13 2026 +0000 526 527 upstream: mention that ssh-keyscan output is only as trustworthy as 528 529 the network between it and the SSH server; ok markus@ 530 531 OpenBSD-Commit-ID: 067845df7e8eb776408de5f23a2e6e7019945834 532 533commit 6f74eb3c56f8dc4886d2bc5b068c5bf82cb6db74 534Author: Darren Tucker <dtucker@dtucker.net> 535Date: Thu Jun 25 08:14:47 2026 +1000 536 537 Dropbear master -> main here too. 538 539commit b0894a23a6bcb4f008d119854cb520f0b44b0973 540Author: Darren Tucker <dtucker@dtucker.net> 541Date: Wed Jun 24 22:05:05 2026 +1000 542 543 Dropbear's master is now main. 544 545commit aa60cf3f41e89530448a720e08ec31a6d8ffd79e 546Author: dtucker@openbsd.org <dtucker@openbsd.org> 547Date: Wed Jun 24 11:59:09 2026 +0000 548 549 upstream: Avoid printf("%s", NULL) since it's not guaranteed to be safe 550 551 and will segfault on some -portable platforms. 552 553 OpenBSD-Commit-ID: b49d588f8becf6363305aac42d7d9660fc7fe3ba 554 555commit 7c70c3d352f7e8f16ed799f03957ee87840da4e6 556Author: Darren Tucker <dtucker@dtucker.net> 557Date: Wed Jun 24 19:22:36 2026 +1000 558 559 Fix handling of rh-allow-sha1-signatures on Cygwin 560 561 The format of openssl.cnf has changed, so append to it instead of trying 562 to insert into it. Test that openssl can sign RSA with SHA1 before 563 proceeding. 564 565commit a4c5d09657860cb8583e4cb176b2396fc8bdb523 566Author: Darren Tucker <dtucker@dtucker.net> 567Date: Wed Jun 24 19:05:12 2026 +1000 568 569 Make -j2 for faster builds. 570 571commit 110117accb95fc310a3923115e9316a9748ff6ae 572Author: Darren Tucker <dtucker@dtucker.net> 573Date: Wed Jun 24 19:04:48 2026 +1000 574 575 Set CYGWIN at top-level. 576 577 The ensures the symlinks created in any step (eg, logs) are native 578 symlinks and can be understood by the log upload step. 579 580commit 8058c5bdb507591b79ec926221fbe6fcc296d432 581Author: djm@openbsd.org <djm@openbsd.org> 582Date: Wed Jun 24 06:55:12 2026 +0000 583 584 upstream: mention a caveat regarding GSSAPIStrictAcceptorCheck in 585 586 some environments 587 588 OpenBSD-Commit-ID: aa7158d8f22cb34063c1c2d3cbcf30a9489847c2 589 590commit 87e21b16d033700819a1381b9a2bfa2f8b3a217d 591Author: djm@openbsd.org <djm@openbsd.org> 592Date: Wed Jun 24 06:53:57 2026 +0000 593 594 upstream: add some logging to make debugging interactive/bulk 595 596 classification mistakes easier next time (though I think we've got them all 597 now, really) 598 599 OpenBSD-Commit-ID: 5fe3dd4e76ffba787a423e301095d55cf5b0f0dc 600 601commit 162cb8721ca0fdb71aaf00688ac7d59a81fc8d5f 602Author: djm@openbsd.org <djm@openbsd.org> 603Date: Wed Jun 24 06:53:11 2026 +0000 604 605 upstream: add a missing channels type for bulk/interactive 606 607 classification bz3972; ok dtucker@ 608 609 OpenBSD-Commit-ID: 9c9442ea14be74877e2c876b1fe9fa20d158dd97 610 611commit 5dac5a9252074fb39da617ffc123830266614a4c 612Author: Darren Tucker <dtucker@dtucker.net> 613Date: Wed Jun 24 12:19:53 2026 +1000 614 615 Set build options in /etc/mk.conf once at startup. 616 617commit 512bfedf61129788d680210081e89843858dde85 618Author: dtucker@openbsd.org <dtucker@openbsd.org> 619Date: Mon Jun 22 12:28:48 2026 +0000 620 621 upstream: Check return values from malloc. 622 623 OpenBSD-Regress-ID: 28c8ab94a4fa5d047cec9c865b10bbf3c9ccf6d1 624 625commit e683097d90e4698893c86a6f61c8c994b68cbcc6 626Author: dtucker@openbsd.org <dtucker@openbsd.org> 627Date: Mon Jun 22 12:08:33 2026 +0000 628 629 upstream: Check return value of sscanf. 630 631 OpenBSD-Regress-ID: e06a8c769541b1aa7d663cc8859ddabd93847e81 632 633commit b88165a06c8e195f267909de002450245e60002e 634Author: tb@openbsd.org <tb@openbsd.org> 635Date: Sun Jun 21 19:23:56 2026 +0000 636 637 upstream: annotate tm_wday = -1 with /* sentinel for error */ per 638 639 timegm(3) manpage 640 641 suggested by deraadt 642 643 OpenBSD-Commit-ID: 2fa92f0b826f0ab9e5d1cb0b2243b8e2f80951b2 644 645commit 0d08d384a6783d3f3bc5a01d10015f527e0792ba 646Author: djm@openbsd.org <djm@openbsd.org> 647Date: Fri Jun 19 05:26:04 2026 +0000 648 649 upstream: remove cipher_set_keyiv() as nothing uses it from 650 651 Loganaden Velvindron 652 653 OpenBSD-Commit-ID: 2a6636388028e6f7aa6837d6484a369f3d9c0818 654 655commit 10715f25c40f5f7c670c341fadc52fbe1935db08 656Author: Darren Tucker <dtucker@dtucker.net> 657Date: Mon Jun 22 21:28:58 2026 +1000 658 659 Output Actions allowlist for uploading to Github. 660 661commit 01404fa5da11ed08c6ebecd09aaa3ebfbd79f206 662Author: Darren Tucker <dtucker@dtucker.net> 663Date: Mon Jun 22 19:00:15 2026 +1000 664 665 Add script to lookup and pin Actions to hashes. 666 667 Update recently changed Cygwin Actions and pin remaining unpinned ones. 668 669commit faa646a9bf6c8d0ec2d8a52dcd155979c8f7eb8e 670Author: El Mehdi Abenhazou <mehdiananas007@gmail.com> 671Date: Wed Jun 3 02:02:31 2026 +0100 672 673 ci: pin upstream.yml actions to full commit SHAs 674 675 Signed-off-by: El Mehdi Abenhazou <mehdiananas007@gmail.com> 676 677commit 983096a7b27eaf789b5ceb321867d4511ba779c3 678Author: El Mehdi Abenhazou <mehdiananas007@gmail.com> 679Date: Wed Jun 3 02:02:30 2026 +0100 680 681 ci: pin GitHub Actions to full commit SHAs 682 683 Pinning actions/checkout, actions/upload-artifact, and 684 cygwin/cygwin-install-action to their full commit SHA instead of 685 mutable branch/tag references (main, master). 686 687 Using mutable refs means a compromised or malicious update to the 688 action repository could silently alter the workflow behavior. 689 Pinning to SHA makes the exact version immutable and auditable. 690 691 Signed-off-by: El Mehdi Abenhazou <mehdiananas007@gmail.com> 692 693commit 0d156d385e1e9c31bd5fb3652cf620a1f51c9b19 694Author: dtucker@openbsd.org <dtucker@openbsd.org> 695Date: Tue Jun 16 22:27:10 2026 +0000 696 697 upstream: Factor out hex2bin into a shared helper function. 698 699 Replace sscanf %hhx (which is C99) with plain %x for better compatibility 700 in -portable. ok djm@ 701 702 OpenBSD-Regress-ID: 4d30bb27ffdf2154f1a9f2317df18d256717b300 703 704commit b9d134a0b16a1810e9bbfac5bc687f5dbc75e7fa 705Author: dtucker@openbsd.org <dtucker@openbsd.org> 706Date: Tue Jun 16 10:58:42 2026 +0000 707 708 upstream: Use awk instead of cut to help -portable. 709 710 Some platforms have size limits on cut. 711 712 OpenBSD-Regress-ID: fe871e8ed43fd92efb0df76f61c5cc9c5429ea82 713 714commit 60978ddb08701d409c8236765caab10d1acded1b 715Author: dtucker@openbsd.org <dtucker@openbsd.org> 716Date: Tue Jun 16 09:00:47 2026 +0000 717 718 upstream: Include stdarg.h for va_list (needed for xmalloc.h). 719 720 OpenBSD-Regress-ID: 34a6d5db48eec77f92f868093dfa0bfc10ae4622 721 722commit 3de49e0d281ac7efb766f06eb2942ae147f64bbb 723Author: dtucker@openbsd.org <dtucker@openbsd.org> 724Date: Tue Jun 16 08:15:35 2026 +0000 725 726 upstream: Include stdlib.h for malloc/free and sort headers. 727 728 OpenBSD-Regress-ID: 4f5f427b131f5d6b32ed107b9bef098153f768ce 729 730commit 61ca39c119108e95f94e3d914aa6fd79d99e288d 731Author: Darren Tucker <dtucker@dtucker.net> 732Date: Tue Jun 16 18:16:32 2026 +1000 733 734 Remove check for OpenSSL w/out AES192/256. 735 736 This was the case for some old Solaris versions, but the support for it 737 has long been removed from our compat layer so there's no point checking 738 for it. 739 740commit f433c09931665b1139dc9ef0951d3540242e4a38 741Author: djm@openbsd.org <djm@openbsd.org> 742Date: Mon Jun 15 06:36:52 2026 +0000 743 744 upstream: use different strategy to check whether keys are present or 745 746 absent in the agent; helps some -portable tests on platforms that have stupid 747 grep(1) 748 749 OpenBSD-Regress-ID: 0cee7ecc437eee7471dc6ccc3b3a0c2b60c1ad2d 750 751commit 860ed04158f2c6dc870ea7c98c23dcafc7772dd4 752Author: djm@openbsd.org <djm@openbsd.org> 753Date: Mon Jun 15 06:24:20 2026 +0000 754 755 upstream: avoid use of paste(1); helps portable 756 757 OpenBSD-Regress-ID: ce3ad41b34af9fc16af83e4711a62231ee52a95c 758 759commit f5f02aafe89971d838d7fbc6b0cf240cee4d48bc 760Author: Damien Miller <djm@mindrot.org> 761Date: Mon Jun 15 12:53:53 2026 +1000 762 763 another place mldsa-ed25519 keys need deactivation 764 765commit 1d6064d25fed17b184ead85ef6fddec1a2132c53 766Author: djm@openbsd.org <djm@openbsd.org> 767Date: Mon Jun 15 01:55:44 2026 +0000 768 769 upstream: fix multiple problems with testing hostkey types that are not 770 771 enabled by default. 772 773 1) Add all hostkey types in the "multiple hostkeys" subtest. 774 Previously known_hosts was accidentally clobbered, causing 775 only the last added hostkey type to be used. 776 2) Explicitly enable the hostkey types under test via 777 HostKeyAlgorithms 778 779 OpenBSD-Regress-ID: 8f12d18b79b5cc8a748e187a0e95529cd85a9dcc 780 781commit ebdaacf4907033af1cbf1fef593436081dcd67a7 782Author: Damien Miller <djm@mindrot.org> 783Date: Mon Jun 15 11:43:52 2026 +1000 784 785 bring back mlkem768x25519-sha256 stubs 786 787 should fix C89 compile 788 789commit b35a6a153f4164a56174e4795d4384867349e9aa 790Author: Damien Miller <djm@mindrot.org> 791Date: Sun Jun 14 20:32:12 2026 +1000 792 793 don't build ML-KEM/ML-DSA code with <C99 compilers 794 795commit 1c46384db91a724a214ce96297d64c7ea9274a4c 796Author: Damien Miller <djm@mindrot.org> 797Date: Sun Jun 14 20:24:25 2026 +1000 798 799 include includes.h 800 801commit ea505c83ecae67c66c020f03b964cf471055191e 802Author: Damien Miller <djm@mindrot.org> 803Date: Sun Jun 14 18:56:31 2026 +1000 804 805 provide a htobe32() replacement 806 807commit 8e0cb471774e39a308e41cf5890823dfb418fd5b 808Author: Damien Miller <djm@mindrot.org> 809Date: Sun Jun 14 15:02:24 2026 +1000 810 811 hook up new regress/unittests/crypto 812 813commit 5a474d1bf338a895ce5973883c2f79d766f7dd42 814Author: djm@openbsd.org <djm@openbsd.org> 815Date: Sun Jun 14 04:08:05 2026 +0000 816 817 upstream: unit and regression tests for composite PQ ML-DSA44/Ed25519 818 819 keys. 820 821 Includes a new unittests/crypto test that tests basic functionality 822 of the underlying crypto primitives against public test vectors 823 824 OpenBSD-Regress-ID: 4463b2e8adec391efa24a953f3c911b72892ca80 825 826commit db1bad146ff3e9aa8e2e8eac926b185870417b2f 827Author: djm@openbsd.org <djm@openbsd.org> 828Date: Sun Jun 14 04:16:19 2026 +0000 829 830 upstream: make crypto_sign_ed25519_keypair_from_seed non-static. 831 832 The new ML-DSA/ed25519 code needs it 833 834 OpenBSD-Commit-ID: 48d00a2094bca8e422494aaa76105c708837436e 835 836commit 81ca1451bf94edd9533c4f6787130f2396219049 837Author: djm@openbsd.org <djm@openbsd.org> 838Date: Sun Jun 14 03:59:34 2026 +0000 839 840 upstream: Add experimental support for a composite post-quantum 841 842 signature scheme that combines ML-DSA 44 and Ed25519 using the construction 843 specified in draft-ietf-lamps-pq-composite-sigs. There's also an early draft 844 documenting use of the integration of this scheme into SSH as 845 draft-miller-sshm-mldsa44-ed25519-composite-sigs 846 847 This scheme is not enabled by default. To you use, you'll need 848 to add it to HostKeyAlgorithms, PubkeyAcceptedAlgorithms, etc. 849 Keys may be generated using "ssh-keygen -t mldsa44-ed25519". 850 851 The ML-DSA implementation comes from libcrux. Thanks to 852 Jonas Schneider-Bensch and Jonathan Protzenko for their work to 853 make this available. 854 855 Consensus is that it's time to get this in to allow people to 856 experiment with it. 857 858 feedback markus@ tb@ logan@ deraadt@ 859 860 OpenBSD-Commit-ID: 85f2d41e3d3374b4e8c28a45a7c92f153c4489e2 861 862commit b7e552138b8861469295e33e1457040e3f747d06 863Author: djm@openbsd.org <djm@openbsd.org> 864Date: Sat Jun 13 00:37:13 2026 +0000 865 866 upstream: when replying to a "query" SSH_AGENTC_EXTENSION request, 867 868 don't append an SSH_AGENT_SUCCESS to the reply to the query. bz3967 ok 869 dtucker@ 870 871 OpenBSD-Commit-ID: b51418708096e26dbf73a0c1d3cb49b7352bc899 872 873commit 5af8f3f290bd892352eb007866c066b7bf4a4385 874Author: dtucker@openbsd.org <dtucker@openbsd.org> 875Date: Sun Jun 7 08:50:17 2026 +0000 876 877 upstream: Make crypto_sign_ed25519_keypair_from_seed() 878 879 static to prevent compiler warnings since it's only used within ed25519.c. 880 881 OpenBSD-Commit-ID: cf8b1e8f364167eb1766f646cc18a40f32242991 882 883commit 5ebfdf3afaede40b1f0f9b5874ba53bf9d21d6d5 884Author: dtucker@openbsd.org <dtucker@openbsd.org> 885Date: Sun Jun 7 08:21:07 2026 +0000 886 887 upstream: Import updated moduli 888 889 OpenBSD-Commit-ID: c3081ccc6e4c1cb21e68c36f5a92e6d9f09e70b3 890 891commit 47af21eb8d480c0f368a629ab58e31b993ed28f2 892Author: Damien Miller <djm@mindrot.org> 893Date: Sun Jun 7 09:56:41 2026 +1000 894 895 sync fmt_scaled.c with OpenBSD upstream 896 897 Notably picks up this commit: 898 899 revision 1.24 900 date: 2026/06/06 23:49:25; author: djm; state: Exp; lines: +28 -12; commitid: oznzDs0MaUT3FEqO; 901 rearrange scan_scaled(3) ordering of multiplications and divisions 902 to better preserve accuracy for large exponents. From metsw24-max 903 via https://github.com/openssh/openssh-portable/pull/671/ 904 905 ok tb@ 906 907commit e9916c44c1324ab9ab022719e4df08a390a83014 908Author: djm@openbsd.org <djm@openbsd.org> 909Date: Fri Jun 5 08:53:07 2026 +0000 910 911 upstream: pass >9 commandline arguments to the internal-sftp server, 912 913 previously they were silently dropped; reported by Steve Caffrey ok deraadt@ 914 915 OpenBSD-Commit-ID: ee6cd5430a3ca027c3223af54b58ad3cc7ccd624 916 917commit 70d7044a966a541d9df6002fbeb62d005555cc78 918Author: djm@openbsd.org <djm@openbsd.org> 919Date: Fri Jun 5 08:48:43 2026 +0000 920 921 upstream: avoid truncation of pathnames headed to lstat() for 922 923 systems where PATH_MAX is not the actual max; reported by sahvx655-wq via 924 GHPR688 925 926 OpenBSD-Commit-ID: fcbeeff99d857f2f3916ad06570fa05fc38b0f07 927 928commit 37bf1431aa0f5e746f9ae0247f52da1e8b5758d6 929Author: djm@openbsd.org <djm@openbsd.org> 930Date: Fri Jun 5 06:51:02 2026 +0000 931 932 upstream: rename a variable to be more accurate 933 934 OpenBSD-Commit-ID: bf277f2832125eb40ac2c9fa3ea66e31214f2131 935 936commit 7763a38bc2595be50baf1d72b19bf4720e41e8e3 937Author: djm@openbsd.org <djm@openbsd.org> 938Date: Thu Jun 4 04:26:51 2026 +0000 939 940 upstream: add signature malleability and pubkey validity checks to 941 942 ed25519 verification (SSH doesn't depend on these properties) Pointed out by 943 Soatok Dreamseeker 944 945 Add an explicit-seed variant of the keygen function. 946 947 feedback / "looks fine" tb@ 948 949 OpenBSD-Commit-ID: 2a71926bfda24628cf34a88357f44a790e338d5d 950 951commit 65c6ac0a82f8bc3faf5a18fef36112fec1b54fc2 952Author: djm@openbsd.org <djm@openbsd.org> 953Date: Tue Jun 2 06:18:27 2026 +0000 954 955 upstream: refer to RFC9987 instead of I-D 956 957 OpenBSD-Commit-ID: 6b273c50c2aa818b9144b8d9ab568c4239023297 958 959commit c9ebebb22fa50ca50bd036599028d7e09f841c3f 960Author: Darren Tucker <dtucker@dtucker.net> 961Date: Tue Jun 2 21:57:42 2026 +1000 962 963 Reformat setup_ci command line. 964 965 This prevents setup_ci from running twice on Cygwin due to different 966 parsing of the command line since on Windows it's run via Powershell. 967 968commit 60343e46d5f8b79137a14d2ea5c85bf0b7359cc1 969Author: Darren Tucker <dtucker@dtucker.net> 970Date: Tue Jun 2 22:20:44 2026 +1000 971 972 Fix search for awk formatter. 973 974 AC_PATH_PROG only takes a single binary to look for, AC_PATH_PROGS is 975 what's needed for more than one. Looks like an error by me in 285546b. 976 977commit 7e5590cf8ff732a946629b6f766c7a2c9b2ac425 978Author: Darren Tucker <dtucker@dtucker.net> 979Date: Tue Jun 2 18:49:02 2026 +1000 980 981 Replace shell-level timeout with dedicated command. 982 983 It turns out the systems we run this workflow on all have timeout(1), 984 985commit 41bb8c1823a337dca1b027a1e5c560f6a5fc4acc 986Author: Darren Tucker <dtucker@dtucker.net> 987Date: Tue Jun 2 18:10:25 2026 +1000 988 989 Add a single retry to VM package install steps. 990 991 These are potentially flaky due to network issues, so hopefully this 992 will reduce the number of manual retries needed. 993 994commit 14d88d4da7fb72d94239049d76c7651723b1a3d9 995Author: Darren Tucker <dtucker@dtucker.net> 996Date: Tue Jun 2 17:44:12 2026 +1000 997 998 Add includes.h for compat functions. 999 1000 Fixes build on at least old AIX. 1001 1002commit e8c12cc085272894e7c14eb761e82ec7c0d8f599 1003Author: Darren Tucker <dtucker@dtucker.net> 1004Date: Mon Jun 1 20:43:31 2026 +1000 1005 1006 setup_ci.sh: add timeout and allow one retry 1007 1008commit de97e5a44c88179b834939b84cd555249382de0e 1009Author: djm@openbsd.org <djm@openbsd.org> 1010Date: Mon Jun 1 08:27:28 2026 +0000 1011 1012 upstream: differentiate between execution failures and subsystem not 1013 1014 found when logging why a subsystem failed to start; GHPR#637 from cuiweixie 1015 1016 OpenBSD-Commit-ID: 42bc40dd6272b7f6726b069a8c4e16025a354056 1017 1018commit 51db029b53488bc972deba13724034f8e35e6e38 1019Author: Darren Tucker <dtucker@dtucker.net> 1020Date: Mon Jun 1 18:26:31 2026 +1000 1021 1022 Don't install shim for AWK=awk. 1023 1024 If configure finds an undadorned awk, don't install the shim to prevent 1025 recursive calls to it. 1026 1027commit 2afcdf7b3e429428d9b6415e0c948001bf968477 1028Author: Darren Tucker <dtucker@dtucker.net> 1029Date: Mon Jun 1 17:40:03 2026 +1000 1030 1031 Pass awk detected by configure to regress tests. 1032 1033 Some platforms' basic awk don't have toupper, but other awks like nawk 1034 or gawk do. Pass the one found by configure through to the regress 1035 tests, and make a wrapper for it so we don't need to modify any tests. 1036 1037commit 7b776066bc00a12ec3a7f9b04cf8a69a8d260c2c 1038Author: Darren Tucker <dtucker@dtucker.net> 1039Date: Mon Jun 1 17:39:40 2026 +1000 1040 1041 Update LibreSSL test 4.3.1->4.3.2. 1042 1043commit 684d26a3c4d07e78027517fd6e98875ae5dff71d 1044Author: djm@openbsd.org <djm@openbsd.org> 1045Date: Mon Jun 1 05:49:20 2026 +0000 1046 1047 upstream: sk-usbhid: skip unsupported key types in read_rks() 1048 1049 When enumerating resident keys, encountering a credential with an 1050 unsupported COSE key type (not ES256 or EdDSA) caused the entire 1051 enumeration to abort via goto out, discarding all valid keys. 1052 1053 Move the key type check before the per-credential allocation so 1054 unsupported types can be skipped with continue instead. This 1055 preserves all valid resident keys on the token. 1056 1057 Patch from Akhilesh Arora via GHPR657 1058 1059 OpenBSD-Commit-ID: b344a44ff97d26faf099b8e0cad72ad1e793ac0f 1060 1061commit de24573efc60ca145e4f2d7e45787eccf8bd41a4 1062Author: djm@openbsd.org <djm@openbsd.org> 1063Date: Mon Jun 1 05:40:13 2026 +0000 1064 1065 upstream: Actually set pollfd.events correctly for socket type 1066 1067 channels; previously we were throwing away the events we computed if the 1068 channel had a c->sock distinct from it's other read and write fds. 1069 Fortunately, it appears that this case happens rarely, if ever. 1070 1071 Reported by Darafei Praliaskouski via GHPR660 1072 1073 OpenBSD-Commit-ID: d3f483b7919946c5649e8c697d5b927af35aac4b 1074 1075commit 58b9381e0b1dbc8e56190b26fb61bae4cfb240be 1076Author: djm@openbsd.org <djm@openbsd.org> 1077Date: Sun May 31 13:12:07 2026 +0000 1078 1079 upstream: handle compiled-time unsupported options in servconf.h 1080 1081 better; leave a zero placeholder variable so we don't have #ifdef around 1082 their absence elsehwere in the tree 1083 1084 OpenBSD-Commit-ID: 9601de2c67042aacb0ea12ca424e67c092fa7801 1085 1086commit ea91c7a1a9ccb22bacd8fcff824c84e3b8414af5 1087Author: Damien Miller <djm@mindrot.org> 1088Date: Sun May 31 22:03:56 2026 +1000 1089 1090 depend 1091 1092commit 3bc4ac43943852b214a3d85e3424d9304c8a736d 1093Author: djm@openbsd.org <djm@openbsd.org> 1094Date: Sun May 31 11:39:44 2026 +0000 1095 1096 upstream: unit test for new servconf.[ch] code, including a basic 1097 1098 fuzz test for deserialisation 1099 1100 OpenBSD-Regress-ID: f182c21485dc37a41a125f067b59bee48adbfe6c 1101 1102commit f2b815e42d9fd654cb457cd7e7d1cb751f1a5a33 1103Author: djm@openbsd.org <djm@openbsd.org> 1104Date: Sun May 31 11:31:57 2026 +0000 1105 1106 upstream: the new configuration dump code emits configuration 1107 1108 directives with capitalisation (previously they were all lowercase), so make 1109 the tests that consume them insensitive to case 1110 1111 OpenBSD-Regress-ID: 9a81d8501b8b8fc1c1a0d268d4cc91cbb19668f5 1112 1113commit 633a4c1a24605e48c46fe76afc0814d20593fc00 1114Author: djm@openbsd.org <djm@openbsd.org> 1115Date: Sun May 31 04:20:58 2026 +0000 1116 1117 upstream: flesh out match_pattern() tests, including a new 1118 1119 comparison test of the new NFA-based implementation against the original one 1120 for all possible combinations of short inputs and patterns constructed from a 1121 small dictionary of possibilities. 1122 1123 OpenBSD-Regress-ID: a18e86c95afb6243ac270468f5dd0ab4a78c8074 1124 1125commit bebc855fdb3f8c7f96fd392f67bec2134cc42b1b 1126Author: djm@openbsd.org <djm@openbsd.org> 1127Date: Sun May 31 11:30:50 2026 +0000 1128 1129 upstream: big refactor of sshd config management code. 1130 1131 This generates much of the initialisation, defaults and keyword table 1132 code from a set of macros rather than hand coding them. These same 1133 macros are also used to generate serialisation and deserialisation 1134 code. 1135 1136 The macros are admittedly ugly but have the advantage of forcing a 1137 good degree of consistency across places that need to stay in sync 1138 with each other. 1139 1140 The new de/serialisation code is used to pass configurations across 1141 the various sshd-* process boundaries. This removes the need to pass 1142 around raw text configurations that need to be re-parsed as well as 1143 eliminating some raw pointer leakage across the processes where 1144 structures were previously clumsily serialised. 1145 1146 feedback/ok markus@ 1147 1148 OpenBSD-Commit-ID: 9a5109a480637e08c290eeb82aa8ef2ca7e848ce 1149 1150commit a1dd1c80687fbfbdca19d3a314a8176b90ae471b 1151Author: djm@openbsd.org <djm@openbsd.org> 1152Date: Sun May 31 06:14:42 2026 +0000 1153 1154 upstream: avoid strlen(NULL) crash if an X11 channel was created before 1155 1156 the x11-req SSH_MSG_CHANNEL_REQUEST was sent. Reported by Ben Perry via 1157 GHPR679 1158 1159 OpenBSD-Commit-ID: 31db0da9ab6c73e6bbf4021ffd53dc3ce5c65f23 1160 1161commit df18979e1137f41a3ffa25f9d06c4fc55073cb34 1162Author: djm@openbsd.org <djm@openbsd.org> 1163Date: Sun May 31 05:55:21 2026 +0000 1164 1165 upstream: DNS0x20[1] can randomise the case of domain names returned by 1166 1167 lookup to force some more uniqueness in queries to reduce the likelihood of 1168 spoofing attacks succeeding. 1169 1170 Normally this should be hidden from the user by the resolver, but 1171 in some cases it can leak through. When it does, it can mess up 1172 ssh's CanonicalizePermittedCNAMEs. 1173 1174 Fix this by forcing the name we received from the system resolver to 1175 lowercase. 1176 1177 bz3966, report and fix by Martin D Kealey 1178 1179 [1] https://datatracker.ietf.org/doc/html/draft-vixie-dnsext-dns0x20-00 1180 1181 OpenBSD-Commit-ID: e0b300d3b3af289e053d928380af71949f95bfb0 1182 1183commit 5a5e47740b6466d58242aca28b9e584bab4ccf1d 1184Author: djm@openbsd.org <djm@openbsd.org> 1185Date: Sun May 31 04:59:51 2026 +0000 1186 1187 upstream: disallow use of the copy-data extension to read and write 1188 1189 to the same inode simultaneously; reported by Qifan Zhang of Palo Alto 1190 Networks; ok markus@ 1191 1192 OpenBSD-Commit-ID: 94ceb85146d92dbc1289c55d308498d5f56f274a 1193 1194commit 073faa6beceea162eeeb7963c7352a6c851e507a 1195Author: djm@openbsd.org <djm@openbsd.org> 1196Date: Sun May 31 04:51:45 2026 +0000 1197 1198 upstream: Fix two separate one-byte out-of-cound reads 1199 1200 1) if a server sent an empty reply to a SSH2_FXP_REALPATH request 1201 2) if a batch command used the full 2048 byte buffer but ended in a 1202 literal backslash character 1203 1204 Both reported by Zhenpeng (Leo) Lin from depthfirst 1205 1206 ok markus@ 1207 1208 OpenBSD-Commit-ID: d1ccc1f5a6eb109065ce8a552fea8e502381ce59 1209 1210commit 8dfe7ed6e2fd988de08df508355a196b956b2753 1211Author: djm@openbsd.org <djm@openbsd.org> 1212Date: Sun May 31 04:47:29 2026 +0000 1213 1214 upstream: DisableForwarding=yes didn't override PermitTunnel=yes 1215 1216 Reported independently by Huzaifa Sidhpurwala of Redhat and Marko 1217 Jevtic; ok markus@ 1218 1219 OpenBSD-Commit-ID: b5c13f0746cf079b21f8deba47407fad49ccbf4c 1220 1221commit 72b05ecd141b9683285dcdb439de01903c1a07d3 1222Author: djm@openbsd.org <djm@openbsd.org> 1223Date: Sun May 31 04:44:38 2026 +0000 1224 1225 upstream: make the transport protocol stricter by disconnecting if 1226 1227 the peer sends non-KEX messages during a key re-exchange. 1228 1229 Previously an evil peer could continue sending non-KEX messages 1230 without penalty, causing memory to be wasted up until the 1231 connection terminated or the server/client hit a OOM limit. 1232 1233 reported by Marko Jevtic; ok markus@ 1234 1235 OpenBSD-Commit-ID: 8937f0f2096156f5c68ae2dce77956373589d757 1236 1237commit 26cde4cfc55eb1d336e1249d702c0c4705b0424b 1238Author: djm@openbsd.org <djm@openbsd.org> 1239Date: Sun May 31 04:37:56 2026 +0000 1240 1241 upstream: stricter validation of the transport state passed from 1242 1243 the unprivileged preauth sshd-auth process to the user-privileged postauth 1244 sshd-session process. 1245 1246 These are harmless unless an attacker had an exploit for sshd-auth 1247 in which case they could be used for post-auth memory DoS or to 1248 crash you own session in a new and exciting way. 1249 1250 Reported by bylee3 and Kayky Vinicius 1251 1252 ok markus 1253 1254 OpenBSD-Commit-ID: 214e256904a4ae4f83d2083096796c9689c1d7b5 1255 1256commit 10f66b2af950c94af3b25027abec5209d90eb451 1257Author: djm@openbsd.org <djm@openbsd.org> 1258Date: Sun May 31 04:31:04 2026 +0000 1259 1260 upstream: Enforce a maximum size for usernames in agent key use 1261 1262 constraints 1263 1264 Along with the match_pattern() performance change that was just 1265 committed this avoids a denial-of-service where an agent client could 1266 waste CPU on an agent by sending user constraints with lots of 1267 wildcards. 1268 1269 Reported by Huzaifa Sidhpurwala of Redhat 1270 1271 ok markus 1272 1273 OpenBSD-Commit-ID: 0483817f1a8accf4dbff42b7073ee4d119105d71 1274 1275commit 1e82d2cfcfd05ec2e4515894a92223f40839c7b8 1276Author: djm@openbsd.org <djm@openbsd.org> 1277Date: Sun May 31 04:24:39 2026 +0000 1278 1279 upstream: fix client use-after-free on error path if cipher_init() 1280 1281 fails; reported by Qualys Security Advisory Team, ok markus@ 1282 1283 OpenBSD-Commit-ID: a8731da0c462b2b9d11314ba505c26ee0cdada83 1284 1285commit 9d4c0b31f172782def72ccc2fb2dc217d3135e6f 1286Author: djm@openbsd.org <djm@openbsd.org> 1287Date: Sun May 31 04:19:16 2026 +0000 1288 1289 upstream: Replace the old recursive match_pattern() with an 1290 1291 implementation that uses a NFA for matching. This avoids the exponential 1292 worst- case behaviour for the old implementation. 1293 1294 ok markus@ 1295 1296 OpenBSD-Commit-ID: fc6b75a52f4c0acb52b7900658c8d25ff873cbae 1297 1298commit 7ab700f1706b154d4bc5cf66e19c05be6d9b1fc1 1299Author: Damien Miller <djm@mindrot.org> 1300Date: Sat May 30 23:24:01 2026 +1000 1301 1302 Make failure to set SECCOMP or NO_NEW_PRIVS fatal 1303 1304 If your Linux system lacks support for these then please don't 1305 enable the seccomp sandbox. 1306 1307 Prompted by manfred.kaiser@ssh-mitm.at 1308 1309commit 4f4aeee6edaa248f1e7ce22ee3f35ce183eabf38 1310Author: Manfred Kaiser <manfred.kaiser@ssh-mitm.at> 1311Date: Sun May 24 09:53:42 2026 +0200 1312 1313 sandbox-seccomp-filter: remove duplicate SC_ALLOW(__NR_clock_gettime64) 1314 1315 The syscall is already permitted at line 297 in its own ifdef guard. 1316 No functional change. 1317 1318commit 16908221360a01b1801c6ca70c26b73c83509ea3 1319Author: deraadt@openbsd.org <deraadt@openbsd.org> 1320Date: Wed May 27 13:57:26 2026 +0000 1321 1322 upstream: Use the new RELINK feature in bsd.prog.mk to build the 1323 1324 relink kits. 1325 1326 OpenBSD-Commit-ID: df5c950444e208b320265fa8a1afd676e2edfa6e 1327 1328commit 3bee4a1a260809992a0877d7ef202c4ff3e0be24 1329Author: tb@openbsd.org <tb@openbsd.org> 1330Date: Wed May 27 13:54:15 2026 +0000 1331 1332 upstream: ssh: use sentinel idiom for timegm(3) and mktime(3) 1333 1334 There is nothing wrong with times before the epoch, even -1, so use the 1335 idiom recently added to the CAVEATS section to figure out whether there 1336 was an error in the timegm() or mktime() calls. 1337 1338 We should sweep the tree for this. If anyone is bored, feel free to beat 1339 me to it... 1340 1341 ok deraadt djm 1342 1343 OpenBSD-Commit-ID: e2b1721966dc782e776db5d6cfb18958534f9d4b 1344 1345commit 26a8c13e6154a905b4eaf48798b134372747e86f 1346Author: tb@openbsd.org <tb@openbsd.org> 1347Date: Wed May 27 03:28:07 2026 +0000 1348 1349 upstream: ssh-agent: add -V to usage() 1350 1351 ok djm 1352 1353 OpenBSD-Commit-ID: ea9bc250ce34c4c8317896673ca37f3ee17223c7 1354 1355commit 3a05a07e78f7b88ba70fa7f96808bcb86a55cbe8 1356Author: djm@openbsd.org <djm@openbsd.org> 1357Date: Wed May 27 03:05:21 2026 +0000 1358 1359 upstream: use "ssh-agent -V" to test the binary is functional after 1360 1361 relinking requested deraadt@ 1362 1363 OpenBSD-Commit-ID: eb4169949bf61188fb7336b11b73833019d10d7b 1364 1365commit 7fbe3e440eae0cd2315545ce5abd89e936b3a92f 1366Author: djm@openbsd.org <djm@openbsd.org> 1367Date: Wed May 27 03:04:30 2026 +0000 1368 1369 upstream: add a -V flag to print the version, but mostly as a way 1370 1371 to check the binary is functional; ok deraadt@ 1372 1373 OpenBSD-Commit-ID: 0cc5cb22cbfe09ac4c316dd5da0af7a4193a42af 1374 1375commit f44f124a234785b9d2cd59a6da28737fb3c4ad9a 1376Author: dtucker@openbsd.org <dtucker@openbsd.org> 1377Date: Wed May 27 23:04:36 2026 +0000 1378 1379 upstream: Test all mutually supported algorithms, 1380 1381 using dropbear's new -Q option to query its algorithms where possible. 1382 1383 OpenBSD-Regress-ID: 7e1fa733dec3bfa9f8931e535a9397209b5953f3 1384 1385commit 0cadf7e0e88f4088595afbea21f2e43f3ae28abc 1386Author: dtucker@openbsd.org <dtucker@openbsd.org> 1387Date: Tue May 12 13:02:40 2026 +0000 1388 1389 upstream: Dropbear recently added a -Q option; 1390 1391 use it to query KEX if available. 1392 1393 OpenBSD-Regress-ID: beab781f357e27e75dfdd2ec600a7dff2c63cb5b 1394 1395commit 0e2db7bc017d968ef57b0b5b4fd86643ecdb05e4 1396Author: dtucker@openbsd.org <dtucker@openbsd.org> 1397Date: Mon May 4 10:57:24 2026 +0000 1398 1399 upstream: Fix skip message. 1400 1401 OpenBSD-Regress-ID: d192bbc19cc5914e64a3bb35a347eca0318729af 1402 1403commit 0a561f90672b6dc6187763f3b90e47c4c4247875 1404Author: Darren Tucker <dtucker@dtucker.net> 1405Date: Tue May 26 10:48:19 2026 +1000 1406 1407 Run hardenedmalloc test on ubuntu-latest. 1408 1409 Needed for newer clang that supports -std=c23. 1410 1411commit 3468ac72962970728a204e5052a3be9826090b13 1412Author: Darren Tucker <dtucker@dtucker.net> 1413Date: Tue May 26 09:33:51 2026 +1000 1414 1415 Hardenedmalloc needs -std=c23 so build with clang. 1416 1417commit 42b213c66ba143f543b824ea5951f1ceb3fdd15b 1418Author: Michael Forney <mforney@mforney.org> 1419Date: Fri May 22 03:02:00 2026 +1000 1420 1421 Fix IPTOS_DSCP_VA fallback 1422 1423 0x2c is the unshifted value, and was copied over from openbsd before 1424 it was fixed to be 0xb0 in [0]. 1425 1426 Source of discrepancy identified by Leah Neukirchen. 1427 1428 [0] https://cvsweb.openbsd.org/log/src/sys/netinet/ip.h#rev1.22 1429 1430commit 66847768ffd5a2a004891c8d3bd79eaba12625b7 1431Author: Darren Tucker <dtucker@dtucker.net> 1432Date: Thu May 21 18:39:54 2026 +1000 1433 1434 Add OpenBSD 7.9 test VM. 1435 1436commit d0d7981cf56363e6320f2aa6cf798e293420a7cf 1437Author: Darren Tucker <dtucker@dtucker.net> 1438Date: Thu May 21 18:38:47 2026 +1000 1439 1440 Another shell portability fix for Solaris. 1441 1442commit 498372545f48effd30a4d4c005eea25b1141fc74 1443Author: Darren Tucker <dtucker@dtucker.net> 1444Date: Thu May 21 18:25:50 2026 +1000 1445 1446 Use backticks for shell portability w/ Solaris. 1447 1448commit 18b9db789e278c4d6a5ff21093a45683950db3ae 1449Author: Darren Tucker <dtucker@dtucker.net> 1450Date: Tue May 19 18:37:26 2026 +1000 1451 1452 Add interop tests against Dropbear >= 2020.79 1453 1454commit a5a1b7e75389231bf817433d93f15732ba13c0ad 1455Author: djm@openbsd.org <djm@openbsd.org> 1456Date: Thu May 21 04:04:57 2026 +0000 1457 1458 upstream: mention that compression could potentially leak 1459 1460 information about session contents (cf. the CRIME attack on TLS) if a 1461 connection allows attacker- controlled traffic over it alongside trused 1462 traffic. This might occur in some forwarding scenarios. 1463 1464 with deraadt@ 1465 1466 OpenBSD-Commit-ID: 03d145cdbf3a8713e8309724b5c9a9b76c317749 1467 1468commit e5c9cf9ac7543a5e59dabf11f993a9c032b9b71f 1469Author: djm@openbsd.org <djm@openbsd.org> 1470Date: Thu May 21 02:50:59 2026 +0000 1471 1472 upstream: mention usefulness of request type allow/denylisting for 1473 1474 servers accepting untrusted clients 1475 1476 OpenBSD-Commit-ID: 8b991bd263b46374a8e73f02d05cdccca73ae520 1477 1478commit 62fce76130485773c635da8adaeb7de78382a5f0 1479Author: tb@openbsd.org <tb@openbsd.org> 1480Date: Mon May 18 04:14:57 2026 +0000 1481 1482 upstream: chacha: avoid -Wunterminated-string-initialization 1483 1484 warning 1485 1486 The sizes of sigma[] and tau[] aren't used, so include a trailing NUL and 1487 thereby avoid upsetting modern compilers about use of dangerous, valid C. 1488 1489 ok deraadt djm 1490 1491 OpenBSD-Commit-ID: 030a71ff16bb1e6135170c6507bc558eabe7345c 1492 1493commit 33392024f46e7aabaeaf947cc3b110d60a9fd9e3 1494Author: djm@openbsd.org <djm@openbsd.org> 1495Date: Wed May 13 05:58:58 2026 +0000 1496 1497 upstream: avoid validating bad cipher or mac lists in config files 1498 1499 / commandline arguments as valid. 1500 1501 Identified by SUSE and reported by Camila Camargo de Matos 1502 1503 ok deraadt@ tb@ 1504 1505 OpenBSD-Commit-ID: 45d51154f2418549e08b80fa33df6c6532046054 1506 1507commit cf6c0b3b94cdc223f1b8be1ef2d93e993af5d976 1508Author: djm@openbsd.org <djm@openbsd.org> 1509Date: Wed May 13 05:11:02 2026 +0000 1510 1511 upstream: fix hard-to-reach NULL deref during pubkey auth 1512 1513 To hit this, the user must be using a PEM style private key with no 1514 corresponding .pub key adjacent to it. 1515 1516 OpenBSD-Commit-ID: b7150acc5322fa33f21491834d9471fbe3d30f20 1517 1518commit 55df196e39cb23fd53e42b2f07292ffc01650bff 1519Author: Darren Tucker <dtucker@dtucker.net> 1520Date: Tue May 12 19:53:54 2026 +1000 1521 1522 Retire OmniOS r151046 & r151054 test configs. 1523 1524 They require packages from an external mirror which has been unreliable 1525 lately, so stop relying on it. 1526 1527commit 6d9116d4dfefe387e42250ec7c01aad56ce43bda 1528Author: Darren Tucker <dtucker@dtucker.net> 1529Date: Tue May 12 19:43:48 2026 +1000 1530 1531 Handle missing packages for FreeBSD 12.4. 1532 1533 (Most) FreeBSD mirrors no longer have packages for 12.x, so install the 1534 only thing we need (sudo) from source on. 1535 1536commit 99f1e0c2f91f00e0bb3c4a814ec448fda2b0e144 1537Author: Darren Tucker <dtucker@dtucker.net> 1538Date: Tue May 12 18:50:20 2026 +1000 1539 1540 OmniOS: check for gcc before installing. 1541 1542commit ded80eb0ff89f18ccf25cd3dc7997d92d755ef6a 1543Author: Darren Tucker <dtucker@dtucker.net> 1544Date: Tue May 12 18:05:24 2026 +1000 1545 1546 Add VM test versions for : OmniOS and FreeBSD. 1547 1548 Add OmniOS r151056 and r151058 (with build-essentials, so hopefully 1549 faster and lower dependency) and FreeBSD 12.4 for better coverage. 1550 1551commit 67f31cefd8ccf0f55f24e806c4dc86b028fa65ff 1552Author: Damien Miller <djm@mindrot.org> 1553Date: Tue May 12 14:36:27 2026 +1000 1554 1555 update getrrsetbyname.c from OpenBSD upstream 1556 1557 revision 1.15 1558 date: 2026/05/09 01:54:51; author: tb; state: Exp; lines: +14 -13; commitid: zZPVUWycKAslGJtO; 1559 Avoid recursive cleanup in getrrsetbyname() 1560 1561 Instead of freeing struct dns_query and struct dns_rr by walking the 1562 linked lists recursively, use a simple loop. This avoids a possible 1563 stack exhaustion unlikely to be reachable with the limits modern 1564 resolvers impose. 1565 1566 From Dhiraj Mishra 1567 1568commit 56e73cd804cff08e38caaa03b75bec253f16fd62 1569Author: Darafei Praliaskouski <me@komzpa.net> 1570Date: Sat May 9 19:50:31 2026 +0400 1571 1572 ci: avoid rsync dependency in NetBSD VM jobs 1573 1574commit ac4a41265a3beccba7dc6f45c657298311280f01 1575Author: djm@openbsd.org <djm@openbsd.org> 1576Date: Tue May 5 06:21:14 2026 +0000 1577 1578 upstream: unbreak; spotted by Darren's test army 1579 1580 OpenBSD-Commit-ID: e95ceda842a2c7a08fc00ac3a529877d87fee7b2 1581 1582commit 3754f2edd42039ace7d53873975870fbe9143b94 1583Author: djm@openbsd.org <djm@openbsd.org> 1584Date: Tue May 5 05:34:27 2026 +0000 1585 1586 upstream: classify dynamic-tcpip channels as bulk, not interactive; 1587 1588 bz3958, ok markus@ 1589 1590 OpenBSD-Commit-ID: b18f1c1eaff8423bf069ff6103e8865cec18d64b 1591 1592commit 4ea08a0353f85b5b0cc1ddd70da5fa23e7d588a4 1593Author: Darren Tucker <dtucker@dtucker.net> 1594Date: Mon May 4 23:33:57 2026 +1000 1595 1596 Improve NetBSD PAM tests. 1597 1598 - Set random password and use for password auth test. 1599 - When testing PAM builds, test with and without UsePAM. 1600 1601commit 504d01d81fe0d17725786b05737db9cd7f3b2b5c 1602Author: Darren Tucker <dtucker@dtucker.net> 1603Date: Mon May 4 23:15:05 2026 +1000 1604 1605 Improve FreeBSD PAM tests. 1606 1607 - Set random password and use for password auth test. 1608 - When testing PAM builds, test with and without UsePAM. 1609 1610commit a05de3f67f69582e061445d5d78e5fcd01067299 1611Author: Darren Tucker <dtucker@dtucker.net> 1612Date: Mon May 4 22:57:58 2026 +1000 1613 1614 Update to FreeBSD 14.4, add 15.0. 1615 1616commit 6296749fe19a14d11826dd04591ebb84c110e96b 1617Author: Darren Tucker <dtucker@dtucker.net> 1618Date: Mon May 4 21:40:52 2026 +1000 1619 1620 Improve Solaris PAM tests. 1621 1622 - Set up and run tests with SUDO. 1623 - Set random password to use for password & kbdint auth tests. 1624 - Only run t-exec when re-testing with PAM, don't rerun unit tests. 1625 - When testing PAM builds, test with and without UsePAM. 1626 1627commit f9d62eaa536cba92bcb42658ff5f72c287c47e49 1628Author: Darren Tucker <dtucker@dtucker.net> 1629Date: Mon May 4 21:39:01 2026 +1000 1630 1631 Only run t-exec when re-testing with PAM. 1632 1633 There's no point rerunning unit tests. 1634 1635commit 05af6553e9026df935163a12d14ff4d205465717 1636Author: Darren Tucker <dtucker@dtucker.net> 1637Date: Mon May 4 18:47:03 2026 +1000 1638 1639 Add Solaris 11.4-clang-19 test. 1640 1641commit cb654c2ce7b0113a14aba979ffe9f7f5ad312013 1642Author: Darren Tucker <dtucker@dtucker.net> 1643Date: Mon May 4 17:41:37 2026 +1000 1644 1645 Add RUN_ONLY_PLATFORM to run a subset of tests. 1646 1647commit 328993c8991e5cde61f5abf1b87b26fa2537ae6c 1648Author: Damien Miller <djm@mindrot.org> 1649Date: Mon May 4 16:05:34 2026 +1000 1650 1651 skip ("#if 0") strvisx and stravis 1652 1653 we don't use the in OpenSSH and some compilers throw warnings 1654 compiling them that break -Werror 1655 1656commit 5fa60ae0d2ed3fc441f54c9349afbd63b6301929 1657Author: Darren Tucker <dtucker@dtucker.net> 1658Date: Fri May 1 09:19:56 2026 +1000 1659 1660 Remove 9.9 and 10.0 branches from build status page. 1661 1662commit 7ab5e4073a508a342be49e2c238087b2de4e099f 1663Author: Renaud Allard <renaud@allard.it> 1664Date: Sat Mar 21 19:23:04 2026 +0100 1665 1666 vm.yml: fix solaris PAM tests 1667 1668 Add missing SSHD_CONFOPTS="UsePam yes" to the solaris PAM test 1669 step so it actually tests PAM functionality instead of re-running 1670 the default tests with a PAM-enabled binary. 1671 1672commit 1c553a16065a95284468cd79b1c4919929dfe3ac 1673Author: djm@openbsd.org <djm@openbsd.org> 1674Date: Wed Apr 29 22:22:10 2026 +0000 1675 1676 upstream: fiddle with mask after umask call and not before; avoids 1677 1678 fortify warnings on android. bz3954 1679 1680 OpenBSD-Commit-ID: 82224426b2ee989c68f305caa50aa3d3b4993a84 1681 1682commit 1bfe4ce37c3c531150b33d1a9d4dae6234028076 1683Author: djm@openbsd.org <djm@openbsd.org> 1684Date: Tue Apr 28 21:32:05 2026 +0000 1685 1686 upstream: unveil the actual listening socket path and its directory 1687 1688 so it can be cleaned up at exit. 1689 1690 Reported by / tested by David Krause, ok markus@ 1691 1692 OpenBSD-Commit-ID: b45d740e9a63dec0fad436ed78f6912b39f0cd53 1693 1694commit f24dc9e993de6f99d5dcb06ba3a401fe5792b2f4 1695Author: job@openbsd.org <job@openbsd.org> 1696Date: Mon Apr 20 07:43:52 2026 +0000 1697 1698 upstream: Clarify comment on what setting extended types for 1699 1700 channels does 1701 1702 OK djm@ 1703 1704 OpenBSD-Commit-ID: fa035fb19b74571992fa3adca4396a4c572a7a8a 1705 1706commit b9ccca0edfbd46b3114192956d9aaea3e7bc3c08 1707Author: Darren Tucker <dtucker@dtucker.net> 1708Date: Wed Apr 29 09:14:31 2026 +1000 1709 1710 Add tracking for 10.3 branch. 1711 1712commit 6185d1e6f74fb7749ff0227dfe44b2c3a9dd0885 1713Author: Darren Tucker <dtucker@dtucker.net> 1714Date: Tue Apr 28 09:09:57 2026 +1000 1715 1716 Rename obsd arm64 snapshot VM for consistency. 1717 1718commit 2029eddf4d57c654d53cdac7a192511de3b386dd 1719Author: dtucker@openbsd.org <dtucker@openbsd.org> 1720Date: Mon Apr 27 05:49:41 2026 +0000 1721 1722 upstream: Use supported hostkeyalgorithms specifically in 1723 1724 sshd_config instead of supported key types, which is almost but not 1725 completely correct. 1726 1727 OpenBSD-Regress-ID: 43c3b348576900f3e710bff5d6a87f0e803c5b3d 1728 1729commit ff254f67401fb27e6ae81a266f2d41d4c16bdbba 1730Author: claudio@openbsd.org <claudio@openbsd.org> 1731Date: Thu Apr 23 12:57:47 2026 +0000 1732 1733 upstream: Drop -Winline from CDIAGFLAGS it breaks on sparc64 1734 1735 On sparc64 ssh/unittests/kex fails to build with: 1736 usr.bin/ssh/libcrux_mlkem768_sha3.h:8196: warning: inlining failed 1737 in call to 'libcrux_ml_kem_polynomial_ZERO_89_ea': 1738 --param max-inline-insns-single limit reached 1739 1740 OK djm@ (long time ago) reminded by tb@ 1741 1742 OpenBSD-Regress-ID: c32094e3436536474039a4aeefabdbf0bd826554 1743 1744commit 2be9cec2fc062ffa087db55d26203db8f1567661 1745Author: Darren Tucker <dtucker@dtucker.net> 1746Date: Mon Apr 27 21:53:36 2026 +1000 1747 1748 Update OpenSSL tested versions. 1749 1750commit b41203e500e067095ef64a8de8ca4417a6f39552 1751Author: Darren Tucker <dtucker@dtucker.net> 1752Date: Mon Apr 27 21:16:56 2026 +1000 1753 1754 Comment out new PAM valgrind test until debugged. 1755 1756commit 4e0d1aea897d77d3b93e191eda58436e44a53818 1757Author: Darren Tucker <dtucker@dtucker.net> 1758Date: Mon Apr 20 18:47:23 2026 +1000 1759 1760 Simplify Cygwin permissions setting. 1761 1762commit 6c5235cb6692415e475fea4c0b69ee7ea0af8055 1763Author: Darren Tucker <dtucker@dtucker.net> 1764Date: Mon Apr 20 18:45:37 2026 +1000 1765 1766 Reorder steps to change perms before displaying. 1767 1768commit ba110a56a7180fef18e02dfaccad97cc510a558f 1769Author: Darren Tucker <dtucker@dtucker.net> 1770Date: Mon Apr 20 22:46:17 2026 +1000 1771 1772 Allow setting TEST_SSH_TRACE via Github. 1773 1774commit 8751cd9c5cac7b358b5648df0510b3f53b95fc22 1775Author: Darren Tucker <dtucker@dtucker.net> 1776Date: Mon Apr 20 22:55:48 2026 +1000 1777 1778 Add tests for libressl-4.3.1. 1779 1780commit 1afbd7bd1fb71e8b1d06f99978d439aec59dddca 1781Author: Darren Tucker <dtucker@dtucker.net> 1782Date: Mon Apr 27 20:51:17 2026 +1000 1783 1784 Re-enable SHA1 sigs in OpenSSL on Cygwin for tests. 1785 1786 Recently Cygwin imported changes from Fedora which disable SHA1 1787 signatures by default. This breaks the unit tests (and a couple of 1788 regression tests), so set rh-allow-sha1-signatures=yes in the OpenSSL 1789 config to re-enable them. 1790 1791commit 7235471fb40705130d7f5816ec31ab562efc8cf9 1792Author: Darren Tucker <dtucker@dtucker.net> 1793Date: Sat Apr 25 20:00:38 2026 +1000 1794 1795 Check for OPENSSL_NO_ENGINE for --with-ssl-engine. 1796 1797 OpenSSL 4 removes support for ENGINE, but it provides no-op stubs 1798 for the ENGINE functions in addition to setting OPENSSL_NO_ENGINE. 1799 1800 The presence of the stubs fooled the old configure test, so if someone 1801 tried --with-ssl-engine with OpenSSL 4.0.0 it'd try but fail at build 1802 time. Explicitly check for OPENSSL_NO_ENGINE. before trying to enable 1803 ENGINE support. bz#3952. 1804 1805commit 45b30e0a5439a02417a4fe982a4b16a9c126ba6b 1806Author: djm@openbsd.org <djm@openbsd.org> 1807Date: Sun Apr 19 23:37:22 2026 +0000 1808 1809 upstream: correctly set extended type for client-side channels. 1810 1811 Fixes interactive vs bulk IPQoS for client->server traffic. ok job@ 1812 1813 OpenBSD-Commit-ID: 34f5131face8d6dc4ae6955196e5fcafb3570cfe 1814 1815commit ca19b95ab6cd4efe5f2d8a08a377a2ac0b9caca1 1816Author: job@openbsd.org <job@openbsd.org> 1817Date: Mon Apr 13 08:18:33 2026 +0000 1818 1819 upstream: Also show the duration of the current session through the 1820 1821 ~I escape 1822 1823 OK dtucker@ 1824 1825 OpenBSD-Commit-ID: 695c1a09c4cc8b417a1bd3eb207b0cc7fa831c7a 1826 1827commit 00d955cf9e2e09eb3e98ebf6b375adccb7f25842 1828Author: djm@openbsd.org <djm@openbsd.org> 1829Date: Tue Apr 7 07:40:40 2026 +0000 1830 1831 upstream: want stdint.h here now that we've switched from u_intXX_t 1832 1833 -> uintXX_t 1834 1835 OpenBSD-Commit-ID: 6d5e80bd6f29a9db18b18beeb1cbe5423b59de44 1836 1837commit eb34f95206c3556e10046f091ea95431c4be84f8 1838Author: Bob Beck <beck@openssl.org> 1839Date: Thu Apr 16 10:09:02 2026 -0600 1840 1841 Make ci work for OpenSSL 4 variants 1842 1843commit 713ec5c5ae9b8ca91c3b752bec12e728612d13f4 1844Author: Darren Tucker <dtucker@dtucker.net> 1845Date: Thu Apr 16 20:55:23 2026 +1000 1846 1847 Test against OpenSSL 3.6.2, 4.0.0 and 4.0-stable. 1848 1849commit b6d46558dbd482d0d9c46ab53805d1803967b59c 1850Author: Dmitry Misharov <dmitry@openssl.org> 1851Date: Mon Mar 16 09:08:57 2026 +0100 1852 1853 account newer openssl versions in .github/setup_ci.sh 1854 1855commit f2da6737e237324b43afc002ce4836e65659fb2e 1856Author: Darren Tucker <dtucker@dtucker.net> 1857Date: Thu Apr 16 19:32:34 2026 +1000 1858 1859 Match case with other messages. 1860 1861commit b433d015a6547598e568808d9cae16325bc8928f 1862Author: Damien Miller <djm@mindrot.org> 1863Date: Wed Apr 15 08:14:58 2026 +1000 1864 1865 regen signature on allowed_signers file 1866 1867 This was missed after the file was updated, but nobody noticed it 1868 until now. 1869 1870commit 4168c905943f7f715182180b9f7c8cda54af2514 1871Author: Damien Miller <djm@mindrot.org> 1872Date: Thu Apr 2 18:56:48 2026 +1100 1873 1874 depend 1875 1876commit f8b9d694fc20349b6c48a4af03a0499dea00f5f9 1877Author: Damien Miller <djm@mindrot.org> 1878Date: Thu Apr 2 18:55:50 2026 +1100 1879 1880 Update versions in RPM spec files 1881 1882commit 5aa09926fbf050d484a79717fadec8360c5c5645 1883Author: djm@openbsd.org <djm@openbsd.org> 1884Date: Thu Apr 2 07:52:15 2026 +0000 1885 1886 upstream: adapt to username validity check change 1887 1888 OpenBSD-Regress-ID: d22c66ca60f0d934a75e6ca752c4c11b9f4a5324 1889 1890commit eb3a5bb2abd4798ff546564eb2210d188efaf0f1 1891Author: djm@openbsd.org <djm@openbsd.org> 1892Date: Thu Apr 2 07:51:12 2026 +0000 1893 1894 upstream: openssh-10.3 1895 1896 OpenBSD-Commit-ID: 05e22de74e090e5a174998fa5799317d70ad19c4 1897 1898commit 76685c9b09a66435cd2ad8373246adf1c53976d3 1899Author: djm@openbsd.org <djm@openbsd.org> 1900Date: Thu Apr 2 07:50:55 2026 +0000 1901 1902 upstream: move username validity check for usernames specified on 1903 1904 the commandline to earlier in main(), specifically before some contexts where 1905 a username with shell characters might be expanded by a %u directive in 1906 ssh_config. 1907 MIME-Version: 1.0 1908 Content-Type: text/plain; charset=UTF-8 1909 Content-Transfer-Encoding: 8bit 1910 1911 We continue to recommend against using untrusted input on 1912 the SSH commandline. Mitigations like this are not 100% 1913 guarantees of safety because we can't control every 1914 combination of user shell and configuration where they are 1915 used. 1916 1917 Reported by Florian Kohnhäuser 1918 1919 OpenBSD-Commit-ID: 25ef72223f5ccf1c38d307ae77c23c03f59acc55 1920 1921commit fd1c7e131f331942d20f42f31e79912d570081fa 1922Author: djm@openbsd.org <djm@openbsd.org> 1923Date: Thu Apr 2 07:48:13 2026 +0000 1924 1925 upstream: correctly match ECDSA signature algorithms against 1926 1927 algorithm allowlists: HostKeyAlgorithms, PubkeyAcceptedAlgorithms and 1928 HostbasedAcceptedAlgorithms. 1929 1930 Previously, if any ECDSA type (say "ecdsa-sha2-nistp521") was 1931 present in one of these lists, then all ECDSA algorithms would 1932 be permitted. 1933 1934 Reported by Christos Papakonstantinou of Cantina and Spearbit. 1935 1936 OpenBSD-Commit-ID: c790e2687c35989ae34a00e709be935c55b16a86 1937 1938commit 487e8ac146f7d6616f65c125d5edb210519b833a 1939Author: djm@openbsd.org <djm@openbsd.org> 1940Date: Thu Apr 2 07:42:16 2026 +0000 1941 1942 upstream: when downloading files as root in legacy (-O) mode and 1943 1944 without the -p (preserve modes) flag set, clear setuid/setgid bits from 1945 downloaded files as one might expect. 1946 1947 AFAIK this bug dates back to the original Berkeley rcp program. 1948 1949 Reported by Christos Papakonstantinou of Cantina and Spearbit. 1950 1951 OpenBSD-Commit-ID: 49e902fca8dd933a92a9b547ab31f63e86729fa1 1952 1953commit c805b97b67c774e0bf922ffb29dfbcda9d7b5add 1954Author: djm@openbsd.org <djm@openbsd.org> 1955Date: Thu Apr 2 07:39:57 2026 +0000 1956 1957 upstream: add missing askpass check when using 1958 1959 ControlMaster=ask/autoask and "ssh -O proxy ..."; reported by Michalis 1960 Vasileiadis 1961 1962 OpenBSD-Commit-ID: 8dd7b9b96534e9a8726916b96d36bed466d3836a 1963 1964commit 78d549857e0cc480c3cbb0a3571078920e3b79c5 1965Author: djm@openbsd.org <djm@openbsd.org> 1966Date: Thu Apr 2 07:38:14 2026 +0000 1967 1968 upstream: Fix possible sshd crash when sshd_config set MaxStartups 1969 1970 to a value <10 using the single-argument form of MaxStartups (e.g. 1971 MaxStartups=3). This doesn't affect the three-argument form of the directive 1972 (e.g. MaxStartups 3:20:5). 1973 1974 Patch from Peter Kaestle via bz3941 1975 1976 OpenBSD-Commit-ID: 1ad093cae69f55ebfdea1ab24318aefd593d63b8 1977 1978commit 5d72f1865b95ebfd99ea7baa8f6f2a4b721d151e 1979Author: Damien Miller <djm@mindrot.org> 1980Date: Thu Apr 2 18:32:00 2026 +1100 1981 1982 properly bail out when PAM changes username 1983 1984 OpenSSH doesn't support PAM changing its conception of the 1985 username via a module calling pam_set_item(h, PAM_USER, ...). 1986 We were supposed to bail out here, but I messed up while "fixing" 1987 this last time and dropped a return statement. 1988 1989 Reported by Mike Damm 1990 1991commit fe86c39751d38eb9e9b03ace1e31aa4586ea6660 1992Author: Michael Forney <mforney@mforney.org> 1993Date: Wed Apr 1 12:09:00 2026 +1100 1994 1995 avoid k suffix in dd count operand in sftp-resume test 1996 1997 Not all dd implementations support this. POSIX only specifies 1998 suffixes for block size operands. 1999 2000 Instead, just use 1024k to avoid the special case. This also removes 2001 an incorrect redirection operator that appeared in the 1m case. 2002 2003commit 52c01f2a8019002c70cfd93be87ff9adee1d0e73 2004Author: Michael Forney <mforney@mforney.org> 2005Date: Tue Mar 31 12:54:22 2026 +1100 2006 2007 add missing <stdio.h> include to unit tests for printf 2008 2009 This fixes the build with --without-openssl on musl. glibc worked 2010 previously because it got stdio.h implicitly through resolv.h. 2011 2012commit 1340d3fa8e4bb122906a82159c4c9b91584d65ce 2013Author: Darren Tucker <dtucker@dtucker.net> 2014Date: Mon Mar 30 21:58:44 2026 +1100 2015 2016 Add proxyjump.sh omitted from previous commit. 2017 2018commit 607bd871ec029e9aa22e632a22547250f3cae223 2019Author: djm@openbsd.org <djm@openbsd.org> 2020Date: Mon Mar 30 07:19:02 2026 +0000 2021 2022 upstream: add a regression test for ProxyJump/-J; ok dtucker 2023 2024 OpenBSD-Regress-ID: 400dc1b5fb7f2437d0dfbd2eb9a3583dafb412b3 2025 2026commit 55fc7bfd1d3a46f4856fd68f09da60d901fac626 2027Author: dtucker@openbsd.org <dtucker@openbsd.org> 2028Date: Tue Mar 24 12:31:35 2026 +0000 2029 2030 upstream: Use ~/.shosts for Hostbased test. 2031 2032 OpenBSD-Regress-ID: ab64fd0a86422df1eadacde56c0a2cff5d93425d 2033 2034commit 445db5cb620d73c9af1f1791c523aaf3d2236854 2035Author: dtucker@openbsd.org <dtucker@openbsd.org> 2036Date: Tue Mar 24 10:21:14 2026 +0000 2037 2038 upstream: Ensure known_hosts file exists when setting up. 2039 2040 OpenBSD-Regress-ID: 92721cad4c219fe62b7b795a73505c22e56f09e0 2041 2042commit 2ecfcc0aae651621535e345a1c23ff6d2a9593c9 2043Author: dtucker@openbsd.org <dtucker@openbsd.org> 2044Date: Mon Mar 23 09:53:52 2026 +0000 2045 2046 upstream: Check if host keys exist before adding them, and expand 2047 2048 on the warning about modifying the system config. 2049 2050 OpenBSD-Regress-ID: 68038da909f9c992375b7665dab0331d6af426b7 2051 2052commit 5576e260a0f9836ca55c8279e342c63d1a0851d1 2053Author: dtucker@openbsd.org <dtucker@openbsd.org> 2054Date: Mon Mar 23 09:09:36 2026 +0000 2055 2056 upstream: Add special handling of 2057 2058 TEST_SSH_HOSTBASED_AUTH=setupandrun. 2059 2060 This will MODIFY THE CONFIG OF THE SYSTEM IT IS RUNNING ON to enable 2061 hostbased authentication to/from itself and run the hostbased tests. It 2062 won't undo these changes, so don't do this on a system where this matters. 2063 2064 OpenBSD-Regress-ID: ae5a86db1791a2b8f999b07b5c8cc756d40bf645 2065 2066commit 0a0ef4515361143cad21afa072319823854c1cf6 2067Author: djm@openbsd.org <djm@openbsd.org> 2068Date: Mon Mar 30 07:18:24 2026 +0000 2069 2070 upstream: apply the same validity rules to usernames and hostnames 2071 2072 set for ProxyJump/-J on the commandline as we do for destination user/host 2073 names. 2074 2075 Specifically, they are no longer allowed to contain most characters 2076 that have special meaning for common shells. Special characters are 2077 still allowed in ProxyJump commands that are specified in the config 2078 files. 2079 2080 This _reduces_ the chance that shell characters from a hostile -J 2081 option from ending up in a shell execution context. 2082 2083 Don't pass untrusted stuff to the ssh commandline, it's not intended 2084 to be a security boundary. We try to make it safe where we can, but 2085 we can't make guarantees, because we can't know the parsing rules 2086 and special characters for all the shells in the world, nor can we 2087 know what the user does with this data in their ssh_config wrt 2088 percent expansion, LocalCommand, match exec, etc. 2089 2090 While I'm in there, make ProxyJump and ProxyCommand first-match-wins 2091 between each other. 2092 2093 reported by rabbit; ok dtucker@ 2094 2095 OpenBSD-Commit-ID: f05ad8a1eb5f6735f9a935a71a90580226759263 2096 2097commit b62a6cfbed3481dac8bff35fab22cf489bb0b77f 2098Author: djm@openbsd.org <djm@openbsd.org> 2099Date: Sun Mar 29 01:08:13 2026 +0000 2100 2101 upstream: switch from int to long long for bandwidth calculations; 2102 2103 fixes rate display when rate > 2GB/s; based on patch from Cyril Servant 2104 feedback/ok deraadt@ 2105 2106 OpenBSD-Commit-ID: 071eb48c4cba598d70ea3854bef7c49ddfabf8d3 2107 2108commit 54443b8665c9c29ea0e3f5a5176d8f3c3403ad7c 2109Author: Damien Miller <djm@mindrot.org> 2110Date: Sun Mar 29 16:43:59 2026 +1100 2111 2112 depend 2113 2114commit c90f46b6230826cdadacd6c32b62b0f8106a09da 2115Author: Damien Miller <djm@mindrot.org> 2116Date: Sun Mar 29 16:42:33 2026 +1100 2117 2118 use nonnull attribute when available 2119 2120 Set this attribute on a few string to avoid compiler warnings from 2121 -Wunterminated-string-initialization warnings in recent gcc. 2122 2123commit bdaf65ae51d62c6cb676bd341cc34217c1b24920 2124Author: Damien Miller <djm@mindrot.org> 2125Date: Sun Mar 29 16:24:59 2026 +1100 2126 2127 fix state confusion between PAM and privsep code 2128 2129 Commits b9a6dd4d6 and df2b28163 introduced a potential desynchronisation 2130 between the PAM code and the sshd-session monitor that could result in 2131 authentication bypass if the unprivileged sshd-auth process had been 2132 compromised. 2133 2134 Reported by Ben Edelman of NIST. Only git HEAD is affected, these 2135 changes have not yet been included in an OpenSSH release. 2136 2137commit 6eb5a68c42a587df802d3d9a19088671269ffca8 2138Author: Laurent Chardon <laurent.chardon@gmail.com> 2139Date: Sat Mar 28 04:22:54 2026 -0400 2140 2141 openbsd-compat: reword EAI_NONAME error string 2142 2143 Reword the EAI_NONAME message in fake-rfc2553.c to make it 2144 clearer and grammatically correct. 2145 2146 While there, remove a couple of stray periods from other error 2147 strings to keep the messages consistent. 2148 2149 No functional change. 2150 2151commit fd7d4b2b52deaf296b06d78b85c97fdae31912e8 2152Author: Icenowy Zheng <uwu@icenowy.me> 2153Date: Sun Mar 22 15:13:31 2026 +0800 2154 2155 seccomp sandbox: allow riscv_hwprobe syscall if present 2156 2157 The development branch of zlib-ng now contains code for utilizing 2158 riscv_hwprobe syscall to retrieve availability information for several 2159 RISC-V extensions (and accelerate deflate algorithm with them). 2160 2161 As the seccomp sandbox of OpenSSH will raise SIGSYS for filtered out 2162 syscalls, this will abruptly terminate the process when the 2163 riscv_hwprobe syscall is tried. 2164 2165 Put it into the allowlist to prevent process termination. As all 2166 syscalls here are guarded by #ifdef's, the same will be done for 2167 riscv_hwprobe, and thus on non-RISC-V builds nothing will happen. 2168 2169 Signed-off-by: Icenowy Zheng <uwu@icenowy.me> 2170 2171commit fd5018fbeb6e91ae4321490c2825ecc632b83748 2172Author: djm@openbsd.org <djm@openbsd.org> 2173Date: Sat Mar 28 05:16:18 2026 +0000 2174 2175 upstream: ensure c->local_window doesn't underflow during updates; 2176 2177 similar to checks performed elsewhere. From Renaud Allard 2178 2179 OpenBSD-Commit-ID: 4827c10807936e9ab9af2cf1c7379e1f56dbdeac 2180 2181commit 8331cb9daafd23391de4379e9977ff159bb8242e 2182Author: djm@openbsd.org <djm@openbsd.org> 2183Date: Sat Mar 28 05:10:25 2026 +0000 2184 2185 upstream: fix base16 parsing; currently unused. From Renaud Allard 2186 2187 OpenBSD-Commit-ID: 3f6e5d4c6a2550d5a7e3c33bcd895b7f8e42196b 2188 2189commit 21ecb5fd72ee442a8b1eb5011c7f929ba8ce02f9 2190Author: djm@openbsd.org <djm@openbsd.org> 2191Date: Sat Mar 28 05:07:12 2026 +0000 2192 2193 upstream: mention that RevokedKeys is read by the server at each 2194 2195 authentication time and should only ever be replaced atomically. 2196 2197 OpenBSD-Commit-ID: eeedf5a10331ac4e39fbd2fc41e4a11c38b2ef9b 2198 2199commit c5182e3f06f9f1fd86d62b9dcd0397408dd698da 2200Author: djm@openbsd.org <djm@openbsd.org> 2201Date: Sat Mar 28 05:06:16 2026 +0000 2202 2203 upstream: fix potential hang if /etc/moduli doesn't contain the 2204 2205 requested DH group values; from 77c9ca, ok dtucker@, markus@ 2206 2207 OpenBSD-Commit-ID: 1bf402cdb8876237c280ac77fbf7fafd2c16c5ae 2208 2209commit d3efbba14fda78ed7b15fbc34cf34c1cf27d1716 2210Author: Darren Tucker <dtucker@dtucker.net> 2211Date: Thu Mar 19 17:57:26 2026 +1100 2212 2213 Add a VM-based test for OpenBSD-current. 2214 2215commit 4bb4f1601e0776e71cfca50aae3680eb0771e2d0 2216Author: Darren Tucker <dtucker@dtucker.net> 2217Date: Mon Mar 23 17:50:40 2026 +1100 2218 2219 Add a Valgrind test of the PAM config. 2220 2221commit 12da685dfc98b14dddb5977a1fc52d06474f3308 2222Author: Darren Tucker <dtucker@dtucker.net> 2223Date: Thu Mar 19 17:52:54 2026 +1100 2224 2225 Upstream tests don't use the config file. 2226 2227commit 2ca6eef69d7dbecfd67cede25ea6a9aa1074ba3e 2228Author: djm@openbsd.org <djm@openbsd.org> 2229Date: Mon Mar 23 01:33:46 2026 +0000 2230 2231 upstream: clarify that Authorized(Keys|Principals)(File|Command) 2232 2233 are only consulted for valid users. 2234 2235 clarify that TOKENS are expanded without sanitisation or escaping 2236 and that it's the user's reponsibility to ensure their usage is 2237 safe. 2238 2239 prompted by bz3936; feedback/ok deraadt@ 2240 2241 OpenBSD-Commit-ID: cd58abad1137346ba2dee55fa9ebb975f5fa7a06 2242 2243commit 443616ce9070d370c97271347e91fcfd24b5df84 2244Author: djm@openbsd.org <djm@openbsd.org> 2245Date: Thu Mar 19 02:36:28 2026 +0000 2246 2247 upstream: repair ssh-keysign after pledge changes; spotted/tested 2248 2249 by naddy@ ok deraadt@ 2250 2251 OpenBSD-Commit-ID: fccc6c7994c8f45c4417efe490d23154d9caaa6d 2252 2253commit 552a5c786b60a9cfe0d2c157dd18f78950529513 2254Author: dtucker@openbsd.org <dtucker@openbsd.org> 2255Date: Wed Mar 11 09:10:59 2026 +0000 2256 2257 upstream: Check return values of fcntl(... O_CLOEXEC) 2258 2259 calls by reusing the macro in monitor.c. Flagged by Coverity CID 2260 901297 in ssh-sk-client.c, a few other instances added for good measure. 2261 begrudging ok deraadt@ 2262 2263 OpenBSD-Commit-ID: b9de92e17ac0b04348770e5a25cb15a02b416926 2264 2265commit 24168275e6d0b29cf2233c3f2c1d4a4614feb582 2266Author: dtucker@openbsd.org <dtucker@openbsd.org> 2267Date: Wed Mar 11 09:04:17 2026 +0000 2268 2269 upstream: Fix potential 1-byte array overrun 2270 2271 in the case where read() returns exactly 100 bytes. Flagged by Coverity 2272 CID 901296, ok djm@ 2273 2274 OpenBSD-Commit-ID: 66a96b08166e63dcbeed00297c33f09c4f22c1f7 2275 2276commit 70a41262839a2d65ca8ef9e8ea34ad471c52afa1 2277Author: djm@openbsd.org <djm@openbsd.org> 2278Date: Tue Mar 10 07:27:14 2026 +0000 2279 2280 upstream: whitespace 2281 2282 OpenBSD-Commit-ID: b16d2b4a96406538fa181053926cba44abca7f29 2283 2284commit ef98b6014bc3268e904092894ffcb63022172a97 2285Author: deraadt@openbsd.org <deraadt@openbsd.org> 2286Date: Tue Mar 10 06:35:29 2026 +0000 2287 2288 upstream: when unveils error our, use correct variable 2289 2290 OpenBSD-Commit-ID: 6b496c10965e70413a9916a8823839c553c6b2c4 2291 2292commit beba5884dfe8cc30aadef439af5e5d784b5788b1 2293Author: deraadt@openbsd.org <deraadt@openbsd.org> 2294Date: Tue Mar 10 03:45:01 2026 +0000 2295 2296 upstream: When execve() failure is indicated on the pipe, replicate 2297 2298 the same error conditions as the previous access() check did ok djm 2299 2300 OpenBSD-Commit-ID: 875a77dddf0809a3501de2b913cb3bfd4b64f3f7 2301 2302commit 2a9e1aadaa20a05430bddc30853fbd3449083a4d 2303Author: djm@openbsd.org <djm@openbsd.org> 2304Date: Tue Mar 10 03:40:26 2026 +0000 2305 2306 upstream: unveil ssh-pkcs11-helper too; fixes breakage spotted by 2307 2308 anton@ 2309 2310 If SK/P11/askpass is overridden by environment, only unveil the requested 2311 path and not both the requested one and the default. 2312 2313 feedback/ok deraadt@ 2314 2315 OpenBSD-Commit-ID: 84356c6a44f35e66fe73fc1524a7c8e908521eb2 2316 2317commit 46eb7dc5a6f312f99437ebdcf04f0f2c03aa570b 2318Author: deraadt@openbsd.org <deraadt@openbsd.org> 2319Date: Sat Mar 7 18:35:43 2026 +0000 2320 2321 upstream: With it's own daemonization / fd cleaning code, ssh-agent 2322 2323 opens /dev/null O_RDWR after a pledge without "wpath". This is allowed in 2324 current pledge because "/dev/null" is implicitly allowed to be opened even 2325 with the most restrictive pledges or unveils. This is a design decision in 2326 pledge made at the very beginning, to satisfy libc requirements. We've 2327 finally had enough experience and know how to fix that in the near-future, 2328 but need to review and fix all code which opens these implicit paths. The fix 2329 is to add "wpath", so that "/dev/null" can be opened O_RDWR. But that is 2330 uncomfortable, so we add unveil() allowing "/" with "r", 4 unveil "x" for the 2331 potential askpass and helpers to be execve'd, and "/dev/null" with "wr". As 2332 a result filesystem access is substantially more restricted than before, and 2333 ssh-agent is ready for the future pledge change. ok djm dtucker 2334 2335 OpenBSD-Commit-ID: f223b11d2db3c0b14e53c1de59966dd5f372a977 2336 2337commit b75bf339eae6115c544bdcefa0d67a6dcc971ec5 2338Author: deraadt@openbsd.org <deraadt@openbsd.org> 2339Date: Sat Mar 7 18:27:52 2026 +0000 2340 2341 upstream: Stop doing access() before execve(). It is a TOCTOU, but 2342 2343 also it forces use of unveil "rx" instead of "x". This is done by using a 2344 pipe() through the fork+execve attempt to expose execve failure and create 2345 the same error return as the access() used to do. ok djm dtucker 2346 2347 OpenBSD-Commit-ID: f9ee96e20352f35dc6f39127e0cc6b804700200a 2348 2349commit 73888af650f0ce27cd93797f3e351b2d1b670550 2350Author: Damien Miller <djm@mindrot.org> 2351Date: Tue Mar 10 14:43:30 2026 +1100 2352 2353 stubs for OpenBSD unveil(2) 2354 2355commit 4e15f7fc0c0ba897c227350eee1462d635ab32a6 2356Author: dtucker@openbsd.org <dtucker@openbsd.org> 2357Date: Fri Mar 6 07:06:45 2026 +0000 2358 2359 upstream: Move OpenBSD CVS ID marker to top of file to avoid conflicts 2360 2361 when syncing changes to portable. 2362 2363 OpenBSD-Regress-ID: 6b7a9ef354e13e26ed474e98d04ec1d74e56e54e 2364 2365commit 2df416dff1a1d5fb31598b7ce8fb5cb6b0f64fd3 2366Author: dtucker@openbsd.org <dtucker@openbsd.org> 2367Date: Fri Mar 6 06:57:33 2026 +0000 2368 2369 upstream: Replace u_intXX_t types with the equivalent C99 uintXX_t 2370 2371 types to match similar change to the main ssh code. 2372 2373 OpenBSD-Regress-ID: a62b6499f784f75a4fcb865aebb83f5936917a91 2374 2375commit e067ccd6b4306ca6422d94ff7ddd231cbddd43cb 2376Author: djm@openbsd.org <djm@openbsd.org> 2377Date: Thu Mar 5 05:44:15 2026 +0000 2378 2379 upstream: ssh-agent supports a "query" extension that allows a 2380 2381 client to request a list of extensions it support. This makes this capability 2382 available to ssh-add via the -Q flag. 2383 2384 ok markus@ 2385 2386 OpenBSD-Commit-ID: f211630568ff1a7d6bb4983a94f05ddac1c2d4eb 2387 2388commit 4fe278629c3f792628ea71132ba4fcbb9ceaa6b7 2389Author: djm@openbsd.org <djm@openbsd.org> 2390Date: Thu Mar 5 05:40:35 2026 +0000 2391 2392 upstream: With IANA codepoints for draft-ietf-sshm-ssh-agent now 2393 2394 allocated, it's safe to start using the standard names for requesting agent 2395 forwarding over the @openssh.com extension names we've used to date. 2396 2397 Support for the standard names is advertised via EXT_INFO. When the 2398 client sees such support it will use the new names preferentially, 2399 but the existing names remain supported unconditionally. 2400 2401 ok markus@ 2402 2403 OpenBSD-Commit-ID: 1ab4a0b4de01e81a432875c2b7e5f7357e231af3 2404 2405commit 511f5bc41aeca7f6ee6611e9b24d48e4dd6ae3d5 2406Author: djm@openbsd.org <djm@openbsd.org> 2407Date: Thu Mar 5 05:35:44 2026 +0000 2408 2409 upstream: correctness wrt draft-ietf-sshm-ssh-agent: 2410 2411 extension requests should indicate failure using 2412 SSH_AGENT_EXTENSION_FAILURE rather than the generic SSH_AGENT_FAILURE 2413 error code. This allows the client to discern between "the request 2414 failed" and "the agent doesn't support this extension". 2415 2416 ok markus@ 2417 2418 OpenBSD-Commit-ID: d15d89f210cc973271d68147f09550163df731c9 2419 2420commit 2a387ba37452971747d2f00db7d4c18b4f2c45ed 2421Author: dtucker@openbsd.org <dtucker@openbsd.org> 2422Date: Tue Mar 3 09:57:25 2026 +0000 2423 2424 upstream: Replace all remaining instances of u_intXX_t types with the 2425 2426 C99 equivalent uintXX_t types. ok djm@ 2427 2428 OpenBSD-Commit-ID: d9b81151266adb129574ce268af49f14ac23e65b 2429 2430commit bb781f02d4efd178e329a62a838962bee16e3e9b 2431Author: djm@openbsd.org <djm@openbsd.org> 2432Date: Mon Mar 2 02:40:15 2026 +0000 2433 2434 upstream: Move banner exchange to sshd-auth process 2435 2436 Previously, exchange of the initial SSH- banners was performed 2437 by the privileged sshd-session monitor. This moves it to the 2438 unprivileged sshd-auth subprocess, removing ~200 LoC from the 2439 monitor's privileged attack surface. 2440 2441 The monitor gains a new "setcompat" RPC to allow sshd-auth to 2442 inform it of bug compat flags picked up from the client's banner. 2443 2444 feedback dtucker@, ok markus@ deraadt@ 2445 2446 OpenBSD-Commit-ID: d767eb1183630d754d521d9f0d84a6c72fbe7fc8 2447 2448commit b50b881b17ab15e34b5e57b159b65f2a02725798 2449Author: Darren Tucker <dtucker@dtucker.net> 2450Date: Sun Mar 1 09:46:39 2026 +1100 2451 2452 Try -lstdc++ for libcrypto before giving up. 2453 2454 BoringSSL recently added destructors to libcrypto, which requires 2455 linking against libstdc++, so when checking for a working libcrypto if 2456 at first the link fails, try again with -lstdc++ before giving up. 2457 2458commit c26d90e5ad05372b63dbb8727cb6c23a6505a2fb 2459Author: Darren Tucker <dtucker@dtucker.net> 2460Date: Sun Mar 1 09:41:39 2026 +1100 2461 2462 Remove BoringSSL rpath as it's statically linked. 2463 2464commit c65f4d2586416274e92720c9e1e745422e182488 2465Author: dtucker@openbsd.org <dtucker@openbsd.org> 2466Date: Tue Feb 24 01:50:51 2026 +0000 2467 2468 upstream: Use fmprintf instead of logit for challenge-response name and 2469 2470 info to preserve UTF-8 characters where appropriate. Prompted by github 2471 PR#452, with & ok djm@. 2472 2473 OpenBSD-Commit-ID: e6361242329ec6925571478f60f4739726aad308 2474 2475commit acf749756872d7555eca48514e5aca6962116fb2 2476Author: Darren Tucker <dtucker@dtucker.net> 2477Date: Tue Feb 24 11:28:11 2026 -0500 2478 2479 Add AWS-LC and BoringSSL as potential libcryptos. 2480 2481commit c25254d1516df5e57affc0e391ed6ead8267b637 2482Author: Darren Tucker <dtucker@dtucker.net> 2483Date: Tue Feb 24 11:16:11 2026 -0500 2484 2485 Add self-hosted status to main README now it's public. 2486 2487commit 5da0ccec2b5806f104913465b62fea475b2e15bb 2488Author: Darren Tucker <dtucker@dtucker.net> 2489Date: Tue Feb 24 11:10:16 2026 -0500 2490 2491 Remove anchor to specific release notes version. 2492 2493commit d7a9cd696a316c71e4c16f4158dc516b94abd863 2494Author: Darren Tucker <dtucker@dtucker.net> 2495Date: Mon Feb 23 21:34:48 2026 -0500 2496 2497 Remove potentially leftover include compat shims. 2498 2499 If we don't need a specific shim, ensure it does not exist. Prevents 2500 confusion if configurations change or the directory is reused across 2501 different platforms. 2502 2503commit c940e709ae2155a4614bc3709e393d88fdddabde 2504Author: Darren Tucker <dtucker@dtucker.net> 2505Date: Mon Feb 23 20:54:55 2026 -0500 2506 2507 Check regress passwd is set before enabling kbdint. 2508 2509commit 4ed5f9ecca9ed867c9f1040a3425af35f0703675 2510Author: dtucker@openbsd.org <dtucker@openbsd.org> 2511Date: Tue Feb 24 00:39:59 2026 +0000 2512 2513 upstream: Remove leftover debugging. 2514 2515 OpenBSD-Regress-ID: e778d76b21696a14db80f31b9e79601f2d7a9abf 2516 2517commit a07a53b00e9aeadb420336783d219be012d88ba1 2518Author: Darren Tucker <dtucker@dtucker.net> 2519Date: Mon Feb 23 15:22:10 2026 -0500 2520 2521 Activate kbdint test on PAM configs. 2522 2523commit 5f98660c51e673f521e0216c7ed20205c4af10ed 2524Author: Darren Tucker <dtucker@dtucker.net> 2525Date: Wed Feb 18 12:39:31 2026 -0500 2526 2527 Install libaudit-dev for --with-audit=linux test. 2528 2529commit c9fcea8865b255d4b7566b28dce4af348d2bfbd6 2530Author: Darren Tucker <dtucker@dtucker.net> 2531Date: Wed Feb 18 11:22:37 2026 -0500 2532 2533 Enable BSM audit test on FreeBSD VMs. 2534 2535commit f1a9628cd7e415ce14e157d80c10b61514a22d13 2536Author: Darren Tucker <dtucker@dtucker.net> 2537Date: Wed Feb 18 10:59:02 2026 -0500 2538 2539 Move BSM audit test to selfhosted runner. 2540 2541 The vmactions VM on Github does not have the required libraries 2542 installed. 2543 2544commit 97e8e66219d036404ae656060f0e0179b61f0614 2545Author: Darren Tucker <dtucker@dtucker.net> 2546Date: Wed Feb 18 10:51:09 2026 -0500 2547 2548 Increase riscv64 test coverage. 2549 2550 The machine running the tests has been replaced with a faster one. 2551 2552commit e5e18432a27b909aa2194ef0b28a5d49f0e6b3a6 2553Author: Darren Tucker <dtucker@dtucker.net> 2554Date: Wed Feb 18 10:49:35 2026 -0500 2555 2556 Whitespace fix. 2557 2558commit b0463306174941274a1f96eb705618e036832920 2559Author: Darren Tucker <dtucker@dtucker.net> 2560Date: Wed Feb 18 09:48:55 2026 -0500 2561 2562 Add test coverage for all of the --audit= configs. 2563 2564commit 84206bde8adbef2dfe4f5b97dd23399827015333 2565Author: djm@openbsd.org <djm@openbsd.org> 2566Date: Wed Feb 18 03:04:12 2026 +0000 2567 2568 upstream: same treatment for remote/remote copies (i.e. scp -3): 2569 2570 adjust permissions on destination directory only if we created it or -p was 2571 requested. bz3925 2572 2573 OpenBSD-Commit-ID: d977006df7b8330e06ceaa319383b347f1aca3ef 2574 2575commit c3631567d9f77c2d073764e4b40f249687f4083e 2576Author: djm@openbsd.org <djm@openbsd.org> 2577Date: Wed Feb 18 02:59:27 2026 +0000 2578 2579 upstream: when uploading a directory using sftp/sftp (e.g. during a 2580 2581 recursive transfer), don't clobber the remote directory permissions unless 2582 either we created the directory during the transfer or the -p flag was set. 2583 bz3925 ok dtucker@ 2584 2585 OpenBSD-Commit-ID: d66f40d01de05c9ec4029fab5413325301039b3a 2586 2587commit 2b0f4a72bd87bef7cc9f0a1889cfc98545cbb158 2588Author: djm@openbsd.org <djm@openbsd.org> 2589Date: Tue Feb 17 21:45:07 2026 +0000 2590 2591 upstream: make IPQoS first-match-wins in sshd_config as it's 2592 2593 intended to be bz3924 2594 2595 OpenBSD-Commit-ID: 42753eb8400ab09713c69ace6fa8bfdde133f942 2596 2597commit 0e35095babe04ba1159e8029133e7f71e53d8fdb 2598Author: jsg@openbsd.org <jsg@openbsd.org> 2599Date: Mon Feb 16 23:47:06 2026 +0000 2600 2601 upstream: remove duplicate includes; ok dtucker@ 2602 2603 OpenBSD-Commit-ID: 6b9191bc1a0f4320c926d5ccd9f36b09f0f3bcaf 2604 2605commit 9eb778cfde5bca1d84bbad74d8664256301bb13b 2606Author: Darren Tucker <dtucker@dtucker.net> 2607Date: Mon Feb 16 18:58:04 2026 -0500 2608 2609 Restore utf8.h removed earlier as it's needed. 2610 2611 ... for msetlocale prototype. 2612 2613commit 723b76c8a358875cd53376c9a169887ba7a4b088 2614Author: Darren Tucker <dtucker@dtucker.net> 2615Date: Mon Feb 16 18:32:41 2026 -0500 2616 2617 Removed duplicate includes; spotted by jsg@. 2618 2619commit df2b28163ac75e023837de445d6492dc57359105 2620Author: Darren Tucker <dtucker@dtucker.net> 2621Date: Sun Feb 15 14:16:56 2026 -0500 2622 2623 Remove "draining" of PAM prompts. 2624 2625 With the previous commit, both prompts and info/error error messages are 2626 returned to keyboard-interactive immedately and none are accumulated, so 2627 there will never be any un-drained prompts. ok djm@ 2628 2629commit b9a6dd4d66ee14577494d550b396d0452bf05e1e 2630Author: Marco Trevisan (Treviño) <mail@3v1n0.net> 2631Date: Tue Oct 17 04:27:32 2023 +0200 2632 2633 auth-pam: Immediately report interactive instructions to clients 2634 2635 SSH keyboard-interactive authentication method supports instructions but 2636 sshd didn't show them until an user prompt was requested. 2637 2638 This is quite inconvenient for various PAM modules that need to notify 2639 an user without requiring for their explicit input. 2640 2641 So, properly implement RFC4256 making instructions to be shown to users 2642 when they are requested from PAM. 2643 2644 Closes: https://bugzilla.mindrot.org/show_bug.cgi?id=2876 2645 2646commit a1158bba43e00240c00c530596de2d4e1d405b50 2647Author: Matthew Heller <hellermf@accre.vanderbilt.edu> 2648Date: Mon Oct 14 09:25:41 2024 -0500 2649 2650 fix duplicate PAM msgs, missing loginmsg reset 2651 2652 without this change in mm_answer_pam_account all messages added in 2653 auth-pam.c sshpam_query(...) case PAM_SUCCESS end up sent here, then are 2654 still sitting in the loginmsg buffer and printed a second time in 2655 session.c do_login(...) 2656 2657commit 7a59f55e621c841aab187c96e0f3271c5c799709 2658Author: dtucker@openbsd.org <dtucker@openbsd.org> 2659Date: Mon Feb 16 00:45:41 2026 +0000 2660 2661 upstream: Reorder headers to match KNF and Portable. 2662 2663 ID sync only. 2664 2665 OpenBSD-Commit-ID: b7f9700d07b532eb3720f7bd722b952e31b1752f 2666 2667commit c5cee49a0c5721532716365f32977fc02eeea1d5 2668Author: dtucker@openbsd.org <dtucker@openbsd.org> 2669Date: Sun Feb 15 22:29:30 2026 +0000 2670 2671 upstream: Add basic test for keyboard-interactive auth. 2672 2673 Not enabled by default since it requires some setup on the host. 2674 2675 OpenBSD-Regress-ID: aa8a9608a2ea2e5aaa094c5a5cc453e4797cd902 2676 2677commit 07c6413e7bf08b7bfc6fd543eded9da68898e230 2678Author: jsg@openbsd.org <jsg@openbsd.org> 2679Date: Sat Feb 14 00:18:34 2026 +0000 2680 2681 upstream: remove unneeded includes; ok dtucker@ 2682 2683 OpenBSD-Commit-ID: bba6e85492276c30c7a9d27dfd3c4c55fa033335 2684 2685commit d8b806a2e6cd50c729e5d2bad569955a1df33f63 2686Author: Darren Tucker <dtucker@dtucker.net> 2687Date: Sun Feb 15 13:31:52 2026 -0500 2688 2689 Remove obsolete comment referencing auth-chall.c. 2690 2691 It was removed in commit 6cb6dcff along with the rest of the SSH1 server 2692 support. 2693 2694commit 3e8a45e0eeb5c84f12ac04ea7cc2f831c91c263b 2695Author: Marco Trevisan (Treviño) <mail@3v1n0.net> 2696Date: Mon Oct 16 21:15:45 2023 +0200 2697 2698 auth-pam: Add an enum to define the PAM done status 2699 2700 Makes things more readable and easier to extend 2701 2702commit 9b0e50b4132679f0c09c0f1272bf1c45959103ea 2703Author: Marco Trevisan (Treviño) <mail@3v1n0.net> 2704Date: Tue Oct 17 04:35:17 2023 +0200 2705 2706 auth-pam: Add debugging information when we receive PAM messages 2707 2708commit c2447697aaecae11d164f1ba30e06d14b5cabcdd 2709Author: Darren Tucker <dtucker@dtucker.net> 2710Date: Fri Feb 13 15:34:44 2026 -0500 2711 2712 Remove DragonFlyBSD workaround for sys/mount.h. 2713 2714 ... since we're not not including it at all any more. 2715 2716commit 8b3a0552054106feb036c632fc844f878568799f 2717Author: dtucker@openbsd.org <dtucker@openbsd.org> 2718Date: Fri Feb 13 19:06:18 2026 +0000 2719 2720 upstream: Replace <sys/mount.h> with <limits.h> 2721 2722 The former is a portability hassle, but it turns out the only thing we 2723 need from it is PATH_MAX which we can get directly from limits.h. 2724 2725 OpenBSD-Commit-ID: ccfbbd678bef3a3930ae89da456645c3ee5f83c0 2726 2727commit db475199639667197b12b3aa5205de71ef102e23 2728Author: jsg@openbsd.org <jsg@openbsd.org> 2729Date: Fri Feb 13 01:04:47 2026 +0000 2730 2731 upstream: remove unneeded forward struct declaration ok djm@ 2732 2733 OpenBSD-Commit-ID: a0c97e919667394bef8dbf31df72af3ba07542e9 2734 2735commit ae51e05dbd840ad674fee754f33c0e2fd141074e 2736Author: djm@openbsd.org <djm@openbsd.org> 2737Date: Wed Feb 11 22:58:23 2026 +0000 2738 2739 upstream: very basic testing of multiple files in RevokedKeys and 2740 2741 RevokedHostkeys 2742 2743 OpenBSD-Regress-ID: 6cee76bcc4bd6840bc8d39dd0d32d724e1427aa7 2744 2745commit 2f51e29b9a0ffd7acb9dc70d90defa466b5695d4 2746Author: djm@openbsd.org <djm@openbsd.org> 2747Date: Wed Feb 11 22:57:55 2026 +0000 2748 2749 upstream: support multiple files in a ssh_config RevokedHostKeys 2750 2751 directive bz3918; ok dtucker 2752 2753 OpenBSD-Commit-ID: 0ad2eacf836f912f347846ab84760799033dd348 2754 2755commit 135a62238a479c7369f2b2d5dafb921ddc1c2b74 2756Author: djm@openbsd.org <djm@openbsd.org> 2757Date: Wed Feb 11 22:57:16 2026 +0000 2758 2759 upstream: support multiple files in a sshd_config RevokedKeys 2760 2761 directive bz3918; ok dtucker 2762 2763 OpenBSD-Commit-ID: 9fc58c4e676f8e9ed2e3a0da666242a17b8a55b2 2764 2765commit 3160f2a97e875bfa9454f98899cbccad48c96ff4 2766Author: dtucker@openbsd.org <dtucker@openbsd.org> 2767Date: Wed Feb 11 17:05:32 2026 +0000 2768 2769 upstream: Add includes used in Portable to reduce diffs. 2770 2771 OpenBSD-Commit-ID: 186c60cf2da0ddb075d5bc4879e87bbd8779b7e4 2772 2773commit 6a756f3f7b9f87f24e948ec1de0266f5c1587811 2774Author: dtucker@openbsd.org <dtucker@openbsd.org> 2775Date: Wed Feb 11 17:03:17 2026 +0000 2776 2777 upstream: Remove unused sys/queue.h include. 2778 2779 OpenBSD-Commit-ID: 564f75672e27f1006f280614934eb304abe69167 2780 2781commit c169300df12b9aa7005ff6e61880a7e007e83bc5 2782Author: dtucker@openbsd.org <dtucker@openbsd.org> 2783Date: Wed Feb 11 17:01:34 2026 +0000 2784 2785 upstream: Reorder includes and defines to match both KNF and 2786 2787 Portable. 2788 2789 OpenBSD-Commit-ID: f3f179c095f8e4787ded5f450e2842881f6b8ab2 2790 2791commit 1a4eb511abaf3522b84fa5697524b81b4865279b 2792Author: Darren Tucker <dtucker@dtucker.net> 2793Date: Wed Feb 11 17:36:42 2026 -0500 2794 2795 Factor out RNG reseeding in to a single function. 2796 2797 sshd and sshd-session both reseed the RNG after a fork. Move the 2798 existing reseed_prngs() function into entropy.c and use for both. 2799 Clean up entropy.h too. ok djm@ 2800 2801commit 81746188e9333b166b4c31f9654d8eb249ddd897 2802Author: Darren Tucker <dtucker@dtucker.net> 2803Date: Wed Feb 11 16:47:27 2026 -0500 2804 2805 Remove do_pam_chauthtok since it's no longer used. 2806 2807commit f1b9e0f7f1f1ed5be2bd1c39bda03fc99a1cf5d8 2808Author: dtucker@openbsd.org <dtucker@openbsd.org> 2809Date: Wed Feb 11 16:57:38 2026 +0000 2810 2811 upstream: Pass actual size of the buffer to hostname() instead of a 2812 2813 define that's probably the same. ok millert@ djm@ 2814 2815 OpenBSD-Commit-ID: 7c97b22439100b4193404ccfa1e5f539c5a8d039 2816 2817commit 4ef24496b7c4c918d4d3a049f83739fbe2e36e9f 2818Author: dtucker@openbsd.org <dtucker@openbsd.org> 2819Date: Mon Feb 9 22:15:45 2026 +0000 2820 2821 upstream: De-underscore __inline__ to match -portable 2822 2823 (and every other use of it in ssh). ID sync only. 2824 2825 OpenBSD-Commit-ID: 83c913d5e2345635bc5434167ed67cec5409d494 2826 2827commit c8972792e5ce599e584bbe1aa084cc4056f1afe5 2828Author: dtucker@openbsd.org <dtucker@openbsd.org> 2829Date: Mon Feb 9 22:12:48 2026 +0000 2830 2831 upstream: Remove references to skey auth which is long gone. 2832 2833 ID sync only. 2834 2835 OpenBSD-Commit-ID: 0c2340566c399f7f74fe4c5366394974cd6fd122 2836 2837commit db779679839d2798de7cda196a3fe750a12845e8 2838Author: dtucker@openbsd.org <dtucker@openbsd.org> 2839Date: Mon Feb 9 22:11:39 2026 +0000 2840 2841 upstream: Remove unused OpenSSL includes, 2842 2843 that are no longer used, even when building with OPENSSL=yes. 2844 2845 OpenBSD-Commit-ID: e97e3e551ade9aee994b80a1d5851be6f32288e3 2846 2847commit 8ec21f6274108e93601173ec4e6f7528b90b0003 2848Author: dtucker@openbsd.org <dtucker@openbsd.org> 2849Date: Mon Feb 9 22:09:48 2026 +0000 2850 2851 upstream: Use https for URLs. 2852 2853 ID sync only. 2854 2855 OpenBSD-Commit-ID: 85b2919e95e6d2bfdeddf5e3b0709fb5b6b4c438 2856 2857commit c3eaa953ae78e581d7ba2327beea35206a14bc1e 2858Author: dtucker@openbsd.org <dtucker@openbsd.org> 2859Date: Mon Feb 9 21:38:14 2026 +0000 2860 2861 upstream: Remove unused OpenSSL includes, 2862 2863 which are no longer used even when building with OPENSSL=yes. 2864 2865 OpenBSD-Commit-ID: 31adb21bf3f8f5c13cde59229f1b85c20f19a858 2866 2867commit 280cf58afe71bf34141e732d30676367f0150bbe 2868Author: dtucker@openbsd.org <dtucker@openbsd.org> 2869Date: Mon Feb 9 21:23:35 2026 +0000 2870 2871 upstream: Remove now-unused SKEYQUERY enums from monitor_reqtype. 2872 2873 ID sync only. 2874 2875 OpenBSD-Commit-ID: dab93b58e69c754887507e5557a81a0b5b84d734 2876 2877commit bb2703365ede3b4e13fdfa1c250ac88408e75f38 2878Author: dtucker@openbsd.org <dtucker@openbsd.org> 2879Date: Mon Feb 9 21:21:39 2026 +0000 2880 2881 upstream: Remove now-unused openssl includes since sshd.c no longer 2882 2883 needs them, even when built with OpenSSL. 2884 2885 OpenBSD-Commit-ID: ceaa0394db1520e92d75c37eea58130d44ba93c9 2886 2887commit 8a5d591c9f42933c49ece95e49c116d684d6cca0 2888Author: Darren Tucker <dtucker@dtucker.net> 2889Date: Wed Feb 11 11:38:58 2026 -0500 2890 2891 Don't create sys/mount.h shim except on DragonFly. 2892 2893 Fixes build on Mac OS X. 2894 2895commit 957cb0fbe87b6ab76045e8dc99426db6afb54057 2896Author: Darren Tucker <dtucker@dtucker.net> 2897Date: Tue Feb 10 08:55:53 2026 +1100 2898 2899 Minor resync with upstream 2900 2901 Reorder definitions add whitespace to eliminate diffs vs upstream. 2902 2903commit 4922635d3e66f9107c5b68a0a3fa57ddf0d820ae 2904Author: Darren Tucker <dtucker@dtucker.net> 2905Date: Tue Feb 10 07:22:30 2026 +1100 2906 2907 Factor out COMPATINCLUDES into its own variable. 2908 2909commit 3e9c4ed3b0e5d3890fcd2cbc9c3b595f17ea1946 2910Author: Darren Tucker <dtucker@dtucker.net> 2911Date: Tue Feb 10 05:34:46 2026 +1100 2912 2913 Provide compat shims for sys/{mount.h,statvfs.h). 2914 2915 In addition to shimming on platforms that don't have them, we also need to 2916 shim sys/mount.h on DragonFlyBSD since it uses its native STAILQ_ENTRYs 2917 which our compat queues.h does not have, which causes sftp-server.o to 2918 not build. This is a little icky, but it limits the blast radius to 2919 just one source file on only DragonFly. ok djm@ 2920 2921commit eeb671fa2f0fd7dda4c6b726098fe28016dc185b 2922Author: Darren Tucker <dtucker@dtucker.net> 2923Date: Tue Feb 10 03:39:45 2026 +1100 2924 2925 Shim <sys/queue.h> and <sys/tree.h>. 2926 2927 This significantly reduces the diff vs upstream making future syncs 2928 less painful. ok djm@ 2929 2930commit 47828dbd95c095d0cad327e12bb6859a510833c8 2931Author: dtucker@openbsd.org <dtucker@openbsd.org> 2932Date: Sun Feb 8 19:54:31 2026 +0000 2933 2934 upstream: Reorder headers according to KNF, 2935 2936 and pull in a few we don't have from Portable. 2937 2938 OpenBSD-Commit-ID: d83f6c75da7bfb16bbff40fd2133d6eba4aba272 2939 2940commit c73b8b09bf43be3dfe14bc0da349b352b280a74a 2941Author: dtucker@openbsd.org <dtucker@openbsd.org> 2942Date: Sun Feb 8 17:51:43 2026 +0000 2943 2944 upstream: Include sys/socket.h to match -portable, 2945 2946 eliminating one diff. 2947 2948 OpenBSD-Commit-ID: 7670fdf35b0c7aee41cd0d6ded86b4792e261f36 2949 2950commit 9385d72dd36ba6050b5f7728c14e3edc8329fe95 2951Author: dtucker@openbsd.org <dtucker@openbsd.org> 2952Date: Sun Feb 8 17:50:49 2026 +0000 2953 2954 upstream: Reorder headers as per KNF. 2955 2956 OpenBSD-Commit-ID: 3e29fabe20422454fd5d77f85c853e1e557f2181 2957 2958commit 62439369181b9b1dabf1ec3c2de6a7fbfcfb45eb 2959Author: Darren Tucker <dtucker@dtucker.net> 2960Date: Mon Feb 9 06:56:35 2026 +1100 2961 2962 Remove openindiana VM test. 2963 2964 When it works it's by far the slowest (>1h to install packages) and the 2965 package installation is flaky. We can bring it back if their infra ever 2966 improves. 2967 2968commit 43d0bf02d84a20a3f7c9992dabf8c109d9c25bed 2969Author: Darren Tucker <dtucker@dtucker.net> 2970Date: Mon Feb 9 06:42:27 2026 +1100 2971 2972 Sync header order with upstream and KNF. 2973 2974commit a3742cc38a6aa48a653a1a6300bc825f083955af 2975Author: Darren Tucker <dtucker@dtucker.net> 2976Date: Mon Feb 9 06:41:07 2026 +1100 2977 2978 Sync whitespace with upstream. 2979 2980commit b62198a19a53227ca166c62825ac72a7696c42ed 2981Author: Darren Tucker <dtucker@dtucker.net> 2982Date: Mon Feb 9 05:02:36 2026 +1100 2983 2984 Sync header order with upstream. 2985 2986commit 98fdb05f0c0d7a89a066225a94eafd7fce10163d 2987Author: Darren Tucker <dtucker@dtucker.net> 2988Date: Mon Feb 9 04:09:26 2026 +1100 2989 2990 Remove generic check for getpagesize. 2991 2992 We have a more specific check later. 2993 2994commit 249476f45dba9a92056bd2935aae7429f0f3b17c 2995Author: Darren Tucker <dtucker@dtucker.net> 2996Date: Mon Feb 9 03:47:25 2026 +1100 2997 2998 Test KERBEROS5=yes builds on OpenBSD. 2999 3000commit 6adb65508efc2def558f50a56c5eada09ca500c9 3001Author: dtucker@openbsd.org <dtucker@openbsd.org> 3002Date: Sun Feb 8 15:28:01 2026 +0000 3003 3004 upstream: Make ssh optionally build with Kerberos 5 against the 3005 3006 Heimdal port. This updates the Makefiles and repairs some bitrot in headers, 3007 resyncing them against Portable. To do this, "pkg_add heimdal" then "make 3008 KERBEROS5=yes". ok djm@ 3009 3010 (ID sync only) 3011 3012 OpenBSD-Commit-ID: 31f95c9ba58aa7ba89264f1d80c79106042b1095 3013 3014commit d6c672a8c16c8962e6b3022e279441fa6630cb86 3015Author: dtucker@openbsd.org <dtucker@openbsd.org> 3016Date: Sun Feb 8 03:30:15 2026 +0000 3017 3018 upstream: Remove sys/poll.h since we also have poll.h. 3019 3020 Also removes one line of diff vs portable. 3021 (ID sync only). 3022 3023 OpenBSD-Commit-ID: 461bd0cd35bfad82bd06892ccb0ff0fac15d1d27 3024 3025commit 8605ed26334b9ae704b8abe51940b61bdfe1e974 3026Author: dtucker@openbsd.org <dtucker@openbsd.org> 3027Date: Sun Feb 8 00:16:34 2026 +0000 3028 3029 upstream: Move setting of user, service and style earlier since 3030 3031 -portable needs to use these when setting up PAM. Removes two diffs vs 3032 portable. 3033 3034 OpenBSD-Commit-ID: 8db130d42a3581b7a1eaed65917673d4474fc4fe 3035 3036commit ecaaa4f9e44764e55c152a84af3d7efb63c50ce7 3037Author: Darren Tucker <dtucker@dtucker.net> 3038Date: Sun Feb 8 11:30:21 2026 +1100 3039 3040 Move USE_SYSTEM_GLOB into a glob.h compat shim. 3041 3042 This moves the logic for selecting whether or not we can use the system 3043 glob into configure, and if either don't have glob or can't use it, we 3044 create the shim. Removes several diffs vs upstream. 3045 3046commit 2a1a257612b7c6bcacd934149146a3da7411c485 3047Author: dtucker@openbsd.org <dtucker@openbsd.org> 3048Date: Sat Feb 7 18:04:53 2026 +0000 3049 3050 upstream: misc.h is needed for ForwardOptions in servconf.h. 3051 3052 OpenBSD-Commit-ID: b241d81c499e273fc2d81c82d5b7c7b280827416 3053 3054commit ad632364fb06f3bd1e9177e587d0040cf7958676 3055Author: Jonas 'Sortie' Termansen <sortie@maxsi.org> 3056Date: Sat Nov 2 22:30:07 2024 +0100 3057 3058 Remove unused <netinet/in_systm.h> includes. 3059 3060 netinet/in_systm.h is no longer in upstream and anything that actually 3061 needs it will get it from includes.h. 3062 3063commit 9ebce88be9d88605e02551fe7f65ef6a16f72667 3064Author: dtucker@openbsd.org <dtucker@openbsd.org> 3065Date: Sat Feb 7 17:10:34 2026 +0000 3066 3067 upstream: Also check for EWOULDBLOCK on system error. This is the 3068 3069 same as EAGAIN on OpenBSD so is a no-op but removes a diff making portable 3070 syncs easier. (ID sync only). 3071 3072 OpenBSD-Commit-ID: 68a5dcc5e2a506208c40396c6366f67bbf3b1dbe 3073 3074commit ccc1faf67df795d5cd757df754703823d0874028 3075Author: dtucker@openbsd.org <dtucker@openbsd.org> 3076Date: Sat Feb 7 17:04:22 2026 +0000 3077 3078 upstream: Move ssherr.h to where portable needs it. 3079 3080 (ID sync only) 3081 3082 OpenBSD-Commit-ID: 0488ce85f24864186678dcac7c9973ca44bd2cd5 3083 3084commit 6decbb90413c67c10ac2fd5b17a9c161196641ea 3085Author: Darren Tucker <dtucker@dtucker.net> 3086Date: Sun Feb 8 04:30:40 2026 +1100 3087 3088 Move paths.h and poll.h includes to resync with upstream. 3089 3090commit 4fe79e3deb5457af588ab67ee5db642afedd935f 3091Author: Darren Tucker <dtucker@dtucker.net> 3092Date: Sun Feb 8 04:28:28 2026 +1100 3093 3094 Move poll.h include to resync with upstream. 3095 3096commit 9e585f11bb71115fb0376b2b6118892ab600aa4f 3097Author: Darren Tucker <dtucker@dtucker.net> 3098Date: Sun Feb 8 04:25:42 2026 +1100 3099 3100 Resync minor format diffs with upstream. 3101 3102commit 3fd88caa36a94d85ae66bff297142606d08decde 3103Author: Darren Tucker <dtucker@dtucker.net> 3104Date: Sun Feb 8 03:56:15 2026 +1100 3105 3106 Resync headers with upstream. 3107 3108commit 77e41d0c1c8801c553b43eef5974268425395667 3109Author: Darren Tucker <dtucker@dtucker.net> 3110Date: Sun Feb 8 03:52:31 2026 +1100 3111 3112 Resync with upstream (unused header and whitespace). 3113 3114commit a393759f9693a08a7fba18d4824b74f2dda1fe3d 3115Author: Artem Savkov <artem.savkov@gmail.com> 3116Date: Tue Nov 18 16:26:11 2025 +0100 3117 3118 Fix ut_type for btmp records 3119 3120 According to man utmp ut_type is supposed to be only switched from 3121 LOGIN_PROCESS to USER_PROCESS after succesfull authentication and this 3122 is how sshd behaved before 671c44078. 3123 3124 Fixes: 671c44078 ("use construct_utmp to construct btmp records") 3125 Signed-off-by: Artem Savkov <artem.savkov@gmail.com> 3126 3127commit 15fe1ceb29760d72398c6ac7df5a403416cba207 3128Author: djm@openbsd.org <djm@openbsd.org> 3129Date: Sat Feb 7 02:02:00 2026 +0000 3130 3131 upstream: bit of webauthn support missed in previous commit 3132 3133 OpenBSD-Commit-ID: 9768454543ded01b7c61567fc5b3e78664346be2 3134 3135commit 670f7d210ceae59db73b16b67e52d8fd8def3012 3136Author: dtucker@openbsd.org <dtucker@openbsd.org> 3137Date: Fri Feb 6 23:39:14 2026 +0000 3138 3139 upstream: Adjust Makefiles to include just-added 3140 3141 ssherr_libcrypto where necessary. 3142 3143 OpenBSD-Regress-ID: 53d179a2db3ab931f2aa0e5447cf20cb9787a8bb 3144 3145commit 9c4949c11d8da1a5422e2174afb1a4f5b3dc8914 3146Author: dtucker@openbsd.org <dtucker@openbsd.org> 3147Date: Fri Feb 6 23:31:29 2026 +0000 3148 3149 upstream: Fetch the error reason from libcrypto 3150 3151 if available, append it to the corresponding ssh error message and 3152 optionall print the libcrypto full error stack (at debug1). with & 3153 ok tb@ djm@ millert@ schwarze@ 3154 3155 Note that the quality of errors obtainable from libcrypto is somewhat 3156 variable, so these may be any of: useful, misleading, incomplete 3157 or missing entirely. As a result we reserve the right to change 3158 what is returned or even stop returning it if it does more harm than 3159 good. 3160 3161 OpenBSD-Commit-ID: 1ad599ac3eeddbe254fec6b9c1cf658fa70d572e 3162 3163commit 5b12d836e7c42c146ac1a69a9600db05282dbbb8 3164Author: THE-Spellchecker <The.Spellchecker@outlook.com> 3165Date: Sat Jan 3 22:11:39 2026 -0600 3166 3167 Typographical Fixes 3168 3169commit 11600929832e04aa6ad20a57af7187c3feb973d4 3170Author: dtucker@openbsd.org <dtucker@openbsd.org> 3171Date: Fri Feb 6 22:59:18 2026 +0000 3172 3173 upstream: Typo fixes, mostly in comments. 3174 3175 From THE-Spellchecker via github PR#620. 3176 3177 OpenBSD-Commit-ID: 64929fafa3caae5a162f23257917ecf33f8a3764 3178 3179commit b83c0bb5109eb245dd4f06e4af4a960f96a0c193 3180Author: Darren Tucker <dtucker@dtucker.net> 3181Date: Sat Feb 7 06:58:59 2026 +1100 3182 3183 Enable gss-auth tests on Kerberos test configs. 3184 3185commit d84dbccee4371ce395d28543f146e7b62d8c0d36 3186Author: Pavol Žáčik <zacik.pa@gmail.com> 3187Date: Thu Jan 29 11:01:19 2026 +0100 3188 3189 Add a GSSAPI authentication test 3190 3191commit 86e0f4aa2c72d5e96618f0c7214109f5a46ca70d 3192Author: Darren Tucker <dtucker@dtucker.net> 3193Date: Thu Jan 1 21:41:10 2026 +1100 3194 3195 Split sudo out to its own install line. 3196 3197commit dfbb8526b5006cfe368193fb15e16f58cce6e1d1 3198Author: Darren Tucker <dtucker@dtucker.net> 3199Date: Wed Dec 31 16:35:29 2025 +1100 3200 3201 Remove obsolete comments. 3202 3203commit f0b7ecf7f5976c11f8c89ee9b0ca19383b573764 3204Author: Darren Tucker <dtucker@dtucker.net> 3205Date: Wed Dec 31 16:26:23 2025 +1100 3206 3207 Run tests on older OmniOS version too. 3208 3209commit 01bddc0663e5239df9342fcf7b373e5f58ff1b49 3210Author: Darren Tucker <dtucker@dtucker.net> 3211Date: Wed Dec 31 16:25:16 2025 +1100 3212 3213 Add OpenIndiana VM test target. 3214 3215commit 91c4d422cc0af2ae592f5e6c0cc505a5d8d7a6d2 3216Author: djm@openbsd.org <djm@openbsd.org> 3217Date: Fri Feb 6 01:24:36 2026 +0000 3218 3219 upstream: remove vestige of when we supported running without privsep 3220 3221 OpenBSD-Commit-ID: 5342c24d2330ef5ce357c294056f72b8123122c0 3222 3223commit 6463960c58cd0adcb26bfbddceb9d4efcfbd9dd0 3224Author: djm@openbsd.org <djm@openbsd.org> 3225Date: Thu Feb 5 22:05:49 2026 +0000 3226 3227 upstream: Implement missing pieces of FIDO/webauthn signature support, 3228 3229 mostly related to certificate handling and enable acceptance of this 3230 signature format by default. bz3748 GHPR624 GHPR625 3231 3232 Feedback tb / James Zhang; ok tb 3233 3234 OpenBSD-Commit-ID: ce3327b508086b24a3f7a6507aa5c49d8e9505e6 3235 3236commit 832a77000abe61f61bddb9e595f45c7131c0269d 3237Author: djm@openbsd.org <djm@openbsd.org> 3238Date: Tue Jan 27 06:48:29 2026 +0000 3239 3240 upstream: Implement "query" extension from 3241 3242 draft-ietf-sshm-ssh-agent 3243 3244 feedback jsg@, tb@; ok tb@ 3245 3246 OpenBSD-Commit-ID: adb2b79473ff86ba781ed5ab2735c1437b590f07 3247 3248commit 409dc952ab88b5232e809e34fd55662c6f75ad81 3249Author: millert@openbsd.org <millert@openbsd.org> 3250Date: Thu Jan 22 15:30:07 2026 +0000 3251 3252 upstream: Make it clear that DenyUsers/DenyGroups overrides 3253 3254 AllowUsers/AllowGroups. Previously we specified the order in which the 3255 directives are processed but it was ambiguous as to what happened if both 3256 matched. OK djm@ 3257 3258 OpenBSD-Commit-ID: 6ae0ab52ff796b78486b92a45cd7ec9310e20f4e 3259 3260commit d7950aca8eacae8b889d92c669e913111af75984 3261Author: djm@openbsd.org <djm@openbsd.org> 3262Date: Wed Jan 21 23:58:20 2026 +0000 3263 3264 upstream: In ssh(1), don't try to match certificates held in an 3265 3266 agent to private keys. 3267 3268 This matching is done to support certificates that were 3269 loaded without their private key material, but is unnecessary for 3270 agent-hosted certificate which always have private key material 3271 loaded in the agent. Worse, this matching would mess up the 3272 request sent to the agent in such a way as to break usage of these 3273 keys when the key usage was restricted in the agent. 3274 3275 Patch from Thibault Cools via bz3752, ok dtucker@ 3276 3277 OpenBSD-Commit-ID: ebfe37817dad4841c53339930565242ec683d726 3278 3279commit b0d0b71651b5a19d0dbd27b623ebb4fc43145560 3280Author: sthen@openbsd.org <sthen@openbsd.org> 3281Date: Wed Jan 21 15:44:51 2026 +0000 3282 3283 upstream: If editline has been switched to vi mode (i.e. via "bind 3284 3285 -v" in .editrc), setup a keybinding so that command mode can be entered. Diff 3286 originally from Walter Alejandro Iglesias with tweaks. Feedback from Crystal 3287 Kolipe. ok djm 3288 3289 OpenBSD-Commit-ID: 5786e17ccd83573e2d86418023f9bc768223336a 3290 3291commit 1cc936b2fabffeac7fff14ca1070d7d7a317ab7b 3292Author: dtucker@openbsd.org <dtucker@openbsd.org> 3293Date: Tue Jan 20 22:56:11 2026 +0000 3294 3295 upstream: Fill entropy in a single operation instead of hundreds. 3296 3297 The sntrup761 code we use from SUPERCOP fills entropy arrays 4 bytes at 3298 a time. On some platforms each of these operations has a significant 3299 overhead, so instead fill it in a single operation and as a precaution 3300 zero that array after it's used. 3301 3302 Analysis and code change is from Mike Frysinger via Github PR#621 with 3303 feedback from djm@ and sed-ification from me. ok djm@ beck@. 3304 3305 This change was submitted by Mike to SUPERCOP upstream so hopefully 3306 future versions will already have it. 3307 3308 OpenBSD-Commit-ID: 0e85c82f79b1b396facac59e05b288c08048f15c 3309 3310commit a6f8f793d427a831be1b350741faa4f34066d55f 3311Author: djm@openbsd.org <djm@openbsd.org> 3312Date: Sun Jan 4 09:52:58 2026 +0000 3313 3314 upstream: rewrite SOCKS4/4A/5 parsing code to use sshbuf functions 3315 3316 instead of manual pointer fiddling. Should make the code safer and easier to 3317 read. feedback/ok markus@ 3318 3319 OpenBSD-Commit-ID: 5ebd841fbd78d8395774f002a19c1ddcf91ad047 3320 3321commit ea367b4bbc3fd49f84683763723425adfdce35c0 3322Author: djm@openbsd.org <djm@openbsd.org> 3323Date: Tue Dec 30 04:28:42 2025 +0000 3324 3325 upstream: test the right thing, doofus 3326 3327 OpenBSD-Commit-ID: 31b2ec6e0b3dbd08c60ba2d969dd687cd80c25fd 3328 3329commit 5f2bc9cb8625d1fd582e0e4b562200f9856f1f7d 3330Author: djm@openbsd.org <djm@openbsd.org> 3331Date: Tue Dec 30 04:23:53 2025 +0000 3332 3333 upstream: avoid possible NULL deref if 3334 3335 ssh_packet_check_rekey_blocklimit() called before the encrypted transport is 3336 brought up. 3337 3338 OpenBSD-Commit-ID: fb998ccbe59865e33a8ab6a6577f254d39bdc72f 3339 3340commit b9c318777eb40db66fb92df87666c3642467d0e7 3341Author: djm@openbsd.org <djm@openbsd.org> 3342Date: Tue Dec 30 00:12:58 2025 +0000 3343 3344 upstream: unit tests for sshbuf_consume_upto_child() 3345 3346 OpenBSD-Regress-ID: 13cbd0370ebca7c61c35346b3e0356517719a447 3347 3348commit dd49a87bf4e4a219978bf20f03e2a72041f57b2f 3349Author: djm@openbsd.org <djm@openbsd.org> 3350Date: Tue Dec 30 00:35:37 2025 +0000 3351 3352 upstream: Remove bug compatibility for implementations that don't 3353 3354 support rekeying. AFAIK this is only an ancient Sun SSH version. 3355 3356 If such an implementation tries to interoperate with OpenSSH, it 3357 will eventually fail when the transport needs rekeying. 3358 3359 This is probably long enough to use it to download a modern SSH 3360 implementation that lacks this problem :) 3361 3362 ok markus@ deraadt@ 3363 3364 OpenBSD-Commit-ID: 228a502fee808cf8b7caee23169eb6a1ab1c331a 3365 3366commit ca313fef2deed90668fe0706da8529310092d1dd 3367Author: djm@openbsd.org <djm@openbsd.org> 3368Date: Tue Dec 30 00:22:58 2025 +0000 3369 3370 upstream: Enforce maximum packet/block limit during 3371 3372 pre-authentication phase 3373 3374 OpenSSH doesn't support rekeying before authentication completes to 3375 minimise pre-auth attack surface. 3376 3377 Given LoginGraceTime, MaxAuthTries and strict KEX, it would be 3378 difficult to send enough data or packets before authentication 3379 completes to reach a point where rekeying is required, but we'd 3380 prefer it to be completely impossible. 3381 3382 So this applies the default volume/packet rekeying limits to the 3383 pre-auth phase. If these limits are exceeded the connection will 3384 simply be closed. 3385 3386 ok dtucker markus 3387 3388 OpenBSD-Commit-ID: 70415098db739058006e4ebd1630b6bae8cc8bf6 3389 3390commit 55b6b1697433eca98052f5c45281133ca793a9c8 3391Author: djm@openbsd.org <djm@openbsd.org> 3392Date: Mon Dec 29 23:52:09 2025 +0000 3393 3394 upstream: Add sshbuf_consume_upto_child(), to similify particular 3395 3396 parsing patterns using parent/child buffer; ok markus@ 3397 3398 OpenBSD-Commit-ID: c11ed27907751f2a16c1283313e77f88617e4852 3399 3400commit 6eafc52a4185ba6d765047146cd645152baaeb58 3401Author: Ludovic Rousseau <ludovic.rousseau+github@gmail.com> 3402Date: Sat Dec 27 10:07:22 2025 +0100 3403 3404 Update ssh-agent.1 3405 3406 Add a missing "/" in the default allowed providers list. 3407 3408commit 09daf2ac5f248dc5d60a6f3a703b479d67da14b4 3409Author: djm@openbsd.org <djm@openbsd.org> 3410Date: Mon Dec 22 03:36:43 2025 +0000 3411 3412 upstream: correctly quote wildcard host certificate principal name, 3413 3414 lest it expand to an unrelated filename in the working directory 3415 3416 OpenBSD-Regress-ID: 8a9eb716d3ea7986d26c1a931758b996aa93c58e 3417 3418commit dfd710e4e2928201743e32027e2d6cf0e2eafc61 3419Author: djm@openbsd.org <djm@openbsd.org> 3420Date: Mon Dec 22 03:12:05 2025 +0000 3421 3422 upstream: return 0 in void function; spotted by clang -Wextra 3423 3424 OpenBSD-Commit-ID: fe7461c93dfaef98a007a246af837a8275a1e539 3425 3426commit ecdf9b9f8e89aae65d4a12fe5a25c560eea08393 3427Author: djm@openbsd.org <djm@openbsd.org> 3428Date: Mon Dec 22 01:50:46 2025 +0000 3429 3430 upstream: regression tests for certificates with empty principals 3431 3432 sections (which are now unconditionally refused) and for certificates with 3433 wildcard principals (which should only be accepted in host certs) 3434 3435 OpenBSD-Regress-ID: fdca88845a68424060547b4f9f32f90a7cf82e73 3436 3437commit adca2f439827eb829652805f36e288b5b260ce1b 3438Author: djm@openbsd.org <djm@openbsd.org> 3439Date: Mon Dec 22 01:31:07 2025 +0000 3440 3441 upstream: don't try to test webauthn signatures. Nothing in OpenSSH 3442 3443 generates these (yet) 3444 3445 OpenBSD-Regress-ID: 48d59b7c4768c2a22ce3d8cf3b455e6ada9fc7b0 3446 3447commit 5166b6cbf2b6103117a79f90a68068e89e02bf66 3448Author: djm@openbsd.org <djm@openbsd.org> 3449Date: Mon Dec 22 01:49:03 2025 +0000 3450 3451 upstream: When certificate support was added to OpenSSH, 3452 3453 certificates were originally specified to represent any principal if the 3454 principals list was empty. 3455 3456 This was, in retrospect, a mistake as it created a fail-open 3457 situation if a CA could be convinced to accidentally sign a 3458 certificate with no principals. This actually happened in a 3rd- 3459 party CA product (CVE-2024-7594). 3460 3461 Somewhat fortunately, the main pathway for using certificates in 3462 sshd (TrustedUserCAKeys) never supported empty-principals 3463 certificates, so the blast radius of such mistakes was 3464 substantially reduced. 3465 3466 This change removes this footcannon and requires all certificates 3467 include principals sections. It also fixes interpretation of 3468 wildcard principals, and properly enables them for host 3469 certificates only. 3470 3471 This is a behaviour change that will permanently break uses of 3472 certificates with empty principals sections. 3473 3474 ok markus@ 3475 3476 OpenBSD-Commit-ID: 0a901f03c567c100724a492cf91e02939904712e 3477 3478commit aaac8c61c18124eb5fb8a2cff1e85dea2db6c147 3479Author: djm@openbsd.org <djm@openbsd.org> 3480Date: Mon Dec 22 01:20:39 2025 +0000 3481 3482 upstream: Don't misuse the sftp limits extension's open-handles 3483 3484 field. This value is supposed to be the number of handles a server will allow 3485 to be opened and not a number of outstanding read/write requests that can be 3486 sent during an upload/download. 3487 3488 ok markus@ 3489 3490 OpenBSD-Commit-ID: 14ebb6690acbd488e748ce8ce3302bd7e1e8a5b0 3491 3492commit daf6bdd34b59f640d2af0fd230da69f1cbad33b4 3493Author: djm@openbsd.org <djm@openbsd.org> 3494Date: Mon Dec 22 01:17:31 2025 +0000 3495 3496 upstream: add a "ssh -O channels user@host" multiplexing command to 3497 3498 get a running mux process to show information about what channels are 3499 currently open; ok dtucker@ markus@ 3500 3501 OpenBSD-Commit-ID: 80bb3953b306a50839f9a4bc5679faebc32e5bb8 3502 3503commit b652322cdc5e94f059b37a8fb87e44ccb1cdff33 3504Author: djm@openbsd.org <djm@openbsd.org> 3505Date: Fri Dec 19 01:27:19 2025 +0000 3506 3507 upstream: typo in comment 3508 3509 OpenBSD-Commit-ID: f72306b86953e74f358096db141b4f9c00d33ed7 3510 3511commit 0b98be75dbb2ccb1c3146429c0077416c113b57d 3512Author: djm@openbsd.org <djm@openbsd.org> 3513Date: Fri Dec 19 01:26:39 2025 +0000 3514 3515 upstream: correctly check subsystem command is not the empty string 3516 3517 (was repeatedly checking the subsystem name) spotted by Coverity (CID 898836) 3518 3519 OpenBSD-Commit-ID: dabea2b499de8280f76f7291dd52086df6831cb0 3520 3521commit 345892ba2e8efea4be03675c866395bee251c117 3522Author: djm@openbsd.org <djm@openbsd.org> 3523Date: Fri Dec 19 00:57:42 2025 +0000 3524 3525 upstream: regression test for bz3906: sshd crashing at connection 3526 3527 time if the config lacks a subsystem directive but one is defined in a match 3528 block. 3529 3530 OpenBSD-Regress-ID: 5290553665307ccddaec2499ec1eb196bb2efc84 3531 3532commit 81e5bb8d93f2d8361bd7f4b034044ad8ee4ded0e 3533Author: djm@openbsd.org <djm@openbsd.org> 3534Date: Fri Dec 19 00:48:47 2025 +0000 3535 3536 upstream: check that invalid subsystem directives inside Match 3537 3538 blocks are noticed at startup; bz#3906 3539 3540 OpenBSD-Regress-ID: b9171bde4cc24757a826b3da0e9eadc33995a453 3541 3542commit 831e6db69ff8625b6e81c2809aa082abbab6c0b1 3543Author: djm@openbsd.org <djm@openbsd.org> 3544Date: Fri Dec 19 00:56:34 2025 +0000 3545 3546 upstream: don't crash at connection time if the main sshd_config 3547 3548 lacks any subsystem directive but one is defined in a Match block 3549 3550 bz#3906; ok dtucker 3551 3552 OpenBSD-Commit-ID: 2eb9024726d6f10eaa41958faeca9c9ba5ca7d8a 3553 3554commit 4e0f2dee54d210dc44f72f73e703c6dc5348a406 3555Author: djm@openbsd.org <djm@openbsd.org> 3556Date: Fri Dec 19 00:48:04 2025 +0000 3557 3558 upstream: detect invalid sshd_config Subsystem directives inside 3559 3560 Match blocks at startup rather than failing later at runtime; 3561 3562 noticed via bz#3906; ok dtucker 3563 3564 OpenBSD-Commit-ID: e6035ff0baa375de6c9f22c883ed530a8649dfed 3565 3566commit 4c9de155ce1d35c9e3c05223cc093580f9efff9a 3567Author: jsg@openbsd.org <jsg@openbsd.org> 3568Date: Thu Dec 18 23:54:10 2025 +0000 3569 3570 upstream: new sentence, new line 3571 3572 OpenBSD-Commit-ID: 23974d7c98b2ba4fea7f5143676c34e04ffd4128 3573 3574commit 3ab346aa6d9030379df3ec1ed0b0ce608f952c5f 3575Author: jsg@openbsd.org <jsg@openbsd.org> 3576Date: Thu Dec 18 23:51:56 2025 +0000 3577 3578 upstream: fix markup, .CM -> .Cm 3579 3580 OpenBSD-Commit-ID: 4db8cb254792df8a4dce11825852e089ae3d053a 3581 3582commit f878d7ccc25b02a39e6766f5dd405d5de6fb106c 3583Author: dtucker@openbsd.org <dtucker@openbsd.org> 3584Date: Tue Dec 16 08:36:43 2025 +0000 3585 3586 upstream: Plug leak in ssh_digest_memory on error path. 3587 3588 Bonehead mistake spotted by otto@, ok djm@ 3589 3590 OpenBSD-Commit-ID: 4ad67ac402e0b4c013f4f4e386d22b88969a5dd7 3591 3592commit 49480f1934f8cf994afa646d4bcbd22ac08bb6af 3593Author: dtucker@openbsd.org <dtucker@openbsd.org> 3594Date: Tue Dec 16 08:32:50 2025 +0000 3595 3596 upstream: Add 'invaliduser' penalty to PerSourcePenalties, which is 3597 3598 applied to login attempts for usernames that do not match real accounts. 3599 Defaults to 5s to match 'authfail' but allows administrators to block such 3600 sources for longer if desired. with & ok djm@ 3601 3602 OpenBSD-Commit-ID: bb62797bcf2adceb96f608ce86d0bb042aff5834 3603 3604commit 94bf1154b4132727114f222a587daeac101f1f5b 3605Author: djm@openbsd.org <djm@openbsd.org> 3606Date: Mon Dec 8 03:55:22 2025 +0000 3607 3608 upstream: add a GssDelegateCreds option for the server, controlling 3609 3610 whether it accepts delgated credentials offered by the client. This option 3611 mirrors GssDelegateCreds in ssh_config. 3612 3613 From Dmitry Belyavskiy via GHPR614; ok dtucker@ 3614 3615 OpenBSD-Commit-ID: ac419354edb26cef9ad15692e0bed17a03997786 3616 3617commit 24f32f7755801b16368375b8e27fb1a48d250fc5 3618Author: djm@openbsd.org <djm@openbsd.org> 3619Date: Mon Dec 8 00:45:00 2025 +0000 3620 3621 upstream: errant line 3622 3623 OpenBSD-Commit-ID: 8542d59f5ba48a67c3ebd5de17f9fa408ec54ca5 3624 3625commit a1e37f0998ed5027f6c8dd30befb379ea2cac95b 3626Author: djm@openbsd.org <djm@openbsd.org> 3627Date: Mon Dec 8 00:44:16 2025 +0000 3628 3629 upstream: There is a warning next to the authorized_keys command="" 3630 3631 flag that forcing a command doesn't automatically disable forwarding. Add one 3632 next to the sshd_config(5) ForceCommand directive too. 3633 3634 feedback deraadt@ 3635 3636 OpenBSD-Commit-ID: bfe38b4d3cfbadbb8bafe38bc256f5a17a0ee75c 3637 3638commit 70ad2e9a2b3aa6f856200464078c2750bfba0e3d 3639Author: djm@openbsd.org <djm@openbsd.org> 3640Date: Mon Dec 8 00:41:46 2025 +0000 3641 3642 upstream: increment correct variable when counting group 3643 3644 memberships. Reported by Kevin Day via bz3903 3645 3646 OpenBSD-Commit-ID: 772b9aafd5165a7c407f08cb95f8b94cc5a4c1c0 3647 3648commit d05b704086d53c02f4ad7de921435f7e7e3ad60a 3649Author: Darren Tucker <dtucker@dtucker.net> 3650Date: Sun Dec 7 20:10:42 2025 +1100 3651 3652 Add OpenBSD 7.8 VM test target. 3653 3654commit f086fafa0486012df6ba095664be75ecbf68e8e1 3655Author: Darren Tucker <dtucker@dtucker.net> 3656Date: Sun Dec 7 13:43:02 2025 +1100 3657 3658 Remove generated compat includes during distclean. 3659 3660commit 185459dd87c4f7580a2591fbbbb1d800ec249b78 3661Author: Darren Tucker <dtucker@dtucker.net> 3662Date: Sun Dec 7 14:17:20 2025 +1100 3663 3664 Define IPTOS_DSCP_VA if not already defined. 3665 3666commit f701869185915b9a324dcc23c12d0035251ef93f 3667Author: phessler@openbsd.org <phessler@openbsd.org> 3668Date: Fri Dec 5 17:48:47 2025 +0000 3669 3670 upstream: allow network programs select DSCP_VA for network ToS 3671 3672 OK stsp@ 3673 3674 OpenBSD-Commit-ID: 8019fd6e8c522b4b5f291a2c0e3bf2437cc70dc1 3675 3676commit f62868e03e51785c521c4d20d60662c0bbdd695e 3677Author: dtucker@openbsd.org <dtucker@openbsd.org> 3678Date: Sun Dec 7 02:59:53 2025 +0000 3679 3680 upstream: Avoid "if ! thing || ! otherthing; then" constructs since 3681 3682 they seem to cause portability problems. 3683 3684 OpenBSD-Regress-ID: ff001be683de43bf396cd5f9f6a54e0c7a99c3cf 3685 3686commit 45aca67d79c194660342a64a9175d814d4e8ba56 3687Author: dtucker@openbsd.org <dtucker@openbsd.org> 3688Date: Sun Dec 7 02:49:41 2025 +0000 3689 3690 upstream: spaces->tab 3691 3692 OpenBSD-Regress-ID: c78eb430da0ec2c4b6919ff4d27ef8e565ef52ff 3693 3694commit ab164f671609a3a25cd0efcd967aff29144081bb 3695Author: dtucker@openbsd.org <dtucker@openbsd.org> 3696Date: Sat Dec 6 07:10:24 2025 +0000 3697 3698 upstream: Append a newline, otherwise some sed's won't output anything. 3699 3700 OpenBSD-Regress-ID: 507cb8c36bb7fc338f60a55bf7040f479536b3f7 3701 3702commit c99a30d30a5d2af6fec30b9b0d85aa9b252760c9 3703Author: dtucker@openbsd.org <dtucker@openbsd.org> 3704Date: Sat Dec 6 03:23:27 2025 +0000 3705 3706 upstream: Don't check compressions stats when ssh does not support 3707 3708 compression. 3709 3710 OpenBSD-Regress-ID: 026db51b2654a949e9a10b908443dab83b64c74a 3711 3712commit 5f5d1af478d4b9daf61fab1e4298973980d4c348 3713Author: djm@openbsd.org <djm@openbsd.org> 3714Date: Fri Dec 5 11:13:35 2025 +0000 3715 3716 upstream: ASSERT_DOUBLE_* test helpers 3717 3718 OpenBSD-Regress-ID: cdb5c4e95c0f00efb773ddba4056a49e33702cf9 3719 3720commit 70a01a7e66075047329e3aeccc942678f512ebdd 3721Author: Darren Tucker <dtucker@dtucker.net> 3722Date: Fri Dec 5 20:02:39 2025 +1100 3723 3724 Set SSH_REGRESS_TMP after making tmpdir. 3725 3726 Put both of these later in the script so the cvsids don't cause 3727 conflicts on every synced patch. 3728 3729commit 89a67a04e581423cdc443f2597cb1e2c7d8cc50f 3730Author: dtucker@openbsd.org <dtucker@openbsd.org> 3731Date: Fri Dec 5 08:09:34 2025 +0000 3732 3733 upstream: Shell compatibility fix. 3734 3735 OpenBSD-Regress-ID: bceaeb267d49c13e4a797c42e93b8f0cdb14dbd7 3736 3737commit f4e79a4ba91cf0fd7397846424d1b261f3648708 3738Author: djm@openbsd.org <djm@openbsd.org> 3739Date: Fri Dec 5 07:43:24 2025 +0000 3740 3741 upstream: unit tests for convtime_double() 3742 3743 OpenBSD-Regress-ID: d3ba7b894019b4128845d638c78fca37b3b6eecf 3744 3745commit c48de35bea389308428cb47b5ee55b1b1fb4567c 3746Author: djm@openbsd.org <djm@openbsd.org> 3747Date: Fri Dec 5 07:49:45 2025 +0000 3748 3749 upstream: convert PerSourcePenalties to using floating point time, 3750 3751 allowing penalties to be less than a second. This is useful if you need to 3752 penalise things you expect to occur at >=1 QPS. 3753 3754 feedback dtucker / deraadt; ok deraadt@ 3755 3756 OpenBSD-Commit-ID: 89198be755722131b45a52d22d548e4c602201f0 3757 3758commit f45cd249e45a15c84bf1316ac719039d04a74e84 3759Author: djm@openbsd.org <djm@openbsd.org> 3760Date: Fri Dec 5 07:43:12 2025 +0000 3761 3762 upstream: Add convtime_double() that converts a string interval, 3763 3764 such as "3w2d4h5m10.5s", into a floating point number of seconds. 3765 3766 Reimplement the existing convtime() function using convtime_double() 3767 (it just drops the fractional seconds) 3768 3769 lots of feedback deraadt@ / dtucker@; ok deraadt@ 3770 3771 OpenBSD-Commit-ID: 053cdd0c72325a20efc6613caa847473fb89e36f 3772 3773commit b7dc1d95ee838c86a93df59663dad32e9b555520 3774Author: dtucker@openbsd.org <dtucker@openbsd.org> 3775Date: Fri Dec 5 06:55:22 2025 +0000 3776 3777 upstream: Add test for ssh -Oconninfo mux command. 3778 3779 OpenBSD-Regress-ID: e939edc41caad8b6ad00ff294f33b61ed32a1edd 3780 3781commit eb97fc2b5e7c85a37fdb3f8a6ee1d665ef086c3f 3782Author: dtucker@openbsd.org <dtucker@openbsd.org> 3783Date: Fri Dec 5 06:16:27 2025 +0000 3784 3785 upstream: Add an ssh -Oconninfo command 3786 3787 that shows connection information, similar to the ~I escapechar. 3788 This is the first use of the mux extension mechanism, so it should be 3789 both forward and backward compatible: a new client talking to an old 3790 server will not allow the "conninfo" request to be sent, but everything 3791 else should work seamlessly. feedback and ok djm@ 3792 3793 OpenBSD-Commit-ID: 50f047a85da277360558cabdfed59cb66f754341 3794 3795commit 66622394fd3a51e9a6c99c39a068f8ba709542fa 3796Author: djm@openbsd.org <djm@openbsd.org> 3797Date: Wed Dec 3 06:29:50 2025 +0000 3798 3799 upstream: correctly quote filenames in verbose output for local->local 3800 3801 copies; from Colin Watson via bz3900; ok dtucker@ 3802 3803 OpenBSD-Commit-ID: 5c09b030e2024651ebc8c1f9af6a8a2d37912150 3804 3805commit 8fce5520a1c9c2cf3fc6c6974dd158f4b3ce9c4e 3806Author: dtucker@openbsd.org <dtucker@openbsd.org> 3807Date: Sat Nov 29 06:49:56 2025 +0000 3808 3809 upstream: Add local hostname and pid to ~I escape connection info, 3810 3811 only display peer information for TCP connections including source address 3812 and port This provides enough information to uniquely identify a connection 3813 on the host or network. 3814 3815 OpenBSD-Commit-ID: aa18a4af2de41c298d1195d2566808585f8ce964 3816 3817commit 2e8b5de4a79fb393482465531be1e347b81699f3 3818Author: dtucker@openbsd.org <dtucker@openbsd.org> 3819Date: Sat Nov 29 05:00:50 2025 +0000 3820 3821 upstream: Add compression stats to ~I connection info escape 3822 3823 option. 3824 3825 OpenBSD-Commit-ID: 83424b71fc226ea6b3dc8dda39f993475fdbd775 3826 3827commit 52037ed910a9dcb669b9c9f612ccac711ac586f2 3828Author: dtucker@openbsd.org <dtucker@openbsd.org> 3829Date: Thu Nov 27 02:18:48 2025 +0000 3830 3831 upstream: Add Escape option ~I that shows information about the current 3832 3833 SSH connection. ok djm@, "I like/want" sthen@ florian@ 3834 3835 OpenBSD-Commit-ID: 0483fc0188ec899077e4bc8e1e353f7dfa9f5c1d 3836 3837commit 0fb1f3c9955d78fb0959842202b9ecfc36e37486 3838Author: djm@openbsd.org <djm@openbsd.org> 3839Date: Tue Nov 25 01:14:33 2025 +0000 3840 3841 upstream: move mention of default MaxStartups (which uses the 3842 3843 form. 3844 3845 GHPR568 from Santiago Vila 3846 3847 OpenBSD-Commit-ID: 7e68771f3cad61ec67303607afb3b85639288b29 3848 3849commit 2d0d26602f739b4a3ddde6c4dbc8f3ddab38ac0d 3850Author: djm@openbsd.org <djm@openbsd.org> 3851Date: Tue Nov 25 01:08:35 2025 +0000 3852 3853 upstream: Support writing ED25519 keys in PKCS8 format. GHPR570 from 3854 3855 Josh Brobst 3856 3857 OpenBSD-Commit-ID: 4f36019a38074b2929335fbe9cb8d9801e3177af 3858 3859commit c23122c5ea7348b7b6daa2982e53c201a5354007 3860Author: djm@openbsd.org <djm@openbsd.org> 3861Date: Tue Nov 25 00:57:04 2025 +0000 3862 3863 upstream: avoid leak of fingerprint on error path; from Lidong Yan via 3864 3865 GHPR611 3866 3867 OpenBSD-Commit-ID: 253f6f7d729d8636da23ac9925b60b494e85a810 3868 3869commit 6157e1c41071fb0f5621868c38861934284268b1 3870Author: djm@openbsd.org <djm@openbsd.org> 3871Date: Tue Nov 25 00:52:00 2025 +0000 3872 3873 upstream: don't set the PerSourceNetBlockSize IPv6 mask if sscanf 3874 3875 didn't decode it. From Mingjie Shen via GHPR598 3876 3877 OpenBSD-Commit-ID: c722014e735cbd87adb2fa968ce4c47b43cf98b0 3878 3879commit 1fdc3c61194819c16063dc430eeb84b81bf42dcf 3880Author: djm@openbsd.org <djm@openbsd.org> 3881Date: Mon Nov 24 23:56:58 2025 +0000 3882 3883 upstream: give ssh-agent more time to start in tests; requested in 3884 3885 GHPR602 3886 3887 OpenBSD-Regress-ID: 7d771db2c1d4a422e83c3f632ba1e96f72a262b8 3888 3889commit 5e7c3f33b2693b668ecfbac84b85f2c0c84410c2 3890Author: djm@openbsd.org <djm@openbsd.org> 3891Date: Mon Nov 24 23:54:15 2025 +0000 3892 3893 upstream: When testing PKCS11, explicitly allow the module path in 3894 3895 ssh-agent. 3896 3897 Allows testing of PKCS11 modules outside system directories. 3898 3899 From Morgan Jones via GHPR602 3900 3901 OpenBSD-Regress-ID: 548d6e0362a8d9f7d1cc01444b697a00811ff488 3902 3903commit 69965aefe3355488e0462291be13a233b8405091 3904Author: djm@openbsd.org <djm@openbsd.org> 3905Date: Mon Nov 24 23:43:10 2025 +0000 3906 3907 upstream: When loading FIDO2 resident keys, set the comment to the 3908 3909 FIDO application string. This matches the behaviour of ssh-keygen -K 3910 3911 From Arian van Putten via GHPR608 3912 3913 OpenBSD-Commit-ID: 3fda54b44ed6a8a6f94cd3e39e69c1e672095712 3914 3915commit 2238c48dc90dc56af1d86b298d2cb25fa0c7ef14 3916Author: tb@openbsd.org <tb@openbsd.org> 3917Date: Sun Nov 23 07:04:18 2025 +0000 3918 3919 upstream: pkcs11_fetch_ecdsa_pubkey: use ASN1_STRING accessors 3920 3921 In anticipation of davidben and beck making ASN1_STRING opaque in 3922 OpenSSL 4 with the aim of enabling surgery to make the X509 data 3923 structure less bad [1], we need to use dumb accessors to avoid build 3924 breakage. Fortunately only in one spot. 3925 3926 This is OpenSSL 1.1 API and available in all members of the fork family. 3927 3928 ok beck djm 3929 3930 [1]: https://github.com/openssl/openssl/issues/29117 3931 3932 OpenBSD-Commit-ID: 0bcaf691d20624ef43f3515c983cd5aa69547d4f 3933 3934commit 643222df689c95efff9e9506b76de458f69dd9c7 3935Author: Darren Tucker <dtucker@dtucker.net> 3936Date: Fri Nov 21 14:28:20 2025 +1100 3937 3938 Update OSSFuzz link to current bug tracker. 3939 3940commit 2efdfbb4d78b9bbb73f55af150e8f985d4fe4c0f 3941Author: Darren Tucker <dtucker@dtucker.net> 3942Date: Fri Nov 21 14:21:07 2025 +1100 3943 3944 Add VM CI and CIFuzz status badges. 3945 3946commit 71e8779113965d60d91ba2d15cdeeb43ecf230a7 3947Author: djm@openbsd.org <djm@openbsd.org> 3948Date: Fri Nov 21 01:29:27 2025 +0000 3949 3950 upstream: unit tests for sshbuf_get_nulterminated_string() 3951 3952 OpenBSD-Regress-ID: cb0af1e4d6dcc94e263942bc4dcf5f4466d1f086 3953 3954commit dec6334aaf6f542f34a0aca27dc2f535e9161a67 3955Author: djm@openbsd.org <djm@openbsd.org> 3956Date: Fri Nov 21 01:29:06 2025 +0000 3957 3958 upstream: add a sshbuf_get_nulterminated_string() function to pull a 3959 3960 \0- terminated string from a sshbuf. Intended to be used to improve parsing 3961 of SOCKS headers for dynamic forwarding. 3962 3963 ok deraadt; feedback Tim van der Molen 3964 3965 OpenBSD-Commit-ID: cf93d6db4730f7518d5269c279e16b172b484b36 3966 3967commit a8718c3fc52511e5237f1cbe10c210948c5616ea 3968Author: dtucker@openbsd.org <dtucker@openbsd.org> 3969Date: Thu Nov 20 05:07:57 2025 +0000 3970 3971 upstream: Free opts in FAIL_TEST. It should always be NULL anyway so 3972 3973 this is a no-op, but it should placate Coverity CID 405064. 3974 3975 OpenBSD-Regress-ID: 06789754de0741f26432c668fad8b9881c14c153 3976 3977commit d68d528fefeca1e331696296ef5db7c4db246f9a 3978Author: dtucker@openbsd.org <dtucker@openbsd.org> 3979Date: Thu Nov 20 05:10:56 2025 +0000 3980 3981 upstream: Plug leaks while parsing Match blocks. Coverity CID 3982 3983 469304, ok djm@ 3984 3985 OpenBSD-Commit-ID: f9b79b86879a953ad034e6b92a398265b251bea7 3986 3987commit e3f1fbb427df898d70083b42caab72baaa715400 3988Author: dtucker@openbsd.org <dtucker@openbsd.org> 3989Date: Thu Nov 20 05:10:11 2025 +0000 3990 3991 upstream: Plug leaks while parsing Match blocks. Coverity CID 3992 3993 515634, ok miod@ djm@ 3994 3995 OpenBSD-Commit-ID: c7932eddecd47e5122e945246a40c56ffa42a546 3996 3997commit ccad76e9e1e4f06889ee023893cea98bc165858b 3998Author: Darren Tucker <dtucker@dtucker.net> 3999Date: Tue Nov 18 20:14:44 2025 +1100 4000 4001 Pull in rev 1.17 for spelling fix. 4002 4003 Prompted by github PR#609 from Edge-Seven. 4004 4005commit 58533bbdf7aa0548de8e2abd3cb2de0593fa9fdc 4006Author: jca@openbsd.org <jca@openbsd.org> 4007Date: Mon Nov 17 12:59:29 2025 +0000 4008 4009 upstream: Export XDG_RUNTIME_DIR to child ssh sessions 4010 4011 Currently setusercontext(LOGIN_SETALL) does create the directory in 4012 /tmp/run/user, since LOGIN_SETXDGENV is part of LOGIN_SETALL, but the 4013 env variable wasn't exported. 4014 4015 ok djm@ 4016 4017 OpenBSD-Commit-ID: 02b8433f72759b3a07b55cbc5a7cdb84391b0017 4018 4019commit e4cc5ab0efd85f01c0e1ae46825ffc0c7a8f44ce 4020Author: djm@openbsd.org <djm@openbsd.org> 4021Date: Mon Nov 17 05:24:42 2025 +0000 4022 4023 upstream: don't strnvis() log messages that are going to be logged 4024 4025 by sshd-auth via its parent sshd-session process, as the parent will also run 4026 them though strnvis(). 4027 4028 Prevents double-escaping of non-printing characters in some log 4029 messages. bz3896 ok dtucker@ 4030 4031 OpenBSD-Commit-ID: d78faad96a98af5269d66ddceee553cf7d396dfe 4032 4033commit bad220decb95d3b5cc6e30f843c4fc9d9b0b7a67 4034Author: Darren Tucker <dtucker@dtucker.net> 4035Date: Mon Nov 17 21:36:45 2025 +1100 4036 4037 Remove obsolete CVSID. 4038 4039commit 2fe6e406b496b54351dab923f9be95579d39d071 4040Author: dtucker@openbsd.org <dtucker@openbsd.org> 4041Date: Mon Nov 17 09:59:13 2025 +0000 4042 4043 upstream: Ensure both sides of the test are non-NULL instead of just 4044 4045 either. Coverity CID 443285. 4046 4047 OpenBSD-Regress-ID: aa90e57b1bc8efce9e50734a07a8ffec0680059a 4048 4049commit e2b93e16232834c61c9dcff5b20e4c55a26b324d 4050Author: Darren Tucker <dtucker@dtucker.net> 4051Date: Thu Nov 13 23:30:48 2025 +1100 4052 4053 Move libcrypto init check into entropy.c. 4054 4055 This prevents link errors with the openbsd-compat tests when the linker 4056 tries to bring in all the logging bits. 4057 4058commit ec41739bd68d639b0847b366697706e7dab3498d 4059Author: Icenowy Zheng <uwu@icenowy.me> 4060Date: Fri Nov 7 14:27:35 2025 +0800 4061 4062 seccomp sandbox: allow uname(3) 4063 4064 The uname(3) syscall is utilized by zlib-ng on RISC-V to decide whether 4065 the kernel handles VILL bit of V extension properly (by checking the 4066 kernel version against 6.5). 4067 4068 Allow it in the seccomp sandbox. 4069 4070 Signed-off-by: Icenowy Zheng <uwu@icenowy.me> 4071 4072commit 90501bc30ca94fa5443e2b7e2072d5d454587ef8 4073Author: Darren Tucker <dtucker@dtucker.net> 4074Date: Thu Nov 13 22:04:19 2025 +1100 4075 4076 Remove remaining OpenSSL_add_all_algorithms() calls. 4077 4078 We already have OPENSSL_init_crypto() in the compat layer (now with a 4079 check of its return code, prompted by tb@). Prompted by github PR#606 4080 from Dimitri John Ledkov. ok beck@ 4081 4082commit d9955e4571ec356ba4f2e99d01f7fa88f6e20a63 4083Author: dtucker@openbsd.org <dtucker@openbsd.org> 4084Date: Thu Nov 13 10:35:14 2025 +0000 4085 4086 upstream: Remove calls to OpenSSL_add_all_algorithms() 4087 4088 and ERR_load_crypto_strings(). These are no-ops in LibreSSL, and in 4089 Portable have been mostly replaced by a call to OPENSSL_init_crypto() 4090 in the compat layer. ok tb@ 4091 4092 OpenBSD-Commit-ID: 4c3e0af10fe276766054eda34428a37a5606d3ea 4093 4094commit 6aba7008e6451ae3f9298214b13b8eded5fd9ff0 4095Author: djm@openbsd.org <djm@openbsd.org> 4096Date: Thu Nov 13 05:13:06 2025 +0000 4097 4098 upstream: sync support for systems that lack __builtin_popcount() from 4099 4100 portable 4101 4102 unused on OpenBSD (nothing sets MISSING_BUILTIN_POPCOUNT), but it 4103 makes syncing much easier. 4104 4105 OpenBSD-Commit-ID: 496446300d82615b24f83eca886b8fabdbee445b 4106 4107commit 84347d67ad2d5ee0db43f32bca91bacccecdb647 4108Author: djm@openbsd.org <djm@openbsd.org> 4109Date: Thu Nov 13 04:56:23 2025 +0000 4110 4111 upstream: update our ML-KEM implementation to upstream libcrux 4112 4113 v0.0.4 4114 4115 tested/ok tb@ 4116 4117 OpenBSD-Commit-ID: 525a62549efbf53492adcb2c57e4872cdbaeed62 4118 4119commit c09eeba78ad622b988ab7f8d96e75b7edd434598 4120Author: tb@openbsd.org <tb@openbsd.org> 4121Date: Fri Nov 7 06:29:45 2025 +0000 4122 4123 upstream: sshkey_ec_validate_public: zap trailing blank I missed on 4124 4125 review 4126 4127 OpenBSD-Commit-ID: b296bd6056f33fd567ca0d5e9123dac1ec00f037 4128 4129commit 7cb3ea4dcc7d73b2fad6782a119901cfa2b022aa 4130Author: Darren Tucker <dtucker@dtucker.net> 4131Date: Thu Nov 13 10:23:45 2025 +1100 4132 4133 Simplify git command to avoid yaml syntax error. 4134 4135commit 08786bbe7eebff316efb0b4ccb882f93f33a16b8 4136Author: Darren Tucker <dtucker@dtucker.net> 4137Date: Thu Nov 13 09:53:17 2025 +1100 4138 4139 Don't use OpenSSL's ed25519 if built without EC. 4140 4141 Explicitly check for OPENSSL_NO_EC, since otherwise the test will link 4142 but then fail at runtime. 4143 4144commit d12813314452173b1709f7fdbae74add84c0056f 4145Author: Damien Miller <djm@mindrot.org> 4146Date: Fri Nov 7 15:49:55 2025 +1100 4147 4148 octal-escape the colon character 4149 4150 Apparently these are YAML magic when followed by whitespace 4151 4152commit 5a104d81a2a916a6b9a42e28a7fa11bb781dfdf4 4153Author: Damien Miller <djm@mindrot.org> 4154Date: Fri Nov 7 15:44:18 2025 +1100 4155 4156 try single quotes instead of escaped quotes 4157 4158commit 48d8293956b9801b870a56782e19f29793ca04ba 4159Author: Damien Miller <djm@mindrot.org> 4160Date: Fri Nov 7 15:42:57 2025 +1100 4161 4162 escape quotes in yaml 4163 4164commit 1f1d63e16b5ce67f6f2f1170ec7221f1e6bff530 4165Author: djm@openbsd.org <djm@openbsd.org> 4166Date: Fri Nov 7 04:33:52 2025 +0000 4167 4168 upstream: Escape SSH_AUTH_SOCK paths that are sent to the shell as 4169 4170 setenv commands. 4171 4172 Unbreaks ssh-agent for home directory paths that contain whitespace. 4173 4174 Based on fix from Beat Bolli via bz3884; feedback/ok dtucker@ 4175 4176 OpenBSD-Commit-ID: aaf06594e299940df8b4c4b9f0a1d14bef427e02 4177 4178commit 5794f2a186ee8ea7db0002bf7470b817572aaef0 4179Author: djm@openbsd.org <djm@openbsd.org> 4180Date: Thu Nov 6 17:24:28 2025 +0000 4181 4182 upstream: sk-dummy.so needs sshlog() stub after ed25519-openssl.c 4183 4184 change 4185 4186 OpenBSD-Regress-ID: 50b7f49021b8085728d0544275e141fb1bf4a2b5 4187 4188commit a1c526f29b47147046f77a0f74097008256396f6 4189Author: djm@openbsd.org <djm@openbsd.org> 4190Date: Thu Nov 6 01:33:26 2025 +0000 4191 4192 upstream: unit test for stringlist_append() and stringlist_free() 4193 4194 OpenBSD-Regress-ID: a3a4dae538c831b3810f69abc34ad8504dc3c460 4195 4196commit 9d8c686981834bc1dde09f5067ff925d8fc158f5 4197Author: djm@openbsd.org <djm@openbsd.org> 4198Date: Thu Nov 6 01:33:03 2025 +0000 4199 4200 upstream: link against ed25519-openssl.c instead of ed25519.c 4201 4202 OpenBSD-Regress-ID: f789d46e99d2598929e3c2d00b45c47cc3102501 4203 4204commit e57ef43c3ecb69aa237e2d88b793f18ee8a25817 4205Author: anton@openbsd.org <anton@openbsd.org> 4206Date: Sat Nov 1 05:39:25 2025 +0000 4207 4208 upstream: Cope with recent changes and don't link hash.c. 4209 4210 OpenBSD-Regress-ID: 577ef2f36ee592528448e8c0f33499e2e3512054 4211 4212commit 9bea081888fa659b964e6bfa41caca2b5def98c2 4213Author: djm@openbsd.org <djm@openbsd.org> 4214Date: Fri Nov 7 04:11:59 2025 +0000 4215 4216 upstream: Remove some unnecessary checks in 4217 4218 sshkey_ec_validate_public() 4219 MIME-Version: 1.0 4220 Content-Type: text/plain; charset=UTF-8 4221 Content-Transfer-Encoding: 8bit 4222 4223 Checking nQ == infinity is not needed for cofactor 1 curves. 4224 Checking x and y coordinates against order is not needed either. 4225 4226 patch from Szilárd Pfeiffer, with further refinement by tb@ 4227 ok tb@ 4228 4229 OpenBSD-Commit-ID: ef985e2be7c64e215d064757d3fc65eb181e8ede 4230 4231commit 1399419f0b2d024bde968ffe769a3808611917e4 4232Author: djm@openbsd.org <djm@openbsd.org> 4233Date: Thu Nov 6 01:31:11 2025 +0000 4234 4235 upstream: move stringlist_append() and stringlist_free() to misc.c 4236 4237 OpenBSD-Commit-ID: 7d047bbff6964b9abbc04e9b3e2e1b4cc1db0aea 4238 4239commit f2ff1d9c1687be313dd491fcd136c682ef51bea8 4240Author: djm@openbsd.org <djm@openbsd.org> 4241Date: Fri Oct 31 01:50:43 2025 +0000 4242 4243 upstream: cleanup file descriptors across PKCS#11 client/helper 4244 4245 execution; ok markus 4246 4247 OpenBSD-Commit-ID: 993628a5b361e30aa48bbb4c07667a280f3f23ab 4248 4249commit 7e5d404cf73b6762715eec69b67cce2c4801f9e9 4250Author: Darren Tucker <dtucker@dtucker.net> 4251Date: Sat Nov 1 08:34:15 2025 +1100 4252 4253 Support using git for OpenBSD src tree tests. 4254 4255commit d87e7f0bed66fc9f76fe4a2f43390fdc9a664132 4256Author: Darren Tucker <dtucker@dtucker.net> 4257Date: Sat Nov 1 08:33:07 2025 +1100 4258 4259 Add OpenBSD 7.8 test target. 4260 4261commit 2425d7faf4154b32b5f836596023cf2432b81eaf 4262Author: Damien Miller <djm@mindrot.org> 4263Date: Fri Oct 31 13:47:49 2025 +1100 4264 4265 check PAM user against previous user, not pw_name 4266 4267 Avoids early fatal() if the user doesn't exist. 4268 4269 Reported by Viswesh Narayanan; ok dtucker@ 4270 4271commit 7e2f89b0fb72141abbce098e2682ba8e090cabfc 4272Author: Damien Miller <djm@mindrot.org> 4273Date: Fri Oct 31 12:19:47 2025 +1100 4274 4275 skip pkcs11 tests when built --without-openssl 4276 4277commit 590a260f0bedc895688bb38b1cf6f0f72d8013e3 4278Author: Damien Miller <djm@mindrot.org> 4279Date: Fri Oct 31 12:19:34 2025 +1100 4280 4281 add sshlog() replacement to sk-dummy.so 4282 4283commit 57e347bae04cf214795fdeae3579991f0cc2e090 4284Author: Damien Miller <djm@mindrot.org> 4285Date: Fri Oct 31 11:16:29 2025 +1100 4286 4287 rename openbsd-compat sha2.h -> bsd-sha2.h 4288 4289 avoids confusion with system header when included from files under 4290 openbsd-compat/ 4291 4292commit a5f638585152863dc64ee9436a08e1d84735d740 4293Author: Damien Miller <djm@mindrot.org> 4294Date: Fri Oct 31 11:07:17 2025 +1100 4295 4296 fix linking for sk-dummy.so, used in tests 4297 4298commit c2a178959b03472c1b1677fea4bb263ed9fee2bd 4299Author: djm@openbsd.org <djm@openbsd.org> 4300Date: Thu Oct 30 23:55:09 2025 +0000 4301 4302 upstream: don't link hash.c 4303 4304 OpenBSD-Regress-ID: a145f09c1efb1fcd3924544463f1f94f5d4805c0 4305 4306commit 249224a0d43fdd2a536d7476c2bb15f4006dbbdd 4307Author: miod@openbsd.org <miod@openbsd.org> 4308Date: Thu Oct 23 19:06:10 2025 +0000 4309 4310 upstream: Prepare for gcc 3 leaving the building, COMPILER_VERSION 4311 4312 can no longer get set to "gcc3". 4313 4314 OpenBSD-Regress-ID: 02351ea947975b80be60b9a8c6e4dbb57789e890 4315 4316commit 9dcd640d44b8270c75783ef662c340187250d6e4 4317Author: dtucker@openbsd.org <dtucker@openbsd.org> 4318Date: Thu Oct 23 06:15:26 2025 +0000 4319 4320 upstream: Check tmux version and skip if too old. ok djm@ 4321 4322 OpenBSD-Regress-ID: fb62024eb753c61b4d78402ec8378af839fad26c 4323 4324commit 94a78254a1c953c2a55eb54f65a5d99873b54bdf 4325Author: djm@openbsd.org <djm@openbsd.org> 4326Date: Thu Oct 30 23:19:33 2025 +0000 4327 4328 upstream: move crypto_hash_sha512() to be inline in crypto_api.h, saves 4329 4330 about 0.5kb per binary and makes life easier for portable; with/ok dtucker@ 4331 4332 OpenBSD-Commit-ID: 672d7390f78bb6581c12661d7f5adc8a9c6be564 4333 4334commit 266647c5f2075d397bd5ed5316450183eda73388 4335Author: djm@openbsd.org <djm@openbsd.org> 4336Date: Thu Oct 30 20:49:10 2025 +0000 4337 4338 upstream: support ed25519 signatures via libcrypto. Mostly by Jeremy 4339 4340 Allison Feedback tb@, ok tb@ markus@ 4341 4342 OpenBSD-Commit-ID: e8edf8adffd5975d05769dde897df882d7933526 4343 4344commit 4f3e65bda22b65dc5fff82df1e97af07456fed42 4345Author: djm@openbsd.org <djm@openbsd.org> 4346Date: Thu Oct 30 03:19:54 2025 +0000 4347 4348 upstream: Activate UnusedConnectionTimeout only after last channel 4349 4350 has closed. Previously UnusedConnectionTimeout could fire early after a 4351 ChannelTimeout. 4352 4353 This was not a problem for the OpenSSH client because it terminates 4354 once all channels have closed but could cause problems for other 4355 clients (e.g. API clients) that do things differently. 4356 4357 bz3827; ok dtucker 4358 4359 OpenBSD-Commit-ID: ff2e4607cbd4e600de3c8a5ece3b0e4bb641ed8f 4360 4361commit e7f5928ef1c8e8c725bdca9cdd6b80e77fe774ac 4362Author: miod@openbsd.org <miod@openbsd.org> 4363Date: Thu Oct 23 19:06:10 2025 +0000 4364 4365 upstream: Prepare for gcc 3 leaving the building, COMPILER_VERSION 4366 4367 can no longer get set to "gcc3". 4368 4369 OpenBSD-Commit-ID: 98eefed432ff8253b307002e20d28da14b93e7e3 4370 4371commit 0ffb76c6590800958777cd0f7b1aaae19c74fa3f 4372Author: djm@openbsd.org <djm@openbsd.org> 4373Date: Wed Oct 22 06:22:58 2025 +0000 4374 4375 upstream: more explicit synchronisation around killing tmux sessions 4376 4377 between runs. 4378 4379 OpenBSD-Regress-ID: 1735f5cb13ad281e869ab998c7d49b692ee3ed47 4380 4381commit ffd086b69886e8cfeb74f9b2bcb18764bf7d9a52 4382Author: djm@openbsd.org <djm@openbsd.org> 4383Date: Wed Oct 22 05:22:31 2025 +0000 4384 4385 upstream: remove debugging junk 4386 4387 OpenBSD-Regress-ID: 3247e0ac98ae4cfe4eede871ef424d166e29e828 4388 4389commit 52712d5f11172ca98ffb0b2ac93007f74cb67134 4390Author: djm@openbsd.org <djm@openbsd.org> 4391Date: Tue Oct 21 23:30:01 2025 +0000 4392 4393 upstream: just skip the test if $PATH or $HOME has whitespace in it 4394 4395 OpenBSD-Regress-ID: ccf75a29d1a300a35f63be0e4f11ad5276756275 4396 4397commit a8eac05a85e31b11513a6a8dc5d662b14cbc2f4b 4398Author: djm@openbsd.org <djm@openbsd.org> 4399Date: Tue Oct 21 22:13:27 2025 +0000 4400 4401 upstream: quote paths; avoids test failure when run from a path with a 4402 4403 space in it 4404 4405 OpenBSD-Regress-ID: e4b7bffc289f10d47c50c02dd70b0323078a83b4 4406 4407commit 425e5b6bd765efbfc7691f43bfc08c86dc8a615e 4408Author: djm@openbsd.org <djm@openbsd.org> 4409Date: Tue Oct 21 08:35:22 2025 +0000 4410 4411 upstream: fix test for executability of tmux 4412 4413 OpenBSD-Regress-ID: a18119876ecfd95edb78225b086ac668eb0977ab 4414 4415commit d1d8144ea682adae5c3bb2994322fa524584ce8b 4416Author: djm@openbsd.org <djm@openbsd.org> 4417Date: Tue Oct 21 08:34:52 2025 +0000 4418 4419 upstream: add some more synchronisation to avoid a race between 4420 4421 command entry and ^C that showed up on the portable regress tests. 4422 4423 OpenBSD-Regress-ID: 5527e74aed1b008aa7e5223ca5a84aedecd973d4 4424 4425commit 8704c141bf6ded67ab466f5e987c49329ebbd968 4426Author: dtucker@openbsd.org <dtucker@openbsd.org> 4427Date: Tue Oct 21 07:18:27 2025 +0000 4428 4429 upstream: Always create logfiles. Should prevent "can't operate on 4430 4431 symlink" warnings during test runs. 4432 4433 OpenBSD-Regress-ID: 65cf5ce3c8b87b5609f1f3ea142b4f381128dc33 4434 4435commit dc9af8fb0436013afb544248e0afc2fd02a1a8fa 4436Author: Mike Frysinger <vapier@gentoo.org> 4437Date: Sun Oct 19 09:33:23 2025 -0400 4438 4439 bsd-openpty: include stdio.h for snprintf 4440 4441commit afe83537e0c0c159c7c3b6ef859424f6da18169c 4442Author: Damien Miller <djm@mindrot.org> 4443Date: Tue Oct 21 09:14:35 2025 +1100 4444 4445 include tmux in CI package list 4446 4447commit a750ec60782d21db69383344dda478342d40ffa1 4448Author: Darren Tucker <dtucker@dtucker.net> 4449Date: Mon Oct 20 18:31:08 2025 +1100 4450 4451 Detect tmux at configure time and pass to tests. 4452 4453 ok djm@ 4454 4455commit 75faa8a167b5cd4453937387b15216aa3cbc52ce 4456Author: Darren Tucker <dtucker@dtucker.net> 4457Date: Mon Oct 20 18:29:24 2025 +1100 4458 4459 Update LibreSSL versions and add 4.2.0. 4460 4461commit 74369b2b7c366887211ef5c092b0aaa60f31ef11 4462Author: djm@openbsd.org <djm@openbsd.org> 4463Date: Mon Oct 20 00:45:10 2025 +0000 4464 4465 upstream: regression test for "interactive" ssh with a PTY attached, 4466 4467 using tmux 4468 4469 would have likely caught the ControlPersist regression in 10.1. 4470 4471 feedback nicm@ 4472 4473 OpenBSD-Regress-ID: d4d709c08657769cb5691893cc98f34b6f537e76 4474 4475commit a204650386124df8035b8c8613dccbe9b3158cdf 4476Author: Darren Tucker <dtucker@dtucker.net> 4477Date: Fri Oct 17 16:26:22 2025 +1100 4478 4479 Retire macos-13 runners, add Intel-specific ones. 4480 4481commit a6503f1e22aa34ac08d5b4d2b6730954ffd30116 4482Author: Darren Tucker <dtucker@dtucker.net> 4483Date: Fri Oct 17 16:23:43 2025 +1100 4484 4485 If we have nfds_t, check if it's int or long. 4486 4487 Should fix build on very old Mac OS X, eg 10.3. Spotted and patch tested 4488 by Sevan Janiyan. 4489 4490commit ce49aceba9f4b5f34a1041145782914aa35ca880 4491Author: Damien Miller <djm@mindrot.org> 4492Date: Thu Oct 16 11:15:16 2025 +1100 4493 4494 link ssh against ssh-pkcs11.o 4495 4496 Should fix PIN entry for direct use of PKCS11Provider in ssh(1) 4497 bz3879 4498 4499commit 946574b97ceae126e0f0af2db43abb454937defe 4500Author: djm@openbsd.org <djm@openbsd.org> 4501Date: Thu Oct 16 00:01:54 2025 +0000 4502 4503 upstream: regress test for PKCS#11 directly in ssh (not via ssh-agent) 4504 4505 would have caught bz3879 4506 4507 OpenBSD-Regress-ID: ceafb1e9a6c07185cc0cb0589f3170489a516123 4508 4509commit e3fdb82fb02723dbe139f9d4be274d7fddfb7983 4510Author: djm@openbsd.org <djm@openbsd.org> 4511Date: Thu Oct 16 00:00:36 2025 +0000 4512 4513 upstream: missed a case in previous 4514 4515 OpenBSD-Commit-ID: 271c5602b5e719ee3def19dbd9a33328b4fa7edc 4516 4517commit d926a84d17fb28bc94219e68575cb4847af02e9a 4518Author: djm@openbsd.org <djm@openbsd.org> 4519Date: Wed Oct 15 23:55:01 2025 +0000 4520 4521 upstream: don't try to pledge() the client if a PKCS11Provider is 4522 4523 in use 4524 4525 OpenBSD-Commit-ID: 445b2bf4b1e36e515f4d888f35244fd2dcfbb566 4526 4527commit 9c8572a357c071923569a62bd9cfb68b1f788e09 4528Author: djm@openbsd.org <djm@openbsd.org> 4529Date: Wed Oct 15 23:54:20 2025 +0000 4530 4531 upstream: mention this is for both ssh-pkcs11.c and 4532 4533 ssh-pkcs11-client.c 4534 4535 OpenBSD-Commit-ID: 26eff4b9a328fa056e98b997cb57254639e48fda 4536 4537commit a4e404a64b117a15453075ee26eb061d416e58cd 4538Author: Arnout Engelen <arnout@bzzt.net> 4539Date: Sat Jun 21 09:47:28 2025 +0200 4540 4541 mdoc2man: process `Dl` macros 4542 4543 `Dl` marks a single line as 'literal'. Since we don't output single 4544 lines differently in literal vs regular mode (we only insert line 4545 breaks for multi-line blocks in literal mode), we can just skip it. 4546 4547commit 45e2d8861bb724cfced1bf0693a6418a0cba6ab2 4548Author: Arnout Engelen <arnout@bzzt.net> 4549Date: Fri Jun 20 21:36:44 2025 +0200 4550 4551 mdoc2man: support `Ns` inside `Ic` 4552 4553 When encountering an `Ns` mdoc macro ('no space') inside an `Ic` block 4554 ('command'), such as for 'lines=number' in ssh-keygen.1, `mdoc2man` 4555 just output the macro instead of processing it. 4556 4557 This adds processing for `Ns` when seen inside an `Ic` block. 4558 4559commit 2b1761dea36c120417d8b73db8310dc09a781e6f 4560Author: Mike Frysinger <vapier@gentoo.org> 4561Date: Mon Oct 13 11:29:36 2025 -0400 4562 4563 gitignore: ignore all *~ files 4564 4565 This is a common backup style. 4566 4567commit 3ccdd9841f48e7d660f8b60c996965e9dde0a3a9 4568Author: Mike Frysinger <vapier@gentoo.org> 4569Date: Mon Oct 13 12:49:24 2025 -0400 4570 4571 bsd-misc: include sys/ioctl.h 4572 4573 This file uses ioctl() to implement some fallback functions, but 4574 doesn't include sys/ioctl.h for it. 4575 4576commit 3adc47e161901001816045c032fa61e94b0c9426 4577Author: Damien Miller <djm@mindrot.org> 4578Date: Tue Oct 14 14:52:50 2025 +1100 4579 4580 don't leak PAM handle on repeat invocations 4581 4582 Reported by Casper Dik via bz3882; ok dtucker@ 4583 4584commit a6ee0eb8cd951d0a00b2f06687c77f8f573b5985 4585Author: Darren Tucker <dtucker@dtucker.net> 4586Date: Mon Oct 13 19:02:45 2025 +1100 4587 4588 Switch OpenBSD VMs to use doas instead of sudo. 4589 4590 OpenBSD 7.3 packages have been removed from the mirrors so we can't 4591 install sudo for it any more, so switch to the native doas utility. 4592 4593commit da2f945f62e5a462381103803ee72e924bd1f137 4594Author: Damien Miller <djm@mindrot.org> 4595Date: Mon Oct 13 14:33:04 2025 +1100 4596 4597 check whether diff accepts -N 4598 4599commit cd8c96f283dbad90991edc09ade962bcfd96adc9 4600Author: djm@openbsd.org <djm@openbsd.org> 4601Date: Mon Oct 13 00:56:15 2025 +0000 4602 4603 upstream: test remote/remote recursive transfers where the source 4604 4605 path ends in ".." 4606 4607 OpenBSD-Regress-ID: 2f42078cfcee986d08b5d135968b8de6186c0003 4608 4609commit be0777ae3ef6d9deacb0e3c494674c84feac34bd 4610Author: djm@openbsd.org <djm@openbsd.org> 4611Date: Mon Oct 13 00:55:45 2025 +0000 4612 4613 upstream: test recursive transfers, including cases where the 4614 4615 source path ends in ".." 4616 4617 OpenBSD-Regress-ID: a38e3dbc86f6b7a95605784dcc601f17ede9c3f0 4618 4619commit 36a98fccaacbbf07eaf67855a8057cba724c5e91 4620Author: djm@openbsd.org <djm@openbsd.org> 4621Date: Mon Oct 13 00:55:09 2025 +0000 4622 4623 upstream: test implicit destination path selection when source path 4624 4625 ends with ".." 4626 4627 OpenBSD-Regress-ID: 42a88e7cdceee8a83879f5730199084ee4a95902 4628 4629commit 4f14ca8633a2c8c0a1a19165663421f0ab32f6ab 4630Author: djm@openbsd.org <djm@openbsd.org> 4631Date: Mon Oct 13 00:54:29 2025 +0000 4632 4633 upstream: similar to scp, fix implicit destination path selection 4634 4635 when source path ends with ".."; ok deraadt@ 4636 4637 OpenBSD-Commit-ID: 9b8d2a662d96b241293a88b3ea21f2419bfc4812 4638 4639commit 6432b9f6a216d0f5fb43df500e9bc30bebb3f58b 4640Author: djm@openbsd.org <djm@openbsd.org> 4641Date: Mon Oct 13 00:53:51 2025 +0000 4642 4643 upstream: when using the SFTP protocol for transfers, fix implicit 4644 4645 destination path selection when source path ends with ".."; ok deraadt@ 4646 bz3871 4647 4648 OpenBSD-Commit-ID: d75b3b006386c5302ed4f67c4add18464ab36a0b 4649 4650commit 30c20c901d8f665fb28edd006f6f8c1e46413051 4651Author: dtucker@openbsd.org <dtucker@openbsd.org> 4652Date: Sat Oct 11 23:39:14 2025 +0000 4653 4654 upstream: Import regenerate moduli. 4655 4656 OpenBSD-Commit-ID: 8512e01cf917dca6455be561d66db8eeb49f3f0b 4657 4658commit b6fd0e6d085ef519982c968b57fbaa9e509e1a3a 4659Author: Damien Miller <djm@mindrot.org> 4660Date: Fri Oct 10 15:23:59 2025 +1100 4661 4662 depend 4663 4664commit d6212b0b89241e96d2fea9619b2d66ea668bceaa 4665Author: djm@openbsd.org <djm@openbsd.org> 4666Date: Fri Oct 10 00:31:53 2025 +0000 4667 4668 upstream: clean up more thoroughly between tests 4669 4670 OpenBSD-Regress-ID: c8394eae7547374a8fc43d03d865539e2917ea50 4671 4672commit 9525aa3ecc6b27643fb83d8be4d61e831e357134 4673Author: djm@openbsd.org <djm@openbsd.org> 4674Date: Thu Oct 9 23:58:27 2025 +0000 4675 4676 upstream: simplify 4677 4678 OpenBSD-Regress-ID: 8e91a2a5c1eb50128de3be72118b544d73a86673 4679 4680commit e7b4b3f153713c15e3888aa50df039b2445492dd 4681Author: djm@openbsd.org <djm@openbsd.org> 4682Date: Thu Oct 9 23:26:47 2025 +0000 4683 4684 upstream: don't abuse SSHKEY_FLAG_EXT to signal that a key is in 4685 4686 the agent, as that triggers special handling on sshkey_free() 4687 4688 OpenBSD-Commit-ID: 2ae2247babd2db167a30cf7a4f7eae4f26c000a8 4689 4690commit 59a336cfd1283f512f067e01bc91bda5af253f80 4691Author: djm@openbsd.org <djm@openbsd.org> 4692Date: Thu Oct 9 23:25:23 2025 +0000 4693 4694 upstream: downgrade a useless error() -> debug() 4695 4696 OpenBSD-Commit-ID: 5b0c9bcddb324f8bed2c8e8ffe9c92d263adc2d9 4697 4698commit 649c9994e7d1995a03d8621f1412cfee90a430af 4699Author: djm@openbsd.org <djm@openbsd.org> 4700Date: Thu Oct 9 03:23:33 2025 +0000 4701 4702 upstream: silence "mm_log_handler: write: Broken pipe" logspam 4703 4704 OpenBSD-Commit-ID: bcf7c6ea509e755bd5a7cd567ff7cad725111a14 4705 4706commit fb0bf236b0237aa83a0c5b666af7bdc0423ac457 4707Author: Darren Tucker <dtucker@dtucker.net> 4708Date: Thu Oct 9 17:57:17 2025 +1100 4709 4710 Add tracking for 10.2 branch. 4711 4712commit 081b8dbbe90d81a43b5e0f1995fe59a0e319aa15 4713Author: Damien Miller <djm@mindrot.org> 4714Date: Thu Oct 9 13:12:15 2025 +1100 4715 4716 complete PKCS#11 stubs and move to ssh-pkcs11.c 4717 4718 Should unbreak --disable-pkcs11 builds 4719 4720commit ac4457787900c99ada9cc3768249291b002fa16e 4721Author: Damien Miller <djm@mindrot.org> 4722Date: Thu Oct 9 13:10:27 2025 +1100 4723 4724 some fixes to p11_setup 4725 4726 1. Use the ssh-keygen under test and not the one in $PATH 4727 2. Include a test PKCS#11 operation to ensure that the P11 stack is 4728 working correctly. 4729 4730 Previously, it was possible for p11_setup to return success on 4731 configurations with PKCS#11 support disabled. 4732 4733commit 3470f465c6f5c7c371e73927ebb403dd7ba05893 4734Author: Damien Miller <djm@mindrot.org> 4735Date: Thu Oct 9 10:07:40 2025 +1100 4736 4737 link ssh-keygen directly against ssh-pkcs11.c 4738 4739 Matches what OpenBSD does and fixes ssh-keygen regression in 4740 certifying keys using a CA key hosted via ssh-agent (bz3877) 4741 4742commit 0f3b8fd68a29766697d7a709bae8b0a61da6cff2 4743Author: djm@openbsd.org <djm@openbsd.org> 4744Date: Wed Oct 8 21:48:40 2025 +0000 4745 4746 upstream: When tab-completing a filename, ensure that the completed 4747 4748 string does not end up mid-way through a multibyte character, as this will 4749 cause a fatal() later on. 4750 4751 based on GHPR#587 from @TaoistBrickscarrier; feedback tb@ kevlo@ 4752 ok dtucker@ 4753 4754 OpenBSD-Commit-ID: efb977164b4e20d61204a66201a7592ba8291362 4755 4756commit 0118c30acaff308deb089fc25fe98ef59a149ca5 4757Author: djm@openbsd.org <djm@openbsd.org> 4758Date: Wed Oct 8 21:02:16 2025 +0000 4759 4760 upstream: fix crash at exit (visible via ssh-keygen -D) when 4761 4762 multiple keys loaded. ok markus deraadt dtucker 4763 4764 OpenBSD-Commit-ID: baa9763ec69d162108dafd962792ec5610ff45c9 4765 4766commit 64ea9e95256203f30f98a6896f4721fd223106aa 4767Author: djm@openbsd.org <djm@openbsd.org> 4768Date: Wed Oct 8 00:32:52 2025 +0000 4769 4770 upstream: openssh-10.2 4771 4772 The only change since 10.1 is the channels.c fix 4773 4774 OpenBSD-Commit-ID: 5eebeb0db14c694efd4ee96b5f16112e3e5d5ba9 4775 4776commit bcf7c05a473f92a35f4f3b561fd7a1e339e0a30f 4777Author: Darren Tucker <dtucker@dtucker.net> 4778Date: Wed Oct 8 11:26:52 2025 +1100 4779 4780 Fix header name and move return outside of ifdef. 4781 4782 Fixes from Mike Frysinger via Github PR#597. 4783 4784commit b937061fe4922caced7b91442b3233c0bd763492 4785Author: Darren Tucker <dtucker@dtucker.net> 4786Date: Tue Oct 7 21:10:33 2025 +1100 4787 4788 Check HAVE_MMAP too now that configure sets it. 4789 4790commit 8d57083c062f03098c9f767ec8d6278dc549a2f6 4791Author: Darren Tucker <dtucker@dtucker.net> 4792Date: Tue Oct 7 21:07:05 2025 +1100 4793 4794 Use calloc for sshkeys if mmap is not supported. 4795 4796 Based on Github PR#597 from Mike Frysinger, any bugs added by me. 4797 4798commit c97b931bffa481c72ff4bfddd9d59a2110899289 4799Author: Darren Tucker <dtucker@dtucker.net> 4800Date: Tue Oct 7 20:25:07 2025 +1100 4801 4802 Add fcntl.h to includes. 4803 4804 From FreeBSD via bz#3874: "This was previously included due to nested 4805 includes in Heimdal's headers. Without this, the build fails with an 4806 error due to redefining AT_FDCWD." 4807 4808commit 8aa13832315e52c4404c993a59c6139b44ac6114 4809Author: Daan De Meyer <daan.j.demeyer@gmail.com> 4810Date: Mon Mar 20 20:22:14 2023 +0100 4811 4812 Only set PAM_RHOST if the remote host is not "UNKNOWN" 4813 4814 When using sshd's -i option with stdio that is not a AF_INET/AF_INET6 4815 socket, auth_get_canonical_hostname() returns "UNKNOWN" which is then 4816 set as the value of PAM_RHOST, causing pam to try to do a reverse DNS 4817 query of "UNKNOWN", which times out multiple times, causing a 4818 substantial slowdown when logging in. 4819 4820 To fix this, let's only set PAM_RHOST if the hostname is not "UNKNOWN". 4821 4822commit 0bd6649ea80ead0cd6404dbc25b64937421b556e 4823Author: Darren Tucker <dtucker@dtucker.net> 4824Date: Tue Oct 7 20:10:56 2025 +1100 4825 4826 Don't copy native host keys for hostbased test. 4827 4828 Some github runners (notably macos-14) seem to have host keys where 4829 public and private do not match, so generate our own keys for testing 4830 purposes. 4831 4832commit 33b63718d40ccc555b8c7a24331a3790b2efc6c5 4833Author: Darren Tucker <dtucker@dtucker.net> 4834Date: Tue Oct 7 20:10:07 2025 +1100 4835 4836 Add 10.1 branch to ci-status page. 4837 4838commit 52411f15353257e9ec883fc044b7a56b6fca242d 4839Author: Darren Tucker <dtucker@dtucker.net> 4840Date: Tue Oct 7 20:04:40 2025 +1100 4841 4842 Add clock_gettime compat shim. 4843 4844 This fixes the build on macOS prior to 10.12 Sierra, since it does not 4845 have it. Found and tested by Sevan Janiyan. 4846 4847commit beae06f56e0d0a66ca535896149d5fb0b2e8a1b4 4848Author: djm@openbsd.org <djm@openbsd.org> 4849Date: Tue Oct 7 08:02:32 2025 +0000 4850 4851 upstream: don't reuse c->isatty for signalling that the remote channel 4852 4853 has a tty attached as this causes side effects, e.g. in channel_handle_rfd(). 4854 bz3872 4855 4856 ok markus@ 4857 4858 OpenBSD-Commit-ID: 4cd8a9f641498ca6089442e59bad0fd3dcbe85f8 4859 4860commit 476bab6259d5a6ea0402ec79bc47ed61e2c15e86 4861Author: Damien Miller <djm@mindrot.org> 4862Date: Mon Oct 6 12:52:25 2025 +1100 4863 4864 depend 4865 4866commit af956575eba6bf6b6d6bc817e1aa6ed73a365984 4867Author: Damien Miller <djm@mindrot.org> 4868Date: Mon Oct 6 12:51:13 2025 +1100 4869 4870 update versions 4871 4872commit 2fd0945913a30fbbe7c02503347961df03f28e66 4873Author: Damien Miller <djm@mindrot.org> 4874Date: Mon Oct 6 12:48:16 2025 +1100 4875 4876 sync ssh-copy-id to upstream version 527be673f4d 4877 4878commit 981bb32bc6062fa5d6f11de7ffb732967463bf57 4879Author: djm@openbsd.org <djm@openbsd.org> 4880Date: Mon Oct 6 01:45:22 2025 +0000 4881 4882 upstream: openssh-10.1 4883 4884 OpenBSD-Commit-ID: 2a232c2d2fc05a23519f69bc29e6d8c076b97d97 4885 4886commit b9a640a1a0dccfb56be684cc7ade402f57cf7ebd 4887Author: dtucker@openbsd.org <dtucker@openbsd.org> 4888Date: Fri Oct 3 01:03:45 2025 +0000 4889 4890 upstream: If write() returned short, the subsequent write would restart 4891 4892 from the beginning of the buffer not the end of what was written. Fix, since 4893 we want modpipe to corrupt data for testing purposes deliberately not 4894 accidentally. ok djm@ 4895 4896 OpenBSD-Regress-ID: 50ca74d287445c58944f070bb92dc13b1d054b43 4897 4898commit a0e5446ac85aca5a3ef9844eeedf787300fdb8b3 4899Author: naddy@openbsd.org <naddy@openbsd.org> 4900Date: Sat Oct 4 21:41:35 2025 +0000 4901 4902 upstream: typos: a ssh* -> an ssh* 4903 4904 ok dtucker@ 4905 4906 OpenBSD-Commit-ID: a70fd2e1b23089260e8f5a7921b0debc06b011cb 4907 4908commit ade92f53c3bd4ad7dcd95334a194add57ec9ff71 4909Author: djm@openbsd.org <djm@openbsd.org> 4910Date: Fri Oct 3 00:09:26 2025 +0000 4911 4912 upstream: stray newline 4913 4914 OpenBSD-Commit-ID: b47ed4fa93b781c7ec8ae2936526a290f4e17e1f 4915 4916commit a9cbe10da2be5be76755af0cea029db0f9c1f263 4917Author: djm@openbsd.org <djm@openbsd.org> 4918Date: Fri Oct 3 00:08:02 2025 +0000 4919 4920 upstream: include openssl/bn.h explicitly in files where we use BN_* 4921 4922 makes things simpler for portable; from Mike Frysinger 4923 4924 OpenBSD-Commit-ID: 717e93403fd1108e175afd7451b5a4ab46a598fe 4925 4926commit 3957cc2914cdc88932c972413853f8b68c1ffba5 4927Author: dtucker@openbsd.org <dtucker@openbsd.org> 4928Date: Thu Oct 2 08:38:43 2025 +0000 4929 4930 upstream: Relax array check slightly. Prevents compiler warnings 4931 4932 in -portable when there are no kbdint devices present. ok djm@ 4933 4934 OpenBSD-Commit-ID: c1c050cecd642d6073c792201908fd225191df93 4935 4936commit 6a239b057be2897d7a597daaf5394f2e7312dc65 4937Author: djm@openbsd.org <djm@openbsd.org> 4938Date: Thu Oct 2 04:23:11 2025 +0000 4939 4940 upstream: backout r1.243 (fix for fatal during tab-completion with 4941 4942 some multibyte sequences) as it breaks the common case for tab completion. 4943 4944 Will deal with it properly after release. 4945 4946 OpenBSD-Commit-ID: 196d00f5ff19579214de45357f16a1fb2d624be1 4947 4948commit b9f6a84ea383d811216de38219472214963c10b2 4949Author: Darren Tucker <dtucker@dtucker.net> 4950Date: Thu Oct 2 10:48:04 2025 +1000 4951 4952 Pass COMPATINCLUDES down to openbsd-compat too. 4953 4954 Fixes build on Solaris, AIX and probably others. 4955 4956commit 047e0221eaf9815775e8ea78c6d6add5ab0f68c7 4957Author: Darren Tucker <dtucker@dtucker.net> 4958Date: Wed Oct 1 14:34:02 2025 +1000 4959 4960 Pass new "compat includes" path via AC_SUBST. 4961 4962 This fixes the build when the directory path containing a space. 4963 Found by Sevan Janiyan, tested by Job Snijders. This doesn't fix 4964 "make tests", however that is a different, pre-existing problem 4965 that needs to be addressed separately. 4966 4967commit 5c50ddbe4deac83995edc1d014e9ba0d5efa18a6 4968Author: Darren Tucker <dtucker@dtucker.net> 4969Date: Wed Oct 1 13:37:35 2025 +1000 4970 4971 Remove compat "include" dir during distclean. 4972 4973commit aceabd62ce5833716dd2e99d4be4fcb603d263cc 4974Author: dtucker@openbsd.org <dtucker@openbsd.org> 4975Date: Wed Oct 1 00:33:37 2025 +0000 4976 4977 upstream: Set keys to NULL after freeing in tests where the 4978 4979 variables will be used again. Should prevent Coverity "potential use after 4980 free" warnings. 4981 4982 OpenBSD-Regress-ID: 24d141657d25977e41dfb0c58e9b74ab093972bf 4983 4984commit eb30a0d1493a97b5c14728846576dc6af5d442da 4985Author: dtucker@openbsd.org <dtucker@openbsd.org> 4986Date: Wed Oct 1 00:30:19 2025 +0000 4987 4988 upstream: Get rid of utf8 droppings in commment since it confuses 4989 4990 older shells. From Sevan Janiyan via openssh-unix-dev. 4991 4992 OpenBSD-Regress-ID: 67c11a5cff6ef23538c77e9b29d538e175e6cfe3 4993 4994commit d478e250230e917eeb5032238df0b9af357404ee 4995Author: Darren Tucker <dtucker@dtucker.net> 4996Date: Wed Oct 1 12:17:54 2025 +1000 4997 4998 Update OpenSSL & LibreSSL versions we test against. 4999 5000commit 2c504a74ed81d13c8198a89ed1040d0fc5f73129 5001Author: djm@openbsd.org <djm@openbsd.org> 5002Date: Tue Sep 30 00:10:42 2025 +0000 5003 5004 upstream: during sftp uploads, avoid a condition where a failed write 5005 5006 could be ignored if a subsequent write succeeded. 5007 5008 This is unlikely but technically possible because sftp servers are 5009 allowed to reorder requests. 5010 5011 Reported by Graziano Stefani, ok tb@ 5012 5013 OpenBSD-Commit-ID: 03904bce2c7f787223d01d7e1179fde15753eca3 5014 5015commit 1f7556753869654ba5e2bf61e384c5da2db5ca6a 5016Author: djm@openbsd.org <djm@openbsd.org> 5017Date: Tue Sep 30 00:06:06 2025 +0000 5018 5019 upstream: avoid a fatal() when sftp tab-completes filenames that 5020 5021 share common utf-8 characters that don't encode to a complete codepoint 5022 5023 from menthu.zhou via GHPR#587; ok dtucker@ 5024 5025 OpenBSD-Commit-ID: e07e4d8a8cac032ab536570b8214e6ef6839b585 5026 5027commit 42b14ff1e06fd683c7d15a6b2816c16108873a5a 5028Author: djm@openbsd.org <djm@openbsd.org> 5029Date: Tue Sep 30 00:03:09 2025 +0000 5030 5031 upstream: fix memory leak in mux_client_request_stdio_fwd GHPR#575 5032 5033 by Boris Tonofa; ok dtucker 5034 5035 OpenBSD-Commit-ID: 410cdd05242304bd0196b9172ce5fcaf89d2d8ce 5036 5037commit e5055ef26abcffd3f99669e411ea6b35ca166111 5038Author: Allison Karlitskaya <allison.karlitskaya@redhat.com> 5039Date: Wed Sep 3 20:07:55 2025 +0200 5040 5041 Don't log audit messages with UNKNOWN hostname 5042 5043 The `host` parameter to audit_log_acct_message() is documented as 5044 follows: 5045 5046 host - The hostname if known. If not available pass a NULL. 5047 5048 but we pass the string "UNKNOWN" in case we don't know the hostname. 5049 Make sure we pass NULL instead. 5050 5051 This avoids having the audit system attempt to perform a DNS lookup on 5052 the hostname "UNKNOWN", which tends to result in long delays when 5053 attempting to login. 5054 5055commit d343df4019b4369ce7f87e9bf6bbc80b81cd263d 5056Author: zhangjun <zhangjun-tc@dfmc.com.cn> 5057Date: Fri Aug 22 16:49:07 2025 +0800 5058 5059 ensure struct passwd fields are non-NULL in pwcopy 5060 5061 Android libc can return NULL pw_gecos, for example. 5062 5063commit 893a579e4b37e6bd89d206dc8e7ac2a906ccf114 5064Author: dtucker@openbsd.org <dtucker@openbsd.org> 5065Date: Mon Sep 29 21:37:52 2025 +0000 5066 5067 upstream: Add explicit check for array overflow. 5068 5069 The array is bounded by a NULL sentinel which already prevents this, 5070 however since we check the bit vector for overflow Coverity assumes that 5071 check is for the devices array and flags it as a potential overflow. 5072 Adding this additional check on the array placates CID 896018. ok djm@ 5073 deraadt@ 5074 5075 OpenBSD-Commit-ID: e92fff41341b38e4206a70655cc9acaaa032ebee 5076 5077commit 90f49a185ac1a786d9f7e9a710b369afb3692a65 5078Author: dtucker@openbsd.org <dtucker@openbsd.org> 5079Date: Mon Sep 29 21:30:15 2025 +0000 5080 5081 upstream: Move ifdef to start of file. Removes diff vs portable. 5082 5083 OpenBSD-Commit-ID: 55058ac3d477e4c696575039f5b275522b99ffea 5084 5085commit 2f71b44d48dc8da7fb743d6ffe609aea5a645edb 5086Author: dtucker@openbsd.org <dtucker@openbsd.org> 5087Date: Mon Sep 29 21:29:22 2025 +0000 5088 5089 upstream: Include misc.h. Removes diff vs portable. 5090 5091 OpenBSD-Commit-ID: 8aa48451fe5c37f04a339450c4ed9cfb8f4c288f 5092 5093commit dfb991bdd826517bbce1cf62ce07bcb3e48a2f27 5094Author: dtucker@openbsd.org <dtucker@openbsd.org> 5095Date: Mon Sep 29 21:28:33 2025 +0000 5096 5097 upstream: Sort headers as per KNF. Removes diff vs portable. 5098 5099 OpenBSD-Commit-ID: 55f5b9eaeb826a25cfb506a78136094275a71bcb 5100 5101commit c82f4dd6b723a8365b4c538d7c99fe8e46985ed0 5102Author: dtucker@openbsd.org <dtucker@openbsd.org> 5103Date: Mon Sep 29 07:40:55 2025 +0000 5104 5105 upstream: Null out keys after freeing in tests in the case where we 5106 5107 potentially reuse the variable. Fixes Coverity CID 405057. 5108 5109 OpenBSD-Regress-ID: c52e86502b33bfa6e448448a74a0217dd519dd58 5110 5111commit fda31e1e5179b4e70c27094ebb303ee47c11a5a7 5112Author: djm@openbsd.org <djm@openbsd.org> 5113Date: Mon Sep 29 03:17:54 2025 +0000 5114 5115 upstream: avoid spurious error message when loading certificates 5116 5117 only bz3869 5118 5119 OpenBSD-Commit-ID: e7848fec50d15cc142fed946aa8f79abef3c5be7 5120 5121commit bcd88ded2fff97652d4236405a3354ca66f90f7e 5122Author: djm@openbsd.org <djm@openbsd.org> 5123Date: Mon Sep 29 02:32:15 2025 +0000 5124 5125 upstream: kbd-interactive device names should be matched against 5126 5127 the full device name, not a prefix. Doesn't matter in practice as there is 5128 only one kbd-int device supported (PAM xor BSD auth), and an attacker would 5129 still need to successfully authenticate against an incorrectly-selected 5130 device. 5131 5132 reported by ashamedbit, NobleMathews; ok deraadt@ 5133 5134 OpenBSD-Commit-ID: cf75d4f99405fbb41354c4ae724a3b39a3b58f82 5135 5136commit b1c4bf5c2f1c2b30698dbaadc5d823862213f1fc 5137Author: jsg@openbsd.org <jsg@openbsd.org> 5138Date: Thu Sep 25 12:52:21 2025 +0000 5139 5140 upstream: avoid use-after-free in update_krl_from_file() found with 5141 5142 clang scan-build, ok dtucker@ 5143 5144 OpenBSD-Commit-ID: 8ec86eca573740c94d5bc7e252959174555f4eb8 5145 5146commit b06a150bc903a0cf898406384d5a34059d0f2d8f 5147Author: Darren Tucker <dtucker@dtucker.net> 5148Date: Sat Sep 27 20:20:34 2025 +1000 5149 5150 Stop testing OpenBSD ubsan until fixed upstream. 5151 5152commit 97b32fa2af25c16aec4de85c5cbb63fd038b4dfa 5153Author: dtucker@openbsd.org <dtucker@openbsd.org> 5154Date: Fri Sep 26 04:40:45 2025 +0000 5155 5156 upstream: Use $OBJ for temp file in maxstartups idempotence test. 5157 5158 Fixes test in -portable when run out-of-tree. 5159 5160 OpenBSD-Regress-ID: 8578be08238af4abe2dc91af1c199f7f71f1a7a2 5161 5162commit b4ceca952b85752958d849508294afdc56dfcb9f 5163Author: Darren Tucker <dtucker@dtucker.net> 5164Date: Fri Sep 26 22:28:13 2025 +1000 5165 5166 Shorten workflow names to fit in a single line. 5167 5168commit 9824ec515ed6256c1a98d66049471053f965b75e 5169Author: Darren Tucker <dtucker@dtucker.net> 5170Date: Fri Sep 26 22:26:33 2025 +1000 5171 5172 Update link to oss-fuzz bug tracker. 5173 5174 Remove 9.8 branch. 5175 5176commit 37d996bd0537837f15fc540d5aebb1ef2faf2268 5177Author: dtucker@openbsd.org <dtucker@openbsd.org> 5178Date: Thu Sep 25 22:17:29 2025 +0000 5179 5180 upstream: Check return codes of sshbuf functions. 5181 5182 Fixes Coverity CIDs 405059 and 405061. 5183 5184 OpenBSD-Regress-ID: defa55d32892172251bbd5efd15731ce55888247 5185 5186commit 6c3c9f03c3c2cc4e40decbb49b8486abfb9e57df 5187Author: Darren Tucker <dtucker@dtucker.net> 5188Date: Fri Sep 26 08:23:21 2025 +1000 5189 5190 Replace hand-rolled modulo with arc4random_uniform. 5191 5192 Fixes potential modulo-by-zero UB flagged by Coverity CID 405068 5193 5194commit e914e61eb88e22e5b725c399698256c54589ca32 5195Author: Darren Tucker <dtucker@dtucker.net> 5196Date: Thu Sep 25 17:50:07 2025 +1000 5197 5198 Remove status bits from OpenSSL >=3 version check. 5199 5200 OpenSSL traditionally did not guarantee ABI compatibility across release 5201 (and development) versions. Because of this, OpenSSH checked the lower 4 5202 "status" bits returned by OpenSSL_version_num(), which were originally 5203 set to 0 for development versions and 0xf for release versions and, if 5204 they did not match, would report the discrepancy and exit. 5205 5206 OpenSSL (unintentionally) changed these bits in the 3.0.0 and subsequent 5207 3.x releases, setting them to zero in the release versions (which happened 5208 to also match the documentation), then changed them back in the 3.5.3 5209 release. If OpenSSL was upgraded to (or from) this version without 5210 recompiling OpenSSH, it would cause OpenSSH flag it as potentially 5211 incompatible and refuse to use it. Ultimately OpenSSL rolled this 5212 back, but the check now has no value so is being removed for OpenSSL 5213 versions >=3. 5214 5215 bz#3865 and https://github.com/openssl/openssl/issues/28575, ok djm@ 5216 5217commit 35f3e2a41c2afe7a68a8a4efb3eb385e7f8d247d 5218Author: Darren Tucker <dtucker@dtucker.net> 5219Date: Thu Sep 25 18:06:55 2025 +1000 5220 5221 Update pledge() interface to match current OpenBSD. 5222 5223 ok djm@ 5224 5225commit 7ce3823547578a3b083085744c1fea39237197a2 5226Author: Darren Tucker <dtucker@dtucker.net> 5227Date: Tue Sep 23 22:12:19 2025 +1000 5228 5229 Merge all putty tests into a single test. 5230 5231 The lets us reuse the built OpenSSH binaries and replaces 12*4min of 5232 tests with a single 14min one. 5233 5234commit 1362f6c0f4ca3306a201a6572bb9ec0d47d8edb3 5235Author: Darren Tucker <dtucker@dtucker.net> 5236Date: Thu Sep 25 18:20:53 2025 +1000 5237 5238 Add #ifdefs in pwfree to match those in pwcopy. 5239 5240 Fixes build on many platforms. 5241 5242commit 8235dc3d82c0ac347a3600df0907c6573720fbaa 5243Author: djm@openbsd.org <djm@openbsd.org> 5244Date: Thu Sep 25 07:05:11 2025 +0000 5245 5246 upstream: fix some one-off leaks in ssh.c; ok dtucker@ 5247 5248 OpenBSD-Commit-ID: bf3c27ffe4b3cccb6553b554ec4c04929065a2bc 5249 5250commit 846987d1233f24bbe87ebed347e328f45525388a 5251Author: djm@openbsd.org <djm@openbsd.org> 5252Date: Thu Sep 25 07:04:38 2025 +0000 5253 5254 upstream: fix some one-off leaks in ssh-keygen; ok dtucker@ 5255 5256 OpenBSD-Commit-ID: 32f51289c93246474659aa49067926fcab9e02e8 5257 5258commit a1a7df8b3694fdd7b55ad6bb8fa7b3d5d7f5b89a 5259Author: djm@openbsd.org <djm@openbsd.org> 5260Date: Thu Sep 25 07:00:43 2025 +0000 5261 5262 upstream: fix some leaks in ssh-add; feedback/ok dtucker@ 5263 5264 OpenBSD-Commit-ID: 441302917de31a128c1d6d63acccc67042fcf349 5265 5266commit a8a2702bcd9e81a086e6d2c278f1b62f9d8bf3a1 5267Author: djm@openbsd.org <djm@openbsd.org> 5268Date: Thu Sep 25 06:57:54 2025 +0000 5269 5270 upstream: fix some leaks; feedback/ok dtucker@ 5271 5272 OpenBSD-Commit-ID: 05bdbc2e494b87a4a79e509020bd8249c86a4ff0 5273 5274commit a071af0682d686de85cf471f5e04deaee4d90adb 5275Author: djm@openbsd.org <djm@openbsd.org> 5276Date: Thu Sep 25 06:45:50 2025 +0000 5277 5278 upstream: wait for the unprivileged sshd-auth process to exit 5279 5280 before closing the fd it uses to report log messages 5281 5282 This avoids a race where the child process notices the 5283 fd was closed before exiting and spams the logs. 5284 5285 ok dtucker@ 5286 5287 OpenBSD-Commit-ID: 7cddaa41be3b955e6bed570900db7ab8817b1e76 5288 5289commit 4fddebe7f524b3403c876c3b399d5ce7ce3390a6 5290Author: djm@openbsd.org <djm@openbsd.org> 5291Date: Thu Sep 25 06:33:19 2025 +0000 5292 5293 upstream: add some functions to free various structs, including 5294 5295 channels data and packet state; ok dtucker@ tb@ 5296 5297 OpenBSD-Commit-ID: a8b3705309d632cdae370d4147a03e703087b0d1 5298 5299commit d0c1e73d408a24b2db18c0aa1a0108bea0f24210 5300Author: djm@openbsd.org <djm@openbsd.org> 5301Date: Thu Sep 25 06:31:42 2025 +0000 5302 5303 upstream: fix leaks of config objects in 5304 5305 mm_decode_activate_server_options ok dtucker@ tb@ 5306 5307 OpenBSD-Commit-ID: 211f4d7d02e847bd1bcb460f6beb11658809a742 5308 5309commit b62aa85dcbc8f03bf91d26d14fbf8fd5e172d882 5310Author: djm@openbsd.org <djm@openbsd.org> 5311Date: Thu Sep 25 06:25:38 2025 +0000 5312 5313 upstream: clarify intent and avoid (harmess, defined behaviour) 5314 5315 unsigned underflow. ok tb@ 5316 5317 OpenBSD-Commit-ID: b73bf5f1f381c3e4561a6cc706fb1cd77c939cd8 5318 5319commit 6f28a935cc7d073e6647643e81d98b5831df204f 5320Author: jsg@openbsd.org <jsg@openbsd.org> 5321Date: Thu Sep 25 06:23:19 2025 +0000 5322 5323 upstream: consistently use NULL for null pointer constants found 5324 5325 with sparse, ok djm@ 5326 5327 OpenBSD-Commit-ID: 1067504b63732d809d0d57ad4bc626818d112772 5328 5329commit 0af7e5b690e2cfe8824f04f154b0e543509dbefd 5330Author: jsg@openbsd.org <jsg@openbsd.org> 5331Date: Thu Sep 25 02:15:39 2025 +0000 5332 5333 upstream: remove unneeded externs ok djm@ 5334 5335 OpenBSD-Commit-ID: fe553193e910a122505142a4e1db7358cc1ae653 5336 5337commit ae62a16118bb96a8e449ef25f5e55ef86a52cefb 5338Author: jsg@openbsd.org <jsg@openbsd.org> 5339Date: Thu Sep 25 02:12:16 2025 +0000 5340 5341 upstream: remove prototype for removed ssh_packet_set_tos() ok 5342 5343 djm@ 5344 5345 OpenBSD-Commit-ID: 396f82995074ef4d7b9ce44168266ef4640d9985 5346 5347commit d8588478850463f8945aa18d0358b2b227f8b57a 5348Author: jsg@openbsd.org <jsg@openbsd.org> 5349Date: Wed Sep 24 00:51:28 2025 +0000 5350 5351 upstream: spelling; ok dtucker@ 5352 5353 OpenBSD-Commit-ID: 93870117b0153859dd8baa80b97e44d4558c786b 5354 5355commit eff358890a7cab1e7c2fec62e5b9914d2c1c8703 5356Author: Darren Tucker <dtucker@dtucker.net> 5357Date: Tue Sep 23 16:51:34 2025 +1000 5358 5359 Merge VM tests into a single workflow file. 5360 5361 Should make it easier to manage, although it may cause a few extra runs. 5362 5363commit d00015d21190517a1f505eb8120f716b1c2e4055 5364Author: Darren Tucker <dtucker@dtucker.net> 5365Date: Tue Sep 23 16:38:45 2025 +1000 5366 5367 Test openssl-3.6 branch not beta1. 5368 5369commit 31fce4fc5aaf79b9a4bccf09467e86c56b482bde 5370Author: Darren Tucker <dtucker@dtucker.net> 5371Date: Tue Sep 23 15:51:14 2025 +1000 5372 5373 Test openssl-3.6.0-beta1. 5374 5375commit b94e7251a17a497669e825cb70ac79c96bdc3472 5376Author: Darren Tucker <dtucker@dtucker.net> 5377Date: Tue Sep 23 11:32:57 2025 +1000 5378 5379 Specify rpath when building OpenSSL. 5380 5381commit 83853aa5e35f3da0690bccd2983764d4e749a670 5382Author: Darren Tucker <dtucker@dtucker.net> 5383Date: Mon Sep 22 15:26:17 2025 +1000 5384 5385 Factor out OpenSSL install and test more versions. 5386 5387 Move OpenSSL installation into its own script with a "-a" option to 5388 install the "next" version to test for ABI compatibility. 5389 5390commit 2c1d38f7ffc8b8ec244bfe17ec8a85b3d737dcab 5391Author: Darren Tucker <dtucker@dtucker.net> 5392Date: Mon Sep 22 16:55:49 2025 +1000 5393 5394 Exclude generated openbsd-compat/include directory. 5395 5396commit 67b3ed101a18348b564507f55e3ed4b7e0d23ff9 5397Author: Darren Tucker <dtucker@dtucker.net> 5398Date: Sat Sep 20 15:07:36 2025 +1000 5399 5400 Add OpenSSL 3.x ABI cross-compatibility test. 5401 5402commit c682c9f45a10ee0dc37fd716cfccd42271f92ddc 5403Author: Darren Tucker <dtucker@dtucker.net> 5404Date: Sat Sep 20 15:05:19 2025 +1000 5405 5406 Add tests for OpenSSL 3.4 and 3.5 versions. 5407 5408commit 1659d0ac095608b809fd3173d2c48b7b39d40b02 5409Author: Darren Tucker <dtucker@dtucker.net> 5410Date: Sat Sep 20 15:53:04 2025 +1000 5411 5412 Build OpenSSL with -j4 to speed it up. 5413 5414commit ca9ac1109e2c875ea33da6818c1841aa2181e962 5415Author: Darren Tucker <dtucker@dtucker.net> 5416Date: Sat Sep 20 15:16:30 2025 +1000 5417 5418 Rerun tests if run_tests.sh changes. 5419 5420commit bc328144f149af07139a0f2c1329018cd85b86b7 5421Author: djm@openbsd.org <djm@openbsd.org> 5422Date: Fri Sep 19 01:32:45 2025 +0000 5423 5424 upstream: log at level INFO when PerSourcePenalties actually blocks 5425 5426 access to a source address range. Previously this was logged at level 5427 VERBOSE, which hid enforcement actions under default config settings. 5428 5429 ok dtucker, markus 5430 5431 OpenBSD-Commit-ID: ea2b0d7c2253ff5205719d74b526cf2870df894d 5432 5433commit 80993390bed15bbd1c348f3352e55d0db01ca0fd 5434Author: Darren Tucker <dtucker@dtucker.net> 5435Date: Wed Sep 17 17:41:41 2025 +1000 5436 5437 Whitespace. 5438 5439commit fc704057ce6b75637645a4b9c917565b3563e21b 5440Author: Darren Tucker <dtucker@dtucker.net> 5441Date: Wed Sep 17 17:33:25 2025 +1000 5442 5443 Move Gihub VMs to their own status line. 5444 5445commit 2202e5f9008003044cac01ed70d83deec42ad4e0 5446Author: Darren Tucker <dtucker@dtucker.net> 5447Date: Tue Sep 16 23:00:14 2025 +1000 5448 5449 Use relative URLs for status 5450 5451commit 7c32e09ea3e5c7e1fa0b7e2d4ddc83f8beadafed 5452Author: Darren Tucker <dtucker@dtucker.net> 5453Date: Mon Sep 15 17:21:15 2025 +1000 5454 5455 Add VM test targets via vmaction on Github. 5456 5457commit a4aa090a3d40dddb07d5ebebc501f6457541a501 5458Author: djm@openbsd.org <djm@openbsd.org> 5459Date: Mon Sep 15 03:00:22 2025 +0000 5460 5461 upstream: memory leaks in unit tests 5462 5463 OpenBSD-Regress-ID: af11ac7b8034b99ca324af4dae1ef5cd7700b273 5464 5465commit 6f5942454ad6756355f3b4983ab882cf15e44440 5466Author: djm@openbsd.org <djm@openbsd.org> 5467Date: Mon Sep 15 05:17:37 2025 +0000 5468 5469 upstream: fix leaks of struct sftp_conn in scp; ok dtucker@ 5470 5471 OpenBSD-Commit-ID: 76bea50b5b87b750c3771bf80feb6067d994a9d2 5472 5473commit 52f38c76fcb38dfe619d8caa3bb4bb782c785026 5474Author: djm@openbsd.org <djm@openbsd.org> 5475Date: Mon Sep 15 04:52:41 2025 +0000 5476 5477 upstream: leak of principals file lines; ok dtucker@ 5478 5479 OpenBSD-Commit-ID: 918bf1b70e5a969059300f3c23d45911690d9015 5480 5481commit b9464cee0fd084d89d91696a17b3621b4cf512bf 5482Author: djm@openbsd.org <djm@openbsd.org> 5483Date: Mon Sep 15 04:52:12 2025 +0000 5484 5485 upstream: leak of authentication options at exit; ok dtucker@ 5486 5487 OpenBSD-Commit-ID: ba559799c2ff9b10afc3abefb1797c0843a6ff24 5488 5489commit 0bb37080c86674de7cdfb56c80add3cd316c68a8 5490Author: djm@openbsd.org <djm@openbsd.org> 5491Date: Mon Sep 15 04:51:35 2025 +0000 5492 5493 upstream: memleak of keys not used for authentication; ok 5494 5495 dtucker@ 5496 5497 OpenBSD-Commit-ID: ddfda79d243150fbd382d8f2cd75a90a072b3669 5498 5499commit ee99f6e93e0ee90eedbd27ffb9b7f9fef7b98010 5500Author: djm@openbsd.org <djm@openbsd.org> 5501Date: Mon Sep 15 04:50:42 2025 +0000 5502 5503 upstream: memleak of certificate path; ok dtucker@ 5504 5505 OpenBSD-Commit-ID: 90dc5390f2756ba339e2e6df54d4b8651d64c1e7 5506 5507commit 42fc6b6f9fbf58293b070f4de377c7695c275a8a 5508Author: djm@openbsd.org <djm@openbsd.org> 5509Date: Mon Sep 15 04:49:41 2025 +0000 5510 5511 upstream: memleak of hostkey when downgrading host cert->key; ok 5512 5513 dtucker 5514 5515 OpenBSD-Commit-ID: f6f1f38a8ec144fb615434f6877066cf4610b826 5516 5517commit bc60bd55cbc1f8139c840668733b51475cbefd93 5518Author: djm@openbsd.org <djm@openbsd.org> 5519Date: Mon Sep 15 04:49:00 2025 +0000 5520 5521 upstream: memleak of editline history; ok dtucker@ 5522 5523 OpenBSD-Commit-ID: a244c54eb074cf7fbe28f7ac4f03ace270f7a999 5524 5525commit ee77ab9b2ca2d70daf8d4352f5daffa8036ece64 5526Author: djm@openbsd.org <djm@openbsd.org> 5527Date: Mon Sep 15 04:48:29 2025 +0000 5528 5529 upstream: memleak of rfwd callback context; ok dtucker@ 5530 5531 OpenBSD-Commit-ID: 70b2aafeaace90703dd16a44a2a0b723d9155f33 5532 5533commit 0088b3f0ab2c615ae95b9f374963abaa0ab837ec 5534Author: djm@openbsd.org <djm@openbsd.org> 5535Date: Mon Sep 15 04:47:49 2025 +0000 5536 5537 upstream: memleaks of request packet and hostkeys blob; ok 5538 5539 dtucker@ 5540 5541 OpenBSD-Commit-ID: 313b13a8e36b4ca8e064ee56792e67e0670a386a 5542 5543commit d68451a25808c4eee74b898873cd4761f73651ed 5544Author: djm@openbsd.org <djm@openbsd.org> 5545Date: Mon Sep 15 04:41:20 2025 +0000 5546 5547 upstream: memleak of KRL revoked certs struct; ok dtucker 5548 5549 OpenBSD-Commit-ID: f319868e0b2de49c41c735e75b87c403f009f5f9 5550 5551commit 67940cc2f329427d3acb64d4893faf4527e58d5c 5552Author: djm@openbsd.org <djm@openbsd.org> 5553Date: Mon Sep 15 04:40:34 2025 +0000 5554 5555 upstream: memleak of kex->server_sig_algs; ok dtucker@ 5556 5557 OpenBSD-Commit-ID: 41a3f64edd2c9b8addb2e445514ae25c24819e2c 5558 5559commit fae8e41741d23298c94a1ea3ef8704a1cc186cb5 5560Author: djm@openbsd.org <djm@openbsd.org> 5561Date: Mon Sep 15 04:39:58 2025 +0000 5562 5563 upstream: fix memleak of channel forwarding permissions; ok 5564 5565 dtucker@ 5566 5567 OpenBSD-Commit-ID: 069745547109bc8fcc09fab5b19c53599cae99fd 5568 5569commit 03872018c14ed943bc01a4e88be59195a742f106 5570Author: djm@openbsd.org <djm@openbsd.org> 5571Date: Mon Sep 15 04:39:15 2025 +0000 5572 5573 upstream: when merging auth options into the active set, don't 5574 5575 leak the old struct sshauthopt; ok dtucker@ 5576 5577 OpenBSD-Commit-ID: c6bfd7bc2932e37f811b3c53272c3b919d33e75b 5578 5579commit efed5da4ced88170cf474246eff771dd16c7092f 5580Author: djm@openbsd.org <djm@openbsd.org> 5581Date: Mon Sep 15 04:38:00 2025 +0000 5582 5583 upstream: fix memleak when applying certificate options; ok 5584 5585 dtucker 5586 5587 OpenBSD-Commit-ID: 36c219dcc05f4df82a0f9c500bdf5dbfea925289 5588 5589commit edc601707b583a2c900e49621e048c26574edd3a 5590Author: djm@openbsd.org <djm@openbsd.org> 5591Date: Thu Sep 11 07:23:32 2025 +0000 5592 5593 upstream: disable ssh-add autoexpiry of certificates when testing 5594 5595 expired certificates 5596 5597 OpenBSD-Regress-ID: 64aadd23d37fd0b3a06498151f2cf83be7ac342c 5598 5599commit c60153e4878f3a6700af69adbdd1863003e78abf 5600Author: djm@openbsd.org <djm@openbsd.org> 5601Date: Thu Sep 11 07:22:37 2025 +0000 5602 5603 upstream: correct getopt() string 5604 5605 OpenBSD-Commit-ID: 05ef9581a3dab32ec93aa5b9c3349ed1e7da9ec8 5606 5607commit 7a4738af45201c115a9e20f830f30ed38ce6be76 5608Author: djm@openbsd.org <djm@openbsd.org> 5609Date: Thu Sep 11 03:29:58 2025 +0000 5610 5611 upstream: need time.h for time(3) 5612 5613 OpenBSD-Commit-ID: 530964039cccab679432b6c5b28d2b0aa9760b00 5614 5615commit 0c719c6aabc061f02a907fc96c390d0449b49f26 5616Author: djm@openbsd.org <djm@openbsd.org> 5617Date: Thu Sep 11 02:54:42 2025 +0000 5618 5619 upstream: When adding certificates to an agent, set the expiry to 5620 5621 the certificate expiry time plus a short (5 min) grace period. 5622 5623 This will cause the agent to automtically remove certificates shortly 5624 after they expire. 5625 5626 A new ssh-add -N option disables this behaviour. 5627 5628 Feedback/ok deraadt@ 5629 5630 OpenBSD-Commit-ID: 92fed1bba1025069ad45deebb534be7530e181df 5631 5632commit e9dcccc3541b0ae1c43581ed26215d5cc82e4be0 5633Author: jsg@openbsd.org <jsg@openbsd.org> 5634Date: Mon Sep 8 00:31:54 2025 +0000 5635 5636 upstream: remove unused 0-sized files; ok deraadt@ 5637 5638 OpenBSD-Commit-ID: 7e8178786157e863f6ff63c5d55200d7b6b04f9e 5639 5640commit d16b1b484a024ee6b35094e7d9d55bf96b96253b 5641Author: dtucker@openbsd.org <dtucker@openbsd.org> 5642Date: Fri Sep 5 10:34:35 2025 +0000 5643 5644 upstream: Tabs->spaces. Removes diff vs portable. 5645 5646 OpenBSD-Commit-ID: 06598021a9f08188dab29ac956b2baa002a0ff85 5647 5648commit 3d8ae7f235b96da604b08c44ae83420e367eeab4 5649Author: Tim Rice <tim@multitalents.net> 5650Date: Mon Sep 8 12:53:10 2025 -0700 5651 5652 modified: regress/rekey.sh 5653 Fix for when building out of tree. 5654 5655commit 54abadd3f286efea0dbbdbfea8011d5e1e30c074 5656Author: Darren Tucker <dtucker@dtucker.net> 5657Date: Sun Sep 7 13:35:22 2025 +1000 5658 5659 Accept OpenSSL 4.0.0-dev versions. 5660 5661 They seem to work, at least for now. 5662 5663commit 67a8bf4e4057597170bfa923fe2ce5bf90c43974 5664Author: Maxim Khon <fjoe@samodelkin.net> 5665Date: Mon Aug 18 12:05:42 2025 +0000 5666 5667 Use SSH_TUN_COMPAT_AF on FreeBSD. 5668 5669 Otherwise tun forwarding from other OSes fails as soon as the first IPv6 5670 message is sent by the other side (which is usually a Router Solicitation 5671 ICMPv6 message which is sent as soon as the interface is up): all other 5672 OS'es use SSH_TUN_COMPAT_AF or SSH_TUN_PREPEND_AF which effectively uses 5673 OpenBSD AF_INET/AF_INET6 values. 5674 5675commit 3ca274e44cb2c2351376fc14e4c3e92ba4a8f87b 5676Author: Darren Tucker <dtucker@dtucker.net> 5677Date: Fri Sep 5 21:32:30 2025 +1000 5678 5679 Check for nlist function. 5680 5681 Check for nlist function presence before attenmpting to use it instead 5682 of relying on the presence of the nlist.h header. Mac OS X, in particular 5683 has the header, but only has the function in the 32bit libraries. 5684 5685commit ee32a36c62424f13907023595bfa8b23a528ced1 5686Author: dtucker@openbsd.org <dtucker@openbsd.org> 5687Date: Fri Sep 5 10:23:55 2025 +0000 5688 5689 upstream: Order includes as per KNF and add time.h. Removes diff 5690 5691 vs portable. 5692 5693 OpenBSD-Commit-ID: 38043f0bfa17c48ef6d1a744c2834b4405bc9311 5694 5695commit 0ac179c9540e2b05b4c1194db69ce01306c253d3 5696Author: dtucker@openbsd.org <dtucker@openbsd.org> 5697Date: Fri Sep 5 10:17:21 2025 +0000 5698 5699 upstream: Order headers as per KNF. Removes diff vs portable. 5700 5701 OpenBSD-Commit-ID: 4df519fd9fa13ce9653adf7a3d1076e20591d886 5702 5703commit e80322284f3ee70b6b760a9f83179470d675e5ba 5704Author: dtucker@openbsd.org <dtucker@openbsd.org> 5705Date: Fri Sep 5 10:01:35 2025 +0000 5706 5707 upstream: Order headers as per KNF. 5708 5709 OpenBSD-Commit-ID: 7156b69b0364c68e181e0f6fa17c0f05c72e8670 5710 5711commit bb8ac0515e68cab63db2d026eb60127185a3d2b8 5712Author: Darren Tucker <dtucker@dtucker.net> 5713Date: Fri Sep 5 20:39:16 2025 +1000 5714 5715 Resync header order with upstream. 5716 5717commit 024b694249482698b0c73d24da0eaec696fca8c8 5718Author: Darren Tucker <dtucker@dtucker.net> 5719Date: Fri Sep 5 20:37:04 2025 +1000 5720 5721 Resync header order with upstream. 5722 5723commit aed6a958bc108faab64bc2855d6ed93894cfc6ff 5724Author: Darren Tucker <dtucker@dtucker.net> 5725Date: Fri Sep 5 20:30:20 2025 +1000 5726 5727 Sync includes with upstream. 5728 5729commit 22cfd2dd32f34f0cea218dd651f3aa9544b6e3b5 5730Author: Darren Tucker <dtucker@dtucker.net> 5731Date: Fri Sep 5 20:26:14 2025 +1000 5732 5733 Move ssh-pkcs11.h include to match upstream. 5734 5735commit b34c16bc4cac2962cc6a7517efbc4fed2c8a2d9a 5736Author: Darren Tucker <dtucker@dtucker.net> 5737Date: Fri Sep 5 20:20:27 2025 +1000 5738 5739 Reorder includes to match upstream. 5740 5741commit 441a8fa9a0178704bce497bff92ca43fcf04bf7a 5742Author: dtucker@openbsd.org <dtucker@openbsd.org> 5743Date: Fri Sep 5 09:58:08 2025 +0000 5744 5745 upstream: Order headers as per KNF. Removes diff vs portable. 5746 5747 OpenBSD-Commit-ID: db72be57429418f6a4319bbe34c98fc103e11ce0 5748 5749commit 19d6a7afb256c4afc571dbf56a013ef91cd9596f 5750Author: dtucker@openbsd.org <dtucker@openbsd.org> 5751Date: Fri Sep 5 09:49:26 2025 +0000 5752 5753 upstream: Order headers as per KNF. Also removes diff vs 5754 5755 -portable. 5756 5757 OpenBSD-Commit-ID: 2061307dc938712e524bc9da48a52f545e43670e 5758 5759commit 932e9f200bd48b7568eb21ec456c67ec92d517e2 5760Author: dtucker@openbsd.org <dtucker@openbsd.org> 5761Date: Fri Sep 5 09:31:31 2025 +0000 5762 5763 upstream: Remove unused rmd160.h header. ripemd160 support was 5764 5765 removed in 2017. 5766 5767 OpenBSD-Commit-ID: 937fca21498b921adf6e04bac120f4a2e7975b3c 5768 5769commit f93de828b9b0f29bff51d38ea92d0759595ec30b 5770Author: Darren Tucker <dtucker@dtucker.net> 5771Date: Fri Sep 5 20:07:16 2025 +1000 5772 5773 Create replacement nlist.h if needed. 5774 5775 Remove #ifdef HAVE_NLIST_H wrapper. ok djm@ 5776 5777commit 6aac2beaa53467e83f6a137376b6dcf423ab6f6c 5778Author: Darren Tucker <dtucker@dtucker.net> 5779Date: Fri Sep 5 19:55:20 2025 +1000 5780 5781 Create replacement endian.h if needed. 5782 5783 Remove #ifdef HAVE_ENDIAN_H wrapper. ok djm@ 5784 5785commit a60721c894f0a2ce973876d0f55617e187e6fab1 5786Author: Darren Tucker <dtucker@dtucker.net> 5787Date: Fri Sep 5 19:52:48 2025 +1000 5788 5789 Add /* WITH_OPENSSL */ comments. 5790 5791 Removes diffs vs upstream. 5792 5793commit c729a833298d9d55ffb22771cf1400dfdc640164 5794Author: Darren Tucker <dtucker@dtucker.net> 5795Date: Fri Sep 5 19:22:37 2025 +1000 5796 5797 Move sys/time.h include to match upstream. 5798 5799commit caa973dd06a7be43c29353b256c9a473f5ad9882 5800Author: Darren Tucker <dtucker@dtucker.net> 5801Date: Fri Sep 5 19:13:52 2025 +1000 5802 5803 Create replacement netgroup.h if needed. 5804 5805 Remove #ifdef HAVE_NETGROUP_H wrapper. ok djm@ 5806 5807commit 7d30526b7df14d960a5de63d6af823ffdab86518 5808Author: Darren Tucker <dtucker@dtucker.net> 5809Date: Fri Sep 5 18:24:59 2025 +1000 5810 5811 Remove stray #endif left from previous. 5812 5813commit 4911f2600fdbb1959311bb1886bfe51f7dd4a74e 5814Author: Darren Tucker <dtucker@dtucker.net> 5815Date: Fri Sep 5 18:08:51 2025 +1000 5816 5817 Create replacement libgen.h if needed. 5818 5819 Remove #ifdef HAVE_LIBGEN_H wrapper. ok djm@ 5820 5821commit 65dcdb56f5daee519ec824ae17e64412d2492f90 5822Author: Darren Tucker <dtucker@dtucker.net> 5823Date: Fri Sep 5 18:05:15 2025 +1000 5824 5825 Create replacement sys/un.h if needed. 5826 5827 Remove #ifdef HAVE_SYS_UN_H wrapper. ok djm@ 5828 5829commit 60334af5a908ac3b263d2ec696f9977e20b739cb 5830Author: Darren Tucker <dtucker@dtucker.net> 5831Date: Fri Sep 5 18:03:55 2025 +1000 5832 5833 Reformat replacement header check one per line. 5834 5835commit cd9ba068e36b0f37374d2eba2d19dacc7ea9a167 5836Author: Darren Tucker <dtucker@dtucker.net> 5837Date: Fri Sep 5 17:55:33 2025 +1000 5838 5839 Create replacement time.h if needed. 5840 5841 Remove #ifdef HAVE_TIME_H wrapper. ok djm@ 5842 5843commit ea586edbcbec7089f768ed682a79a399eaa1e5b1 5844Author: Darren Tucker <dtucker@dtucker.net> 5845Date: Fri Sep 5 17:50:18 2025 +1000 5846 5847 Create replacement sys/stat.h if needed. 5848 5849 Remove #ifdef HAVE_SYS_STAT_H wrapper. ok djm@ 5850 5851commit 59b80707c6cf45230597a800e7d2ce6b00ce35b5 5852Author: Darren Tucker <dtucker@dtucker.net> 5853Date: Fri Sep 5 17:44:07 2025 +1000 5854 5855 Create replacement sys/time.h if needed. 5856 5857 Remove #ifdef HAVE_SYS_TIME_H wrapper. ok djm@ 5858 5859commit 82fed5110fe09e9af258a8f5a2f92ffb397fff5b 5860Author: Darren Tucker <dtucker@dtucker.net> 5861Date: Fri Sep 5 17:31:15 2025 +1000 5862 5863 Create replacement ifaddrs.h if needed. 5864 5865 Remove #ifdef HAVE_IFADDRS_H wrapper. ok djm@ 5866 5867commit 53887d8ebc583b51e996cb2bdeb11e054d36343b 5868Author: Darren Tucker <dtucker@dtucker.net> 5869Date: Fri Sep 5 17:27:43 2025 +1000 5870 5871 Create replacement util.h if needed. 5872 5873 Remove #ifdef HAVE_UTIL_H wrapper. ok djm@ 5874 5875commit 5f09983d1e724097bd577097fb0f2c00c2436f21 5876Author: Darren Tucker <dtucker@dtucker.net> 5877Date: Fri Sep 5 17:24:50 2025 +1000 5878 5879 Create replacement paths.h if needed. 5880 5881 Remove #ifdef HAVE_PATHS_H wrapper. ok djm@ 5882 5883commit d45b17dc5a0598dda2b11dc89598203408d2d59c 5884Author: Darren Tucker <dtucker@dtucker.net> 5885Date: Fri Sep 5 17:17:52 2025 +1000 5886 5887 Create replacement poll.h if needed. 5888 5889 Remove #ifdef HAVE_POLL_H wrapper. ok djm@ 5890 5891commit 9b2c5a2db0650e394597839ef00d797f57568937 5892Author: Darren Tucker <dtucker@dtucker.net> 5893Date: Fri Sep 5 17:06:14 2025 +1000 5894 5895 Fill in missing system header files. 5896 5897 Create replacement header files inside openbsd-compat for common headers 5898 that are missing on a given platform. Usually these are just empty, 5899 but in some cases they'll include the equivalent file. This avoids 5900 having to wrap those includes in '#ifdef HAVE_FOO_H' and reduces the 5901 diff vs OpenBSD. 5902 5903 If we create any such headers, add the path to includes. 5904 5905 Initially just stdint.h, more to follow. 5906 5907 ok djm@ 5908 5909commit f64701ca25795548a61614d0b13391d6dfa7f38c 5910Author: djm@openbsd.org <djm@openbsd.org> 5911Date: Thu Sep 4 03:04:44 2025 +0000 5912 5913 upstream: repair test after changes to percent expansion of usernames 5914 5915 on the commandline. 5916 5917 Test more cases that should/shouldn't expand and lightly test 5918 username validity checks. 5919 5920 OpenBSD-Regress-ID: ad4c12c70bdf1f959abfebd1637ecff1b49a484c 5921 5922commit 45698669d49949868b1f3d13dfda1b7cb70060ad 5923Author: djm@openbsd.org <djm@openbsd.org> 5924Date: Thu Sep 4 00:37:10 2025 +0000 5925 5926 upstream: unit tests for sshbuf_equals and sshbuf_dtourlb64; ok 5927 5928 deraadt@ 5929 5930 OpenBSD-Regress-ID: bab54e2d4caa813036a63ee67e92c93e6712a5b9 5931 5932commit 4be445116f1b56f14254b98d8b132bb25777e160 5933Author: djm@openbsd.org <djm@openbsd.org> 5934Date: Thu Sep 4 00:34:17 2025 +0000 5935 5936 upstream: unit tests for a bunch of misc.c functions; ok deraadt@ 5937 5938 OpenBSD-Regress-ID: 886cf142605405e777ee77a96b48694dc2e9235d 5939 5940commit e3699ff47df336f57da2e78188d0057f8368af56 5941Author: djm@openbsd.org <djm@openbsd.org> 5942Date: Thu Sep 4 00:32:31 2025 +0000 5943 5944 upstream: fix sshbuf_dtourlb64() to not choke on empty buffers; 5945 5946 previously it incorrectly returned an error in this situation; ok deraadt 5947 5948 OpenBSD-Commit-ID: e62773d6e8cb95a19aab54f0af0edbcd47b345c0 5949 5950commit 8e85ad33cfcc71e03594e53f2e19d8ce2e27dcc6 5951Author: djm@openbsd.org <djm@openbsd.org> 5952Date: Thu Sep 4 00:31:49 2025 +0000 5953 5954 upstream: fix rtrim() function to not attempt to delete whitespace 5955 5956 inside a string, just at the end. ok deraadt@ 5957 5958 OpenBSD-Commit-ID: d44deaa43580cd88de978dd5509b14e905b67b84 5959 5960commit 43b3bff47bb029f2299bacb6a36057981b39fdb0 5961Author: djm@openbsd.org <djm@openbsd.org> 5962Date: Thu Sep 4 00:30:06 2025 +0000 5963 5964 upstream: don't allow \0 characters in url-encoded strings. 5965 5966 Suggested by David Leadbeater, ok deraadt@ 5967 5968 OpenBSD-Commit-ID: c92196cef0f970ceabc1e8007a80b01e9b7cd49c 5969 5970commit 35d5917652106aede47621bb3f64044604164043 5971Author: djm@openbsd.org <djm@openbsd.org> 5972Date: Thu Sep 4 00:29:09 2025 +0000 5973 5974 upstream: Improve rules for %-expansion of username. 5975 5976 Usernames passed on the commandline will no longer be subject to 5977 % expansion. Some tools invoke ssh with connection information 5978 (i.e. usernames and host names) supplied from untrusted sources. 5979 These may contain % expansion sequences which could yield 5980 unexpected results. 5981 5982 Since openssh-9.6, all usernames have been subject to validity 5983 checking. This change tightens the validity checks by refusing 5984 usernames that include control characters (again, these can cause 5985 surprises when supplied adversarially). 5986 5987 This change also relaxes the validity checks in one small way: 5988 usernames supplied via the configuration file as literals (i.e. 5989 include no % expansion characters) are not subject to these 5990 validity checks. This allows usernames that contain arbitrary 5991 characters to be used, but only via configuration files. This 5992 is done on the basis that ssh's configuration is trusted. 5993 5994 Pointed out by David Leadbeater, ok deraadt@ 5995 5996 OpenBSD-Commit-ID: e2f0c871fbe664aba30607321575e7c7fc798362 5997 5998commit f38a552dc71f20df2544338099e3fe2563f1a9ca 5999Author: Damien Miller <djm@mindrot.org> 6000Date: Wed Sep 3 09:42:39 2025 +1000 6001 6002 missing header 6003 6004commit cc4eb3d6943cb57e08ab3abbcf92644deb429e46 6005Author: djm@openbsd.org <djm@openbsd.org> 6006Date: Tue Sep 2 11:08:34 2025 +0000 6007 6008 upstream: simplify algorithm list functions using xextendf(); ok 6009 6010 dtucker@ 6011 6012 OpenBSD-Commit-ID: ffc5f8d0c25b95705a8a66c8b634f98d23bd92dc 6013 6014commit 8866d24cdd1d6e73bb3220b753f94e255c49ff96 6015Author: djm@openbsd.org <djm@openbsd.org> 6016Date: Tue Sep 2 11:04:58 2025 +0000 6017 6018 upstream: unit test for xextendf() 6019 6020 OpenBSD-Regress-ID: ddb3b4db1a52dda23696b967470882fe2b9c3af7 6021 6022commit 2f369d3fd0ff3715c2b32dff5cb35c0330272445 6023Author: djm@openbsd.org <djm@openbsd.org> 6024Date: Tue Sep 2 09:41:23 2025 +0000 6025 6026 upstream: fix comment on sshbuf_froms() - it *returns* an error 6027 6028 code, the allocated buffer is passed via argument 6029 6030 OpenBSD-Commit-ID: b2b0a76df71328f39c3e2ad941a4d87085d8335d 6031 6032commit 6fd93060bb2ec35a7f0bf96d1a74104bab49e017 6033Author: djm@openbsd.org <djm@openbsd.org> 6034Date: Tue Sep 2 09:40:19 2025 +0000 6035 6036 upstream: GssStrictAcceptor was missing from sshd -T output; fix 6037 6038 OpenBSD-Commit-ID: 6014049ccfedc48a208e37d5488ade6bdc2d1c44 6039 6040commit d94a9a8c54e9036961c1100c6f445c50ab9b6b40 6041Author: Damien Miller <djm@mindrot.org> 6042Date: Tue Sep 2 19:38:39 2025 +1000 6043 6044 portable-specific comment grammer/spelling fixes 6045 6046commit a0b095fa03d3c08d723a803ce25540fddd955c53 6047Author: djm@openbsd.org <djm@openbsd.org> 6048Date: Tue Sep 2 09:34:48 2025 +0000 6049 6050 upstream: grammar and typos in comments 6051 6052 OpenBSD-Commit-ID: de954daffcd0147ce142d55e8a374810cd19d7ed 6053 6054commit 23a2bb750547a9a5251cbc44c5ceb1d05303befe 6055Author: Damien Miller <djm@mindrot.org> 6056Date: Tue Sep 2 19:30:07 2025 +1000 6057 6058 replace remaining manual logging of __func__ 6059 6060 Use the appropriate log macro that prepends the function name 6061 (e.g. logit_f/debug2_f/etc). 6062 6063commit a9b0b69f15e63bc4e8c8b38e24ee85ea076a7e11 6064Author: djm@openbsd.org <djm@openbsd.org> 6065Date: Tue Sep 2 09:26:21 2025 +0000 6066 6067 upstream: replace remaining cases where we manually included __func__ 6068 6069 in a debug or error log with the respective *_f log variant 6070 6071 OpenBSD-Commit-ID: 46a280d78bcc0bc98f28e65a30b613366600328f 6072 6073commit 19f7cb39eecb4b8f768f37e8294dc3a9142e022b 6074Author: djm@openbsd.org <djm@openbsd.org> 6075Date: Mon Sep 1 23:55:29 2025 +0000 6076 6077 upstream: test MaxStatups idempotency; ok dtucker@ 6078 6079 OpenBSD-Regress-ID: b5d713c2709000fa5e41d82c0cf8627e13cb43f9 6080 6081commit c357c4a1e626feba9a968b5f0cb832b989b2d433 6082Author: djm@openbsd.org <djm@openbsd.org> 6083Date: Thu Aug 21 05:55:30 2025 +0000 6084 6085 upstream: benchmark more diffie-hellman-group* KEXs 6086 6087 use current KEX names, i.e. remove the "@openssh.com" where the KEX 6088 has been standardised 6089 6090 OpenBSD-Regress-ID: a67e9da4efd9a971d39cb2481093f836046f9b7f 6091 6092commit 9313233a735733821dfd170b70782fb7da492962 6093Author: djm@openbsd.org <djm@openbsd.org> 6094Date: Tue Sep 2 01:03:43 2025 +0000 6095 6096 upstream: fix previous 6097 6098 OpenBSD-Commit-ID: 09d95dfb5e064a1d0e74afba8d77474cc1d110a4 6099 6100commit 683d0abe596b069a896f1688f86256f1beeb0cdc 6101Author: djm@openbsd.org <djm@openbsd.org> 6102Date: Mon Sep 1 23:53:16 2025 +0000 6103 6104 upstream: Make MaxStartups and PerSourceNetBlockSize first-match-wins 6105 6106 as advertised. bz3859 reported by jan.v.hofmann; ok dtucker 6107 6108 OpenBSD-Commit-ID: 08f7786f1b3b4a05a106cdbd2dc5f1f2d8299447 6109 6110commit a9a3f025d76f06a6601e6e8d52b468ec467865d9 6111Author: djm@openbsd.org <djm@openbsd.org> 6112Date: Fri Aug 29 03:50:38 2025 +0000 6113 6114 upstream: remove experimental support for XMSS keys; 6115 6116 ok deraadt markus 6117 6118 OpenBSD-Commit-ID: 38eaf4df6189acad9e46eddf7cf32d7f6d07df35 6119 6120commit 908e9d55139bed19ed87d6fec749974eb42702c6 6121Author: caspar@openbsd.org <caspar@openbsd.org> 6122Date: Mon Aug 18 18:39:33 2025 +0000 6123 6124 upstream: ssh_config.5: say "post-quantum" instead of "post quantum 6125 6126 safe", and rephrase the sentence to make it easier to read. 6127 6128 Input djm@, input and OK deraadt@, OK dtucker@ 6129 6130 OpenBSD-Commit-ID: c3ee4d1cafdcfc20cc0d2f086021efce4b19c075 6131 6132commit ceca966bde4ab38b2434876416da12fe16747459 6133Author: job@openbsd.org <job@openbsd.org> 6134Date: Mon Aug 18 09:16:36 2025 +0000 6135 6136 upstream: Delete unused accessor function 6137 6138 OK dtucker@ 6139 6140 OpenBSD-Commit-ID: 93b59ac088fb254e1189729ece5bb9656d6e810b 6141 6142commit 3ef1a87d0a29eac94f32371af628e81eb2e2d817 6143Author: Damien Miller <djm@mindrot.org> 6144Date: Mon Aug 18 17:00:26 2025 +1000 6145 6146 Fix pledge(2) special casing 6147 6148 Unbreaks non-OpenBSD platforms 6149 6150commit 5e9ca80fe65e407428dc46ed45804724d08b91b7 6151Author: Damien Miller <djm@mindrot.org> 6152Date: Mon Aug 18 16:47:23 2025 +1000 6153 6154 Match version instead of groups in connect-bigconf 6155 6156 The connect-bigconf makes a giant config file to test config passing 6157 between the sshd subprocesses. Previously it used a bunch of "Match 6158 group" lines to construct a large file. However checking group 6159 membership can be expensive (e.g. if a large groups database is 6160 present or if group lookup is remote via NSS). This could be slow 6161 enough to exceed LoginGraceTime. 6162 6163 This switches it to "Match version" which is just a string compare 6164 and does just as well for making a giant nonsense config file. 6165 6166commit 6c84609e5f9ddd49e250d5cf190b2820dbeca178 6167Author: Damien Miller <djm@mindrot.org> 6168Date: Mon Aug 18 16:47:00 2025 +1000 6169 6170 depend 6171 6172commit 9184fa363687fcb5dac056b093fb3b8e9d327242 6173Author: Damien Miller <djm@mindrot.org> 6174Date: Mon Aug 18 16:45:15 2025 +1000 6175 6176 check for setsockopt IP_TOS in OpenBSD pledge 6177 6178 OpenBSD has recently relaxed the pledge(2) sandbox to allow some 6179 setsockopt options to be changed without the "inet" promise. 6180 6181 This adds compatibility for OpenBSD that predates this relaxation. 6182 6183commit ae44cd74f3a4ac711152f50b2712803ccf785593 6184Author: djm@openbsd.org <djm@openbsd.org> 6185Date: Mon Aug 18 04:50:35 2025 +0000 6186 6187 upstream: cast 6188 6189 OpenBSD-Commit-ID: d69bd2328513c2dcd99f4f346b77e2bd90cf1964 6190 6191commit c2c8bae39380392449ac3297061cbfc486126ad5 6192Author: djm@openbsd.org <djm@openbsd.org> 6193Date: Mon Aug 18 04:38:21 2025 +0000 6194 6195 upstream: missing set_log_handler() call in ssh-auth.c, exposed after 6196 6197 last commit 6198 6199 OpenBSD-Commit-ID: 09f5c3cf33c18b8ad321edbf96c30ae3deada2b0 6200 6201commit 056022261e6cf7eb65bbacac72afe5f4d5945f2c 6202Author: Damien Miller <djm@mindrot.org> 6203Date: Mon Aug 18 14:22:32 2025 +1000 6204 6205 depend 6206 6207commit b7ee13fbbb4ebafcf71f29685f053ecb97d1bcef 6208Author: Damien Miller <djm@mindrot.org> 6209Date: Mon Aug 18 14:22:18 2025 +1000 6210 6211 wrap SIGINFO in ifdef 6212 6213commit 289239046b2c4b0076c14394ae9703a879e78706 6214Author: djm@openbsd.org <djm@openbsd.org> 6215Date: Mon Aug 18 03:43:01 2025 +0000 6216 6217 upstream: Make ssh(1) and sshd(8) set IP QoS (aka IP_TOS, IPV6_TCLASS) 6218 6219 continually at runtime based on what sessions/channels are open. 6220 6221 Previously, ssh(1) and sshd(8) would pick a QoS value when they 6222 were started and use it for the whole connection. This could 6223 produce suboptimal choices for the QoS value, e.g. for multiplexed 6224 sessions that started interactive but picked up a sftp client, 6225 or sessions that moved large amounts of data via port forwarding. 6226 6227 Now the QoS value will change to the non-interactive IPQoS whenever 6228 a "non-interactive" channel is open; basically any channel that lacks 6229 a tty other than agent forwarding. 6230 6231 This is important now that the default interactive IPQoS is EF 6232 (Expedited Forwarding), as many networks are configured to allow 6233 only relatively small amounts of traffic of this class and they will 6234 aggressively deprioritise the entire connection if this is exceeded. 6235 6236 NB. because ssh(1) and sshd(8) now change IP_TOS/IPV6_TCLASS 6237 continually via setsockopt(), this commit requires a recent pledge(2) 6238 change that landed recently in the OpenBSD kernel. Please ensure 6239 you have updated to a kernel from within the last two weeks before 6240 updating OpenSSH. 6241 6242 with job@ deraadt@ 6243 6244 OpenBSD-Commit-ID: 325fc41717eecdf5e4b534bfa8d66817425b840f 6245 6246commit dc5147028ff19213a32281dad07bba02e58da3fa 6247Author: djm@openbsd.org <djm@openbsd.org> 6248Date: Mon Aug 18 03:29:11 2025 +0000 6249 6250 upstream: SIGINFO handler for sshd(8) to dump active 6251 6252 channels/sessions ok deraadt@ 6253 6254 OpenBSD-Commit-ID: 9955cb6d157c6d7aa23a819e8ef61b1edabc8b7d 6255 6256commit f807a598c96be683d97810481e954ec9db6b0027 6257Author: djm@openbsd.org <djm@openbsd.org> 6258Date: Mon Aug 18 03:28:36 2025 +0000 6259 6260 upstream: SIGINFO handler for ssh(1) to dump active 6261 6262 channels/sessions ok deraadt@ 6263 6264 OpenBSD-Commit-ID: 12f88a5044bca40ef5f41ff61b1755d0e25df901 6265 6266commit 9b61679d73a8a001c25ab308db8a3162456010cf 6267Author: djm@openbsd.org <djm@openbsd.org> 6268Date: Mon Aug 18 03:28:02 2025 +0000 6269 6270 upstream: add channel_report_open() to report (to logs) open 6271 6272 channels; ok deraadt@ (as part of bigger diff) 6273 6274 OpenBSD-Commit-ID: 7f691e25366c5621d7ed6f7f9018d868f7511c0d 6275 6276commit 80b5ffd22abd4093201939e31d1ea6dc8cc7913a 6277Author: djm@openbsd.org <djm@openbsd.org> 6278Date: Mon Aug 18 01:59:53 2025 +0000 6279 6280 upstream: make -E a no-op in sshd-auth. Redirecting logging to a 6281 6282 file doesn't work in this program as logging already goes via the parent 6283 sshd-session process. ok dtucker@ 6284 6285 OpenBSD-Commit-ID: 73325b9e69364117c18305f896c620a3abcf4f87 6286 6287commit 3a039108bd25ff10047d7fa64750ed7df10c717c 6288Author: Damien Miller <djm@mindrot.org> 6289Date: Mon Aug 18 13:46:37 2025 +1000 6290 6291 allow some socket syscalls in seccomp sandbox 6292 6293 Allow getsockname(2), getpeername(2) and getsockopt(2). 6294 6295 Also allow setsockopt(2) but only IP_TOS and IPV6_TCLASS. 6296 6297 Note that systems that use the older socketcall(2) mux syscall will 6298 not have IP_TOS and IPV6_TCLASS allowlisted. On these platforms, 6299 these calls will be soft-blocked (i.e. will fail rather than 6300 terminate the whole process with a sandbox violation). 6301 6302 Needed for upcoming IPQoS change; ok dtucker@ 6303 6304commit a00f5b02e171bc6d6fb130050afb7a08f5ece1d8 6305Author: Damien Miller <djm@mindrot.org> 6306Date: Mon Aug 18 13:44:53 2025 +1000 6307 6308 handle futex_time64 properly in seccomp sandbox 6309 6310 Previously we only allowed __NR_futex, but some 32-bit systems 6311 apparently support __NR_futex_time64. We had support for this 6312 in the sandbox, but because of a macro error only __NR_futex was 6313 allowlisted. 6314 6315 ok dtucker@ 6316 6317commit 32deb00b38b4ee2b3302f261ea1e68c04e020a08 6318Author: dtucker@openbsd.org <dtucker@openbsd.org> 6319Date: Thu Aug 14 10:03:44 2025 +0000 6320 6321 upstream: Cast serial no for %lld to prevent compiler warnings on some 6322 6323 platforms. 6324 6325 OpenBSD-Commit-ID: afadd741622f16c6733d461c0d6053ed52868a57 6326 6327commit 883886c959ecab152650e231335857eb3193c662 6328Author: dtucker@openbsd.org <dtucker@openbsd.org> 6329Date: Thu Aug 14 09:44:39 2025 +0000 6330 6331 upstream: Cast serial no for %lld to prevent compiler warnings on some 6332 6333 platforms. 6334 6335 OpenBSD-Commit-ID: 46c6063284d318f7e4dc922479a3e394c94b0588 6336 6337commit fde5a4d2cd01bea700439fa6d5bbad88e65c99bd 6338Author: dtucker@openbsd.org <dtucker@openbsd.org> 6339Date: Thu Aug 14 09:26:53 2025 +0000 6340 6341 upstream: Cast serial no for %lld to prevent compiler warnings on some 6342 6343 platforms. 6344 6345 OpenBSD-Commit-ID: 15644234b58abc9c6da2994f0422a5aa344a9e89 6346 6347commit ab5074dfb614e3801fecbd376d8ed4cea613c629 6348Author: sthen@openbsd.org <sthen@openbsd.org> 6349Date: Tue Aug 12 11:09:48 2025 +0000 6350 6351 upstream: fix typo, ok markus dtucker 6352 6353 OpenBSD-Commit-ID: 8f223da7633752162c64a659c6cf55202703d870 6354 6355commit 8b6c1f402feb9eb6438003a312d7ffe8d5669896 6356Author: deraadt@openbsd.org <deraadt@openbsd.org> 6357Date: Mon Aug 11 14:37:43 2025 +0000 6358 6359 upstream: Handle localtime_r() failure by return "UNKNOWN-TIME" 6360 6361 which is only used in user-visible contexts. freebsd 288773 shows their 6362 localtime_r() has failed at least once for unknown reason. discussed with djm 6363 6364 OpenBSD-Commit-ID: 68f4c92d46b2578d4594b0ed940958d597fd61ac 6365 6366commit 0e1b8aa27f7c86d412c9e54ad9e2cae30d9ddab4 6367Author: djm@openbsd.org <djm@openbsd.org> 6368Date: Mon Aug 11 10:55:38 2025 +0000 6369 6370 upstream: ssh(1): add a warning when the connection negotiates a 6371 6372 non-post quantum safe key agreement algorithm. 6373 6374 Controlled via a new WarnWeakCrypto ssh_config option, defaulting 6375 to on. This option might grow additional weak crypto warnings in 6376 the future. 6377 6378 More details at https://openssh.com/pq.html 6379 6380 mostly by deraadt@ feedback dtucker@ ok deraadt@ 6381 6382 OpenBSD-Commit-ID: 974ff243a1eccceac6a1a9d8fab3bcc89d74a2a4 6383 6384commit 2ebc6384258b58ace0ad2adb2593744f62749235 6385Author: djm@openbsd.org <djm@openbsd.org> 6386Date: Wed Aug 6 23:44:09 2025 +0000 6387 6388 upstream: all state related to the ssh connection should live in 6389 6390 struct ssh or struct packet_state; one static int escaped this rule, so move 6391 it to struct packet_state now. 6392 6393 ok millert tb 6394 6395 OpenBSD-Commit-ID: bd6737168bf61a836ffbdc99ee4803468db90a53 6396 6397commit 60b909fb110f77c1ffd15cceb5d09b8e3f79b27e 6398Author: dtucker@openbsd.org <dtucker@openbsd.org> 6399Date: Wed Aug 6 11:22:53 2025 +0000 6400 6401 upstream: Improve sentence. ok djm@ 6402 6403 OpenBSD-Commit-ID: 9c481ddd6bad110af7e530ba90db41f6d5fe2273 6404 6405commit 9ffa98111dbe53bf86d07da8e01ded8c5c25456b 6406Author: djm@openbsd.org <djm@openbsd.org> 6407Date: Wed Aug 6 04:53:04 2025 +0000 6408 6409 upstream: when refusing a certificate for user authentication, log 6410 6411 enough information to identify the certificate in addition to the reason why 6412 it was being denied. Makes debugging certificate authz problems a bit easier. 6413 6414 ok dlg@ 6415 6416 OpenBSD-Commit-ID: 4c4621b2e70412754b3fe7540af8f4bf02b722b1 6417 6418commit 2a31009c36eb2da412c2784fe131fcb6ba800978 6419Author: job@openbsd.org <job@openbsd.org> 6420Date: Tue Aug 5 09:08:16 2025 +0000 6421 6422 upstream: Use the operating system default DSCP marking for 6423 6424 non-interactive traffic 6425 6426 It seems the CS1 traffic class mark is considered ambiguous and therefore 6427 somewhat unhelpful (see RFC 8622 for more considerations). But, the new 6428 'LE' scavenger class (also proposed in RFC 8622) offers high probability 6429 of excessive delays & high packet loss, which would be inappropriate 6430 for use with, for example, X11 forwardings. In fact, it is not known to 6431 SSH what's appropriate because SSH is not aware of the content of what 6432 passing through session forwardings. Therefore, no marking is appropriate. 6433 Non-interactive traffic simply is best effort. 6434 6435 OK djm@ deraadt@ 6436 6437 OpenBSD-Commit-ID: db1da1a432ecd53fc28feb84287aedb6bec80b01 6438 6439commit 6ebd472c391a73574abe02771712d407c48e130d 6440Author: djm@openbsd.org <djm@openbsd.org> 6441Date: Tue Aug 5 04:00:15 2025 +0000 6442 6443 upstream: a bunch of the protocol extensions we support now have RFCs 6444 6445 and I-Ds that are more complete and detailed than what we have in the 6446 PROTOCOL.* files. Refer to these when possible instead of documenting them 6447 here. 6448 6449 OpenBSD-Commit-ID: 4fa5b0fcf5d5f24093d33d9e82c7ca4850d50d70 6450 6451commit ec3465f59c651405e395092f3ad606f8992328d8 6452Author: job@openbsd.org <job@openbsd.org> 6453Date: Thu Jul 31 11:23:39 2025 +0000 6454 6455 upstream: Deprecate support for IPv4 type-of-service (TOS) IPQoS 6456 6457 keywords 6458 6459 Type of Service (ToS) was deprecated in the late nineties and replaced 6460 with the Differentiated Services architecture. Diffserv has significant 6461 advantages for operators because this mechanism offers more granularity. 6462 6463 OpenSSH switched its default IPQoS from ToS to DSCP values in 2018. 6464 6465 IPQoS configurations with 'lowdelay', 'reliability', or 'throughput' will be 6466 ignored and instead the system default QoS settings apply. Additionally, a 6467 debug message is logged about the deprecation with a suggestion to use DSCP. 6468 6469 with/OK deraadt@ sthen@ djm@ 6470 6471 OpenBSD-Commit-ID: 40c8c0c5cb20151a348728703536af2ec1c754ba 6472 6473commit 65909fa114e7dd7511800db2b7bacb8774afe887 6474Author: job@openbsd.org <job@openbsd.org> 6475Date: Thu Jul 31 09:38:41 2025 +0000 6476 6477 upstream: Set default IPQoS for interactive sessions to Expedited 6478 6479 Forwarding (EF) 6480 6481 Marking interactive session data with DSCP value EF (RFC3246, RFC3247) 6482 helps inform the network on relative priority compared to other traffic. 6483 This is especially useful for differentiated treatment over wireless media. 6484 6485 Following the reconciled IETF Diffserv to IEEE 802.11 mappings (RFC 8325), 6486 traffic marked with DSCP value EF maps to User Priority 6 in QoS Control, 6487 in turn mapping to the high priority WMM AC_VO access category. 6488 6489 OK djm@ 6490 6491 OpenBSD-Commit-ID: aadda7b9da794d70d7c6b381a861a0610afce1b3 6492 6493commit d1c6c67a50fc957010fa027c6ab970424e9b9142 6494Author: Darren Tucker <dtucker@dtucker.net> 6495Date: Sat Aug 2 14:49:00 2025 +1000 6496 6497 Disable security key tests for bigendian interop 6498 6499commit e85248df3f1073343da87a6b00512e6a1e4a863d 6500Author: Darren Tucker <dtucker@dtucker.net> 6501Date: Sat Aug 2 12:51:42 2025 +1000 6502 6503 Comment out atime restore test. 6504 6505 This works on filesystems mounted 'noatime', but on others the stat() 6506 resets atime causing the test to fail. 6507 6508commit b1c4cedbee107dc611ce091f27ea9f1de28ee378 6509Author: Darren Tucker <dtucker@dtucker.net> 6510Date: Fri Aug 1 19:29:00 2025 +1000 6511 6512 Replace fbsd64ppc VM with physical host. 6513 6514 Run 64bit bigendian interop test on NetBSD arm64be instead. 6515 6516commit 284abbed9a8d815b1ec5e96aff885d77e26537e7 6517Author: dtucker@openbsd.org <dtucker@openbsd.org> 6518Date: Wed Jul 30 10:17:13 2025 +0000 6519 6520 upstream: Plug leak in case where sigp is passed as NULL. Coverity CID 6521 6522 483725, ok djm@ 6523 6524 OpenBSD-Commit-ID: 47cf7b399c84e102b670b9f97ab6926c9a7256b5 6525 6526commit dc630e6d81be8aa495254839731e4f3521cf9e31 6527Author: djm@openbsd.org <djm@openbsd.org> 6528Date: Wed Jul 30 04:27:42 2025 +0000 6529 6530 upstream: unbreak WITH_OPENSSL=no builds, also allowing ed25519 6531 6532 keys to be used via PKCS#11 when OpenSSH is built without libcrypto. 6533 6534 OpenBSD-Commit-ID: ecf26fdf7591bf2c98bac5136fbc36e0b59c3fc2 6535 6536commit a5bec2cdfc4f38ddb6211809851aae29ba99a35a 6537Author: djm@openbsd.org <djm@openbsd.org> 6538Date: Wed Jul 30 04:19:17 2025 +0000 6539 6540 upstream: fix variable name in disabled code 6541 6542 OpenBSD-Commit-ID: 5612e979575d5da933c8b720d296423fd84392f5 6543 6544commit 5e4bfe6c16924b1c21a733f3e218cfcba98e301e 6545Author: Damien Miller <djm@mindrot.org> 6546Date: Sat Jul 26 19:19:46 2025 +1000 6547 6548 more ec/ed25519 fixing 6549 6550commit 2603098959eff55cbe188c3dfcbe5302808a80fc 6551Author: Damien Miller <djm@mindrot.org> 6552Date: Sat Jul 26 14:27:53 2025 +1000 6553 6554 repair build for libcrypto without ed25519 support 6555 6556commit a729163c56ecc002c0cb04db56e7d86ceec2e8b0 6557Author: djm@openbsd.org <djm@openbsd.org> 6558Date: Sat Jul 26 01:53:31 2025 +0000 6559 6560 upstream: regression tests for Ed25519 keys in PKCS#11 tokens 6561 6562 OpenBSD-Regress-ID: 50067c0716abfea3a526b4a0c8f1fe15e7665c0f 6563 6564commit 361ff0ca308ac02449e71689fc5ea72114db43db 6565Author: djm@openbsd.org <djm@openbsd.org> 6566Date: Sat Jul 26 01:51:44 2025 +0000 6567 6568 upstream: Support ed25519 keys hosted on PKCS#11 tokens. 6569 6570 Tested on Yubikeys and against SoftHSM2. 6571 6572 feedback/ok tb@ 6573 6574 OpenBSD-Commit-ID: 90ddb6529f2e12e98e8bba21d8592e60579ce2e4 6575 6576commit 2b530cc3005a71c5ba6b712978872fc9c147439c 6577Author: djm@openbsd.org <djm@openbsd.org> 6578Date: Fri Jul 25 13:06:07 2025 +0000 6579 6580 upstream: update our PKCS#11 API header to v3.0; 6581 6582 feedback/ok tb@ 6583 6584 OpenBSD-Commit-ID: e67fa6a26e515c2b1fb7b0d1519d138aafb3e017 6585 6586commit 550d2a4a66c50f7641563a63b900761d99efb24a 6587Author: Damien Miller <djm@mindrot.org> 6588Date: Fri Jul 25 23:04:33 2025 +1000 6589 6590 another attempt at fixing !EC builds 6591 6592commit ed1e370d84e9dc39bc31c19cca12222d991fdc6f 6593Author: dtucker@openbsd.org <dtucker@openbsd.org> 6594Date: Fri Jul 25 11:50:45 2025 +0000 6595 6596 upstream: Don't snprintf a NULL since not all platforms support it. 6597 6598 OpenBSD-Commit-ID: 6e0c268e40047e96fab6bc56dc340580b537183b 6599 6600commit eedab8db12d57c4f4583f6b60e48a4ce25b47b9c 6601Author: Damien Miller <djm@mindrot.org> 6602Date: Fri Jul 25 16:21:43 2025 +1000 6603 6604 unbreak !EC builds 6605 6606commit 203f5ac6cfa0e257db7509d4bb830e8a4bba6211 6607Author: djm@openbsd.org <djm@openbsd.org> 6608Date: Thu Jul 24 06:04:47 2025 +0000 6609 6610 upstream: test code now needs to link ssh-pkcs11-client.c any time 6611 6612 sshkey.c is included 6613 6614 OpenBSD-Regress-ID: 9d07188eae9a96801c3150b3433bb220626d4443 6615 6616commit 33b4f05c8ddab24aa6c47afb313b8cbd0d4b77f4 6617Author: Damien Miller <djm@mindrot.org> 6618Date: Fri Jul 25 12:47:17 2025 +1000 6619 6620 update clang-16 -> clang-19 6621 6622commit 03e9e993ef1ef5accc6457152278cab5988f9b3d 6623Author: Damien Miller <djm@mindrot.org> 6624Date: Fri Jul 25 12:46:59 2025 +1000 6625 6626 include ssh-pkcs11-client.o as common dep 6627 6628commit 2f5269938a8e4769f484c9d45419a86529078ede 6629Author: Damien Miller <djm@mindrot.org> 6630Date: Fri Jul 25 12:46:10 2025 +1000 6631 6632 remove vestigial stub 6633 6634commit bf33a73c40522ce60961d4fff316a7187fb06ca0 6635Author: djm@openbsd.org <djm@openbsd.org> 6636Date: Thu Jul 24 23:27:04 2025 +0000 6637 6638 upstream: this should include stdlib.h explicitly 6639 6640 OpenBSD-Commit-ID: 1c0cc5c3838344b33ae4ab7aa62c01530357bf29 6641 6642commit 9f8ccc3b81b53324cc489f3fe00f03c329c0acb2 6643Author: djm@openbsd.org <djm@openbsd.org> 6644Date: Thu Jul 24 06:59:51 2025 +0000 6645 6646 upstream: less stale reference to PKCS#1 1.5 hash OIDs; feedback 6647 6648 from tb@ 6649 6650 OpenBSD-Commit-ID: 9fda77978491a130a7b77d87d40c79277b796721 6651 6652commit 1641ab8744f500f55f12155d03f1a3116aaea374 6653Author: djm@openbsd.org <djm@openbsd.org> 6654Date: Thu Jul 24 06:12:08 2025 +0000 6655 6656 upstream: factor out encoding of a raw ed25519 signature into its 6657 6658 ssh form into a separate function 6659 6660 OpenBSD-Commit-ID: 3711c6d6b52dde0bd1f17884da5cddb8716f1b64 6661 6662commit a8c0e5c871c0c7ee5ae93e353b1499a53c09c71d 6663Author: djm@openbsd.org <djm@openbsd.org> 6664Date: Thu Jul 24 05:44:55 2025 +0000 6665 6666 upstream: Help OpenSSH's PKCS#11 support kick its meth habit. 6667 6668 The PKCS#11 code in OpenSSH used the libcrypto public key method API 6669 (e.g. the delightfully named RSA_meth_free()) to delegate signing 6670 operations to external keys. This had one advantage - that it was 6671 basically transparent to callers, but also had a big disadvantage - 6672 that we'd manually have to track the method implementations, their 6673 state and their relationships to the underlying PKCS#11 objects. 6674 6675 This rips this out and replaces it with explicit delegation to 6676 PKCS#11 code for externally hosted keys via the ssh-pkcs11-helper 6677 subprocess. This is very similar to how we handle FIDO keys in 6678 OpenSSH (i.e. via ssh-sk-helper). All we need to track now is a 6679 much simpler mapping of public key -> helper subprocess. 6680 6681 Kicking our libcrypto meth dependency also makes it much easier 6682 to support Ed25519 keys in PKCS#11, which will happen in a subsequent 6683 commit. 6684 6685 feedback / ok tb@ 6686 6687 OpenBSD-Commit-ID: a5a1eaf57971cf15e0cdc5a513e313541c8a35f0 6688 6689commit 259c66aebe4e1f9d60e548f728ff74083bcccddf 6690Author: Darren Tucker <dtucker@dtucker.net> 6691Date: Thu Jul 24 22:02:49 2025 +1000 6692 6693 Remove DEBUG_ACTIONS variable. 6694 6695 If needed it can be set in github if needed. 6696 6697commit 40fb2dc4ece76c8f0c624d90a17bc1bbf47f3729 6698Author: djm@openbsd.org <djm@openbsd.org> 6699Date: Wed Jul 23 05:07:19 2025 +0000 6700 6701 upstream: add a ssh_config RefuseConnection option that, when 6702 6703 encountered while processing an active section in a configuration file, 6704 terminates ssh(1) with an error message that contains the argument to the 6705 option. 6706 6707 This may be useful for expressing reminders or warnings in config 6708 files, for example: 6709 6710 Match host foo 6711 RefuseConnection "foo is deprecated, use splork instead" 6712 6713 ok djg 6714 6715 OpenBSD-Commit-ID: 5b0072fcd08ad3932ab21e27bbaa66b008d44237 6716 6717commit defc806574d2256036d69a291caf0f3484844de6 6718Author: miod@openbsd.org <miod@openbsd.org> 6719Date: Sat Jul 12 05:28:33 2025 +0000 6720 6721 upstream: Add missing inter-library dependencies to LDADD and 6722 6723 DPADD. ok tb@ deraadt@ 6724 6725 OpenBSD-Commit-ID: a05e13a7e2c0b65bb4b47184fef731243431c6ff 6726 6727commit e6805e2a6b33e001e1a7257b85ab779fd592a578 6728Author: Jan Tojnar <jtojnar@gmail.com> 6729Date: Thu May 18 16:30:35 2023 +0200 6730 6731 Add gnome-ssh-askpass4 for GNOME 40+ 6732 6733 GTK 3 has been in maintenance mode for a while now, and it is on the road 6734 to being abandoned. As a result, the dialogue looks out of place on modern 6735 systems. 6736 6737 We could port it to GTK 4 but without the program being registered as an 6738 application (i.e. having a .desktop file), GNOME Shell would ask for 6739 permission to grab input every time. 6740 6741 Let’s instead use the GNOME Shell’s native prompt through the unstable 6742 Gcr API. 6743 6744commit f9dc519259804702cab0fa0ca8b193a360e3ec38 6745Author: Damien Miller <djm@mindrot.org> 6746Date: Fri Jul 11 17:20:27 2025 -0700 6747 6748 let ga_init() fail gracefully if getgrouplist does 6749 6750 Apparently getgrouplist() can fail on OSX for when passed a non-existent 6751 group name. Other platforms seem to return a group list consisting of 6752 the numeric gid passed to the function. 6753 6754 This makes ga_init() handle this failure case gracefully, where it will 6755 return success but with an empty group list array. 6756 6757 bz3848; ok dtucker@ 6758 6759commit f01a899b92ab8c5e6ff71214658bd09636c47e87 6760Author: djm@openbsd.org <djm@openbsd.org> 6761Date: Fri Jul 11 23:26:59 2025 +0000 6762 6763 upstream: add a "Match Group NoSuchGroup" to exercise groupaccess.c 6764 6765 OpenBSD-Regress-ID: 7ff58e6f0eb21eb9064dd0cfa78c3b6f34b5f713 6766 6767commit 1052fa62b35e0bb25b0c1efb9fdd7870e4a68ab6 6768Author: Damien Miller <djm@mindrot.org> 6769Date: Fri Jul 11 15:36:49 2025 -0700 6770 6771 more diagnostics when getgrouplist fails 6772 6773commit eddd1d2daa64a6ab1a915ca88436fa41aede44d4 6774Author: djm@openbsd.org <djm@openbsd.org> 6775Date: Fri Jul 4 09:51:01 2025 +0000 6776 6777 upstream: Fix mistracking of MaxStartups process exits in some 6778 6779 situations. At worst, this can cause all MaxStartups slots to fill and sshd 6780 to refuse new connections. 6781 6782 Diagnosis by xnor; ok dtucker@ 6783 6784 OpenBSD-Commit-ID: 10273033055552557196730f898ed6308b36a78d 6785 6786commit c971f3d93efe4c00d73b276cdbab66e7c66c9b5c 6787Author: Darren Tucker <dtucker@dtucker.net> 6788Date: Sat Jul 5 20:50:50 2025 +1000 6789 6790 Add include for gssapi definitions. 6791 6792 Patch from dbelyavs at redhat.com via bz#3846. 6793 6794commit 007b69f21cf9e64125b241d4411a5e47f5028aa8 6795Author: djm@openbsd.org <djm@openbsd.org> 6796Date: Fri Jul 4 07:52:17 2025 +0000 6797 6798 upstream: add a regress test for configurations > 256KB 6799 6800 mostly by Dmitry Belyavskiy 6801 6802 OpenBSD-Regress-ID: fcedb249e4cf2447e078a839877f99730ee79024 6803 6804commit 0cf38d74463bcf80510e7fd1b3d9328e7d91eb00 6805Author: djm@openbsd.org <djm@openbsd.org> 6806Date: Fri Jul 4 07:47:35 2025 +0000 6807 6808 upstream: the messaging layer between sshd-session and sshd-auth had a 6809 6810 maximum message size of 256KB. Some people apparently have configurations 6811 larger than this and would hit this limit. 6812 6813 Worse, there was no good logging that could help diagnose what was 6814 going wrong. 6815 6816 So this bumps the maximum message size to 4MB and implements an early 6817 check (usable via the sshd -t test mode) that will report it to the 6818 user where it is hopefully more visible. 6819 6820 bz3808, reported by Dmitry Belyavskiy, ok dtucker@ 6821 6822 OpenBSD-Commit-ID: 69c303fb68cbd1a4735936835d67a71e7b57f63b 6823 6824commit fd10cea0f16e928ae2b52fbeadccd475d0438eb4 6825Author: djm@openbsd.org <djm@openbsd.org> 6826Date: Fri Jul 4 00:17:55 2025 +0000 6827 6828 upstream: mux: fix incorrect return value check in local forward 6829 6830 cancellation 6831 6832 channel_cancel_lport_listener() returns 1 on success and 0 on failure. 6833 The previous code incorrectly checked for `== -1`, a value the function 6834 never returns, so failure was not detected and the "port not found" 6835 error message was never shown when cancelling dynamic or local port 6836 forwards. 6837 6838 From: Boris Tonofa <b.tonofa@ideco.ru> 6839 6840 OpenBSD-Commit-ID: 3e9d2252a4d0bd318d4f25e2b518afb44acea170 6841 6842commit 29cf521486bf97ab9de5b9b356f812107e0671bc 6843Author: Damien Miller <djm@mindrot.org> 6844Date: Wed Jul 2 13:47:38 2025 +1000 6845 6846 wrap some autoconf macros in AC_CACHE_CHECK 6847 6848 This allows skipping/overriding the OSSH_CHECK_CFLAG_COMPILE and 6849 OSSH_CHECK_CFLAG_LINK macros used to discover supported compiler 6850 or linker flags. E.g. 6851 6852 $ ./configure ossh_cv_cflag__fzero_call_used_regs_used=no 6853 [...] 6854 checking if cc supports compile flag -ftrapv and linking succeeds... yes 6855 checking if cc supports compile flag -fzero-call-used-regs=used and linking succeeds... (cached) no 6856 checking if cc supports compile flag -ftrivial-auto-var-init=zero... yes 6857 6858 Patch from Colin Watson, ok dtucker@ 6859 6860commit b28e91aff80fd24341de8cb3c34dc454d6b75228 6861Author: dtucker@openbsd.org <dtucker@openbsd.org> 6862Date: Sun Jun 29 08:20:21 2025 +0000 6863 6864 upstream: Add shebang path to askpass script. Required for exec on 6865 6866 some platforms (musl, probably others). 6867 6868 OpenBSD-Regress-ID: 35cdeed12ae701afcb812f800c04d817325cd22a 6869 6870commit 83d3ffc0fc0f5e4473ab43f0d42a1cf9497ce0b5 6871Author: dtucker@openbsd.org <dtucker@openbsd.org> 6872Date: Sun Jun 29 05:35:00 2025 +0000 6873 6874 upstream: Check dropbear server version for required features. 6875 6876 Dropbear added the '-D' flag in version 2025.87. We need that for the 6877 dropbear-server test, so skip on older versions. 6878 6879 OpenBSD-Regress-ID: 9db0b84edd54d3c00ab17db1dc6d62af4644c550 6880 6881commit 0b17d564cfae82f2a52e9b4d588657da47ea4e43 6882Author: Darren Tucker <dtucker@dtucker.net> 6883Date: Sun Jun 29 14:34:48 2025 +1000 6884 6885 Encrypt temporary password we're setting. 6886 6887 Now that we want to actually use the random password for tests, we need 6888 to correctly encrypt it, instead of just setting it to a random string 6889 that's not the "locked" value. 6890 6891commit 700205bd861c25cc7564010cf63d984d8db5098a 6892Author: Darren Tucker <dtucker@dtucker.net> 6893Date: Sun Jun 29 11:27:17 2025 +1000 6894 6895 Fix env again. 6896 6897commit 223a1beac7b7be9252f69055781c9c15f4d8a607 6898Author: Darren Tucker <dtucker@dtucker.net> 6899Date: Sun Jun 29 11:24:42 2025 +1000 6900 6901 Move env again. 6902 6903commit d32614b448528ac08a65caac323a34b4f559a204 6904Author: Darren Tucker <dtucker@dtucker.net> 6905Date: Sun Jun 29 11:22:00 2025 +1000 6906 6907 Move env to where it (hopefully) belongs. 6908 6909commit 8a9384de483b8fb69a800e0347273686a5715fc3 6910Author: Darren Tucker <dtucker@dtucker.net> 6911Date: Sun Jun 29 11:14:18 2025 +1000 6912 6913 Enable password tests on Github ephemeral VMs. 6914 6915commit bcfe7340d9b622ecd978c87dbf885c8b5a503ca2 6916Author: dtucker@openbsd.org <dtucker@openbsd.org> 6917Date: Sat Jun 28 13:34:08 2025 +0000 6918 6919 upstream: Add simple regression test for dropbear as a server. 6920 6921 OpenBSD-Regress-ID: 7abe1f6607d0cd49839918aade8f135d2462d389 6922 6923commit 838d5ec4b12fb519ed9db76e5beccf11b7ee212f 6924Author: dtucker@openbsd.org <dtucker@openbsd.org> 6925Date: Tue Jun 24 12:28:23 2025 +0000 6926 6927 upstream: Add simple test for password auth. Requires some setup 6928 6929 so does not run by default. 6930 6931 OpenBSD-Regress-ID: d5ded47a266b031fc91f99882f07161ab6d1bb70 6932 6933commit 57fb460165ae3b2d591f2468d7fe13cc1abda26d 6934Author: djm@openbsd.org <djm@openbsd.org> 6935Date: Tue Jun 17 01:24:32 2025 +0000 6936 6937 upstream: add RCS ID 6938 6939 OpenBSD-Regress-ID: 6e30094e3bf0a1c65efb75c67a87093304a3e619 6940 6941commit 688fa02728f2efbf18388bc1a8e94e7ba7ee4f11 6942Author: djm@openbsd.org <djm@openbsd.org> 6943Date: Tue Jun 24 09:22:03 2025 +0000 6944 6945 upstream: make "Match !final" not trigger a 2nd pass ssh_config 6946 6947 parsing pass (unless hostname canonicalisation or a separate "Match final" 6948 does). bz3843 6949 6950 ok dtucker@ 6951 6952 OpenBSD-Commit-ID: ce82b6034828888f0f3f1c812e08f5e87400d802 6953 6954commit 5ba8391d697740a838fd8811434f707f0e079baa 6955Author: djm@openbsd.org <djm@openbsd.org> 6956Date: Thu Jun 19 05:49:05 2025 +0000 6957 6958 upstream: better debug diagnostics when loading keys. Will now list 6959 6960 key fingerprint and algorithm (not just algorithm number) as well as making 6961 it explicit which keys didn't load. 6962 6963 OpenBSD-Commit-ID: ee3e77a0271ab502e653922c6d161b1e091f8fee 6964 6965commit b360f3a675e24b0dbb2ec30d985e3b6756996c0d 6966Author: djm@openbsd.org <djm@openbsd.org> 6967Date: Tue Jun 17 01:20:17 2025 +0000 6968 6969 upstream: whitespace 6970 6971 OpenBSD-Commit-ID: 6e96814bcf70d0edbb0749ec61cc4fd8707f286d 6972 6973commit ad38ec5f1b6768944d64ed7709da8706538b5509 6974Author: djm@openbsd.org <djm@openbsd.org> 6975Date: Tue Jun 17 01:19:27 2025 +0000 6976 6977 upstream: fix leak on error path; Coverity CID 481976 6978 6979 OpenBSD-Commit-ID: 963dba2c804e2fd8efea2256092899874d0dbc7b 6980 6981commit 5f761cdb2331a12318bde24db5ca84ee144a51d1 6982Author: Darren Tucker <dtucker@dtucker.net> 6983Date: Tue Jun 17 21:46:37 2025 +1000 6984 6985 Update obsd tests to use current images. 6986 6987commit 1e8347e3543a415067ccc556aefea97656ecafb7 6988Author: Damien Miller <djm@mindrot.org> 6989Date: Tue Jun 17 09:48:47 2025 +1000 6990 6991 add sshd-auth to RPM spec files 6992 6993commit dd800444943bd64913507f6005586136d49f63db 6994Author: dtucker@openbsd.org <dtucker@openbsd.org> 6995Date: Mon Jun 16 09:09:42 2025 +0000 6996 6997 upstream: Limit each moduli size to a max of 100 entries. 6998 6999 OpenBSD-Commit-ID: 747219d54565030ff7c45298b9f5e971801f6cb2 7000 7001commit 05f7bf46d1e2c101e9cbdd3df2ccee484bed969f 7002Author: dtucker@openbsd.org <dtucker@openbsd.org> 7003Date: Mon Jun 16 09:07:08 2025 +0000 7004 7005 upstream: Now that ssh-keygen defaults to the maximum memory for 7006 7007 moduli generation we no longer need to run it twice to get enough. Use mkdir 7008 -p instead of a conditional, which allows "make -jN" to work without error. 7009 7010 OpenBSD-Commit-ID: c2eb57285424f819f9520fa33e0d6d3c4a361a5e 7011 7012commit df3f903d616763a105570610a616dacf0f83438e 7013Author: dtucker@openbsd.org <dtucker@openbsd.org> 7014Date: Mon Jun 16 09:02:19 2025 +0000 7015 7016 upstream: Fix overflow check in sshbuf_dup_string. It's already 7017 7018 constrained by SSHBUF_SIZE_MAX, but still worth fixing the check. Patch from 7019 afonot via github PR#573, with & ok djm@ 7020 7021 OpenBSD-Commit-ID: 438888498e66472fc6a48133196d6538d27bff18 7022 7023commit 80916d0d3794e2f92dd6998d7c45daba484e4f18 7024Author: dtucker@openbsd.org <dtucker@openbsd.org> 7025Date: Mon Jun 16 08:53:04 2025 +0000 7026 7027 upstream: Plug mem leak. Patch from afonot via github PR#574, ok djm@ 7028 7029 OpenBSD-Commit-ID: 65619f14ef206028ce39bc31f704b832a0609688 7030 7031commit bd1bd7e8296aa51a4b3958cef2fbb17894ba94e9 7032Author: dtucker@openbsd.org <dtucker@openbsd.org> 7033Date: Mon Jun 16 08:49:27 2025 +0000 7034 7035 upstream: Save return value from sshbuf_len instead of calling it 7036 7037 multiple times. Fixes Coverity CID 470521. 7038 7039 OpenBSD-Regress-ID: 356b8b43c8a232deaf445c1ff7526577b177a8e9 7040 7041commit 2827b6ac304ded8f99e8fbc12e7299133fadb2c2 7042Author: dtucker@openbsd.org <dtucker@openbsd.org> 7043Date: Fri Jun 13 07:35:14 2025 +0000 7044 7045 upstream: Plug leak. Coverity CID 405058. 7046 7047 OpenBSD-Regress-ID: 7fb2fce68d2cb063cdb94d5d66f84fa3a2902792 7048 7049commit 9cdc72b829e9f0e24dedc533cbe87291d8a88c9e 7050Author: dtucker@openbsd.org <dtucker@openbsd.org> 7051Date: Fri Jun 13 07:23:07 2025 +0000 7052 7053 upstream: Remove dead code flagged by Coverity CID 307783. ok djm@ 7054 7055 OpenBSD-Regress-ID: e579f5ec2fd2eb2fe2bad654d16f2ba655a3e035 7056 7057commit 930a45ee759728c8ba711c45a2a985b8191bd297 7058Author: dtucker@openbsd.org <dtucker@openbsd.org> 7059Date: Thu Jun 12 10:09:39 2025 +0000 7060 7061 upstream: Set user, host and path to NULL immediately before calling 7062 7063 parse_user_host_path in tests. This ensures that we don't accidentally use 7064 the previous value if the function under test doesn't set them Also fixes 7065 Coverity CIDs 405056 405065 405066. 7066 7067 OpenBSD-Regress-ID: 43678ff59001712f32214fe303b1c21c163c2960 7068 7069commit 2314d87f9b8b430532111fd6e5e8df0cf9068c9c 7070Author: dtucker@openbsd.org <dtucker@openbsd.org> 7071Date: Thu Jun 12 09:26:57 2025 +0000 7072 7073 upstream: Plug mem leak on error path here too. 7074 7075 Coverity CID 307781. 7076 7077 OpenBSD-Regress-ID: 18e053d9b661fbb4227d3db03172077c1216bb2e 7078 7079commit 567ef4e7ddc5c1e7a461560963a1dc759669821d 7080Author: dtucker@openbsd.org <dtucker@openbsd.org> 7081Date: Thu Jun 12 09:19:43 2025 +0000 7082 7083 upstream: Plug mem leak on error path. 7084 7085 Coverity CID 307776. 7086 7087 OpenBSD-Regress-ID: c44246690973e1b8643e51079a2faa7ace26490c 7088 7089commit 5d415897ac04e237f1fa73b9dcb9ba8fb3ac812b 7090Author: dtucker@openbsd.org <dtucker@openbsd.org> 7091Date: Wed Jun 11 13:27:11 2025 +0000 7092 7093 upstream: Remove dead code ternary. We always report at least 7094 7095 KB/s, so B/s is never used. Coverity CID 291809, ok djm@ 7096 7097 OpenBSD-Commit-ID: a67c5bcc9e19c8965bfeace0e337b13660efa058 7098 7099commit 4b3d27032ba88dd089b721f3bbe3e4a8d23b4ae1 7100Author: dtucker@openbsd.org <dtucker@openbsd.org> 7101Date: Wed Jun 11 13:24:05 2025 +0000 7102 7103 upstream: Improve termination condition of while loop to compare 7104 7105 size_t's. Assuming read() does what it's supposed to this shouldn't matter, 7106 but should be more robust. Flagged by Coverity CID 470514, ok djm@ 7107 7108 OpenBSD-Commit-ID: d7b5ad60feb797b3464964b9ea67fd78fb9d6cc6 7109 7110commit 5530e5f83b3cd3425ea3dbab02da15140befdd91 7111Author: Darren Tucker <dtucker@dtucker.net> 7112Date: Tue Jun 10 18:40:56 2025 +1000 7113 7114 Replace Windows 2019 runners with 2025 ones. 7115 7116 The windows-2019 runners are being decomissioned. 7117 7118commit a22ff3c6f11edd00c19981f9cb85d3b25d305a56 7119Author: Darren Tucker <dtucker@dtucker.net> 7120Date: Wed Jun 4 18:33:52 2025 +1000 7121 7122 Disable _FORTIFY_SOURCE during snprintf test. 7123 7124 Prevents mistakenly detecting snprintf as broken on FreeBSD 15 with 7125 _FORTIFY_SOURCE enabled. bz#3809, patch from jlduran at gmail.com 7126 7127commit 203bb886797677aa5d61b57be83cfdc1b634bc9c 7128Author: dtucker@openbsd.org <dtucker@openbsd.org> 7129Date: Mon Jun 2 14:09:34 2025 +0000 7130 7131 upstream: Fix x11_channel_used_recently() to return true when channel 7132 7133 has been used within the last second, instead of more than a second ago. 7134 Should fix ~5s delay on X client startup when ObscureKeystrokeTiming is 7135 enabled. bz#3820, ok (& sigh) djm@ 7136 7137 OpenBSD-Commit-ID: b741011e81fb3e3d42711d9bd3ed8a959924dee4 7138 7139commit dc6c134b48ba4bcfadedcea17b4eddac329601d9 7140Author: dtucker@openbsd.org <dtucker@openbsd.org> 7141Date: Thu May 29 13:27:27 2025 +0000 7142 7143 upstream: When there's more than one x11 channel in use, return 7144 7145 lastused of most recently used x11 channel instead of the last one found. ok 7146 djm@ 7147 7148 OpenBSD-Commit-ID: 94a72bf988d40a5bae2e38608f4e117f712569fe 7149 7150commit 73ef0563a59f90324f8426c017f38e20341b555f 7151Author: djm@openbsd.org <djm@openbsd.org> 7152Date: Sat May 24 11:41:51 2025 +0000 7153 7154 upstream: replace xmalloc+memset(0) with xcalloc(); from AZero13 via 7155 7156 GHPR417 7157 7158 OpenBSD-Commit-ID: 921079436a4900325d22bd3b6a90c8d0d54f62f8 7159 7160commit 3a61f5ed66231881bee432c7e7c6add066c086af 7161Author: djm@openbsd.org <djm@openbsd.org> 7162Date: Sat May 24 09:46:16 2025 +0000 7163 7164 upstream: fix punctuation around host key fingerprints to make them 7165 7166 easier to copy and paste. 7167 7168 Patch from Till Maas via GHPR556; ok dtucker@ 7169 7170 OpenBSD-Commit-ID: c0100182a30b6925c8cdb2225b18140264594b7b 7171 7172commit b12d4ab1e16f57c6c348b483b1dbdd4530aaaddd 7173Author: dtucker@openbsd.org <dtucker@openbsd.org> 7174Date: Sat May 24 08:13:29 2025 +0000 7175 7176 upstream: Replace strncmp + byte count with strprefix in Penalty 7177 7178 config parsing. ok kn@, djm@ 7179 7180 OpenBSD-Commit-ID: 34a41bb1b9ba37fb6c7eb29a7ea909547bf02a5a 7181 7182commit a356d978e30dd9870c0b3a7d8edca535b0cd2809 7183Author: dtucker@openbsd.org <dtucker@openbsd.org> 7184Date: Sat May 24 08:09:32 2025 +0000 7185 7186 upstream: Make the display number check relative to 7187 7188 X11DisplayOffset. 7189 7190 This will allows people to use X11DisplayOffset to configure much higher 7191 port ranges if they really want, while not changing the default behaviour. 7192 Patch from Roman Gubarev via github PR#559, ok djm@ 7193 7194 OpenBSD-Commit-ID: e0926af5dc0c11e364452b624c3ad0cda88550b5 7195 7196commit e18983d03ab969e2f12485d5c0ee61e6d745a649 7197Author: Darren Tucker <dtucker@dtucker.net> 7198Date: Sat May 24 17:20:57 2025 +1000 7199 7200 Remove progressmeter.o from libssh.a. 7201 7202 It's now explicitly included by the binaries that need it (scp & sftp). 7203 bz#3810, patch from jlduran at gmail.com 7204 7205commit f8967045ad9d588bc11426642070bf8549065e62 7206Author: dtucker@openbsd.org <dtucker@openbsd.org> 7207Date: Sat May 24 06:50:28 2025 +0000 7208 7209 upstream: Null out keys between test runs. 7210 7211 BENCH_START and BENCH_FINISH are actually a while() loop in disguise, 7212 so if sshkey_generate does not reset the key pointer on failure the test 7213 may incorrectly pass. It also confuses Coverity (CID 551234). 7214 7215 OpenBSD-Regress-ID: bf4d32079fc6df6dce1f26c2025f4ed492f13936 7216 7217commit a26091ecdb2a3d72b77baf3c253e676a3c835a24 7218Author: djm@openbsd.org <djm@openbsd.org> 7219Date: Sat May 24 04:41:12 2025 +0000 7220 7221 upstream: add some verbosity 7222 7223 OpenBSD-Regress-ID: 11c86cda4435b5f9ab6172c4742b95899666c977 7224 7225commit 484563ec70e30472ab4484d49bca9a83771d785c 7226Author: djm@openbsd.org <djm@openbsd.org> 7227Date: Sat May 24 04:41:03 2025 +0000 7228 7229 upstream: use start_ssh_agent() to ensure we get logging 7230 7231 add some verbosity 7232 7233 OpenBSD-Regress-ID: a89bf64696b9fb1b91be318e6b8940c9ab21c616 7234 7235commit e3c58113ebb3397b252ff26e0e94f726b7db7a8a 7236Author: djm@openbsd.org <djm@openbsd.org> 7237Date: Sat May 24 04:40:37 2025 +0000 7238 7239 upstream: add a start_ssh_agent() function that sets up an agent 7240 7241 with logging 7242 7243 OpenBSD-Regress-ID: 7f9f30f9c64acbd4b418a5e1a19140cc988071a8 7244 7245commit 3de011ef7a761751afe28ac7ef97fe330d784595 7246Author: dtucker@openbsd.org <dtucker@openbsd.org> 7247Date: Sat May 24 06:43:37 2025 +0000 7248 7249 upstream: Plug leak of startup_pollfd in debug and child paths. 7250 7251 Coverity CID 405024, ok djm@ 7252 7253 OpenBSD-Commit-ID: db46047229253e9c4470c8bbf5f82706ac021377 7254 7255commit d0245389bc55f16082cadd0a39dda5af1c415dfa 7256Author: Darren Tucker <dtucker@dtucker.net> 7257Date: Sat May 24 17:11:38 2025 +1000 7258 7259 ssh-keygen changes were fixup'ed into single commit. 7260 7261commit 140bae1df2b7246bb43439d039bf994159973585 7262Author: Marco Trevisan (Treviño) <mail@3v1n0.net> 7263Date: Mon Sep 30 13:14:11 2024 +0200 7264 7265 auth-pam: Check the user didn't change during PAM transaction 7266 7267 PAM modules can change the user during their execution, in such case ssh 7268 would still use the user that has been provided giving potentially 7269 access to another user with the credentials of another one. 7270 7271 So prevent this to happen, by ensuring that the final PAM user is 7272 matching the one that initiated the transaction. 7273 7274commit 216824172724a50a4a75439fb2b4b8edccf5b733 7275Author: dtucker@openbsd.org <dtucker@openbsd.org> 7276Date: Sat May 24 03:37:40 2025 +0000 7277 7278 upstream: Remove ssh-keygen's moduli screen -Omemory option. 7279 7280 This vaguely made sense 20 years ago, but these days you'd be hard 7281 pressed to *find* a machine small enough to not support the maximum 7282 (127MB), and no one is screening moduli on such machines anyway, 7283 so just use the max. This also fixes Coverity CID 470522 by deleting 7284 code in question. "kill it with fire" djm@. 7285 7286 OpenBSD-Commit-ID: 39036aa406a99f0a91923aa3a96afff1205558e6 7287 7288commit f5cd14e81fa29b4924959cb2e1f9c206aae2d502 7289Author: dtucker@openbsd.org <dtucker@openbsd.org> 7290Date: Sat May 24 02:33:33 2025 +0000 7291 7292 upstream: Fix compile error on 32bit platforms. 7293 7294 Spotted by & ok tb@ 7295 7296 OpenBSD-Commit-ID: cbcf518247886f3c7518fc54cb3bd911ffc69db7 7297 7298commit eccc15014fe146e8590568e6737a3097bfac3415 7299Author: dtucker@openbsd.org <dtucker@openbsd.org> 7300Date: Sat May 24 02:01:28 2025 +0000 7301 7302 upstream: Use pointer from strprefix in error message, 7303 7304 missed in previous. 7305 7306 OpenBSD-Commit-ID: d2cdec6cf0fcd4b0ee25e4e3fad8bc8cf0ee657d 7307 7308commit 91903511d0597c3bea218167f9ca5a176fa0dc20 7309Author: dtucker@openbsd.org <dtucker@openbsd.org> 7310Date: Fri May 23 12:52:45 2025 +0000 7311 7312 upstream: Replace strncmp and strncasecmp with hand-counting bytes 7313 7314 with strprefix. nits lucas@, ok lucas@ djm@ 7315 7316 OpenBSD-Commit-ID: f0888807f151ea2bdaf6fed36303ae81f259d1d4 7317 7318commit 0c64d69e4e24a3ab06f7922ef389e7399c4dfb88 7319Author: dtucker@openbsd.org <dtucker@openbsd.org> 7320Date: Fri May 23 11:54:50 2025 +0000 7321 7322 upstream: Include stdint.h for UINT32_MAX. 7323 7324 OpenBSD-Commit-ID: edc29ed67e8bd03bac729d9b4849066d1d3a8cb9 7325 7326commit 3e11478f585408888defa56fa47e8dc6567378d0 7327Author: dtucker@openbsd.org <dtucker@openbsd.org> 7328Date: Fri May 23 11:25:35 2025 +0000 7329 7330 upstream: Ensure args to nh_update() fit within uint32, which it 7331 7332 should always anyway. Placates Coverity CID 470520. While there, fix the 7333 upstream URL. ok djm@ 7334 7335 OpenBSD-Commit-ID: 2478e89fde089a49fa02f9faf6287d35959c9f92 7336 7337commit f097d7bd07da4634c1a723d1dc4fcf56e7d0e147 7338Author: dtucker@openbsd.org <dtucker@openbsd.org> 7339Date: Fri May 23 09:26:25 2025 +0000 7340 7341 upstream: Don't leak the args list. Coverity CIDs 481569 & 481570, 7342 7343 ok job@ tb@. 7344 7345 OpenBSD-Commit-ID: becabcd00513d13d1435b68b7ccffa7151b72393 7346 7347commit a4ea7f6042f25b41061a83445016a1ea4f470f7b 7348Author: dtucker@openbsd.org <dtucker@openbsd.org> 7349Date: Fri May 23 08:40:13 2025 +0000 7350 7351 upstream: Explictly set LC_ALL=C on each sort invocation. 7352 7353 Remove it from sshd_config (where it could be overridden by shell startup 7354 scripts, eg on macos-15) causing random test failures. with & ok djm@ 7355 7356 OpenBSD-Regress-ID: ad0a6678964784096e9a9e6d15ead36beed92f18 7357 7358commit 7674c03caed80cb3565d14690c92068a14051967 7359Author: Darren Tucker <dtucker@dtucker.net> 7360Date: Fri May 23 16:39:18 2025 +1000 7361 7362 Allow setting LTESTS in repo variables. 7363 7364commit d8b5bd36078e5b6d78da4633f0cc9b90ffda8b50 7365Author: Darren Tucker <dtucker@dtucker.net> 7366Date: Fri May 23 16:26:20 2025 +1000 7367 7368 Rename debugging variable RUN_ONLY_TEST. 7369 7370 to RUN_ONLY_TARGET_CONFIG to make it more obvious what it matches. 7371 7372commit a79a2c1190bd3124da21d9e1582dd94877c7f972 7373Author: Darren Tucker <dtucker@dtucker.net> 7374Date: Fri May 23 16:11:48 2025 +1000 7375 7376 chown regress logs before uploading. 7377 7378commit 24889a33071086b6f1f62568b0c2bd0a4955ac49 7379Author: dtucker@openbsd.org <dtucker@openbsd.org> 7380Date: Fri May 23 01:14:35 2025 +0000 7381 7382 upstream: Import regenerated moduli. 7383 7384 OpenBSD-Commit-ID: 07e29dc891e29b31e03e2e5493658b4a9ac19431 7385 7386commit 4b8bee62d72ffb3c419c9ead6c9fb1a586283868 7387Author: deraadt@openbsd.org <deraadt@openbsd.org> 7388Date: Fri May 23 00:40:45 2025 +0000 7389 7390 upstream: use "const char * const" for malloc_options here also 7391 7392 OpenBSD-Commit-ID: 869715b9c7e1dd5b85efd07814e7e53f0286eea2 7393 7394commit 6629eee21ca9d0a597a04dcac744a1ad882f912e 7395Author: dtucker@openbsd.org <dtucker@openbsd.org> 7396Date: Thu May 22 12:14:19 2025 +0000 7397 7398 upstream: Adjust debug message to prevent (unsigned) integer overflow. 7399 7400 Fixes Coverity CID 481110, ok djm@ 7401 7402 OpenBSD-Commit-ID: 26178bf3b812707fb498ea85d076cadd1f2eb686 7403 7404commit 7acb70e05e9977ceca7b33df84ceaea337b1efef 7405Author: bluhm@openbsd.org <bluhm@openbsd.org> 7406Date: Thu May 22 04:34:18 2025 +0000 7407 7408 upstream: Fix OpenBSD RCS ID typos. from Andrius V 7409 7410 OpenBSD-Regress-ID: 5c03a2ef5323969fc4978f2eec4f1a25c48c572a 7411 7412commit 2b2a7a2a0d70023b439080bb2770ff36522dbea8 7413Author: Darren Tucker <dtucker@dtucker.net> 7414Date: Thu May 22 22:09:48 2025 +1000 7415 7416 Remove debug change accidentally commited. 7417 7418 Fixes Coverity CID 481160. 7419 7420commit 450a8a1df1577ddbe68fe8da1fb8514d3781ef32 7421Author: Darren Tucker <dtucker@dtucker.net> 7422Date: Thu May 22 21:16:37 2025 +1000 7423 7424 Collect all of regress dir on failure. 7425 7426 This may allow us to sort through its entrails and determine the cause 7427 of some types of failures. 7428 7429commit de25e739781c4c09d20abd410f50f0a6f192dc72 7430Author: Damien Miller <djm@mindrot.org> 7431Date: Thu May 22 18:42:44 2025 +1000 7432 7433 minimal shims for fstatat(2)/unlinkat(2) in agent 7434 7435 Add some very minimal and task-specific replacements for 7436 fstatat(2) and unlinkat(2) in the ssh-agent socket cleanup 7437 loop, for platforms that lack these functions. ok dtucker@ 7438 7439commit 6d192645a613aa814d51050b0458f37265b90d6c 7440Author: dtucker@openbsd.org <dtucker@openbsd.org> 7441Date: Thu May 22 04:22:03 2025 +0000 7442 7443 upstream: Output the current name for PermitRootLogin's 7444 7445 "prohibit-password" in sshd -T instead of its deprecated alias 7446 "without-password". bz#3788, patch from cjwatson at debian.org. 7447 7448 OpenBSD-Commit-ID: 2d5df18d5ad33a9b6c7547ec78a8e6ea13813df9 7449 7450commit 1ccf42378df202472e7254f37f7dabb2f5723955 7451Author: dtucker@openbsd.org <dtucker@openbsd.org> 7452Date: Thu May 22 03:53:46 2025 +0000 7453 7454 upstream: Copy arg to be passed to dirname(). 7455 7456 POSIX allows dirname() to modify its args and return a pointer into it, 7457 so this prevents an overlapping strlcpy. bz#3819, patch from cjwatson 7458 at debian.org 7459 7460 OpenBSD-Commit-ID: c32e496e6a1618aba31c8b7a9d4e1376c5ea6aa1 7461 7462commit b5877b7b3e597f47578ade9dbe7e4332f112dfc4 7463Author: dtucker@openbsd.org <dtucker@openbsd.org> 7464Date: Thu May 22 03:41:10 2025 +0000 7465 7466 upstream: Add $OpenBSD$ marker for easier syncing. 7467 7468 OpenBSD-Commit-ID: 27ff3e1e2e6610d9981ebe43ae9b783236800035 7469 7470commit 58d094c7cb974d7bd3ba6eb1059b186a2ac3dd55 7471Author: djm@openbsd.org <djm@openbsd.org> 7472Date: Wed May 21 12:12:20 2025 +0000 7473 7474 upstream: Correct FILES section to mention new default path to 7475 7476 agent sockets. Spotted by / ok jmc@ 7477 7478 OpenBSD-Commit-ID: 91d736d78d71a4276c9cbb075b1462bbc3df55a6 7479 7480commit d1d5c8b9b8de8283618c18d0dafdec6a209911cc 7481Author: Darren Tucker <dtucker@dtucker.net> 7482Date: Thu May 22 12:25:35 2025 +1000 7483 7484 Fix nc install some more. 7485 7486commit 49a2412ad23162e44be9e0b2cb12f6daf6b666d7 7487Author: Darren Tucker <dtucker@dtucker.net> 7488Date: Thu May 22 12:21:11 2025 +1000 7489 7490 Fix cvs up of nc. 7491 7492commit df22801b3f0ae245f825cf9c9dbb4543e41a7c5c 7493Author: Darren Tucker <dtucker@dtucker.net> 7494Date: Thu May 22 11:34:04 2025 +1000 7495 7496 Install nc during upstream test. 7497 7498 This ensures that the installed nc matches the expectations of the 7499 regress tests. 7500 7501commit e391c5289c2b687ff886cf780dc8fcb426e4d5d2 7502Author: Darren Tucker <dtucker@dtucker.net> 7503Date: Thu May 22 10:52:31 2025 +1000 7504 7505 Remove 9.7 branch from CI status page. 7506 7507 It's been obsolete long enough that github no longer reports its 7508 status. 7509 7510commit b71773c20d566fa5dcaf9edf3139bdcb3f2c4bc2 7511Author: Damien Miller <djm@mindrot.org> 7512Date: Wed May 21 19:14:47 2025 +1000 7513 7514 pull a small netcat SOCKS4A fix from upstream 7515 7516commit 0adb2db25eff3fe1c90c55654387ae1e4e18a396 7517Author: djm@openbsd.org <djm@openbsd.org> 7518Date: Wed May 21 08:41:52 2025 +0000 7519 7520 upstream: test SOCKS4A; ok tb 7521 7522 OpenBSD-Regress-ID: d880b75280295cd581a86e39bb0996d347f122d2 7523 7524commit 5699f4e9553c6a228fd9dc578d99e3aa6451c014 7525Author: djm@openbsd.org <djm@openbsd.org> 7526Date: Wed May 21 08:36:39 2025 +0000 7527 7528 upstream: remove log tarballing "it seemed like a good idea at the 7529 7530 time" - dtucker@ 7531 7532 ensure that log files have correct perms when running under sudo/doas 7533 7534 ok dtucker@ 7535 7536 OpenBSD-Regress-ID: 20588c14b05de9519f85d638b374b66ae0678c89 7537 7538commit 0c14e6b69a20f20d602e0e72559ca3f4dbc797fb 7539Author: djm@openbsd.org <djm@openbsd.org> 7540Date: Wed May 21 06:44:24 2025 +0000 7541 7542 upstream: use logit_f("...") instead of logit("func: ...") 7543 7544 OpenBSD-Commit-ID: c8d49eb39a9abff3cbcaeaf7df9d48468a5a0695 7545 7546commit 1743589d038476f28dc4dfb1f69317649ae22ac5 7547Author: djm@openbsd.org <djm@openbsd.org> 7548Date: Wed May 21 06:43:48 2025 +0000 7549 7550 upstream: function to make a sshbuf from a hex string; useful in 7551 7552 tests 7553 7554 also constify some arguments 7555 7556 OpenBSD-Commit-ID: 00f9c25b256be0efd73f2d8268ff041bc45ffb2c 7557 7558commit 83729cf503289104d7e64a69be14579523988cb6 7559Author: Damien Miller <djm@mindrot.org> 7560Date: Wed May 21 18:47:46 2025 +1000 7561 7562 merge netcat SOCKS4A support from OpenBSD 7563 7564 Not a full sync of this file as we have diverged substantially 7565 from upstream (it has libtls support, etc.) 7566 7567commit 750f1867476bda36879f69e25e8f52cb45c58807 7568Author: Darren Tucker <dtucker@dtucker.net> 7569Date: Tue May 20 22:17:02 2025 +1000 7570 7571 Include OpenSSL compat shim where needed. 7572 7573commit 6fb728df50c1afd338cb0223a84ce24579577eff 7574Author: Darren Tucker <dtucker@dtucker.net> 7575Date: Tue May 20 19:28:55 2025 +1000 7576 7577 Run all tests on Cygwin again. 7578 7579 ... now that we've fixed ci-setup on Cygwin. 7580 7581commit 648a3a008cf1cfa54631d2f0457b5313c455f484 7582Author: Darren Tucker <dtucker@dtucker.net> 7583Date: Tue May 20 18:48:23 2025 +1000 7584 7585 Use USERNAME rather than LOGNAME on Cygwin. 7586 7587 LOGNAME is specified by POSIX, but Windows (or at least, github's 7588 Windows images) don't set it. 7589 7590commit 0214e53124c09528b6ee29b9a551442b5611a454 7591Author: Darren Tucker <dtucker@dtucker.net> 7592Date: Tue May 20 18:28:52 2025 +1000 7593 7594 Add debug output when setting up CI environment. 7595 7596commit 9d9a2c0369419f3b4952e597db7b8696f54e7f3a 7597Author: Darren Tucker <dtucker@dtucker.net> 7598Date: Tue May 20 19:16:38 2025 +1000 7599 7600 Include openssl compat shims in test. 7601 7602 Fixes tests on platforms using older LibreSSL releases prior to 3.4. 7603 7604commit 1a9b1cfa4e8b807c7f82fdba8f730c2abdbba071 7605Author: Darren Tucker <dtucker@dtucker.net> 7606Date: Tue May 20 18:14:06 2025 +1000 7607 7608 Add compat shims for EC_POINT affine_coordinates 7609 7610 LibreSSL <3.4 does not have EC_POINT_[gs]et_affine_coordinates 7611 but does have the now-deprecated _GFp variantes. We still support 7612 LibreSSL back as far as 3.2.x so add a compat shim. 7613 7614commit cff2175200b412a9207a4fe5c1bdcc54e8a73d07 7615Author: tb@openbsd.org <tb@openbsd.org> 7616Date: Mon May 12 05:42:02 2025 +0000 7617 7618 upstream: Use EC_POINT_[sg]et_affine_coordinates() 7619 7620 It is available in all supported OpenSSL flavors/versions and the _GFp 7621 variants will be removed from LibreSSL. 7622 7623 ok hshoexer jsing 7624 7625 OpenBSD-Regress-ID: 66cf1561e7b6c49002978f2d6720956f33a882f0 7626 7627commit 2d35e24739b515394017b74465a0996c384cf28f 7628Author: tb@openbsd.org <tb@openbsd.org> 7629Date: Mon May 12 05:41:20 2025 +0000 7630 7631 upstream: Use EC_POINT_[sg]et_affine_coordinates() 7632 7633 It is available in all supported OpenSSL flavors/versions and the _GFp 7634 variants will be removed from LibreSSL. 7635 7636 ok hshoexer jsing 7637 7638 OpenBSD-Commit-ID: ecedca0e1ffa80e0c9ef7c787bc6a972882c596b 7639 7640commit 17003b9f1cd7b7bf1f52493cc4a1ab95727c3ed7 7641Author: djm@openbsd.org <djm@openbsd.org> 7642Date: Fri May 9 02:42:03 2025 +0000 7643 7644 upstream: make the progress-meter code safe against being called 7645 7646 when not initialised; spotted by tb@ feedback/ok tb@ deraadt@ 7647 7648 OpenBSD-Commit-ID: a9fda1ee08a24c62e0981ff6d15ca93b63467038 7649 7650commit 2d023e7a95d673e93ccc1978bf8931f7335b2b53 7651Author: tedu@openbsd.org <tedu@openbsd.org> 7652Date: Thu May 8 17:32:53 2025 +0000 7653 7654 upstream: convert a last quad_t to int64_t. ok deraadt djm 7655 7656 OpenBSD-Commit-ID: 1c9e01ba1a9ccf442a9cdf10f222077f66885f1f 7657 7658commit fc8c56ade809f66f7df4b5153a4d92593631c12a 7659Author: Darren Tucker <dtucker@dtucker.net> 7660Date: Tue May 20 15:01:29 2025 +1000 7661 7662 Set runner pasword to random string. 7663 7664 The most recent version of the Github ubuntu-latest image sets the 7665 password field to "!" which sshd considers to be a locked account, 7666 breaking most of the tests. 7667 7668commit c404686c17daeda7e95ca6fc14c8a4a570cf975d 7669Author: Darren Tucker <dtucker@dtucker.net> 7670Date: Sun May 11 22:54:13 2025 +1000 7671 7672 Debug log for why an account is considered locked. 7673 7674commit ee1d31781cf0d292a50b4df4cb8cb6ffcbfbe9af 7675Author: Darren Tucker <dtucker@dtucker.net> 7676Date: Sun May 11 16:35:31 2025 +1000 7677 7678 Move debug log output into separate workflow step. 7679 7680 Should reduce the need to scroll back to find out which test actually 7681 failed. 7682 7683commit ddfb78a15f57a33427d462b9c401de5c8e6799da 7684Author: Darren Tucker <dtucker@dtucker.net> 7685Date: Sat May 10 21:48:06 2025 +1000 7686 7687 Skip sftp-perm on Cygwin too. 7688 7689commit 8846caccb86b3f5a4f1c10bfffcc9cf1adc17925 7690Author: Darren Tucker <dtucker@dtucker.net> 7691Date: Sat May 10 10:23:30 2025 +1000 7692 7693 Remove CYGWIN binmode as it's now obsolete. 7694 7695commit cf795d55437e6c1ffe85e90e0fae00e885e50036 7696Author: Darren Tucker <dtucker@dtucker.net> 7697Date: Sat May 10 09:25:18 2025 +1000 7698 7699 Also skip sftp-cmds test on Cygwin. 7700 7701 Fails at the hardlink step. 7702 7703commit d1b28639c1cb382943bd92c68992ea74af9b5773 7704Author: Darren Tucker <dtucker@dtucker.net> 7705Date: Sat May 10 08:52:11 2025 +1000 7706 7707 Tell Cygwin to use native symlinks. 7708 7709commit 56782dad7d7f96b4943951227515bd7904ac3cf7 7710Author: Darren Tucker <dtucker@dtucker.net> 7711Date: Sat May 10 08:26:37 2025 +1000 7712 7713 Skip keygen-knownhost test on Cygwin. 7714 7715 It fails but at this time it's not clear why. 7716 7717commit d5cbac2364b03e55b733a2422a07e78e16d2a118 7718Author: Darren Tucker <dtucker@dtucker.net> 7719Date: Sat May 10 07:59:44 2025 +1000 7720 7721 Pass Cygwin setup location to CI setup. 7722 7723 (instead of hard coding it, wrongly). 7724 7725commit 82f1f52c5582f005761e4e200c279ddd9c6781e4 7726Author: Darren Tucker <dtucker@dtucker.net> 7727Date: Sat May 10 06:37:24 2025 +1000 7728 7729 Add RUN_ONLY_TEST to limit which tests are run. 7730 7731 For testing, you can set the repo variable RUN_ONLY_TEST in your repo 7732 (Repo -> Settings -> Security -> Actions -> Variables) to run only that test. 7733 7734commit 140ba45895de8ebfb3e2517b0ddee58729979c29 7735Author: Darren Tucker <dtucker@dtucker.net> 7736Date: Fri May 9 19:32:06 2025 +1000 7737 7738 Move misc-agent.o to LIBSSH_OBJS. 7739 7740 It's needed by the fuzzer. 7741 7742commit 3357bf2fe2d11b6ed4465c1ed2871bd1099cbbc5 7743Author: Darren Tucker <dtucker@dtucker.net> 7744Date: Fri May 9 19:08:36 2025 +1000 7745 7746 Put PRIV_ECDSA back, it's still used. 7747 7748 Should fix oss-fuzz test. 7749 7750commit f5726215957bb34e18bb872d527845c2f64e2389 7751Author: Darren Tucker <dtucker@dtucker.net> 7752Date: Thu May 8 18:56:39 2025 +1000 7753 7754 Since it's unused, make dirfd() take void *. 7755 7756 Some platforms (eg Old BSDs) in some configurations define DIR to "void 7757 *", which causes compile errors in the no-op implementation. 7758 7759commit 1511f113a27d8aafe080aa6493cb3c0cf2b5abe0 7760Author: Darren Tucker <dtucker@dtucker.net> 7761Date: Thu May 8 11:38:24 2025 +1000 7762 7763 Add no-op implmentation of dirfd(). 7764 7765 Fixes build on pre-POSIX.1 2008 systems. 7766 7767commit 086369736a9496b39af0d9f09443fa81b59b7f05 7768Author: Daniel Kahn Gillmor <dkg@fifthhorseman.net> 7769Date: Wed Apr 16 10:18:34 2025 +1000 7770 7771 ssh-agent: exit 0 from SIGTERM under systemd socket-activation 7772 7773 When the ssh-agent service is configured to be launched under systemd 7774 socket-activation, the user can inspect the status of the agent with 7775 something like: 7776 7777 systemctl --user status ssh-agent.service 7778 7779 If the user does: 7780 7781 systemctl --user stop ssh-agent.service 7782 7783 it causes the `systemd --user` supervisor to send a SIGTERM to the 7784 agent, which terminates while leaving the systemd-managed socket in 7785 place. That's good, and as expected. (If the user wants to close the 7786 socket, they can do "systemctl --user stop ssh-agent.socket" instead) 7787 7788 But because ssh-agent exits with code 2 in response to a SIGTERM, the 7789 supervisor marks the service as "failed", even though the state of the 7790 supervised service is exactly the same as during session startup (not 7791 running, ready to launch when a client connects to the socket). 7792 7793 This change makes ssh-agent exit cleanly (code 0) in response to a 7794 SIGTERM when launched under socket activation. This aligns the systemd 7795 supervisor's understanding of the state of supervised ssh-agent with 7796 reality. 7797 7798 Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net> 7799 7800commit 755c3d082e59e6884f28d30e6333a1444e9173d1 7801Author: Darren Tucker <dtucker@dtucker.net> 7802Date: Wed May 7 21:05:06 2025 +1000 7803 7804 Skip d_type check on platforms that don't have it. 7805 7806 On those, the subsequent stat() should catch the sockets. 7807 7808commit 207289a5663bdf49903e1aeb938dcc0924e2ac63 7809Author: dtucker@openbsd.org <dtucker@openbsd.org> 7810Date: Wed May 7 10:44:26 2025 +0000 7811 7812 upstream: Rename sockaddr_un sun -> sunaddr. 7813 7814 This makes things easier in -portable, where on Solaris an derivatives 7815 "sun" is defined to "1", causing compilation errors. ok deraadt@. 7816 7817 OpenBSD-Commit-ID: 0669043afb49856b57b382f0489221bd98305d3b 7818 7819commit 7cc8e150d51a4545b86d996692b541419b35d1a3 7820Author: djm@openbsd.org <djm@openbsd.org> 7821Date: Tue May 6 06:05:48 2025 +0000 7822 7823 upstream: remove DSA from the regression/unit test suite too. 7824 7825 OpenBSD-Regress-ID: 4424d2eaf0bce3887318ef6d18de6c06f3617d6e 7826 7827commit 0404fa799746c283325a463c363436eb152daefc 7828Author: djm@openbsd.org <djm@openbsd.org> 7829Date: Tue Apr 15 05:31:24 2025 +0000 7830 7831 upstream: another missing ifdef 7832 7833 OpenBSD-Regress-ID: 4f71f8f122eac4cbf7f1d2088a9be45317dd3e4a 7834 7835commit c5dbbe8805caaee132545ab4cffd3b2221e80975 7836Author: djm@openbsd.org <djm@openbsd.org> 7837Date: Tue Apr 15 05:00:13 2025 +0000 7838 7839 upstream: missing ifdef 7840 7841 OpenBSD-Regress-ID: 7260fb672de5738c17dec06c71a5be0186bb2b09 7842 7843commit 93e904a673a632604525fdc98b940b7996f1ce54 7844Author: djm@openbsd.org <djm@openbsd.org> 7845Date: Wed May 7 04:10:21 2025 +0000 7846 7847 upstream: memory leak on error path; bz3821 7848 7849 OpenBSD-Commit-ID: 65577596a15ad6dd9a1ab3fc24c1c31303ee6e2b 7850 7851commit 55b38ff4d7286c8fac2a472da664462e0f2d75e0 7852Author: deraadt@openbsd.org <deraadt@openbsd.org> 7853Date: Tue May 6 15:15:05 2025 +0000 7854 7855 upstream: test ssh-agent with the -T flag to force the old /tmp 7856 7857 location rather than inside the homedir. During relink operation, 7858 /.ssh/agent was created which is surprising. This test sequence could use 7859 some improvement so this is a temporary fix. observed by florian, change ok 7860 semarie 7861 7862 OpenBSD-Commit-ID: c7246a6b519ac390ca550719f91acfdaef1fa0f0 7863 7864commit a32d28d792567253bb601362f36391f155f8f772 7865Author: djm@openbsd.org <djm@openbsd.org> 7866Date: Tue May 6 05:40:56 2025 +0000 7867 7868 upstream: finally remove DSA signature support from OpenSSH. 7869 7870 feedback/ok tb@, ok deraadt@ 7871 7872 OpenBSD-Commit-ID: bfe6ee73c1b676c81a2901030c791f8ec888228f 7873 7874commit 928f8dcc1bb622c25be409c34374b655d0149373 7875Author: djm@openbsd.org <djm@openbsd.org> 7876Date: Mon May 5 05:51:11 2025 +0000 7877 7878 upstream: Now that there's an I-D for certificate keys, refer to 7879 7880 that instead of the much more basic format description we had previously. 7881 7882 OpenBSD-Commit-ID: cf01e0727a813fee8626ad7b3aa240621cc92014 7883 7884commit fe883543bece18c975fa53aa02104f0433645d99 7885Author: jmc@openbsd.org <jmc@openbsd.org> 7886Date: Mon May 5 05:47:28 2025 +0000 7887 7888 upstream: - add full stop to the text in -a - move the -U and -u 7889 7890 text to the correct place 7891 7892 OpenBSD-Commit-ID: 2fb484337a0978c703f61983bb14bc5cbaf898c2 7893 7894commit 5fd6ef297dec23e3574646b6334087131230d0a6 7895Author: Darren Tucker <dtucker@dtucker.net> 7896Date: Tue May 6 19:01:00 2025 +1000 7897 7898 Add minimal implementations of fstatat and unlinkat. 7899 7900 Fixes build on some pre-POSIX.1-2008 platforms. 7901 7902commit d2480827b3ef6ec119965822afdff35d734b2dee 7903Author: Darren Tucker <dtucker@dtucker.net> 7904Date: Tue May 6 08:15:34 2025 +1000 7905 7906 New location of cygwin setup. 7907 7908commit 57eb87b15bd0343372f99d661ce95efb25a16f1e 7909Author: Darren Tucker <dtucker@dtucker.net> 7910Date: Tue May 6 08:07:23 2025 +1000 7911 7912 Boringssl now puts libcrypto in a different place. 7913 7914commit 61525ba967ac1bb7394ea0792aa6030bcbbad049 7915Author: Darren Tucker <dtucker@dtucker.net> 7916Date: Mon May 5 20:45:42 2025 +1000 7917 7918 Handle systems that don't have st_mtim. 7919 7920 Ignores nanoseconds, but it's checking for >1h old so a few nanoseconds 7921 shouldn't matter much. Fixes build on Mac OS X. 7922 7923commit 27861e9b15151898841097c14ee974c026093131 7924Author: Darren Tucker <dtucker@dtucker.net> 7925Date: Mon May 5 19:09:25 2025 +1000 7926 7927 Supply timespecsub if needed. 7928 7929commit 7c0e6626e4be53efcfbb92f0c6382a76f1138e38 7930Author: Darren Tucker <dtucker@dtucker.net> 7931Date: Mon May 5 19:08:48 2025 +1000 7932 7933 includes.h for compat, time.h for clock_gettime. 7934 7935commit 7a7cc3cf721fe7fe9f4925d92bb7c694b8550a7f 7936Author: Darren Tucker <dtucker@dtucker.net> 7937Date: Mon May 5 18:51:34 2025 +1000 7938 7939 Cygwin install in back on D: 7940 7941commit 6ab8133c067a8e91ba69ce7ca04f95b50f2f2d7b 7942Author: Damien Miller <djm@mindrot.org> 7943Date: Mon May 5 14:59:30 2025 +1000 7944 7945 depend 7946 7947commit 12912429cf39cfeca97dd18a8f875ad9824d1751 7948Author: djm@openbsd.org <djm@openbsd.org> 7949Date: Mon May 5 03:35:06 2025 +0000 7950 7951 upstream: missing file in previous commit 7952 7953 OpenBSD-Commit-ID: e526c97fcb2fd9f0b7b229720972426ab437d7eb 7954 7955commit 80162f9d7e7eadca4ffd0bd1c015d38cb1821ab6 7956Author: djm@openbsd.org <djm@openbsd.org> 7957Date: Mon May 5 02:48:06 2025 +0000 7958 7959 upstream: Move agent listener sockets from /tmp to under 7960 7961 ~/.ssh/agent for both ssh-agent(1) and forwarded sockets in sshd(8). 7962 7963 This ensures processes (such as Firefox) that have restricted 7964 filesystem access that includes /tmp (via unveil(3)) do not have the 7965 ability to use keys in an agent. 7966 7967 Moving the default directory has the consequence that the OS will no 7968 longer clean up stale agent sockets, so ssh-agent now gains this 7969 ability. 7970 7971 To support $HOME on NFS, the socket path includes a truncated hash of 7972 the hostname. ssh-agent will by default only clean up sockets from 7973 the same hostname. 7974 7975 ssh-agent gains some new flags: -U suppresses the automatic cleanup 7976 of stale sockets when it starts. -u forces a cleanup without 7977 keeping a running agent, -uu forces a cleanup that ignores the 7978 hostname. -T makes ssh-agent put the socket back in /tmp. 7979 7980 feedback deraadt@ naddy@, doitdoitdoit deraadt@ 7981 7982 OpenBSD-Commit-ID: 8383dabd98092fe5498d5f7f15c7d314b03a93e1 7983 7984commit 566443b5f5d7bc4c5310313b4e46232760850c7a 7985Author: djm@openbsd.org <djm@openbsd.org> 7986Date: Mon May 5 02:40:30 2025 +0000 7987 7988 upstream: correct log messages; the reap function is used for more 7989 7990 than just the preauth process now 7991 7992 OpenBSD-Commit-ID: 768c5b674bd77802bb197c31dba78559f1174c02 7993 7994commit e048230106fb3f5e7cc07abc311c6feb5f52fd05 7995Author: djm@openbsd.org <djm@openbsd.org> 7996Date: Wed Apr 30 05:26:15 2025 +0000 7997 7998 upstream: make writing known_hosts lines more atomic, by writing 7999 8000 the entire line in one operation and using unbuffered stdio. 8001 8002 Usually writes to this file are serialised on the "Are you sure you 8003 want to continue connecting?" prompt, but if host key checking is 8004 disabled and connections were being made with high concurrency 8005 then interleaved writes might have been possible. 8006 8007 feedback/ok deraadt@ millert@ 8008 8009 OpenBSD-Commit-ID: d11222b49dabe5cfe0937b49cb439ba3d4847b08 8010 8011commit c991273c18afc490313a9f282383eaf59d9c13b9 8012Author: djm@openbsd.org <djm@openbsd.org> 8013Date: Wed Apr 30 05:23:15 2025 +0000 8014 8015 upstream: fix a out-of-bounds read if the known_hosts file is 8016 8017 truncated after the hostname. 8018 8019 Reported by the OpenAI Security Research Team 8020 8021 ok deraadt@ 8022 8023 OpenBSD-Commit-ID: c0b516d7c80c4779a403826f73bcd8adbbc54ebd 8024 8025commit b5b405fee7f3e79d44e2d2971a4b6b4cc53f112e 8026Author: Darren Tucker <dtucker@dtucker.net> 8027Date: Sun Apr 20 09:07:57 2025 +1000 8028 8029 Set Windows permssions on regress dir. 8030 8031 Prevents "unprotected private key file" error when running tests. 8032 8033commit 76631fdd04824c3e50ea6551d3611b1fe0216a41 8034Author: Darren Tucker <dtucker@dtucker.net> 8035Date: Fri Apr 18 08:18:52 2025 +1000 8036 8037 Add 10.0 branch to test status page. 8038 8039commit c627b468d3b99e487e2b24c90958ae57e633d681 8040Author: Darren Tucker <dtucker@dtucker.net> 8041Date: Fri Apr 18 08:14:16 2025 +1000 8042 8043 cygwin-install-action now puts setup.exe on D: 8044 8045commit 52bddbc1a7f53a1e5c871767913648eb639ac6d5 8046Author: Darren Tucker <dtucker@dtucker.net> 8047Date: Fri Apr 18 08:10:32 2025 +1000 8048 8049 Include time.h for clock_gettime(). 8050 8051commit 9b50cb171b5c56184ce6fa3994ce62f9882d2daf 8052Author: Darren Tucker <dtucker@dtucker.net> 8053Date: Thu Apr 17 16:51:14 2025 +1000 8054 8055 Add includes.h for new tests. 8056 8057 Fixes builds on older platforms. 8058 8059commit 46e52fdae08b89264a0b23f94391c2bf637def34 8060Author: Darren Tucker <dtucker@dtucker.net> 8061Date: Wed Apr 16 22:29:17 2025 +1000 8062 8063 Provide INFINITY if it's not provided. 8064 8065 INFINITY is specified in c99, so define if not provided. 8066 8067commit 849c2fd894aa87a7e40c71e8d5bda5392b1205be 8068Author: Darren Tucker <dtucker@dtucker.net> 8069Date: Tue Apr 15 21:58:49 2025 +1000 8070 8071 Look for sqrt(), possibly in libm. 8072 8073 The unit tests now use sqrt(), which in some platforms (notably 8074 DragonFlyBSD and Solaris) is not in libc but rather libm. Since only 8075 the unit tests use this, add TESTLIBS and if necessary put libm in it. 8076 8077commit 1ec5b39f1f673beac039bb42c98a11aa2b08a0b2 8078Author: dtucker@openbsd.org <dtucker@openbsd.org> 8079Date: Tue Apr 15 09:22:25 2025 +0000 8080 8081 upstream: Cast signalled_keydrop to int when logging to prevent warning 8082 8083 on platforms where sig_atomic_t is not the same as int. bz#3811, patch from 8084 jlduran at gmail com. 8085 8086 OpenBSD-Commit-ID: b6bc9e9006e7f81ade57d41a48623a4323deca6c 8087 8088commit f3d465530e75cb6c02e2cde1d15e6c4bb51ebfd9 8089Author: djm@openbsd.org <djm@openbsd.org> 8090Date: Tue Apr 15 04:00:42 2025 +0000 8091 8092 upstream: basic benchmarking support for the unit test framework enable 8093 8094 with "make UNITTEST_BENCHMARK=yes" 8095 8096 ok dtucker@ 8097 8098 OpenBSD-Regress-ID: 7f16a2e247f860897ca46ff87bccbe6002a32564 8099 8100commit 609fe2cae2459d721ac11d23cd27b8a94397ef3c 8101Author: jmc@openbsd.org <jmc@openbsd.org> 8102Date: Mon Apr 14 05:41:42 2025 +0000 8103 8104 upstream: rework the text for -3 to make it clearer what default 8105 8106 behaviour is, and adjust the text for -R to make them more consistent; 8107 8108 issue raised by mikhail mp39590; 8109 behaviour explained by naddy 8110 8111 ok djm 8112 8113 OpenBSD-Commit-ID: 15ff3bd1518d86c84fa8e91d7aa72cfdb41dccc8 8114 8115commit 8725dbc5b5fcc3e326fc71189ef8dba4333362cc 8116Author: Damien Miller <djm@mindrot.org> 8117Date: Wed Apr 9 17:02:17 2025 +1000 8118 8119 update version numbers 8120 8121commit cc7feb9458ad3b893b53dc9c7500d1affd208bde 8122Author: djm@openbsd.org <djm@openbsd.org> 8123Date: Wed Apr 9 07:00:21 2025 +0000 8124 8125 upstream: openssh-10.0 8126 8127 OpenBSD-Commit-ID: db5b4a1f1c9e988f8f166b56dc5643606294b403 8128 8129commit fc86875e6acb36401dfc1dfb6b628a9d1460f367 8130Author: djm@openbsd.org <djm@openbsd.org> 8131Date: Wed Apr 9 07:00:03 2025 +0000 8132 8133 upstream: Fix logic error in DisableForwarding option. This option 8134 8135 was documented as disabling X11 and agent forwarding but it failed to do so. 8136 Spotted by Tim Rice. 8137 8138 OpenBSD-Commit-ID: fffc89195968f7eedd2fc57f0b1f1ef3193f5ed1 8139 8140commit dd73459e351b0a2908aed90910c8ff9b0b381c6d 8141Author: djm@openbsd.org <djm@openbsd.org> 8142Date: Wed Apr 9 01:24:40 2025 +0000 8143 8144 upstream: oops, I accidentally backed out the typo fix 8145 8146 OpenBSD-Commit-ID: f485f79bf3e9ebbe1de13ac96150cf458956cfd8 8147 8148commit 0cb945891944bada5850e85d60afa3c807cf1af6 8149Author: djm@openbsd.org <djm@openbsd.org> 8150Date: Wed Apr 9 01:23:47 2025 +0000 8151 8152 upstream: typo 8153 8154 OpenBSD-Commit-ID: f912725c7d303720706b3ccfb2cb846d46296d13 8155 8156commit cd4a6bd50b658d707867caa1f5aa40b35c2b6c19 8157Author: Damien Miller <djm@mindrot.org> 8158Date: Wed Apr 9 09:49:55 2025 +1000 8159 8160 initialise websafe_allowlist in agent fuzzer 8161 8162commit 55b7cb48af96c1102ef8ab5a73bb329cbed30945 8163Author: djm@openbsd.org <djm@openbsd.org> 8164Date: Tue Apr 8 23:10:46 2025 +0000 8165 8166 upstream: typo 8167 8168 OpenBSD-Regress-ID: 08477b936d1d0c1e8a98aa1c0e1bdde8871894c9 8169 8170commit 985d8cbcd3438cc36b4e709476f1783e358ddfb1 8171Author: djm@openbsd.org <djm@openbsd.org> 8172Date: Tue Apr 8 23:10:08 2025 +0000 8173 8174 upstream: typo 8175 8176 OpenBSD-Commit-ID: 6e683e13e72bf1e43bbd3bbc6a8332d5a98bdc99 8177 8178commit 000c3d14e94d8f7597087c457260ea9417045b65 8179Author: dtucker@openbsd.org <dtucker@openbsd.org> 8180Date: Mon Apr 7 08:12:22 2025 +0000 8181 8182 upstream: Include time.h for time(). 8183 8184 Fixes warning on some platforms when building without openssl. 8185 8186 OpenBSD-Commit-ID: 04ca29b8eaae1860c7adde3e770baa1866e30a54 8187 8188commit 49b8b9bf829e08af22366530614a5e59ac341ca9 8189Author: tb@openbsd.org <tb@openbsd.org> 8190Date: Wed Apr 2 04:28:03 2025 +0000 8191 8192 upstream: Wrap #include <openssl/dsa.h> in #ifdef WITH_DSA 8193 8194 ok djm 8195 8196 OpenBSD-Commit-ID: ed01a7c102243f84e4a317aefb431916d98aab15 8197 8198commit f80fb819e5521e13f167edbcc3eed66e22ad0c2a 8199Author: Damien Miller <djm@mindrot.org> 8200Date: Thu Apr 3 09:10:19 2025 +1100 8201 8202 remove all instances of -pie from LDFLAGS 8203 8204 Previously only the first instance of this flag was removed. 8205 Unbreaks build on OpenSUSE Tumbleweed. Patch from Antonio Larrosa 8206 8207commit 6c9872faa1c297a84c6d3e3b95a927be99eadbf6 8208Author: djm@openbsd.org <djm@openbsd.org> 8209Date: Tue Apr 1 23:23:20 2025 +0000 8210 8211 upstream: remove ability to enable DSA support. Actual code will be 8212 8213 g/c'd separately. ok deraadt@ 8214 8215 OpenBSD-Commit-ID: 2a032b75156c4d922e8343fa97ff6bc227f09819 8216 8217commit 8460aaa4e1f8680f03cc5334556b9440b401f010 8218Author: dtucker@openbsd.org <dtucker@openbsd.org> 8219Date: Fri Mar 28 21:45:55 2025 +0000 8220 8221 upstream: Add TEST_SSH_SSHD_ENV to sshd lines here too. 8222 8223 OpenBSD-Regress-ID: 045f2c88b42d694b404db51c5de5eca20d748ff1 8224 8225commit 5e60f5937b9c33190b9d7614f72d85d4a9b38d3d 8226Author: dtucker@openbsd.org <dtucker@openbsd.org> 8227Date: Fri Mar 28 06:04:07 2025 +0000 8228 8229 upstream: Pass "ControlMaster no" to ssh when invoked by scp & sftp. 8230 8231 If you have ControlMaster auto (or yes) in your config, and the 8232 first connection you make is via scp or sftp, then you may get a 8233 few unexpected options applied to it (eg ForwardX11 no), since sftp 8234 and sftp explicitly disable those for reasons. These effects will 8235 persist beyond the initial scp or sftp command. 8236 8237 This explicitly disables persistent session *creation* by scp and sftp. 8238 It will not prevent them from using an existing session if one has 8239 already been created. 8240 8241 From Github PR#557, ok djm@ kn@ 8242 8243 OpenBSD-Commit-ID: 9dad7c737466837e0150c4318920f46d844770c4 8244 8245commit bbd36869dfb4b770cc9e6a345c04a585a0955aec 8246Author: dtucker@openbsd.org <dtucker@openbsd.org> 8247Date: Fri Mar 28 05:41:15 2025 +0000 8248 8249 upstream: Set sshd environment variables during sshd test run too. 8250 8251 OpenBSD-Regress-ID: 50cb325d92c390a2909662c901f6ac5d80b6f74d 8252 8253commit 98f05b1484daddef2f56b79e24540523b5016143 8254Author: dtucker@openbsd.org <dtucker@openbsd.org> 8255Date: Fri Mar 28 05:36:24 2025 +0000 8256 8257 upstream: Add TEST_SSH_SSHD_ENV variable which is added to sshd's 8258 8259 environment. Will be used in Portable to tweak behaviour of tcmalloc's 8260 debugging. 8261 8262 OpenBSD-Regress-ID: 67e38c3c4517ddb72c8a3549a3325a166d7bb6d6 8263 8264commit 8cd9ed4df0eccc825eca0c45354a37332e125e38 8265Author: dtucker@openbsd.org <dtucker@openbsd.org> 8266Date: Fri Mar 28 05:33:30 2025 +0000 8267 8268 upstream: chown log directory in addition to log files. 8269 8270 OpenBSD-Regress-ID: b520d54a0bbf2c6554413c798218bda26b385ad9 8271 8272commit e32de6bf4f3229d4838beb127de45eed1377ccc5 8273Author: Darren Tucker <dtucker@dtucker.net> 8274Date: Fri Mar 28 16:47:58 2025 +1100 8275 8276 Be explicit about environment variables for tests. 8277 8278 This will make it easier to reproduce a test failure by cut-and-paste of 8279 the corresponding line from the github log. 8280 8281commit 77a3e6ba47381547b3fe4b29223256f276fbd07e 8282Author: Darren Tucker <dtucker@dtucker.net> 8283Date: Fri Mar 28 16:46:40 2025 +1100 8284 8285 Add tcmalloc flags to TEST_SSH_SSHD_ENV. 8286 8287 This will get passed to sshd via test-exec.sh. 8288 8289commit a73890e340fbd6121251854b658a72d738b86c84 8290Author: Darren Tucker <dtucker@dtucker.net> 8291Date: Thu Mar 27 23:04:44 2025 +1100 8292 8293 Add PuTTY 0.81, 0.82 and 0.83 to tests. 8294 8295commit 90a28de0d49570324d1695c0b4686354ef3bcae0 8296Author: Darren Tucker <dtucker@dtucker.net> 8297Date: Thu Mar 27 22:30:40 2025 +1100 8298 8299 Include TCMALLOC_STACKTRACE_METHOD in output. 8300 8301 If TCMALLOC_STACKTRACE_METHOD happens to be set, include it in the debug 8302 output to make reproducing test cases easier. 8303 8304commit fd5a6bb6dd7657c4bd8cd0ee11d5c8ddf0d927b2 8305Author: Darren Tucker <dtucker@dtucker.net> 8306Date: Thu Mar 27 20:15:11 2025 +1100 8307 8308 Test with-linux-memlock-onfault in kitchensink. 8309 8310commit 22330711e2459c23d9736ee16e0e2ee0fcc30b9a 8311Author: Collin Funk <collin.funk1@gmail.com> 8312Date: Wed Mar 26 18:24:59 2025 -0700 8313 8314 Include fcntl.h so AT_FDCWD does not get redefined. 8315 8316commit 6c49e5f7dcaf886b4a702a6c003cae9dca04d3ea 8317Author: Daniil Tatianin <d-tatianin@yandex-team.ru> 8318Date: Thu Feb 27 11:37:13 2025 +0300 8319 8320 Add support for locking memory on Linux 8321 8322 Linux wakes up kcompactd threads in order to make more contiguous memory 8323 available on the system, it does this by migrating live movable pages 8324 (actively modifying live processes' page tables and constantly flooding 8325 them with page invalidation IPIs, which can be up to millions per 8326 second), which causes the process to become unresponsive for up to 8327 seconds or even minutes in some severe cases. In case of sshd, we want 8328 to always be able to connect to the system, even if it's under heavy 8329 kcompactd load. 8330 8331 Introduce an option to protect sshd and its children sessions from being 8332 compacted by kcompactd (this works in cojunction with 8333 compact_unevictable_allowed = 0). Note that we depend on MCL_ONFAULT 8334 being available, which was introduced in linux 4.4. MCL_ONFAULT allows 8335 the system to lock pages lazily, thus drastically reducing memory usage 8336 of a locked process (without MCL_ONFAULT, every existing mapping in the 8337 process is instantly write-faulted). 8338 8339commit fdc4853c5b1567934d43ab13282f03033cc21325 8340Author: Daniil Tatianin <d-tatianin@yandex-team.ru> 8341Date: Thu Feb 27 11:46:25 2025 +0300 8342 8343 platform: introduce a way to hook new session start 8344 8345 Previously this was possible via post_fork_child, but ever since sshd 8346 was split into multiple binaries, this is now no longer possible becase 8347 of execv. 8348 8349commit 1b311b6b17be81577514c38e8be4f5740d7df496 8350Author: dtucker@openbsd.org <dtucker@openbsd.org> 8351Date: Wed Mar 19 06:11:15 2025 +0000 8352 8353 upstream: Prevent theoretical NULL deref in throughlocal_sftp. 8354 8355 Coverity CID 405019, although at the moment it's not reachable. ok djm@ 8356 8357 OpenBSD-Commit-ID: 630d46c1021b69fbb470e349976c70e9a48b7644 8358 8359commit 96493ebd6ff48bbb802576e208794a26928569b0 8360Author: Darren Tucker <dtucker@dtucker.net> 8361Date: Wed Mar 19 17:35:10 2025 +1100 8362 8363 Fix workflow syntax again. 8364 8365commit 575c43fd4c44d376b1771c0fdaf4941021ba88c9 8366Author: Darren Tucker <dtucker@dtucker.net> 8367Date: Tue Mar 18 20:54:48 2025 +1100 8368 8369 Differentiate logfiles better. 8370 8371commit 8a1294638f3a47d46263ea574fa85c8e115ea893 8372Author: Darren Tucker <dtucker@dtucker.net> 8373Date: Tue Mar 18 20:27:46 2025 +1100 8374 8375 Fix another typo in workflow. 8376 8377commit bd9e6bbcc864b3e10c4e11f5aec1b3a5e3a89b55 8378Author: Darren Tucker <dtucker@dtucker.net> 8379Date: Tue Mar 18 18:16:12 2025 +1100 8380 8381 Fix syntax error in workflow. 8382 8383commit ce88a1bb4a2e6425752094f7a2eb4adfb0ca7971 8384Author: Darren Tucker <dtucker@dtucker.net> 8385Date: Tue Mar 18 18:13:14 2025 +1100 8386 8387 Identify each logfile while printing them. 8388 8389commit b58e429960c4791fc4e30bb7c70d1f77d538b546 8390Author: djm@openbsd.org <djm@openbsd.org> 8391Date: Tue Mar 18 04:53:14 2025 +0000 8392 8393 upstream: fix NULL dereference for Match conditions missing 8394 8395 arguments, e.g. "Match user". Spotted by Coverity (CID 477813) 8396 8397 OpenBSD-Commit-ID: 13584281cfa23b8ebc41f9d128a6b9464ae960d4 8398 8399commit 0ce5281f017c3ad7bdcc2bbd9745119a73e0cbb8 8400Author: tb@openbsd.org <tb@openbsd.org> 8401Date: Fri Mar 14 09:49:49 2025 +0000 8402 8403 upstream: Fix EVP_CIPHER_CTX_ctrl() return checks 8404 8405 While this API tries to translate negative return values (i.e. -1) to 0 8406 in BoringSSL and LibreSSL, it is still possible for it to return negative 8407 values in prinicple. We even incorrectly document that -1 can be returned 8408 while Boring and OpenSSL plead the Fifth. 8409 8410 In OpenSSL 3 there are now code paths that explicitly return -1 and they 8411 started shifting their return checks to <= 0 - of course they do this in 8412 inconsistent and sometimes incorrect manner. While these paths aren't 8413 reachable from ssh right now, who can really tell what happens in the two 8414 hundred lines of inscrutable bloated mess this has become. 8415 8416 So error check with <= 0 to ensure that we don't accidentally translate an 8417 error to success. 8418 8419 ok markus schwarze 8420 8421 OpenBSD-Commit-ID: a855c833cf4ecfce43bedc761f26ad924f70483c 8422 8423commit 2e81100763d5885e500f065b04c16ed87ce74318 8424Author: Darren Tucker <dtucker@dtucker.net> 8425Date: Mon Mar 17 21:35:55 2025 +1100 8426 8427 Fix debug log path. 8428 8429commit 442a44970179d70ebb62bba792699eaec978a1db 8430Author: Darren Tucker <dtucker@dtucker.net> 8431Date: Fri Mar 14 16:24:06 2025 +1100 8432 8433 Also lazily unmount workspace in case of straggers. 8434 8435commit 20427f6735fe5ddab31911ce5315adc71acf47d8 8436Author: Darren Tucker <dtucker@dtucker.net> 8437Date: Fri Mar 14 16:17:39 2025 +1100 8438 8439 Make sure upstream tests run on correct hardware. 8440 8441commit 91a2f70a56827ae31649baf17227b0914ac5aa36 8442Author: Darren Tucker <dtucker@dtucker.net> 8443Date: Fri Mar 14 13:47:27 2025 +1100 8444 8445 Add OpenBSD upstream test on obsdsnap-arm64. 8446 8447commit c20f7413525602b0ea786d8974d03a81f7ca2a92 8448Author: Damien Miller <djm@mindrot.org> 8449Date: Thu Mar 13 10:45:53 2025 +1100 8450 8451 rebuild .depend 8452 8453commit d47ef958b89c6fa809302d654009d3dfabe11b75 8454Author: djm@openbsd.org <djm@openbsd.org> 8455Date: Wed Mar 12 22:43:44 2025 +0000 8456 8457 upstream: remove assumption that the sshd_config and any configs 8458 8459 included from it can fit in a (possibly enlarged) socket buffer, by having 8460 the sshd listener mainloop actively manage sending the configuration to the 8461 sshd-session subprocess. 8462 8463 work by markus@ w/ a little feedback from me; 8464 ok me and committing on his behalf 8465 8466 OpenBSD-Commit-ID: 8f54451483f64951853074adb76bc4f838eaf3ae 8467 8468commit 9c90b563943c16418d737433ac478974b8761ee5 8469Author: dtucker@openbsd.org <dtucker@openbsd.org> 8470Date: Tue Mar 11 11:46:44 2025 +0000 8471 8472 upstream: Prime caches for DNS names needed for tests. 8473 8474 When running the SSHFP tests, particularly on an ephemeral VM, the first 8475 query or two can fail for some reason, presumably because something isn't 8476 fully initialized or something. To work around this, issue queries for the 8477 names we'll need before we need them. 8478 8479 OpenBSD-Regress-ID: 900841133540e7dead253407db5a874a6ed09eca 8480 8481commit 10124eefe875a3e4e1cfb84ebe6a613ed3213b78 8482Author: dtucker@openbsd.org <dtucker@openbsd.org> 8483Date: Tue Mar 11 09:06:50 2025 +0000 8484 8485 upstream: Some dd's don't understand "1m", so handle seperately. 8486 8487 OpenBSD-Regress-ID: 1d983b27c96f28f69d3a288c19e8d8c58e1b2ee3 8488 8489commit c21c8fc319376c2f5e0da166e9e89a97a245ae72 8490Author: Darren Tucker <dtucker@dtucker.net> 8491Date: Tue Mar 11 19:17:46 2025 +1100 8492 8493 Lazily unmount github workspace at end of workflow. 8494 8495 Sometimes when a test times out the workspace is still busy when we try 8496 to unmount it, which leaves the runner unusable until it's cleaned up 8497 manually. We try to unmount this in the first step, but that usually 8498 doesn't work since it fails during setup before it starts our workflow. 8499 Move it to the end and make it a lazy unmount so it hopefully works 8500 eventually. 8501 8502commit 4bcbac742968f5086cfd4c570a51de25ef77931f 8503Author: dtucker@openbsd.org <dtucker@openbsd.org> 8504Date: Tue Mar 11 07:50:20 2025 +0000 8505 8506 upstream: Add regress test for sftp resume. 8507 8508 OpenBSD-Regress-ID: 37f629b3014338fa23a85df1e1bb320ea12282e1 8509 8510commit e2c4f070b43a4fd7d59a9350e2fe78df605830b5 8511Author: dtucker@openbsd.org <dtucker@openbsd.org> 8512Date: Tue Mar 11 07:46:02 2025 +0000 8513 8514 upstream: Use ssh binary instead of the (smaller) script when 8515 8516 preparing test data files since it's faster. 8517 8518 OpenBSD-Regress-ID: 4215e42682fdb73e131e10645d4a1a23a91d64f5 8519 8520commit 62f02e95ba5cda4649c482d30f4370e2360eb94d 8521Author: dtucker@openbsd.org <dtucker@openbsd.org> 8522Date: Tue Mar 11 07:43:45 2025 +0000 8523 8524 upstream: Set up dbclient's known_hosts as it expects. 8525 8526 OpenBSD-Regress-ID: 9e0898e8423237ce5023be53787bb4062e0d0418 8527 8528commit 395284bd52887dbaf7e78200c857d7f2d9ce398e 8529Author: dtucker@openbsd.org <dtucker@openbsd.org> 8530Date: Tue Mar 11 07:43:03 2025 +0000 8531 8532 upstream: Use $DBCLIENT to access dbclient for consistency. 8533 8534 OpenBSD-Regress-ID: 81e1b41e1ffc49aba1e6fcaeb6242f3b7875ea3c 8535 8536commit 97e10c0005a784622c61cb4e8bb7858b410bbcc6 8537Author: dtucker@openbsd.org <dtucker@openbsd.org> 8538Date: Tue Mar 11 07:42:08 2025 +0000 8539 8540 upstream: Check if dbclient supports SHA1 before trying SHA1-based 8541 8542 KEX. 8543 8544 Dropbear 2025.87 removed SHA1 support by default, which means 8545 diffie-hellman-group14-sha1 is not available. Unfortunately there isn't a 8546 flag to query supported KEX, so instead check MACs and if it doesn't have 8547 SHA1 methods, assuming SHA1 based KEXes are likewise not available. Spotted 8548 by anton@. 8549 8550 OpenBSD-Regress-ID: acfa8e26c001cb18b9fb81a27271c3b51288d304 8551 8552commit 29a5127f808d00aa539fd27d83a65c2c56179b0e 8553Author: dtucker@openbsd.org <dtucker@openbsd.org> 8554Date: Tue Mar 11 07:48:51 2025 +0000 8555 8556 upstream: Set highwater when resuming a "put". Prevents bogus "server 8557 8558 reordered acks" debug message. ok djm@ 8559 8560 OpenBSD-Commit-ID: aa7f6d0fc2e893c8c278ea3e6e0974c2eca83f5d 8561 8562commit 6575859d7acb110acf408707f98ed9744ca7d692 8563Author: dtucker@openbsd.org <dtucker@openbsd.org> 8564Date: Mon Mar 3 06:54:37 2025 +0000 8565 8566 upstream: Test for %-token and env var expansion in SetEnv. 8567 8568 OpenBSD-Regress-ID: bd6139a6177ac4afb29a0ce4afc23567b22ef9f9 8569 8570commit fd7ad8d7bf7dbdeb8f11a8b51aa9d31df1a17e52 8571Author: dtucker@openbsd.org <dtucker@openbsd.org> 8572Date: Sun Mar 2 07:41:06 2025 +0000 8573 8574 upstream: Also test User expansions when supplied via -l option and 8575 8576 user@host. 8577 8578 OpenBSD-Regress-ID: 56415859260b53ef0dd20f71225ba5fdf6320f50 8579 8580commit e6cfd783f1491b502db9322aa970822c63f1667d 8581Author: dtucker@openbsd.org <dtucker@openbsd.org> 8582Date: Sat Mar 1 06:12:47 2025 +0000 8583 8584 upstream: Tests for User expansion of %-tokens and environment 8585 8586 variables. 8587 8588 OpenBSD-Regress-ID: 7ed21dd0e09fb1f3537b8b177f171018aa501628 8589 8590commit 197e503b8e4b642ce0f405a5d65da4256fa96431 8591Author: djm@openbsd.org <djm@openbsd.org> 8592Date: Fri Dec 6 16:25:58 2024 +0000 8593 8594 upstream: use glob(3) wildcards in AuthorizedKeys/PrincipalsFile 8595 8596 tests to exercise this feature; ok dtucker 8597 8598 OpenBSD-Regress-ID: 7f7b19c0b05b1862cc6521ce61b2b301a3f9cc3b 8599 8600commit 396202180180a4ac16788d469508a348789dafa1 8601Author: djm@openbsd.org <djm@openbsd.org> 8602Date: Fri Dec 6 10:37:42 2024 +0000 8603 8604 upstream: implement attestation verification for ED25519 keys 8605 8606 OpenBSD-Regress-ID: c44fa5cdb434375a8b5545fdb4fc651061afca1f 8607 8608commit b49875428cda9c16c5bd52552100da2b419cda5f 8609Author: dtucker@openbsd.org <dtucker@openbsd.org> 8610Date: Mon Mar 3 06:53:09 2025 +0000 8611 8612 upstream: Add %-token and environment variable expansion to SetEnv. 8613 8614 feedback deraadt@ jmc@, nits and ok djm@ 8615 8616 OpenBSD-Commit-ID: 2f6e5070481cb73e6f35fd1c6608c1eeff88a5c1 8617 8618commit b6bba67e6c31d268480773e4fed16d0a32b4218e 8619Author: djm@openbsd.org <djm@openbsd.org> 8620Date: Sun Mar 2 22:44:00 2025 +0000 8621 8622 upstream: fix PerSourcePenalty incorrectly using "crash" penalty when 8623 8624 LoginGraceTime was exceeded. Reported by irwin AT princeton.edu via bz3797 8625 8626 OpenBSD-Commit-ID: 1ba3e490a5a9451359618c550d995380af454d25 8627 8628commit 38d69fee1b06948f160d94abd07b6b297630d30a 8629Author: Damien Miller <djm@mindrot.org> 8630Date: Sun Mar 2 22:06:53 2025 +1100 8631 8632 include __builtin_popcount replacement function 8633 8634 Some systems/compilers lack __builtin_popcount(), so replace it as 8635 necessary. Reported by Dennis Clarke; ok dtucker@ 8636 8637commit c94138d02a45dda5015f38f5a60b0bdde29019c1 8638Author: djm@openbsd.org <djm@openbsd.org> 8639Date: Sun Mar 2 11:03:13 2025 +0000 8640 8641 upstream: whitespace 8642 8643 OpenBSD-Commit-ID: 1bd8953a37451ef7e0991f9fceec5e8005fe986a 8644 8645commit 65d2c59628e68e166046efa69e76c1d395a8df6e 8646Author: dtucker@openbsd.org <dtucker@openbsd.org> 8647Date: Sun Mar 2 07:02:49 2025 +0000 8648 8649 upstream: Make a copy of the user when handling ssh -l, so that 8650 8651 later during User token expansion we don't end up freeing a member of argv. 8652 Spotted by anton@'s regress tests. 8653 8654 OpenBSD-Commit-ID: 2f671a4f5726b66d123b88b1fdd1a90581339955 8655 8656commit bd30cf784d6e825ef71592fb723c41d4f2fd407b 8657Author: dtucker@openbsd.org <dtucker@openbsd.org> 8658Date: Sat Mar 1 06:11:26 2025 +0000 8659 8660 upstream: Allow %-token and environment variable expansion in User, 8661 8662 with the exception of %r and %C which are self-referential. Requested in 8663 bz#3477, ok djm@, man page improvements jmc@ 8664 8665 OpenBSD-Commit-ID: caeb46251ee073662f6f5864c6f7b92d8ac80fa8 8666 8667commit 94f59dcfc57f95ae044f75c3ce544329c8956c35 8668Author: Darren Tucker <dtucker@dtucker.net> 8669Date: Sat Mar 1 10:28:59 2025 +1100 8670 8671 Rebuild config files if Makefile changes. 8672 8673 This ensures paths are updated if they are changed by re-running configure. 8674 Patch from rapier at psc.edu. 8675 8676commit dfd9880585db1570656022f9fe1519df673f7b8a 8677Author: Darren Tucker <dtucker@dtucker.net> 8678Date: Wed Feb 26 18:16:03 2025 +1100 8679 8680 Check for le32toh, le64toh, htole64 individually. 8681 8682 It appears that at least some versions of endian.h in glibc do not have 8683 the latter two, so check for and replace each one individually. 8684 bz#3794, ok djm@ 8685 8686commit cb99e8eb228df366af33f4fe88d7a9dd0dbf0756 8687Author: djm@openbsd.org <djm@openbsd.org> 8688Date: Tue Feb 25 06:25:30 2025 +0000 8689 8690 upstream: ressurect fix for "match invalid-user" that got clobbered 8691 8692 by 1.423 8693 8694 OpenBSD-Commit-ID: d18bf0945976e0f3467d710d4bc8bdbe181c0567 8695 8696commit 487cf4c18c123b66c1f3f733398cd37e6b2ab6ab 8697Author: deraadt@openbsd.org <deraadt@openbsd.org> 8698Date: Fri Feb 21 18:22:41 2025 +0000 8699 8700 upstream: Also prohibit , (comma) in hostnames, proposed by David 8701 8702 Leadbeater ok djm millert 8703 8704 OpenBSD-Commit-ID: 2837fa31dc6e81976f510f0a259edaa559b20b07 8705 8706commit 3bc6de98c830bd5207f6c371ba69c5874f06305b 8707Author: Damien Miller <djm@mindrot.org> 8708Date: Mon Feb 24 17:27:50 2025 +1100 8709 8710 Try to fix github tcmalloc target failure 8711 8712 tcmalloc may, depending on the stacktrace generator it uses, create 8713 pipe(2) fds during shared library initialisation. These will later 8714 get clobbered by ssh/sshd calling closefrom() and chaos will ensue. 8715 Tell tcmalloc to use an unwinder that doesn't pull this stuff. 8716 8717commit 922e54bbfe8c8479453693ef52350338f0c19124 8718Author: Damien Miller <djm@mindrot.org> 8719Date: Fri Feb 21 13:44:35 2025 +1100 8720 8721 cleanup last mention of ubuntu-20.04 8722 8723commit bc4b3f6dc1738d389e5c9dcca8c56d7e153fee49 8724Author: Damien Miller <djm@mindrot.org> 8725Date: Fri Feb 21 13:44:13 2025 +1100 8726 8727 prune gcc/clang versions to be tested 8728 8729 Test only the oldest and latest versions of each 8730 8731commit 94b73755f931d592a612ef5cb998694643eab5ff 8732Author: Damien Miller <djm@mindrot.org> 8733Date: Fri Feb 21 11:30:22 2025 +1100 8734 8735 Update AWS-LC version number 8736 8737 Patch from Shubham Mittal bz bz3792 8738 8739commit 6887099fae6d9f3482e1075d034e9343dc413200 8740Author: Damien Miller <djm@mindrot.org> 8741Date: Fri Feb 21 11:22:34 2025 +1100 8742 8743 adjust workflows for ubuntu version transition 8744 8745 remove workflows for unsupported compilers, add a few for additional 8746 supported compilers, move some workflows to run on ubuntu-latest 8747 8748commit 33bb47e6f74f2ca8093946e6f462d655a9ae46d3 8749Author: Damien Miller <djm@mindrot.org> 8750Date: Thu Feb 20 17:10:32 2025 +1100 8751 8752 Add ubuntu-*-arm test runners 8753 8754commit a0c95fbb215b2168fa51b15906e2d6990d7fef6b 8755Author: Damien Miller <djm@mindrot.org> 8756Date: Thu Feb 20 17:03:28 2025 +1100 8757 8758 remove ubuntu-20.04 Github action runners 8759 8760 ubuntu-20.04 is deprecated now, so migrate all its unique runners 8761 to ubuntu-22.04. 8762 8763 ok dtucker@ 8764 8765commit 0cbeedba81b57c56379e1d202b9ccd3b72af7ddc 8766Author: Damien Miller <djm@mindrot.org> 8767Date: Tue Feb 18 19:03:42 2025 +1100 8768 8769 openssh-9.9p2 8770 8771commit 0832aac79517611dd4de93ad0a83577994d9c907 8772Author: djm@openbsd.org <djm@openbsd.org> 8773Date: Tue Feb 18 08:02:48 2025 +0000 8774 8775 upstream: Fix cases where error codes were not correctly set 8776 8777 Reported by the Qualys Security Advisory team. ok markus@ 8778 8779 OpenBSD-Commit-ID: 7bcd4ffe0fa1e27ff98d451fb9c22f5fae6e610d 8780 8781commit 6ce00f0c2ecbb9f75023dbe627ee6460bcec78c2 8782Author: djm@openbsd.org <djm@openbsd.org> 8783Date: Tue Feb 18 08:02:12 2025 +0000 8784 8785 upstream: Don't reply to PING in preauth phase or during KEX 8786 8787 Reported by the Qualys Security Advisory team. ok markus@ 8788 8789 OpenBSD-Commit-ID: c656ac4abd1504389d1733d85152044b15830217 8790 8791commit 9e5bd74a85192c00a842f63d7ab788713b4284c3 8792Author: jmc@openbsd.org <jmc@openbsd.org> 8793Date: Sat Feb 15 06:48:56 2025 +0000 8794 8795 upstream: - use \& when contructs like "e.g." end a line, to avoid 8796 8797 double spacing - macro is Qq not Oq 8798 8799 OpenBSD-Commit-ID: 17e5d2d7f288cc7fc536e3af252224525f9fb43a 8800 8801commit f519e71fb7a46314ae16e2a75490649dc0bd01a2 8802Author: Damien Miller <djm@mindrot.org> 8803Date: Sat Feb 15 13:12:40 2025 +1100 8804 8805 depend 8806 8807commit 9131ac64b0ebe66dc1de9d44bf8d1bd64a24c350 8808Author: djm@openbsd.org <djm@openbsd.org> 8809Date: Sat Feb 15 01:52:07 2025 +0000 8810 8811 upstream: add "Match version" support to ssh_config. Allows 8812 8813 matching on the local version of OpenSSH, e.g. "Match version OpenSSH_10.*" 8814 8815 ok markus@ 8816 8817 OpenBSD-Commit-ID: c0cb504d0b9e43ccf12e68a544a7cd625e89758d 8818 8819commit 192a20df00c8a56fe7d92ffa23d959c865d7fb9e 8820Author: djm@openbsd.org <djm@openbsd.org> 8821Date: Sat Feb 15 01:50:47 2025 +0000 8822 8823 upstream: Add support for "Match sessiontype" to ssh_config. Allows 8824 8825 matching on the type of session requested, either "shell" for interactive 8826 sessions, "exec" for command execution sessions, "subsystem" for subsystem 8827 requests, such as sftp, or "none" for transport/forwarding-only sessions. 8828 8829 ok markus@ 8830 8831 OpenBSD-Commit-ID: eff5c001aecb2283d36639cfb28c0935a8bfd468 8832 8833commit caa3c0c77082888236b0b0c4feb3e6879731b3ba 8834Author: djm@openbsd.org <djm@openbsd.org> 8835Date: Sat Feb 15 01:48:30 2025 +0000 8836 8837 upstream: "Match command ..." support for ssh_config to allow 8838 8839 matching on the remote command specified on the commandline. 8840 8841 Also relaxes matching rules for `Match tagged` to allow 8842 `Match tagged ""` to match an empty tag value. This also works 8843 for command. 8844 8845 ok markus@ 8846 8847 OpenBSD-Commit-ID: 00dcfea425bf58d824bf5e3464cfc2409121b60d 8848 8849commit 38f6000e9851a00e2e4b8e1eb4ea6a243ef7e6a3 8850Author: Damien Miller <djm@mindrot.org> 8851Date: Tue Feb 11 10:32:26 2025 +1100 8852 8853 depend 8854 8855commit aa1409e7a0a5605f0127651a3ba5a348666325bc 8856Author: djm@openbsd.org <djm@openbsd.org> 8857Date: Mon Feb 10 23:19:26 2025 +0000 8858 8859 upstream: include arguments the command was invoked with, and 8860 8861 operating system name, version and architecture in startup debugging output; 8862 ok dtucker 8863 8864 OpenBSD-Commit-ID: 2a509d319aaf31a6bf9998e1842832883fbc3edd 8865 8866commit 857ac20f5fe19f183defba5dbf4b7d9e6400230c 8867Author: djm@openbsd.org <djm@openbsd.org> 8868Date: Mon Feb 10 23:16:51 2025 +0000 8869 8870 upstream: include line number in Match debug messages, makes it a 8871 8872 little easier to see what's going on 8873 8874 OpenBSD-Commit-ID: 1fcf4aa2ee667711b9497ded0fa52d757c69b1df 8875 8876commit af49d474e481d2d78b2f06b06a06b0b37629358e 8877Author: djm@openbsd.org <djm@openbsd.org> 8878Date: Mon Feb 10 23:00:29 2025 +0000 8879 8880 upstream: fix "Match invalid-user" from incorrectly being activated 8881 8882 in initial configuration pass when no other predicates were present on the 8883 match line 8884 8885 OpenBSD-Commit-ID: 02703b4bd207fafd03788bc4e7774bf80be6c9a8 8886 8887commit 1c67bae3f5834e48ded71c406f2039dea6e536db 8888Author: schwarze@openbsd.org <schwarze@openbsd.org> 8889Date: Sun Feb 9 18:24:08 2025 +0000 8890 8891 upstream: In a section 1 manual, use the plain English words 8892 8893 "standard output" rather than the overly technical abbreviation "stdout" - we 8894 are not talking about a device file or a FILE * object here. Issue reported 8895 by <onf at disroot dot org> on the groff mailing list. 8896 8897 OpenBSD-Commit-ID: a0816999f970e6159523bed8484f62c42ec93109 8898 8899commit 85b3d68dd931416ede657f371f1d60cdc3a66f34 8900Author: dtucker@openbsd.org <dtucker@openbsd.org> 8901Date: Fri Jan 17 00:09:41 2025 +0000 8902 8903 upstream: Fix debug logging of user specific delay. Patch from 8904 8905 Achim Leitner (fjl5) via github PR#552. 8906 8907 OpenBSD-Commit-ID: 834a869ed9b15058d3c1ef0cd75402ef989255d8 8908 8909commit e4e5b06fdf4532705669c0ae944b364022d16b9d 8910Author: dtucker@openbsd.org <dtucker@openbsd.org> 8911Date: Thu Jan 16 06:37:10 2025 +0000 8912 8913 upstream: Call log_init in sshd-auth and sshd-session immediately 8914 8915 after parsing the config file so that any log settings set in the config file 8916 take effect immediately. Move version banners to immediately after that, and 8917 make them distinct per binary. ok djm@ 8918 8919 OpenBSD-Commit-ID: acf3d090638edf9b6e6f78eed96b537fe671f0f5 8920 8921commit 0643994b20f2cc54bca80842a984b3052ff1a6a9 8922Author: dtucker@openbsd.org <dtucker@openbsd.org> 8923Date: Wed Jan 15 22:23:13 2025 +0000 8924 8925 upstream: Use strprefix helper when processing sshd -C test args 8926 8927 instead of counting bytes by hand. ok djm@ 8928 8929 OpenBSD-Commit-ID: 2866d369d96fe04bf76112260ac37e489f98a9a9 8930 8931commit 66efd0fbb6b8b95f8a520f2cdf8ede14e62b30b3 8932Author: Damien Miller <djm@mindrot.org> 8933Date: Thu Feb 6 09:38:09 2025 +1100 8934 8935 add support for AWS-LC (AWS libcrypto) 8936 8937 Patch from Shubham Mittal via bz3784; ok dtucker 8938 8939commit 826483d51a9fee60703298bbf839d9ce37943474 8940Author: Tim Rice <tim@multitalents.net> 8941Date: Mon Dec 16 15:36:54 2024 -0800 8942 8943 fix old typo (s/SYSVINITSTOPT/SYSVINITSTOP/) 8944 8945commit 1a8ce460f1d0c3f7304edba0733783b57b430e21 8946Author: dtucker@openbsd.org <dtucker@openbsd.org> 8947Date: Thu Dec 12 09:09:09 2024 +0000 8948 8949 upstream: Plug leak on error path, spotted by Coverity. ok djm@ 8950 8951 OpenBSD-Commit-ID: b1859959374b4709569760cae0866d22a16606d3 8952 8953commit 924f996144fc0ae1a659fadcfc2237d1ae935fc4 8954Author: Xavier Hsinyuan <me@lstlx.com> 8955Date: Mon Dec 9 11:21:05 2024 +0800 8956 8957 Add $(srcdir) for standalone sk-libfido2 make target. 8958 8959 Fix out-of-tree build failure due to incorrect path for `sk-usbhid.c`. 8960 8961commit bbc9c18e84de29c83fa03e69290979fcca54a2b2 8962Author: djm@openbsd.org <djm@openbsd.org> 8963Date: Sat Dec 7 10:12:19 2024 +0000 8964 8965 upstream: replace bespoke logging of MaxSessions enforcement with 8966 8967 new ratelimited logging infrastructure. 8968 8969 Add ratelimits to logging of connections dropped by PerSourcePenalties 8970 8971 ok dtucker 8972 8973 OpenBSD-Commit-ID: f22fe7c39607e4361aadf95e33773ffd68c59489 8974 8975commit 5a6ddf946cf105189c2c99a04f86ce95edc55fc5 8976Author: djm@openbsd.org <djm@openbsd.org> 8977Date: Sat Dec 7 10:05:36 2024 +0000 8978 8979 upstream: add infrastructure for ratelimited logging; feedback/ok 8980 8981 dtucker 8982 8983 OpenBSD-Commit-ID: 18a83e5ac09d59aaf1e834fd6b796db89dd842e7 8984 8985commit 85f0c1e75e8f6c5d83b8070918ee2f6ab16d403e 8986Author: djm@openbsd.org <djm@openbsd.org> 8987Date: Fri Dec 6 16:24:27 2024 +0000 8988 8989 upstream: allow glob(3) patterns for sshd_config AuthorizedKeysFile 8990 8991 and AuthorizedPrincipalsFile directives; bz2755 ok dtucker 8992 8993 OpenBSD-Commit-ID: 3e3e05a17fca39bba78b993a07b44664519adf7f 8994 8995commit 9a9ffee6e10bcd039f1f9385599577441ebe542a 8996Author: djm@openbsd.org <djm@openbsd.org> 8997Date: Fri Dec 6 16:21:48 2024 +0000 8998 8999 upstream: support VersionAddendum in the client, mirroring the 9000 9001 option of the same name in the server; bz2745 ok dtucker@ 9002 9003 OpenBSD-Commit-ID: 6ff7905b3f9806649bde750515786553fb89cdf4 9004 9005commit 41ab0ccecd68232e196efae5e224b31ca104c423 9006Author: djm@openbsd.org <djm@openbsd.org> 9007Date: Fri Dec 6 16:02:12 2024 +0000 9008 9009 upstream: clarify encoding of options/extensions; bz2389 9010 9011 OpenBSD-Commit-ID: c4e92356d44dfe6d0a4416deecb33d1d1eba016c 9012 9013commit 5488810359f0fd91e2f7b919c70a3798e46376cb 9014Author: djm@openbsd.org <djm@openbsd.org> 9015Date: Fri Dec 6 15:17:15 2024 +0000 9016 9017 upstream: ignore SIGPIPE here; some downstreams have had this for 9018 9019 years... 9020 9021 OpenBSD-Commit-ID: 73674ee4f8ceb8fc9cb8de71d8ddea0c721eb035 9022 9023commit 4389a792d9078212366eba124a3eed36e009d09e 9024Author: djm@openbsd.org <djm@openbsd.org> 9025Date: Fri Dec 6 15:12:56 2024 +0000 9026 9027 upstream: sync -o option lists with ssh.1; requested jmc@ 9028 9029 OpenBSD-Commit-ID: a7ac295b444da7b2ca7a33a52370594f6897f6bb 9030 9031commit 6b9cd095565ddc5402d5096dce248fa0521dbda3 9032Author: Fabio Pedretti <pedretti.fabio@gmail.com> 9033Date: Mon Oct 16 17:12:24 2023 +0200 9034 9035 Remove ancient RHL 6.x config in RPM spec. 9036 9037 It looks like build6x options were intended for RHL 6.x 9038 (the Red Hat distro predating Fedora, not RHEL), but were 9039 then applied to RHEL. 9040 9041 Completely remove support for this ancient configuration. 9042 9043 Successfully built, installed and run on RHEL 6. This also 9044 remove a build warning about deprecation of PreReq. 9045 9046commit 5cacfa798f92b707491375fed748d1d1bcb33ec9 9047Author: Darren Tucker <dtucker@dtucker.net> 9048Date: Fri Dec 6 23:54:45 2024 +1100 9049 9050 Add new hardware-backed signing key for myself. 9051 9052 Retire old non-hardware based signing key. 9053 9054commit f129b6ee1d4361799e65307216e3a4d5544356b7 9055Author: Jonas 'Sortie' Termansen <sortie@maxsi.org> 9056Date: Sat Nov 2 22:05:45 2024 +0100 9057 9058 Fix configure implicit declaration and format warnings. 9059 9060commit 11a5e5179077f73c2d45bcdf3f60153ae3f17815 9061Author: dtucker@openbsd.org <dtucker@openbsd.org> 9062Date: Fri Dec 6 07:05:54 2024 +0000 9063 9064 upstream: Expand $SSH to absolute path if it's not already. 9065 9066 Prevents problem later in increase_datafile_size if ssh is not in 9067 the path. Patch from quaresmajose via GHPR#510. 9068 9069 OpenBSD-Regress-ID: 2670a66af8b827410ca7139f0a89f4501cece77b 9070 9071commit dc2ef8f0944a4ff7ba19e52fd17b4654e6bd9b93 9072Author: dtucker@openbsd.org <dtucker@openbsd.org> 9073Date: Fri Dec 6 06:55:28 2024 +0000 9074 9075 upstream: Change "login again" to "log in again" 9076 9077 in password change message. From ThinLinc-Zeijlon via github PR#532. 9078 9079 OpenBSD-Commit-ID: fea5e9bc04caf613a118c419f16863733b340cf1 9080 9081commit 8252f346eb21cd6b30816f905b7d94f10962373e 9082Author: naddy@openbsd.org <naddy@openbsd.org> 9083Date: Thu Dec 5 22:45:03 2024 +0000 9084 9085 upstream: catch up documentation: AES-GCM is preferred to AES-CTR 9086 9087 OpenBSD-Commit-ID: 63360924b6834507fe70020edb936f5075043a9e 9088 9089commit 9a2f4c75081769bd45eba2bf3fab0a32b25f1879 9090Author: Darren Tucker <dtucker@dtucker.net> 9091Date: Fri Dec 6 17:56:17 2024 +1100 9092 9093 Change text from "login to" to "log in to". 9094 9095 From ThinLinc-Zeijlon via GHPR#532. 9096 9097commit 24dcf368d816b06136a02845ebd0c7846bf18927 9098Author: Xavier Hsinyuan <me@lstlx.com> 9099Date: Fri Dec 6 11:56:34 2024 +0800 9100 9101 Fix configure message typo in sk-libfido2 standalone. 9102 9103commit 1a0cac2f3411a22d69ae6918eff48456b805e73b 9104Author: Alexander Kanavin <alex@linutronix.de> 9105Date: Thu Dec 5 16:26:46 2024 +0100 9106 9107 Skip 2038 key expiry test on 64 bit time_t systems. 9108 9109 This allows testing Y2038 with system time set to after that (i.e. 2040), 9110 so that actual Y2038 issues can be exposed, and not masked by key expiry 9111 errors. 9112 9113 Signed-off-by: Alexander Kanavin <alex@linutronix.de> 9114 9115commit 6b4611dc1232c5d2c8e43201f580f19aab320c87 9116Author: Darren Tucker <dtucker@dtucker.net> 9117Date: Fri Dec 6 01:45:52 2024 +1100 9118 9119 Skip 64bit expiry time test on 32bit time_t. 9120 9121commit c9b7866a7dc5e6c30f5aa9d22dd0bbafda0d496f 9122Author: dtucker@openbsd.org <dtucker@openbsd.org> 9123Date: Thu Dec 5 14:28:39 2024 +0000 9124 9125 upstream: Add key expiry test in the 64bit time_t range for additional 9126 9127 coverage. From Alexander Kanavin via bz#3684. 9128 9129 OpenBSD-Regress-ID: bdf6eb3c2421f2e1e11483d03b34c7931d1bccf7 9130 9131commit 790c913b5fc6ee93ae14793443dc85a0f574b7eb 9132Author: Damien Miller <djm@mindrot.org> 9133Date: Thu Dec 5 19:24:56 2024 +1100 9134 9135 typo 9136 9137commit d23a23aaeeabc228792e3fd7eb5f2fa6ae13c482 9138Author: Damien Miller <djm@mindrot.org> 9139Date: Thu Dec 5 08:47:02 2024 +1100 9140 9141 add a Makefile target for ssh-verify-attestation 9142 9143 Not built by default, but easier than doing it by hand 9144 9145commit d0ac63d0f8b5f778d5fd326701ef4489bc27635e 9146Author: dtucker@openbsd.org <dtucker@openbsd.org> 9147Date: Thu Dec 5 06:49:26 2024 +0000 9148 9149 upstream: De-magic the x11 base port number into a define. ok djm@ 9150 9151 OpenBSD-Commit-ID: 23b85ca9d222cb739b9c33ee5e4d6ac9fdeecbfa 9152 9153commit 9998c93d57bf0f1df2bc93e0bc2d8112c6f8c720 9154Author: dtucker@openbsd.org <dtucker@openbsd.org> 9155Date: Thu Dec 5 06:47:00 2024 +0000 9156 9157 upstream: Prevent integer overflow in x11 port handling. These are 9158 9159 theoretically possible if the admin misconfigures X11DisplayOffset or the 9160 user misconfigures their own $DISPLAY, but don't happen in normal operation. 9161 From Suhov Roman via bz#3730, ok djm@ 9162 9163 OpenBSD-Commit-ID: e9e3860f1a19b862ccf07dc8ecbe8f1e1034f4ed 9164 9165commit 8c9ee046d40e4254c6c1711783ea11027b72c3e9 9166Author: djm@openbsd.org <djm@openbsd.org> 9167Date: Wed Dec 4 16:42:49 2024 +0000 9168 9169 upstream: add a work-in-progress tool to verify FIDO attestation 9170 9171 blobs that ssh-keygen can write when enrolling FIDO keys. 9172 9173 OpenBSD-Regress-ID: 6c97bf3f46e48866677ad69f54b77683eb92437f 9174 9175commit 50c640d874d0246dd0a0d949398c3d7f757c716a 9176Author: dtucker@openbsd.org <dtucker@openbsd.org> 9177Date: Wed Dec 4 10:51:13 2024 +0000 9178 9179 upstream: Don't assume existence of SK provider in test. Patch from 9180 9181 balu.gajjala at gmail via bz#3402. 9182 9183 OpenBSD-Regress-ID: d571932016d07d135b54433d07520b9e1901db43 9184 9185commit 73d782693144262570d3585b62f16b183170c014 9186Author: djm@openbsd.org <djm@openbsd.org> 9187Date: Wed Dec 4 14:37:55 2024 +0000 9188 9189 upstream: sync the list of options accepted by -o with ssh_config.5 9190 9191 prompted by bz3455 9192 9193 OpenBSD-Commit-ID: 0ecbfa70aea6c769bcc259defe07182edf461f57 9194 9195commit 6993d9f0959534b0b7d52e17b95e9e79fb0b3d0a 9196Author: djm@openbsd.org <djm@openbsd.org> 9197Date: Wed Dec 4 14:24:20 2024 +0000 9198 9199 upstream: don't screw up ssh-keygen -l output when the file 9200 9201 contains CR characters; GHPR236 bz3385, fix from Dmitry Belyavskiy 9202 9203 OpenBSD-Commit-ID: e458cf6b0adcea5b69ef4c7ba38e590841d02ef4 9204 9205commit c0b03c2534946fc114880092177aa4a3683ced2d 9206Author: jsg@openbsd.org <jsg@openbsd.org> 9207Date: Tue Dec 3 22:30:03 2024 +0000 9208 9209 upstream: spelling; ok djm@ 9210 9211 OpenBSD-Commit-ID: c8ff3f70020451eef214e598117b7ce1a29853ef 9212 9213commit 97eb247f40167f44324e88a537d5b4fe771a63b2 9214Author: dtucker@openbsd.org <dtucker@openbsd.org> 9215Date: Tue Dec 3 16:27:53 2024 +0000 9216 9217 upstream: Remove fallback to compiled-in gropup for dhgex when the 9218 9219 moduli file exists, but does not contain moduli within the client-requested 9220 range. The fallback behaviour remains for the case where the moduli file does 9221 not exist (typically, running tests prior to installing). From bz#2793, based 9222 in part on patch from Joe Testa, ok djm@ 9223 9224 OpenBSD-Commit-ID: b1a8c5dbbedf249b42474679ebaf14db7332b1ab 9225 9226commit 30c746265ebde29806dba77c92fb1fd3803cbf5c 9227Author: tb@openbsd.org <tb@openbsd.org> 9228Date: Tue Dec 3 15:53:51 2024 +0000 9229 9230 upstream: Remove redundant field of definition check 9231 9232 This will allow us to get rid of EC_GROUP_method_of() in the near future. 9233 9234 ok djm 9235 9236 OpenBSD-Commit-ID: b4a3d2e00990cf5c2ec6881c21ddca67327c2df8 9237 9238commit eaa1744f34c30740328fd0a0d84b5f2f9e6918c1 9239Author: Damien Miller <djm@mindrot.org> 9240Date: Thu Dec 5 00:59:19 2024 +1100 9241 9242 don't ignore changes in regress Makefiles 9243 9244 reported by Torben Hansen in bz2880 9245 9246commit 66e986880b2472fefaad781f10113b138b65ff27 9247Author: Damien Miller <djm@mindrot.org> 9248Date: Thu Dec 5 00:01:33 2024 +1100 9249 9250 Support systemd-style socket activation in agent 9251 9252 Adds support for systemd LISTEN_PID/LISTEN_FDS socket activation to 9253 ssh-agent. Activated when these environment variables are set and 9254 the agent is started with the -d or -D option and no socket path 9255 is set. 9256 9257 Based on GHPR502 by Daniel Kahn Gillmor, ok dtucker 9258 9259commit 9b57c099f57152e6c94f633c114f544087f4bdaa 9260Author: Darren Tucker <dtucker@dtucker.net> 9261Date: Wed Dec 4 21:36:01 2024 +1100 9262 9263 Update readme files to better reflect reality. 9264 9265 Prompted by bz#3738, ok djm@. 9266 9267commit ffa885db1b960451d426455045d2f51288e48ee8 9268Author: dtucker@openbsd.org <dtucker@openbsd.org> 9269Date: Tue Dec 3 14:12:47 2024 +0000 9270 9271 upstream: Improve description of KbdInteractiveAuthentication. 9272 9273 Based on bz#3658, fixes jmc@ ok markus@ djm@. 9274 9275 OpenBSD-Commit-ID: 9fadb56b9afed554d501acbba911c685acd6ffc2 9276 9277commit b460f82a67795bba37c6cc6c78f788e5b435b4cb 9278Author: Jonas 'Sortie' Termansen <sortie@maxsi.org> 9279Date: Sat Nov 2 17:53:23 2024 +0100 9280 9281 Inherit DESTDIR from the environment. 9282 9283 autoconf packages conventionally inherit the DESTDIR variable from the 9284 environment. 9285 9286commit 9da7fa7c7464df241ae5d17da94e4ebed9013719 9287Author: Jonas 'Sortie' Termansen <sortie@maxsi.org> 9288Date: Sat Nov 2 22:10:39 2024 +0100 9289 9290 Define u_short and u_long if needed. 9291 9292commit d3a7ff7cecbc23cc37044bdf02e7118d05bf3c35 9293Author: djm@openbsd.org <djm@openbsd.org> 9294Date: Tue Dec 3 08:31:49 2024 +0000 9295 9296 upstream: support FIDO tokens that return no attestation data, e.g. 9297 9298 recent WinHello. From Michael Braun via GHPR542 9299 9300 OpenBSD-Commit-ID: a71b0542f2f7819ba0e33a88908e01b6fc49e4ce 9301 9302commit 96b64056c812620014b65371a9e3ac86bfcd08d5 9303Author: Thorsten Kukuk <kukuk@suse.com> 9304Date: Tue Nov 19 10:53:28 2024 +0100 9305 9306 Add wtmpdb support as Y2038 safe wtmp replacement 9307 9308commit 1d9563a56f2ad5b0c0aeef20e19c1a03ad54f88a 9309Author: djm@openbsd.org <djm@openbsd.org> 9310Date: Mon Dec 2 14:06:42 2024 +0000 9311 9312 upstream: unbreak 9313 9314 OpenBSD-Commit-ID: 05b6c31f4a6e385338f43cc0e08776cea75802a1 9315 9316commit d75837b9f6d0d6cc18ed5078789ea0f3dad08f00 9317Author: djm@openbsd.org <djm@openbsd.org> 9318Date: Mon Dec 2 13:37:18 2024 +0000 9319 9320 upstream: prefer AES-GCM to AES-CTR; ok deraadt markus 9321 9322 OpenBSD-Commit-ID: 8366a72e0f300ee31c5dab2c95025387ec15bbc9 9323 9324commit e19cd494b567a73dc390e09b47c1e21545e6116b 9325Author: Shiva Kaul <shiva.kaul@gmail.com> 9326Date: Mon Dec 2 02:04:20 2024 -0500 9327 9328 Fix compilation with DEBUG_SK enabled 9329 9330 In `ssh_ecdsa_sk_verify`, the `datalen` variable was renamed to `dlen` -- but not in this debugging block. 9331 9332commit 67ace92be0718df7e0f52c0a76684fc2ebae4089 9333Author: dtucker@openbsd.org <dtucker@openbsd.org> 9334Date: Fri Nov 29 00:13:36 2024 +0000 9335 9336 upstream: Import regenerated moduli. 9337 9338 OpenBSD-Commit-ID: 311d271bf0fab8a119e84f4f696d8cd40731692f 9339 9340commit ca0697a90e5720ba4d76cb0ae9d5572b5260a16c 9341Author: Jeremy Stott <jeremy@stott.co.nz> 9342Date: Sat Oct 19 12:10:52 2024 +1300 9343 9344 Add make target for standalone sk-libfido2 9345 9346 Add a Makefile target for sk-libfido2, the standalone fido2 security 9347 key shared library, suitable for use with the SecurityKeyProvider 9348 option. 9349 9350 Add a new configure option `--with-security-key-standalone` that 9351 optionally sets the shared library target sk-libfido2$(SHLIBEXT), and 9352 adds it to $(TARGETS). 9353 9354 misc.h is required when SK_STANDALONE is defined, because of the use 9355 of `monotime_tv` in `sk_select_by_touch`. 9356 9357 Sets the shared library extension for sk-libfido2 is by setting 9358 `SHLIBEXT` depending on the platform in configure.ac. 9359 9360 Add the shared library to the CI builds in the `sk` target config to 9361 make sure it can compile under the same conditions as 9362 `--with-security-key-builtin`. 9363 9364 Add a libssh-pic.a static library that compiles with `-fPIC` reusing 9365 .c.lo method in sk-dummy.so for use in the shared library sk-libfido2. 9366 9367 Note, a separate static library libssh-pic.a is needed, since defining 9368 -DSK_STANDALONE excludes some symbols needed in sshkey.lo. 9369 9370commit 74d70841efbf41b9fcc8e6f6f4777d2e9d7e2004 9371Author: Arnout Engelen <arnout@bzzt.net> 9372Date: Fri Oct 18 13:42:38 2024 +0200 9373 9374 mdoc2man: balance nested square brackets 9375 9376 I noticed the square brackets in `destination [command [argument...]` 9377 in the synopsis for the `ssh.1` manpage were not balanced, 9378 this balances them. 9379 9380 Signed-off-by: Arnout Engelen <arnout@bzzt.net> 9381 9382commit 8eabd2ae2ca1d7756417a1ee5b41f09c5d997634 9383Author: djm@openbsd.org <djm@openbsd.org> 9384Date: Wed Nov 27 16:07:08 2024 +0000 9385 9386 upstream: fix argument of "Compression" directive in ssh -G config 9387 9388 dump, which used to work but broke in 9.8 9389 9390 OpenBSD-Commit-ID: c79936242d29c70d01941b28d2d07fd0b85fe46f 9391 9392commit 53c03961769d8879a81398074ea3cb36253d4f2e 9393Author: djm@openbsd.org <djm@openbsd.org> 9394Date: Wed Nov 27 13:27:34 2024 +0000 9395 9396 upstream: new name/link for agent I-D 9397 9398 OpenBSD-Commit-ID: e3420f3925a297a1b2ab7dfe7c7d274cfc8e1193 9399 9400commit 785e3c9110df8f2d30e42ce8b45969c49700f35b 9401Author: djm@openbsd.org <djm@openbsd.org> 9402Date: Wed Nov 27 13:00:23 2024 +0000 9403 9404 upstream: mention that biometrics may be used for FIDO key user 9405 9406 verification as well as PIN. Prompted by Zack Newman, ok jmc@ 9407 9408 OpenBSD-Commit-ID: b774a4438c9be70012661ee278450790d21277b8 9409 9410commit fd2e64c9ec9ea3e89e396be0db41aaf982ae1210 9411Author: djm@openbsd.org <djm@openbsd.org> 9412Date: Tue Nov 26 22:05:51 2024 +0000 9413 9414 upstream: g/c outdated XXX comments 9415 9416 OpenBSD-Commit-ID: 74d0c0b74994d9a4343c4d7ea4948cb34f609a6c 9417 9418commit 0ad34a6193357d286042322ea7347262a6fb0778 9419Author: djm@openbsd.org <djm@openbsd.org> 9420Date: Tue Nov 26 22:02:28 2024 +0000 9421 9422 upstream: regression test for UpdateHostkeys with multiple keys backed 9423 9424 by ssh-agent. Patch from Maxime Rey. 9425 9426 OpenBSD-Regress-ID: 1777ab6e639e57c0e20cbcb6df60455b49fd8bb3 9427 9428commit 84023656d91b78f1ef86c8321ec563f2e90f7227 9429Author: djm@openbsd.org <djm@openbsd.org> 9430Date: Tue Nov 26 22:01:37 2024 +0000 9431 9432 upstream: Explicitly specify the signature algorithm when signing 9433 9434 hostkeys-prove requests. 9435 9436 Fixes a corner-case triggered by UpdateHostKeys with one or more unknown 9437 host keys stored in ssh-agent where sshd refuses to accept the signature 9438 coming back from the agent. 9439 9440 Report/fix from Maxime Rey 9441 9442 OpenBSD-Commit-ID: 460c7d527a24f92b7e5f68ca1a2fa242ebf0d086 9443 9444commit d1c1cfc5e4e9b43593d4642810ea8135e4c7db49 9445Author: djm@openbsd.org <djm@openbsd.org> 9446Date: Tue Nov 26 21:23:35 2024 +0000 9447 9448 upstream: when using RSA keys to sign messages, select the 9449 9450 signature algorithm based on the requested hash algorithm ("-Ohashalg=xxx"). 9451 9452 This allows using something other than rsa-sha2-512, which may not 9453 be supported on all signing backends, e.g. some smartcards only 9454 support SHA256. 9455 9456 Patch from Morten Linderud; ok markus@ 9457 9458 OpenBSD-Commit-ID: 246353fac24e92629263996558c6788348363ad7 9459 9460commit ac7544654441280071b90a4129a47467d40f2389 9461Author: djm@openbsd.org <djm@openbsd.org> 9462Date: Sun Nov 24 23:47:50 2024 +0000 9463 9464 upstream: turn off CDIAGFLAGS and turn back on INSTALL_STRIP 9465 9466 accidentally changed in last commit 9467 9468 OpenBSD-Commit-ID: 6d07e4606997e36b860621a14dd41975f2902f8f 9469 9470commit 953fa5b59afb04c3c74ed82d7bace65c13cd8baa 9471Author: Darren Tucker <dtucker@dtucker.net> 9472Date: Sat Nov 9 11:41:44 2024 +1100 9473 9474 Disable security key for bigendian interop. 9475 9476 It doesn't currently work. It's not clear why, but I suspect 9477 sk-dummy.so ends up being built for the wrong architecture. 9478 9479commit a80eb71c428c474098087c672398f200be8fabdf 9480Author: Darren Tucker <dtucker@dtucker.net> 9481Date: Sat Nov 9 05:14:16 2024 +1100 9482 9483 Reshuffle OpenWRT test configs. 9484 9485 Move the the flags used by the OpenWRT distro to mipsel target and 9486 enable OpenSSL on all targets to improve coverage. 9487 9488 Explicitly disable security key and openssl on mips target so that host 9489 end of the bigendian interop tests don't attempt them and fail (since 9490 they're not enabled on the target side). 9491 9492commit d2709c461359e4129311cdff81ee05242d6c53cd 9493Author: Darren Tucker <dtucker@dtucker.net> 9494Date: Sat Nov 9 03:26:08 2024 +1100 9495 9496 Add keytype to bigendian interop test. 9497 9498commit 50ac0f0e0627d29fd9becf5e15e8ceca5ad18078 9499Author: Darren Tucker <dtucker@dtucker.net> 9500Date: Sat Nov 9 03:24:29 2024 +1100 9501 9502 Ignore chown failure, eg due to dangling symlinks. 9503 9504commit 9e528e65a03245cf28e814f09b88c701bec935d1 9505Author: Darren Tucker <dtucker@dtucker.net> 9506Date: Sat Nov 2 18:05:41 2024 +1100 9507 9508 Test bigendian interop. 9509 9510 Where our test target is a bigendian system, do an additional build on 9511 the runner host (which is little endian) and test interop between the two. 9512 Should hopefully catch obvious endianness bugs. 9513 9514commit dd416f5bfa96ac1ff44b27a93f7b55ee627c6baf 9515Author: Darren Tucker <dtucker@dtucker.net> 9516Date: Fri Nov 1 19:44:29 2024 +1100 9517 9518 Allow overridding TEST_SSH_SSHD. 9519 9520 This will allow tests to specify an alternative sshd, eg on a remote 9521 machine with different endianness. 9522 9523commit 82662d562cf54829df8a941cdfb2fd307e1d9a90 9524Author: djm@openbsd.org <djm@openbsd.org> 9525Date: Wed Nov 6 22:51:26 2024 +0000 9526 9527 upstream: ssh-agent implemented an all-or-nothing allow-list of 9528 9529 FIDO application IDs for security key-backed keys, to prevent web key handles 9530 from being used remotely as this would likely lead to unpleasant surprises. 9531 By default, only application IDs that start with "ssh:*" are allowed. 9532 9533 This adds a -Owebsafe-allow=... argument that can override the default 9534 list with a more or less restrictive one. The default remains unchanged. 9535 9536 ok markus@ 9537 9538 OpenBSD-Commit-ID: 957c1ed92a8d7c87453b9341f70cb3f4e6b23e8d 9539 9540commit 593a0b65c55c1e06a8c22b084aefc395aedb0127 9541Author: jca@openbsd.org <jca@openbsd.org> 9542Date: Mon Nov 4 21:59:15 2024 +0000 9543 9544 upstream: Ignore extra groups that don't fit in the buffer passed 9545 9546 to getgrouplist(3) 9547 9548 Our kernel supports 16 groups (NGROUPS_MAX), but nothing prevents 9549 an admin from adding a user to more groups. With that tweak we'll keep 9550 on ignoring them instead of potentially reading past the buffer passed to 9551 getgrouplist(3). That behavior is explicitely described in initgroups(3). 9552 9553 ok millert@ gilles@ 9554 9555 OpenBSD-Commit-ID: a959fc45ea3431b36f52eda04faefc58bcde00db 9556 9557commit e7adebeff3a9d038d0eaeeb0fcefedf29acb7e90 9558Author: Damien Miller <djm@mindrot.org> 9559Date: Mon Nov 4 14:39:27 2024 +1100 9560 9561 Add git signing key for Tim Rice 9562 9563commit da4b84845e874f12af7e0686170fa391c919d1df 9564Author: Darren Tucker <dtucker@dtucker.net> 9565Date: Fri Nov 1 18:51:22 2024 +1100 9566 9567 Correct path to c-cpp.yml file in workflow config. 9568 9569commit 28740aa2c75392a9c4191eb9523f9b20853e2932 9570Author: Darren Tucker <dtucker@dtucker.net> 9571Date: Fri Nov 1 18:44:42 2024 +1100 9572 9573 Test new OpenSSL and LibreSSL releases.` 9574 9575commit a74809fe06540f16231b354ffe21fcbf39e81f73 9576Author: Darren Tucker <dtucker@dtucker.net> 9577Date: Fri Nov 1 18:44:00 2024 +1100 9578 9579 Add nbsd10 default test config. 9580 9581commit 88b35cbdc1500efece65cd6a9a20a72cf7e46eaa 9582Author: Damien Miller <djm@mindrot.org> 9583Date: Wed Oct 30 14:25:14 2024 +1100 9584 9585 fix uint64_t types; reported by Tom G. Christensen 9586 9587commit ef7c26cd2f0f9a8222f851d1e551f6dfd3113f8b 9588Author: Damien Miller <djm@mindrot.org> 9589Date: Sun Oct 27 13:28:11 2024 +1100 9590 9591 htole64() etc for systems without endian.h 9592 9593commit 0c3927c45f8a57b511c874c4d51a8c89414f74ef 9594Author: djm@openbsd.org <djm@openbsd.org> 9595Date: Sun Oct 27 02:06:59 2024 +0000 9596 9597 upstream: explicitly include endian.h 9598 9599 OpenBSD-Commit-ID: 13511fdef7535bdbc35b644c90090013da43a318 9600 9601commit cf3e48ee8ba1beeccddd2f203b558fa102be67a2 9602Author: djm@openbsd.org <djm@openbsd.org> 9603Date: Sun Oct 27 02:06:01 2024 +0000 9604 9605 upstream: fix ML-KEM768x25519 KEX on big-endian systems; spotted by 9606 9607 jsg@ feedback/ok deraadt@ 9608 9609 OpenBSD-Commit-ID: 26d81a430811672bc762687166986cad40d28cc0 9610 9611commit ae566d51b64fa3dce7063e7745b9b35f8f47abde 9612Author: naddy@openbsd.org <naddy@openbsd.org> 9613Date: Fri Oct 25 21:53:24 2024 +0000 9614 9615 upstream: mlkem768x25519-sha256 has been promoted to default key 9616 9617 exchange 9618 9619 OpenBSD-Commit-ID: 5a3259a193fd42108a869ebf650b95b5f2d08dcf 9620 9621commit 3af1dba1384ca896df6e973c70398c41d36de1ea 9622Author: Darren Tucker <dtucker@dtucker.net> 9623Date: Fri Oct 25 19:04:30 2024 +1100 9624 9625 Retire the minix3 test config. 9626 9627 It got broken by the sshd-auth change, it's not obvious why, and the 9628 platform lacks the debugging tools (eg gdb, strace) to figure it out. 9629 The upstream project seems effectively dead (6 years since the last 9630 commit, 10 since the last release). It was useful while it lasted 9631 (we found a real bug because of it) but its time seems to have passed. 9632 9633commit 3b240cc44b8de9175280ddbe59331317d427b0e3 9634Author: Preetish Amballi <amballip@gmail.com> 9635Date: Mon Oct 21 14:07:02 2024 +0000 9636 9637 Updated gitignore to ignore sshd-session and sshd-auth targets 9638 9639commit 326495744f06a0ab18ee0d16f87b3fe91cac92fb 9640Author: Darren Tucker <dtucker@dtucker.net> 9641Date: Fri Oct 25 19:01:02 2024 +1100 9642 9643 Simplify pselect shim and remove side effects. 9644 9645 Instead of maintaing state (pipe descriptors, signal handlers) across 9646 pselect-on-select invocations, set up and restore them each call. 9647 This prevents outside factors (eg a closefrom or signal handler 9648 installation) from potentially causing problems. This does result in a 9649 drop in throughput of a couple of percent on geriatric platforms without 9650 a native pselect due to the extra overhead. Tweaks & ok djm@ 9651 9652commit e53b615f3934ffac1efb3c1e491d126b9b09fd24 9653Author: djm@openbsd.org <djm@openbsd.org> 9654Date: Fri Oct 25 01:34:18 2024 +0000 9655 9656 upstream: promote mlkem768x25519-sha256 to be the default key exchange; 9657 9658 ok markus@ 9659 9660 OpenBSD-Commit-ID: fc673065e6505bb06b2e2b9362f78ccb4200a828 9661 9662commit de644b1831b970f6655f871c051774cc871e8e74 9663Author: djm@openbsd.org <djm@openbsd.org> 9664Date: Thu Oct 24 03:28:34 2024 +0000 9665 9666 upstream: test SIGUSR1 dropping all keys from ssh-agent 9667 9668 OpenBSD-Regress-ID: 8654b9aa8eb695b1499fffc408c25319592bf0e0 9669 9670commit e86d7a077ce9a2b9ee9d4138c358a17cbdb786f9 9671Author: djm@openbsd.org <djm@openbsd.org> 9672Date: Thu Oct 24 03:15:47 2024 +0000 9673 9674 upstream: amake ssh-agent drop all keys when it receives SIGUSR1; 9675 9676 let's users zap keys without access to $SSH_AUTH_SOCK 9677 9678 ok deraadt@ 9679 9680 OpenBSD-Commit-ID: dae9db0516b1011e5ba8c655ac702fce42e6c023 9681 9682commit 94cdfebec852a2429c008cc2a55f8e4183f36972 9683Author: djm@openbsd.org <djm@openbsd.org> 9684Date: Thu Oct 24 03:14:37 2024 +0000 9685 9686 upstream: relax valid_domain() checks to allow an underscore as the 9687 9688 first character. ok deraadt@ 9689 9690 OpenBSD-Commit-ID: 3f8be6d32496e5596dd8b14e19cb067ddd7969ef 9691 9692commit 1b05d5437bf45bee5e3104772dea06ed51764f1b 9693Author: dtucker@openbsd.org <dtucker@openbsd.org> 9694Date: Tue Oct 22 07:13:28 2024 +0000 9695 9696 upstream: Remove sshd logfile in start_sshd 9697 9698 ... and ssh and sshd log wrappers before recreating them. Prevents "can't 9699 create" errors during tests when running tests without SUDO after having 9700 run them with SUDO. 9701 9702 OpenBSD-Regress-ID: 2f0a83532e3dccd673a9bf0291090277268c69a6 9703 9704commit 307ab3c7720f8879b835614b02687358ee4df9b9 9705Author: dtucker@openbsd.org <dtucker@openbsd.org> 9706Date: Tue Oct 22 06:16:26 2024 +0000 9707 9708 upstream: Add a sshd debug wrapper 9709 9710 ... to run all of the subprograms from the build directory while 9711 developing and debugging. Should help prevent accidentally testing 9712 against unchanged installed sshd-auth and sshd-session binaries. ok djm@ 9713 9714 OpenBSD-Commit-ID: 61760cdc98c2bc8f1e9f83a6f97cca0f66b52e69 9715 9716commit 87bd1cb3ccba5e91d2650eb7f753c898ee43858e 9717Author: dtucker@openbsd.org <dtucker@openbsd.org> 9718Date: Tue Oct 22 06:13:00 2024 +0000 9719 9720 upstream: Make debug call printf("%s", NULL) safe. 9721 9722 Prevents problems on platforms where this isn't safe (which it's not 9723 required to be). ok djm@ 9724 9725 OpenBSD-Commit-ID: 8fa4ce3ad90915c925b81b99a79ab920b0523387 9726 9727commit c44c349edd157b2c00c42bd5ef5f9dfb37de26f3 9728Author: Darren Tucker <dtucker@dtucker.net> 9729Date: Tue Oct 22 17:48:32 2024 +1100 9730 9731 Resync cvsid missed in commit 6072e4c9. 9732 9733commit fe4305c37ffe53540a67586854e25f05cf615849 9734Author: djm@openbsd.org <djm@openbsd.org> 9735Date: Fri Oct 18 05:53:26 2024 +0000 9736 9737 upstream: mention that LocalForward and RemoteForward can accept Unix 9738 9739 domain socket paths; GHPR115 9740 9741 OpenBSD-Commit-ID: a8a34d0a0c51a9ddab3dfce615f9878fa76ef842 9742 9743commit 9c97b6af8e052ab5ffe0f9096fadc8f9a4d0ed0f 9744Author: djm@openbsd.org <djm@openbsd.org> 9745Date: Fri Oct 18 05:45:40 2024 +0000 9746 9747 upstream: remove duplicate check; GHPR392 from Pedro Martelletto 9748 9749 OpenBSD-Commit-ID: 597ab7dd3f0e78939d2659fc1904d0f39ee95487 9750 9751commit d9cd208e89a471a3ff8adfcec68d6210af9e9fd5 9752Author: djm@openbsd.org <djm@openbsd.org> 9753Date: Fri Oct 18 05:37:24 2024 +0000 9754 9755 upstream: allow "-" as output file for moduli screening 9756 9757 based on GHPR393 9758 9759 OpenBSD-Commit-ID: 1517763764eb55d03a6092dd120d2909c6fef0e1 9760 9761commit 5eb5c4b2820d0636b1eccee646fb32ec946c4a95 9762Author: djm@openbsd.org <djm@openbsd.org> 9763Date: Fri Oct 18 05:32:51 2024 +0000 9764 9765 upstream: ssh-keyscan doesn't need it's own sshfatal() definition, it 9766 9767 can use the shared one from fatal.c 9768 9769 based on GHPR401 from lengyijun 9770 9771 OpenBSD-Commit-ID: 8ea75ea99f27f464c9223cbc89cb046ccf9cd5c4 9772 9773commit 0a1e75499e2c6fc258ee903645c878480949f362 9774Author: djm@openbsd.org <djm@openbsd.org> 9775Date: Fri Oct 18 05:14:51 2024 +0000 9776 9777 upstream: in _ssh_order_hostkeyalgs() consider ECDSA curve type when 9778 9779 arranging the hostkey algorithms. AFAIK this code is unused in OpenSSH, but I 9780 guess others are using it 9781 9782 based on GHPR387 from Pawel Jakub Dawidek 9783 9784 OpenBSD-Commit-ID: 4d462495ac0c40f7b7dd66178e0005b9b2128225 9785 9786commit d01ee7a88c5f4b1aa8c75a7c739f8f3bc1ad8bde 9787Author: djm@openbsd.org <djm@openbsd.org> 9788Date: Fri Oct 18 05:03:34 2024 +0000 9789 9790 upstream: require control-escape character sequences passed via the '-e 9791 9792 ^x' commandline to be exactly two characters long. Avoids one by OOB read if 9793 ssh is invoked as "ssh -e^ ..." 9794 9795 Spotted by Maciej Domanski in GHPR368 9796 9797 OpenBSD-Commit-ID: baa72bc60898fc5639e6c62de7493a202c95823d 9798 9799commit 74ff6382f5743e09930e6cbd195dac65cd6062c9 9800Author: djm@openbsd.org <djm@openbsd.org> 9801Date: Fri Oct 18 04:30:09 2024 +0000 9802 9803 upstream: remove addr.[ch] functions that are unused and 9804 9805 visbility-restrict ones that are unused outside the implementation itself; 9806 based on GHPR#282 by tobias@ 9807 9808 OpenBSD-Commit-ID: a0140f2418b4d46cfaa7b33febc0a0931f9b2744 9809 9810commit a9d6d7d93c533fa729f08b405e786d912553f33e 9811Author: djm@openbsd.org <djm@openbsd.org> 9812Date: Fri Oct 18 04:14:59 2024 +0000 9813 9814 upstream: unreachable POLLERR case; from ya0guang via GHPR485 9815 9816 OpenBSD-Commit-ID: b3c82655190532b01eb817e532742cfaa4687eff 9817 9818commit d76424bf279ff951383e21213eb3759ea4090674 9819Author: djm@openbsd.org <djm@openbsd.org> 9820Date: Fri Oct 18 04:11:54 2024 +0000 9821 9822 upstream: s/Sx/Cm/ for external references; from Domen Puncer 9823 9824 Kugler via GHPR501 9825 9826 OpenBSD-Commit-ID: f864a34feb5d5ff17160cf7c42ad0f7744fe8a3f 9827 9828commit ca204b994e2981e7bf95627b3105408917105649 9829Author: naddy@openbsd.org <naddy@openbsd.org> 9830Date: Mon Oct 14 23:53:34 2024 +0000 9831 9832 upstream: mention SshdAuthPath option; ok djm@ 9833 9834 OpenBSD-Commit-ID: 9a5d3add25e4e77bd3805bc5583a842ecf34d85c 9835 9836commit be27770e840c4dd9d9fcad1aa879400c727d7c2f 9837Author: Darren Tucker <dtucker@dtucker.net> 9838Date: Fri Oct 18 13:37:55 2024 +1100 9839 9840 Remove references to systrace and pledge sandboxes. 9841 9842 ok djm@ 9843 9844commit 49e64bf63fbf2f14961062dafe8ef08cb816bb08 9845Author: Pavel Miadzvedzeu <pmiadzvedzeu@gmail.com> 9846Date: Wed Apr 24 10:19:56 2024 +0300 9847 9848 Fix "undeclared 'ut'" error by replacing it with 'utx' 9849 9850commit 67f684733f60f66479854a2867b953de731e71b2 9851Author: Darren Tucker <dtucker@dtucker.net> 9852Date: Thu Oct 17 20:50:29 2024 +1100 9853 9854 Seed RNG when starting up sshd-auth. 9855 9856 Makes builds configured --without-openssl work again since otherwise 9857 the first use of the RNG comes after the sandbox init and it can't 9858 open /dev/random. 9859 9860commit c06c681aeebbe8e84e7410095514e7ee91f7e6cb 9861Author: Darren Tucker <dtucker@dtucker.net> 9862Date: Thu Oct 17 19:18:23 2024 +1100 9863 9864 MacOS 12 runners are deprecated, replace with 15. 9865 9866commit 39db1f23bafb48a7c0cc9c65c716a0370f4cc677 9867Author: Damien Miller <djm@mindrot.org> 9868Date: Thu Oct 17 13:28:47 2024 +1100 9869 9870 Fix lookup path for sshd-auth; bz3745 9871 9872commit c537eeb1ae5f069450053b0027e64efe5bdb37d2 9873Author: Damien Miller <djm@mindrot.org> 9874Date: Wed Oct 16 08:28:21 2024 +1100 9875 9876 fix breakage; missing saved_argc symbol 9877 9878commit 98a0883bdef28a06c7e017f27adf21ba57898bf4 9879Author: Damien Miller <djm@mindrot.org> 9880Date: Mon Oct 14 17:17:50 2024 +1100 9881 9882 fix capsicum sandbox 9883 9884commit 164ea4380564a2a83713eacf71908e3946e5e4e4 9885Author: Damien Miller <djm@mindrot.org> 9886Date: Mon Oct 14 17:16:41 2024 +1100 9887 9888 put back some portable bits for sshd-auth.c 9889 9890commit f8edf08c258ee2918689872c4702302052729726 9891Author: Damien Miller <djm@mindrot.org> 9892Date: Mon Oct 14 14:49:25 2024 +1100 9893 9894 there's only one sandbox, move to a static global 9895 9896commit 4482f0042b41d3d63c3845d7ba9fcf47c9252a84 9897Author: Damien Miller <djm@mindrot.org> 9898Date: Mon Oct 14 14:49:20 2024 +1100 9899 9900 depend 9901 9902commit 74856204a353a187dc6e7706c6cf84b7f14d775d 9903Author: djm@openbsd.org <djm@openbsd.org> 9904Date: Mon Oct 14 03:02:08 2024 +0000 9905 9906 upstream: regress support for split sshd-auth binary 9907 9908 OpenBSD-Regress-ID: df7d18a87b475f70004770f0f4e404adba5f6ab7 9909 9910commit 461741083d7254595fecea274e60fe3ebf3ce3f9 9911Author: djm@openbsd.org <djm@openbsd.org> 9912Date: Fri Sep 27 01:05:54 2024 +0000 9913 9914 upstream: test some more Match syntax, including criteria=arg and 9915 9916 negations 9917 9918 OpenBSD-Regress-ID: 67476baccc60bf1a255fd4e329ada950047b8b8d 9919 9920commit 6072e4c9385713e9c166f32cfca6a7e603d4f0b8 9921Author: djm@openbsd.org <djm@openbsd.org> 9922Date: Mon Oct 14 01:57:50 2024 +0000 9923 9924 upstream: Split per-connection sshd-session binary 9925 9926 This splits the user authentication code from the sshd-session 9927 binary into a separate sshd-auth binary. This will be executed by 9928 sshd-session to complete the user authentication phase of the 9929 protocol only. 9930 9931 Splitting this code into a separate binary ensures that the crucial 9932 pre-authentication attack surface has an entirely disjoint address 9933 space from the code used for the rest of the connection. It also 9934 yields a small runtime memory saving as the authentication code will 9935 be unloaded after thhe authentication phase completes. 9936 9937 Joint work with markus@ feedback deraadt@ 9938 9939 Tested in snaps since last week 9940 9941 OpenBSD-Commit-ID: 9c3b2087ae08626ec31b4177b023db600e986d9c 9942 9943commit fe6c6330c1a94c7a537efe9069853ce7a275c50a 9944Author: djm@openbsd.org <djm@openbsd.org> 9945Date: Sun Oct 13 22:20:06 2024 +0000 9946 9947 upstream: don't start the ObscureKeystrokeTiming mitigations if 9948 9949 there has been traffic on a X11 forwarding channel recently. 9950 9951 Should fix X11 forwarding performance problems when this setting is 9952 enabled. Patch from Antonio Larrosa via bz3655 9953 9954 OpenBSD-Commit-ID: 820284a92eb4592fcd3d181a62c1b86b08a4a7ab 9955 9956commit 538cd28598ae942c94b99855b06fdd937e2e7381 9957Author: jsg@openbsd.org <jsg@openbsd.org> 9958Date: Sat Oct 12 10:50:37 2024 +0000 9959 9960 upstream: remove duplicate misc.h include ok dtucker@ 9961 9962 OpenBSD-Commit-ID: fdd056e7854294834d54632b4282b877cfe4c12e 9963 9964commit 0051381a8c33740a77a1eca6859efa1c78887d80 9965Author: djm@openbsd.org <djm@openbsd.org> 9966Date: Sun Oct 6 23:37:17 2024 +0000 9967 9968 upstream: Turn off finite field (a.k.a modp) Diffie-Hellman key 9969 9970 exchange in sshd by default. Specifically, this removes the 9971 diffie-hellman-group* and diffie-hellman-group-exchange-* methods. The client 9972 is unchanged and continues to support these methods by default. 9973 9974 Finite field Diffie Hellman is slow and computationally expensive for 9975 the same security level as Elliptic Curve DH or PQ key agreement while 9976 offering no redeeming advantages. 9977 9978 ECDH has been specified for the SSH protocol for 15 years and some 9979 form of ECDH has been the default key exchange in OpenSSH for the last 9980 14 years. 9981 9982 ok markus@ 9983 9984 OpenBSD-Commit-ID: 4e238ad480a33312667cc10ae0eb6393abaec8da 9985 9986commit 67a115e7a56dbdc3f5a58c64b29231151f3670f5 9987Author: djm@openbsd.org <djm@openbsd.org> 9988Date: Thu Sep 26 23:55:08 2024 +0000 9989 9990 upstream: fix previous change to ssh_config Match, which broken on 9991 9992 negated Matches; spotted by phessler@ ok deraadt@ 9993 9994 OpenBSD-Commit-ID: b1c6acec66cd5bd1252feff1d02ad7129ced37c7 9995 9996commit 220b6c1290042acd5180d783dea01efe1365c265 9997Author: jsg@openbsd.org <jsg@openbsd.org> 9998Date: Wed Sep 25 23:01:39 2024 +0000 9999 10000 upstream: remove some unused defines; ok djm@ 10001 10002 OpenBSD-Commit-ID: 3a63e4e11d455704f684c28715d61b17f91e0996 10003 10004commit 3ef4f6e8a4d774f73852391fdccbb95f39fc71bf 10005Author: jmc@openbsd.org <jmc@openbsd.org> 10006Date: Wed Sep 25 06:13:01 2024 +0000 10007 10008 upstream: remove some unneeded Xo/Xc calls; from evan silberman the 10009 10010 original diff had a couple of errors, which i've fixed 10011 10012 OpenBSD-Commit-ID: f37ad5888adbc0d4e1cd6b6de237841f4b1e650d 10013 10014commit 3f02368e8e9121847727c46b280efc280e5eb615 10015Author: djm@openbsd.org <djm@openbsd.org> 10016Date: Wed Sep 25 01:24:04 2024 +0000 10017 10018 upstream: fix regression introduced when I switched the "Match" 10019 10020 criteria tokeniser to a more shell-like one. Apparently the old tokeniser 10021 (accidentally?) allowed "Match criteria=argument" as well as the "Match 10022 criteria argument" syntax that we tested for. 10023 10024 People were using this syntax so this adds back support for 10025 "Match criteria=argument" 10026 10027 bz3739 ok dtucker 10028 10029 OpenBSD-Commit-ID: d1eebedb8c902002b75b75debfe1eeea1801f58a 10030 10031commit 9517cc58577f85a0ba5f8bb46778dff625f0688f 10032Author: djm@openbsd.org <djm@openbsd.org> 10033Date: Tue Sep 24 02:28:17 2024 +0000 10034 10035 upstream: some extra paranoia, reminded by jsg@ 10036 10037 OpenBSD-Commit-ID: 22072bfa1df1391858ae7768a6c627e08593a91e 10038 10039commit 815a94e86a68c1000b8310cb47695cea9329516c 10040Author: Damien Miller <djm@mindrot.org> 10041Date: Wed Sep 25 11:15:45 2024 +1000 10042 10043 gss-serv.c needs sys/param.h 10044 10045 From Void Linux 10046 10047commit 76a618d2842c34c16cd21a4efc7230e2f459008d 10048Author: Damien Miller <djm@mindrot.org> 10049Date: Wed Sep 25 11:13:05 2024 +1000 10050 10051 build construct_utmp() when USE_BTMP is set 10052 10053 Fixes compile error on Void Linux/Musl 10054 10055commit d3aee17f6d395202eaa42a0c449b6da41f61527c 10056Author: Darren Tucker <dtucker@dtucker.net> 10057Date: Tue Sep 24 18:41:44 2024 +1000 10058 10059 Test the flags from OpenWRT's package. 10060 10061commit 0f5d19e6fe4b58a89e6dc8c71a2aae30365d193e 10062Author: Christoph Ostarek <christoph@zededa.com> 10063Date: Wed Jul 3 12:46:59 2024 +0200 10064 10065 fix utmpx ifdef 10066 10067 02e16ad95fb1f56ab004b01a10aab89f7103c55d did a copy-paste for 10068 utmpx, but forgot to change the ifdef appropriately 10069 10070commit e03239f999acf9dc3da0f2f72bde36abbe678911 10071Author: jsg@openbsd.org <jsg@openbsd.org> 10072Date: Sun Sep 22 12:56:21 2024 +0000 10073 10074 upstream: remove some unused defines; ok djm@ 10075 10076 OpenBSD-Commit-ID: 81869ee6356fdbff19dae6ff757095e6b24de712 10077 10078commit a35f543d3a6275fef781e515c262d1c687c3bc28 10079Author: jsg@openbsd.org <jsg@openbsd.org> 10080Date: Fri Sep 20 02:00:46 2024 +0000 10081 10082 upstream: remove unneeded semicolons; checked by millert@ 10083 10084 OpenBSD-Commit-ID: 3fb621a58e04b759a875ad6a33f35bb57ca80231 10085 10086commit 1641f2d4d6e05d2147913442864cae546e64f08b 10087Author: Darren Tucker <dtucker@dtucker.net> 10088Date: Mon Sep 23 20:52:31 2024 +1000 10089 10090 Add 9.9 branch to CI status console. 10091 10092commit 46d1fb16b20e971b9ac15e86a3d3e350b49c9ad6 10093Author: Damien Miller <djm@mindrot.org> 10094Date: Fri Sep 20 08:20:13 2024 +1000 10095 10096 update version numbers 10097 10098commit 0bdca1f218971b38728a0a129f482476baff0968 10099Author: djm@openbsd.org <djm@openbsd.org> 10100Date: Thu Sep 19 22:17:44 2024 +0000 10101 10102 upstream: openssh-9.9 10103 10104 OpenBSD-Commit-ID: 303417285f1a73b9cb7a2ae78d3f493bbbe31f98 10105 10106commit ef2d7f2d3e1b4c9ae71bacf963e76a92ab8be543 10107Author: Damien Miller <djm@mindrot.org> 10108Date: Wed Sep 18 16:03:23 2024 +1000 10109 10110 include openbsd-compat/base64.c license in LICENSE 10111 10112commit 7ef362b989c8d1f7596f557f22e5924b9c08f0ea 10113Author: Damien Miller <djm@mindrot.org> 10114Date: Wed Sep 18 09:01:23 2024 +1000 10115 10116 conditionally include mman.h in arc4random code 10117 10118commit 5fb2b5ad0e748732a27fd8cc16a7ca3c21770806 10119Author: Damien Miller <djm@mindrot.org> 10120Date: Tue Sep 17 11:53:24 2024 +1000 10121 10122 fix bug in recently-added sntrup761 fuzzer 10123 10124 key values need to be static to persist across invocations; 10125 spotted by the Qualys Security Advisory team. 10126 10127commit 0ca128c9ee894f1b0067abd473bfb33171df67f8 10128Author: djm@openbsd.org <djm@openbsd.org> 10129Date: Mon Sep 16 05:37:05 2024 +0000 10130 10131 upstream: use 64 bit math to avoid signed underflow. upstream code 10132 10133 relies on using -fwrapv to provide defined over/underflow behaviour, but we 10134 use -ftrapv to catch integer errors and abort the program. ok dtucker@ 10135 10136 OpenBSD-Commit-ID: 8933369b33c17b5f02479503d0a92d87bc3a574b 10137 10138commit f82e5e22cad88c81d8a117de74241328c7b101c3 10139Author: jmc@openbsd.org <jmc@openbsd.org> 10140Date: Sun Sep 15 08:27:38 2024 +0000 10141 10142 upstream: minor grammar/sort fixes for refuseconnection; ok djm 10143 10144 OpenBSD-Commit-ID: 1c81f37b138b8b66abba811fec836388a0f3e6da 10145 10146commit 0c1165fc78e8fe69b5df71f81a8f944554a68b53 10147Author: Damien Miller <djm@mindrot.org> 10148Date: Sun Sep 15 13:30:13 2024 +1000 10149 10150 avoid gcc warning in fuzz test 10151 10152commit ce171d0718104b643854b53443ff72f7283d33f2 10153Author: djm@openbsd.org <djm@openbsd.org> 10154Date: Sun Sep 15 03:09:44 2024 +0000 10155 10156 upstream: bad whitespace in config dump output 10157 10158 OpenBSD-Commit-ID: d899c13b0e8061d209298eaf58fe53e3643e967c 10159 10160commit 671c440786a5a66216922f15d0007b60f1e6733f 10161Author: Damien Miller <djm@mindrot.org> 10162Date: Sun Sep 15 12:53:59 2024 +1000 10163 10164 use construct_utmp to construct btmp records 10165 10166 Simpler and removes some code with the old-style BSD license. 10167 10168commit 930cb02b6113df72fbc732b9feb8e4f490952a81 10169Author: djm@openbsd.org <djm@openbsd.org> 10170Date: Sun Sep 15 02:20:51 2024 +0000 10171 10172 upstream: update the Streamlined NTRU Prime code from the "ref" 10173 10174 implementation in SUPERCOP 20201130 to the "compact" implementation in 10175 SUPERCOP 20240808. The new version is substantially faster. Thanks to Daniel 10176 J Bernstein for pointing out the new implementation (and of course for 10177 writing it). 10178 10179 tested in snaps/ok deraadt@ 10180 10181 OpenBSD-Commit-ID: bf1a77924c125ecdbf03e2f3df8ad13bd3dafdcb 10182 10183commit 9306d6017e0ce5dea6824c29ca5ba5673c2923ad 10184Author: djm@openbsd.org <djm@openbsd.org> 10185Date: Sun Sep 15 01:19:56 2024 +0000 10186 10187 upstream: document Match invalid-user 10188 10189 OpenBSD-Commit-ID: 2c84a9b517283e9711e2812c1f268081dcb02081 10190 10191commit 0118a4da21147a88a56dc8b90bbc2849fefd5c1e 10192Author: djm@openbsd.org <djm@openbsd.org> 10193Date: Sun Sep 15 01:18:26 2024 +0000 10194 10195 upstream: add a "Match invalid-user" predicate to sshd_config Match 10196 10197 options. 10198 10199 This allows writing Match conditions that trigger for invalid username. 10200 E.g. 10201 10202 PerSourcePenalties refuseconnection:90s 10203 Match invalid-user 10204 RefuseConnection yes 10205 10206 Will effectively penalise bots try to guess passwords for bogus accounts, 10207 at the cost of implicitly revealing which accounts are invalid. 10208 10209 feedback markus@ 10210 10211 OpenBSD-Commit-ID: 93d3a46ca04bbd9d84a94d1e1d9d3a21073fbb07 10212 10213commit 7875975136f275619427604900cb0ffd7020e845 10214Author: djm@openbsd.org <djm@openbsd.org> 10215Date: Sun Sep 15 01:11:26 2024 +0000 10216 10217 upstream: Add a "refuseconnection" penalty class to sshd_config 10218 10219 PerSourcePenalties 10220 10221 This allows penalising connection sources that have had connections 10222 dropped by the RefuseConnection option. ok markus@ 10223 10224 OpenBSD-Commit-ID: 3c8443c427470bb3eac1880aa075cb4864463cb6 10225 10226commit 8d21713b669b8516ca6d43424a356fccc37212bb 10227Author: djm@openbsd.org <djm@openbsd.org> 10228Date: Sun Sep 15 01:09:40 2024 +0000 10229 10230 upstream: Add a sshd_config "RefuseConnection" option 10231 10232 If set, this will terminate the connection at the first authentication 10233 request (this is the earliest we can evaluate sshd_config Match blocks) 10234 10235 ok markus@ 10236 10237 OpenBSD-Commit-ID: 43cc2533984074c44d0d2f92eb93f661e7a0b09c 10238 10239commit acad117e66018fe1fa5caf41b36e6dfbd61f76a1 10240Author: djm@openbsd.org <djm@openbsd.org> 10241Date: Sun Sep 15 00:58:01 2024 +0000 10242 10243 upstream: switch sshd_config Match processing to the argv tokeniser 10244 10245 too; ok markus@ 10246 10247 OpenBSD-Commit-ID: b74b5b0385f2e0379670e2b869318a65b0bc3923 10248 10249commit baec3f7f4c60cd5aa1bb9adbeb6dfa4a172502a8 10250Author: djm@openbsd.org <djm@openbsd.org> 10251Date: Sun Sep 15 00:57:36 2024 +0000 10252 10253 upstream: switch "Match" directive processing over to the argv 10254 10255 string tokeniser, making it possible to use shell-like quoting in Match 10256 directives, particularly "Match exec". ok markus@ 10257 10258 OpenBSD-Commit-ID: 0877309650b76f624b2194c35dbacaf065e769a5 10259 10260commit dd424d7c382c2074ab70f1b8ad4f169a10f60ee7 10261Author: djm@openbsd.org <djm@openbsd.org> 10262Date: Sun Sep 15 00:47:01 2024 +0000 10263 10264 upstream: include pathname in some of the ssh-keygen passphrase 10265 10266 prompts. Helps the user know what's going on when ssh-keygen is invoked via 10267 other tools. Requested in GHPR503 10268 10269 OpenBSD-Commit-ID: 613b0bb6cf845b7e787d69a5b314057ceda6a8b6 10270 10271commit 62bbf8f825cc390ecb0523752ddac1435006f206 10272Author: djm@openbsd.org <djm@openbsd.org> 10273Date: Sun Sep 15 00:41:18 2024 +0000 10274 10275 upstream: Do not apply authorized_keys options when signature 10276 10277 verification fails. Prevents restrictive key options being incorrectly 10278 applied to subsequent keys in authorized_keys. bz3733, ok markus@ 10279 10280 OpenBSD-Commit-ID: ba3776d9da4642443c19dbc015a1333622eb5a4e 10281 10282commit 49f325fd47af4e53fcd7aafdbcc280e53f5aa5ce 10283Author: Wu Weixin <wuweixin@gmail.com> 10284Date: Fri Aug 2 22:16:40 2024 +0800 10285 10286 Fix without_openssl always being set to 1 10287 10288 In Fedora systems, %{?rhel} is empty. In RHEL systems, %{?fedora} is 10289 empty. Therefore, the original code always sets without_openssl to 1. 10290 10291commit c21c3a2419bbc1c59cb1a16ea356e703e99a90d9 10292Author: djm@openbsd.org <djm@openbsd.org> 10293Date: Thu Sep 12 00:36:27 2024 +0000 10294 10295 upstream: Relax absolute path requirement back to what it was prior to 10296 10297 OpenSSH 9.8, which incorrectly required that sshd was started with an 10298 absolute path in inetd mode. bz3717, patch from Colin Wilson 10299 10300 OpenBSD-Commit-ID: 25c57f22764897242d942853f8cccc5e991ea058 10301 10302commit 1bc426f51b0a5cfdcfbd205218f0b6839ffe91e9 10303Author: naddy@openbsd.org <naddy@openbsd.org> 10304Date: Mon Sep 9 14:41:21 2024 +0000 10305 10306 upstream: document the mlkem768x25519-sha256 key exchange algorithm 10307 10308 OpenBSD-Commit-ID: fa18dccdd9753dd287e62ecab189b3de45672521 10309 10310commit 0a2db61a5ffc64d2e2961c52964f933879952fc7 10311Author: Darren Tucker <dtucker@dtucker.net> 10312Date: Tue Sep 10 21:11:14 2024 +1000 10313 10314 Spell omnios test host correctly. 10315 10316commit 059ed698a47c9af541a49cf754fd09f984ac5a21 10317Author: Darren Tucker <dtucker@dtucker.net> 10318Date: Tue Sep 10 18:52:02 2024 +1000 10319 10320 Add omnios test target. 10321 10322commit f4ff91575a448b19176ceaa8fd6843a25f39d572 10323Author: Darren Tucker <dtucker@dtucker.net> 10324Date: Tue Sep 10 18:45:55 2024 +1000 10325 10326 Wrap stdint.h in ifdef. 10327 10328commit ff714f001d20a9c843ee1fd9d92a16d40567d264 10329Author: Darren Tucker <dtucker@dtucker.net> 10330Date: Mon Sep 9 19:31:54 2024 +1000 10331 10332 Also test PAM on dfly64. 10333 10334commit 509b757c052ea969b3a41fc36818b44801caf1cf 10335Author: Damien Miller <djm@mindrot.org> 10336Date: Mon Sep 9 21:50:14 2024 +1000 10337 10338 stubs for ML-KEM KEX functions 10339 10340 used for C89 compilers 10341 10342commit 273581210c99ce7275b8efdefbb9f89e1c22e341 10343Author: Damien Miller <djm@mindrot.org> 10344Date: Mon Sep 9 17:30:38 2024 +1000 10345 10346 declare defeat trying to detect C89 compilers 10347 10348 I can't find a reliable way to detect the features the ML-KEM code 10349 requires in configure. Give up for now and use VLA support (that we 10350 can detect) as a proxy for "old compiler" and turn off ML-KEM if 10351 it isn't supported. 10352 10353commit e8a0f19b56dfa20f98ea9876d7171ec315fb338a 10354Author: Damien Miller <djm@mindrot.org> 10355Date: Mon Sep 9 16:46:40 2024 +1000 10356 10357 fix previous; check for C99 compound literals 10358 10359 The previous commit was incorrect (or at least insufficient), the 10360 ML-KEM code is actually using compound literals, so test for them. 10361 10362commit 7c07bec1446978bebe0780ed822c8fedfb377ae8 10363Author: Damien Miller <djm@mindrot.org> 10364Date: Mon Sep 9 16:06:21 2024 +1000 10365 10366 test for compiler feature needed for ML-KEM 10367 10368 The ML-KEM implementation we uses need the compiler to support 10369 C99-style named struct initialisers (e.g foo = {.bar = 1}). We 10370 still support (barely) building OpenSSH with older compilers, so 10371 add a configure test for this. 10372 10373commit d469d5f348772058789d35332d1ccb0b109c28ef 10374Author: djm@openbsd.org <djm@openbsd.org> 10375Date: Mon Sep 9 03:13:39 2024 +0000 10376 10377 upstream: test mlkem768x25519-sha256 10378 10379 OpenBSD-Regress-ID: 7baf6bc39ae55648db1a2bfdc55a624954847611 10380 10381commit 62fb2b51bb7f6863c3ab697f397b2068da1c993f 10382Author: djm@openbsd.org <djm@openbsd.org> 10383Date: Mon Sep 9 02:39:57 2024 +0000 10384 10385 upstream: pull post-quantum ML-KEM/x25519 key exchange out from 10386 10387 compile-time flag now than an IANA codepoint has been assigned for the 10388 algorithm. 10389 10390 Add mlkem768x25519-sha256 in 2nd KexAlgorithms preference slot. 10391 10392 ok markus@ 10393 10394 OpenBSD-Commit-ID: 9f50a0fae7d7ae8b27fcca11f8dc6f979207451a 10395 10396commit a8ad7a2952111c6ce32949a775df94286550af6b 10397Author: djm@openbsd.org <djm@openbsd.org> 10398Date: Fri Sep 6 02:30:44 2024 +0000 10399 10400 upstream: make parsing user@host consistently look for the last '@' in 10401 10402 the string rather than the first. This makes it possible to use usernames 10403 that contain '@' characters. 10404 MIME-Version: 1.0 10405 Content-Type: text/plain; charset=UTF-8 10406 Content-Transfer-Encoding: 8bit 10407 10408 Prompted by Max Zettlmeißl; feedback/ok millert@ 10409 10410 OpenBSD-Commit-ID: 0b16eec246cda15469ebdcf3b1e2479810e394c5 10411 10412commit 13cc78d016b67a74a67f1c97c7c348084cd9212c 10413Author: djm@openbsd.org <djm@openbsd.org> 10414Date: Wed Sep 4 05:33:34 2024 +0000 10415 10416 upstream: be more strict in parsing key type names. Only allow 10417 10418 shortnames (e.g "rsa") in user-interface code and require full SSH protocol 10419 names (e.g. "ssh-rsa") everywhere else. 10420 10421 Prompted by bz3725; ok markus@ 10422 10423 OpenBSD-Commit-ID: b3d8de9dac37992eab78adbf84fab2fe0d84b187 10424 10425commit ef8472309a68e319018def6f8ea47aeb40d806f5 10426Author: djm@openbsd.org <djm@openbsd.org> 10427Date: Wed Sep 4 05:11:33 2024 +0000 10428 10429 upstream: fix RCSID in output 10430 10431 OpenBSD-Commit-ID: 889ae07f2d2193ddc4351711919134664951dd76 10432 10433commit ba2ef20c75c5268d4d1257adfc2ac11c930d31e1 10434Author: jmc@openbsd.org <jmc@openbsd.org> 10435Date: Tue Sep 3 06:17:48 2024 +0000 10436 10437 upstream: envrionment -> environment; 10438 10439 OpenBSD-Commit-ID: b719f39c20e8c671ec6135c832d6cc67a595af9c 10440 10441commit e66c0c5673a4304a3a9fbf8305c6a19f8653740f 10442Author: Damien Miller <djm@mindrot.org> 10443Date: Wed Sep 4 15:35:29 2024 +1000 10444 10445 add basic fuzzers for our import of sntrup761 10446 10447commit d19dea6330ecd4eb403fef2423bd7e127f4c9828 10448Author: djm@openbsd.org <djm@openbsd.org> 10449Date: Tue Sep 3 05:58:56 2024 +0000 10450 10451 upstream: regression test for Include variable expansion 10452 10453 OpenBSD-Regress-ID: 35477da3ba1abd9ca64bc49080c50a9c1350c6ca 10454 10455commit 8c4d6a628051e318bae2f283e8dc38b896400862 10456Author: djm@openbsd.org <djm@openbsd.org> 10457Date: Tue Sep 3 05:29:55 2024 +0000 10458 10459 upstream: allow the "Include" directive to expand the same set of 10460 10461 %-tokens that "Match Exec" and environment variables. 10462 10463 ok dtucker@ 10464 10465 OpenBSD-Commit-ID: 12ef521eaa966a9241e684258564f52f1f3c5d37 10466 10467commit 51b82648b6827675fc0cde21175fd1ed8e89aab2 10468Author: djm@openbsd.org <djm@openbsd.org> 10469Date: Mon Sep 2 12:18:35 2024 +0000 10470 10471 upstream: missing ifdef 10472 10473 OpenBSD-Commit-ID: 85f09da957dd39fd0abe08fe5ee19393f25c2021 10474 10475commit f68312eb593943127b39ba79a4d7fa438c34c153 10476Author: djm@openbsd.org <djm@openbsd.org> 10477Date: Mon Sep 2 12:13:56 2024 +0000 10478 10479 upstream: Add experimental support for hybrid post-quantum key exchange 10480 10481 ML-KEM768 with ECDH/X25519 from the Internet-draft: 10482 https://datatracker.ietf.org/doc/html/draft-kampanakis-curdle-ssh-pq-ke-03 10483 10484 This is based on previous patches from markus@ but adapted to use the 10485 final FIPS203 standard ML-KEM using a formally-verified implementation 10486 from libcrux. 10487 10488 Note this key exchange method is still a draft and thus subject to 10489 change. It is therefore disabled by default; set MLKEM=yes to build it. 10490 We're making it available now to make it easy for other SSH 10491 implementations to test against it. 10492 10493 ok markus@ deraadt@ 10494 10495 OpenBSD-Commit-ID: 02a8730a570b63fa8acd9913ec66353735dea42c 10496 10497commit 05f2b141cfcc60c7cdedf9450d2b9d390c19eaad 10498Author: Antonio Larrosa <alarrosa@suse.com> 10499Date: Fri Aug 23 12:21:06 2024 +0200 10500 10501 Don't skip audit before exitting cleanup_exit 10502 10503 This fixes an issue where the SSH_CONNECTION_ABANDON event is not 10504 audited because cleanup_exit overrides the regular _exit too soon and 10505 as a result, failed auth attempts are not logged correctly. 10506 10507 The problem was introduced in 81c1099d22b81ebfd20a334ce986c4f753b0db29 10508 where the code from upstream was merged before the audit_event call when 10509 it should have been merged right before the _exit call in order to honor 10510 the comment that just mentions an override of the exit value. 10511 10512commit 16eaf9d401e70996f89f3f417738a8db421aa959 10513Author: djm@openbsd.org <djm@openbsd.org> 10514Date: Wed Aug 28 12:08:26 2024 +0000 10515 10516 upstream: fix test: -F is the argument to specify a non-default 10517 10518 ssh_config, not -f (this is sadly not a new bug) 10519 10520 OpenBSD-Regress-ID: 45a7bda4cf33f2cea218507d8b6a55cddbcfb322 10521 10522commit 10ccf611ab8ecba9ce6b0548c5ccd8c1220baf92 10523Author: deraadt@openbsd.org <deraadt@openbsd.org> 10524Date: Fri Aug 23 04:51:00 2024 +0000 10525 10526 upstream: As defined in the RFC, the SSH protocol has negotiable 10527 10528 compression support (which is requested as the name "zlib"). Compression 10529 starts very early in the session. Relative early in OpenSSH lifetime, privsep 10530 was added to sshd, and this required a shared-memory hack so the two 10531 processes could see what was going on in the dataflow. This shared-memory 10532 hack was soon recognized as a tremendous complexity risk, because it put libz 10533 (which very much trusts it's memory) in a dangerous place, and a new option 10534 ("zlib@openssh.com") was added begins compression after authentication (aka 10535 delayed-compression). That change also permitted removal of the 10536 shared-memory hack. Despite removal from the server, the old "zlib" support 10537 remained in the client, to allow negotiation with non-OpenSSH daemons which 10538 lack the delayed-compression option. This commit deletes support for the 10539 older "zlib" option in the client. It reduces our featureset in a small way, 10540 and encourages other servers to move to a better design. The SSH protocol is 10541 different enough that compressed-key-material attacks like BEAST are 10542 unlikely, but who wants to take the chance? We encourage other ssh servers 10543 who care about optional compression support to add delayed-zlib support. 10544 (Some already do "zlib@openssh.com") ok djm markus 10545 10546 OpenBSD-Commit-ID: 6df986f38e4ab389f795a6e39e7c6857a763ba72 10547 10548commit aee54878255d71bf93aa6e91bbd4eb1825c0d1b9 10549Author: djm@openbsd.org <djm@openbsd.org> 10550Date: Thu Aug 22 23:11:30 2024 +0000 10551 10552 upstream: sntrup761x25519-sha512 now has an IANA codepoint assigned, so 10553 10554 we can make the algorithm available without the @openssh.com suffix too. ok 10555 markus@ deraadt@ 10556 10557 OpenBSD-Commit-ID: eeed8fcde688143a737729d3d56d20ab4353770f 10558 10559commit a76a6b85108e3032c8175611ecc5746e7131f876 10560Author: Darren Tucker <dtucker@dtucker.net> 10561Date: Thu Aug 22 20:36:12 2024 +1000 10562 10563 Move rekey test into valgrind-2. 10564 10565 Now that the rekey test has been optimized it's fast enough to not be in 10566 its own valgrind test, so move it into valgrind-2, which is currently 10567 the quickest of the others, bringing all of them to roughly the same 10568 runtime of ~1.1 hours. 10569 10570commit 7e75e3f57c41b9a6e6401e7674d7c2ff5c33975b 10571Author: dtucker@openbsd.org <dtucker@openbsd.org> 10572Date: Thu Aug 22 10:21:02 2024 +0000 10573 10574 upstream: Use aes128-ctr for MAC tests since default has implicit MAC. 10575 10576 Also verify that the Cipher or MAC we intended to use is actually the one 10577 selected during the test. 10578 10579 OpenBSD-Regress-ID: ff43fed30552afe23d1364526fe8cf88cbfafe1d 10580 10581commit ebc890b8b4ba08c84cd1066b7b94b2b11f6c4cb4 10582Author: Damien Miller <djm@mindrot.org> 10583Date: Thu Aug 22 09:45:49 2024 +1000 10584 10585 fix incorrect default for PasswordAuthentication 10586 10587 merge botch spotted by gsgleason 10588 10589commit 15ace435ea1c2fab2a1cc7d9c3157fe20c776b80 10590Author: dtucker@openbsd.org <dtucker@openbsd.org> 10591Date: Wed Aug 21 10:33:27 2024 +0000 10592 10593 upstream: Some awks won't match on the \r so delete it instead. Fixes 10594 10595 regress in portable on, eg Solaris. 10596 10597 OpenBSD-Regress-ID: 44a96d6d2f8341d89b7d5fff777502b92ac9e9ba 10598 10599commit 51c96b6ed627779a04493a8fe25747996a37f3c2 10600Author: dtucker@openbsd.org <dtucker@openbsd.org> 10601Date: Wed Aug 21 07:06:27 2024 +0000 10602 10603 upstream: Import regenerated moduli. 10604 10605 OpenBSD-Commit-ID: 5db7049ad5558dee5b2079d3422e8ddab187c1cc 10606 10607commit 25c52f37a82c4da48ec537de37d7c168982b8d6d 10608Author: dtucker@openbsd.org <dtucker@openbsd.org> 10609Date: Wed Aug 21 06:59:08 2024 +0000 10610 10611 upstream: Use curve25519-sha256 kex where possible. 10612 10613 Except where we're explicitly testing a different kex, use 10614 curve25519-sha256 since it's faster than the default and supported even 10615 when configured without OpenSSL. Add a check to ensure that the kex we 10616 intended to test is the one we actually tested. Speeds test up by ~5%. 10617 10618 OpenBSD-Regress-ID: 3b27fcc2ae953cb08fd82a0d3155c498b226d6e0 10619 10620commit 3eb62b7ba49483c309b483eb9002a679014f3887 10621Author: dtucker@openbsd.org <dtucker@openbsd.org> 10622Date: Tue Aug 20 12:36:59 2024 +0000 10623 10624 upstream: Send only as much data as needed to trigger rekeying. Speeds 10625 10626 up tests by about 10% in the common case, hopefully more when instrumented 10627 with something like valgrind. 10628 10629 OpenBSD-Regress-ID: 7bf9292b4803357efcf0baf7cfbdc8521f212da1 10630 10631commit cbd3f034bbf7853618fac99d7d868a2250154ea7 10632Author: Damien Miller <djm@mindrot.org> 10633Date: Wed Aug 21 09:18:29 2024 +1000 10634 10635 simplify sshkey_prekey_alloc(); always use mmap 10636 10637commit 4442bbc2fc661277a6dabfedb756a7e15ee8b8b8 10638Author: dtucker@openbsd.org <dtucker@openbsd.org> 10639Date: Tue Aug 20 09:15:49 2024 +0000 10640 10641 upstream: Merge AEAD test into main test loop. 10642 10643 Removes 3 duplicate tests and speeds overall test up by about 1%. 10644 10645 OpenBSD-Regress-ID: 5e5c9ff3f7588091ed369e34ac28520490ad2619 10646 10647commit 829976a63fd1efae3a4c3e7c16fded59d92edb67 10648Author: dtucker@openbsd.org <dtucker@openbsd.org> 10649Date: Tue Aug 20 09:02:45 2024 +0000 10650 10651 upstream: Set a default RekeyLimit of 256k. 10652 10653 Used unless overridden by a command-line flag, which simplifies some of 10654 the ssh command lines. 10655 10656 OpenBSD-Regress-ID: e7cffa57027088e10336e412b34113969f88cb87 10657 10658commit 57d02c9ea36aebad4e7146d46e041b6b2e582f7f 10659Author: dtucker@openbsd.org <dtucker@openbsd.org> 10660Date: Tue Aug 20 07:52:43 2024 +0000 10661 10662 upstream: Add Compression=no to default ssh_config. 10663 10664 All of the rekey tests use it (otherwise the encrypted byte counts would 10665 not match) so this lets us simplify the command lines. 10666 10667 OpenBSD-Regress-ID: dab7ce10f4cf6c68827eb8658141272aab3ea262 10668 10669commit 7254eb26f7c0772c4b47c3b32f6d1b15855cdd8c 10670Author: dtucker@openbsd.org <dtucker@openbsd.org> 10671Date: Tue Aug 20 07:41:35 2024 +0000 10672 10673 upstream: Remove duplicate curve25519-sha256 kex. 10674 10675 curve25519-sha256@libssh.org is the pre-standardization name for the same 10676 thing, so remove it as a duplicate. Speeds up test by a tiny amount. 10677 10678 OpenBSD-Regress-ID: 5a5ee5fa1595a6e140b1cc16040bedf5996a5715 10679 10680commit 749896b874928c2785256cae4d75161dc3bfcc7d 10681Author: dtucker@openbsd.org <dtucker@openbsd.org> 10682Date: Tue Aug 20 07:27:25 2024 +0000 10683 10684 upstream: Unnest rekey param parsing test and use ssh not sshd. 10685 10686 ssh uses the same parsing code, now has "-G" to dump its config and is 10687 slightly faster to start up. This speeds up the test slightly (~5%) in the 10688 common case but should help more during instrumented tests, eg under 10689 valgrind, where startup costs are magnified. 10690 10691 OpenBSD-Regress-ID: 07c3acaf4c728e641033071f4441afc88141b0d0 10692 10693commit 2b1762115481ff2b7a60fd4db2ae69b725437462 10694Author: djm@openbsd.org <djm@openbsd.org> 10695Date: Tue Aug 20 11:10:04 2024 +0000 10696 10697 upstream: actually use the length parameter that was passed in rather 10698 10699 than a constant (this makes no difference in practice because the length is 10700 always the same); reported by martin AT nmkd.net 10701 10702 OpenBSD-Commit-ID: 4aecce232c2fe9b16e9217ff6bcb3c848d853e7e 10703 10704commit d922762ca16a7381131b242f49d7376c41fabcb5 10705Author: Damien Miller <djm@mindrot.org> 10706Date: Tue Aug 20 13:55:30 2024 +1000 10707 10708 private key coredump protection for Linux/FreeBSD 10709 10710 platforms not supporting coredump exclusion using mmap/madvise flags 10711 fall back to plain old malloc(3). 10712 10713commit cc048ca536d6bed6f2285b07040b0d57cd559ba5 10714Author: djm@openbsd.org <djm@openbsd.org> 10715Date: Tue Aug 20 03:48:30 2024 +0000 10716 10717 upstream: place shielded keys (i.e. keys at rest in RAM) into memory 10718 10719 allocated using mmap(3) with MAP_CONCEAL set. This prevents exposure of the 10720 key material in coredumps, etc (this is in addition to other measures we take 10721 in this area). 10722 10723 ok deraadt@ 10724 10725 OpenBSD-Commit-ID: cbbae59f337a00c9858d6358bc65f74e62261369 10726 10727commit a0b35c791cad1f85481b23ba46373060292e1c80 10728Author: djm@openbsd.org <djm@openbsd.org> 10729Date: Sat Aug 17 08:35:04 2024 +0000 10730 10731 upstream: mention that ed25519 is the default key type generated and 10732 10733 clarify that rsa-sha2-512 is the default signature scheme when RSA is in use. 10734 Based on GHPR505 from SebastianRzk 10735 10736 OpenBSD-Commit-ID: 1d90df71636a04601685d2a10a8233bcc8d4f4c5 10737 10738commit 127a50f2c80572ed1a021feb11ecf941e92cbbef 10739Author: djm@openbsd.org <djm@openbsd.org> 10740Date: Sat Aug 17 08:23:04 2024 +0000 10741 10742 upstream: fix minor memory leak in Subsystem option parsing; from 10743 10744 Antonio Larrosa via GHPR515 10745 10746 OpenBSD-Commit-ID: fff3bbefd1b2c45c98cbe45c6b857b15d8a2d364 10747 10748commit 171427261d2079941eb1041079dbae875da37cbc 10749Author: djm@openbsd.org <djm@openbsd.org> 10750Date: Sat Aug 17 08:09:50 2024 +0000 10751 10752 upstream: fix swapping of source and destination addresses in some sshd 10753 10754 log messages 10755 10756 OpenBSD-Commit-ID: 24d4cbb86325275df1f037545aa3b91456e52d25 10757 10758commit 2a50a8f1fa57857a5e124a2280bcf61cc63c77f7 10759Author: Darren Tucker <dtucker@dtucker.net> 10760Date: Sat Aug 17 11:10:19 2024 +1000 10761 10762 Add compat functions for EVP_Digest{Sign,Verify}. 10763 10764 This should make LibreSSL 3.1.x through 3.3.x work again. Code from 10765 tb@, ok djm@. Restore the test configs covering those. 10766 10767commit 1c3a7145260e03037cc18715b883880836fd122d 10768Author: Philip Hands <phil@hands.com> 10769Date: Thu Aug 8 13:03:51 2024 +0200 10770 10771 make sure that usage & man page match 10772 10773 SSH-Copy-ID-Upstream: da5b1abe55b72a16e0430e7598e1573da01779c0 10774 10775commit cd0d681645b9adcf2467e7838bfd9d5142de4c4e 10776Author: Philip Hands <phil@hands.com> 10777Date: Thu Aug 8 13:01:47 2024 +0200 10778 10779 update copyright notices 10780 10781 Bump the year to 2024, but also reflect the fact that hands.com Ltd. has 10782 been wound up in the UK, and its assets (including this copyright) have 10783 now reverted to its owner, Philip Hands. 10784 10785 SSH-Copy-ID-Upstream: 0e4c4d072747a6568b11a790c29dd1b4ce663d7f 10786 10787commit 7fc9ccdce18841ebd0a97e31e43258512ab32a32 10788Author: Philip Hands <phil@hands.com> 10789Date: Sun Aug 4 20:45:00 2024 +0200 10790 10791 restore optionality of -i's argument 10792 10793 SSH-Copy-ID-Upstream: f70e3abb510e4eeb040b47894e41828246c1b720 10794 10795commit c37aa7012b1a3c2c322fd19e71310aadc90fc674 10796Author: Philip Hands <phil@hands.com> 10797Date: Fri Aug 2 15:52:07 2024 +0200 10798 10799 avoid exploring .ssh/id*.pub subdirectories 10800 10801 SSH-Copy-ID-Upstream: 0b9e08b7707ad16de3c8e6a0410d9f42fbd56997 10802 10803commit 777dce9e2e0d12f7e81e162f77749f30899869fe 10804Author: Philip Hands <phil@hands.com> 10805Date: Fri Aug 2 10:07:11 2024 +0200 10806 10807 ensure that we're always told the source of keys 10808 10809 SSH-Copy-ID-Upstream: 1bee96f4793e8ec3fab9f9361204ae58f5cc7cae 10810 10811commit fb94fd2339848e40cad6c9bb42b822244cc1a7bc 10812Author: Philip Hands <phil@hands.com> 10813Date: Wed Jul 31 23:19:51 2024 +0200 10814 10815 add $HOME to ERROR if one cannot write to ~/.ssh 10816 10817 SSH-Copy-ID-Upstream: ebef3e9c06e0447bff06e9d84b33023cf592e0ba 10818 10819commit eb5aafa1ffaeee75799141ec5ded406a65ec7d18 10820Author: Philip Hands <phil@hands.com> 10821Date: Wed Jul 31 23:19:03 2024 +0200 10822 10823 assert that SCRATCH_DIR is a writable directory 10824 10825 SSH-Copy-ID-Upstream: ecb2b9d10883b9a16df56c83896c9bb47a80cde2 10826 10827commit abcc460a2af46f0d812f8433d97a8eae1d80724c 10828Author: Philip Hands <phil@hands.com> 10829Date: Wed Jul 31 23:17:54 2024 +0200 10830 10831 quote to avoid potential for word splitting 10832 10833 SSH-Copy-ID-Upstream: f379adbe06ac2ef1daf0f130752234c7f8b97e3c 10834 10835commit b3f91411fd1473605f74c40c1a91a024c7171e27 10836Author: Philip Hands <phil@hands.com> 10837Date: Wed Jul 31 23:15:11 2024 +0200 10838 10839 ensure ERROR output goes to STDERR 10840 10841 SSH-Copy-ID-Upstream: ac394b05eead3b91feb7c2ae4129a3e9b892f1e2 10842 10843commit 674b8f30f0dbacd787eb1e4e7e1ece34b5543d8f 10844Author: Philip Hands <phil@hands.com> 10845Date: Thu Aug 1 14:03:06 2024 +0200 10846 10847 avoid extra space when no arg given to -i option 10848 10849 SSH-Copy-ID-Upstream: feca9e67e6e37c5653445d1c733569d7abb1770e 10850 10851commit 0efa0e1c41427c0c6ba839a18c72c1afcd7b7cc0 10852Author: Philip Hands <phil@hands.com> 10853Date: Wed Jul 31 23:28:36 2024 +0200 10854 10855 put the -i before -[pP] (matching man pages) 10856 10857 The man pages (ssh, sftp & ssh-copy-id) all list -i before the port 10858 setting, so make the output match that order, which also seems more 10859 natural with the port being next to the server. 10860 10861 SSH-Copy-ID-Upstream: 34d5d614172c78f9a42249466c4b81975b8883a1 10862 10863commit 87831345e9745f2d13bd7a4a7972809f6788f331 10864Author: Shreyas Mahangade <smahanga@redhat.com> 10865Date: Mon Jul 29 15:26:05 2024 +0000 10866 10867 Minor space issue fixed 10868 10869 SSH-Copy-ID-Upstream: 335e44d7be78b03962a54c3a5c99a2ff45294a54 10870 10871commit 2f3010f4736b4b3f5c10a4be97a24e90ff04c5e7 10872Author: Shreyas Mahangade <smahanga@redhat.com> 10873Date: Mon Jul 29 16:55:28 2024 +0530 10874 10875 Show identity file in 'ssh' command 10876 10877 - Previously no identity file is shown in "ssh" command output on the line "Now try logging into the..." 10878 - This commit makes sure whenever "ssh-copy-id" with "-i" is invoked, it also reflects in "ssh" command 10879 10880 SSH-Copy-ID-Upstream: 58e022ec26cb2315eb3be581d01e0ba787082428 10881 10882commit a13856374b894397a7682b32257ed0bf67cfede9 10883Author: Damien Miller <djm@mindrot.org> 10884Date: Fri Aug 16 08:30:20 2024 +1000 10885 10886 more OPENSSL_HAS_ECC 10887 10888commit 4da2a1a7f648979bea6eaf3b17f5f250faed4afc 10889Author: Damien Miller <djm@mindrot.org> 10890Date: Thu Aug 15 23:35:54 2024 +1000 10891 10892 fix merge botch that broke !OPENSSL_HAS_ECC 10893 10894commit 2c53d2f32b8e3992b61682c909ae5bc5122b6e5d 10895Author: Damien Miller <djm@mindrot.org> 10896Date: Thu Aug 15 15:09:45 2024 +1000 10897 10898 missed OPENSSL_HAS_ECC case 10899 10900commit 342dd7a219f39119b8b686b5aaa99c8e15ede368 10901Author: Damien Miller <djm@mindrot.org> 10902Date: Thu Aug 15 15:06:55 2024 +1000 10903 10904 retire testing aginst older LibreSSL versions 10905 10906 libressl prior to 3.4.x lack support for the EVP_DigestSign and 10907 EVP_DigestVerify APIs that we need now that sshkey is converted 10908 to EVP_PKEY. 10909 10910 If someone makes a good case for why we should support these versions 10911 then we could bring back support with wrappers. 10912 10913commit a7c6ea8eebe0f179141ec5dbf0c9e5354417930f 10914Author: Damien Miller <djm@mindrot.org> 10915Date: Thu Aug 15 12:44:17 2024 +1000 10916 10917 sync TEST_MALLOC_OPTIONS for OpenBSD 10918 10919commit 60c2cf22e8f64f35d8b1175e4671257313f2e4d3 10920Author: Damien Miller <djm@mindrot.org> 10921Date: Thu Aug 15 12:43:47 2024 +1000 10922 10923 remove gratuitious difference from OpenBSD 10924 10925commit 339c4fc60a6250429d41fa8713f783d82aad4551 10926Author: djm@openbsd.org <djm@openbsd.org> 10927Date: Thu Aug 15 00:52:23 2024 +0000 10928 10929 upstream: adapt to EVP_PKEY conversion 10930 10931 OpenBSD-Regress-ID: 0e2d4efb0ed0e392e23cd8fda183fe56531ac446 10932 10933commit 63a94f99b9d7c8a48182a40192e45879d1ba8791 10934Author: djm@openbsd.org <djm@openbsd.org> 10935Date: Fri Jul 19 04:33:36 2024 +0000 10936 10937 upstream: test transfers in mux proxy mode too 10938 10939 OpenBSD-Regress-ID: 2edfc980628cfef3550649cab8d69fa23b5cd6c4 10940 10941commit 7bdfc20516e288b58c8c847958059c7b141eeff9 10942Author: djm@openbsd.org <djm@openbsd.org> 10943Date: Thu Aug 15 00:51:51 2024 +0000 10944 10945 upstream: Convert RSA and ECDSA key to the libcrypto EVP_PKEY API. 10946 10947 DSA remains unconverted as it will be removed within six months. 10948 10949 Based on patches originally from Dmitry Belyavskiy, but significantly 10950 reworked based on feedback from Bob Beck, Joel Sing and especially 10951 Theo Buehler (apologies to anyone I've missed). 10952 10953 ok tb@ 10954 10955 OpenBSD-Commit-ID: d098744e89f1dc7e5952a6817bef234eced648b5 10956 10957commit 0af06e2c5b898992a18c74333e75a0136506acc6 10958Author: tobias@openbsd.org <tobias@openbsd.org> 10959Date: Wed Aug 14 15:42:18 2024 +0000 10960 10961 upstream: Reorder calloc arguments 10962 10963 The first argument should be the amount, the second argument should be the 10964 element size. Fixing this also silences some gcc compiler warnings for 10965 portable. 10966 10967 Spotted with Benny Baumann (BenBE at geshi dot org). 10968 10969 ok djm@ 10970 10971 OpenBSD-Commit-ID: 711ad6f7bd7fb48bf52208f2cf9f108cddb6d41a 10972 10973commit 56ce0aa3c6cf28d9fcbce3207457abeac91b5050 10974Author: tobias@openbsd.org <tobias@openbsd.org> 10975Date: Wed Aug 14 15:40:30 2024 +0000 10976 10977 upstream: Extend sshbuf validation 10978 10979 Multiple sshbuf structs can be linked through a parent/child relationship. 10980 Make sure that a single sshbuf cannot be its own parent. If this would ever 10981 happen, it would result in reference counting issues. 10982 10983 This is a cheap way of testing this with very little overhead. It does not 10984 detect A->B->A linkages though for performance reason and the fact that it 10985 takes a programming error for this to occur anyway. 10986 10987 Authored with Benny Baumann (BenBE at geshi dot org). 10988 10989 ok djm@ 10990 10991 OpenBSD-Commit-ID: fb3fa9ee2cad3c7e842ebadfd7f5db220c4aaf16 10992 10993commit fc48ddf6998188517af42dce807e2088b6a0c0be 10994Author: tobias@openbsd.org <tobias@openbsd.org> 10995Date: Wed Aug 14 15:37:11 2024 +0000 10996 10997 upstream: Use freezero for better readability 10998 10999 It has the same meaning as the current pair of calling explicit_bzero 11000 and free. Spotted with Benny Baumann (BenBE at geshi dot org). 11001 11002 ok djm@ 11003 11004 OpenBSD-Commit-ID: 939fbe9ccf52d0d48c5fa53694d6f3bb9927970c 11005 11006commit 1ff6907ec26dac6ac59fe9fe232899a63b4c14d8 11007Author: tobias@openbsd.org <tobias@openbsd.org> 11008Date: Wed Aug 14 15:35:23 2024 +0000 11009 11010 upstream: Fix typo in comment 11011 11012 Spotted with Benny Baumann (BenBE at geshi dot org). 11013 11014 ok djm@ 11015 11016 OpenBSD-Commit-ID: 829160ac8ef3ad3409695ce3a3ade835061cae57 11017 11018commit 487faaed8f3bb9ffb19e8f807a3da72895b16421 11019Author: dlg@openbsd.org <dlg@openbsd.org> 11020Date: Wed Jul 31 12:00:18 2024 +0000 11021 11022 upstream: add a random amount of time (up to 4 seconds) to the 11023 11024 grace login time. 11025 11026 ok deraadt@ djm@ 11027 11028 OpenBSD-Commit-ID: abd3c57aaa5861517529b322df79b6be35ee67f4 11029 11030commit 2865f5b7520bed3e74fbbb5f8d7a44193d7a4314 11031Author: naddy@openbsd.org <naddy@openbsd.org> 11032Date: Fri Jul 26 15:24:49 2024 +0000 11033 11034 upstream: document the reduced logingrace penalty 11035 11036 OpenBSD-Commit-ID: 9b63e0e3599d524ddc10edc4f978081382c3548b 11037 11038commit 1ec0a64c5dc57b8a2053a93b5ef0d02ff8598e5c 11039Author: Darren Tucker <dtucker@dtucker.net> 11040Date: Sun Jul 28 21:26:51 2024 +1000 11041 11042 Explicitly install libssl-devel cygwin. 11043 11044 Should fix CI tests for cygwin default config. 11045 11046commit 0bf6e5bb750b66b25c20a1c5a471f91850de3748 11047Author: djm@openbsd.org <djm@openbsd.org> 11048Date: Thu Jul 25 23:44:01 2024 +0000 11049 11050 upstream: reduce logingrace penalty. 11051 11052 A single forgotton login that times out should be below the penalty 11053 threshold. 11054 11055 ok deraadt/claudio 11056 11057 OpenBSD-Commit-ID: cee1f7d17597c97bff8e5092af5d136fdb08f81d 11058 11059commit 29fb6f6d46b67770084b4f12bcf8a01bd535041b 11060Author: djm@openbsd.org <djm@openbsd.org> 11061Date: Thu Jul 25 22:40:08 2024 +0000 11062 11063 upstream: Fix proxy multiplexing (-O proxy) bug 11064 11065 If a mux started with ControlPersist then later has a forwarding added using 11066 mux proxy connection and the forwarding was used, then when the mux proxy 11067 session terminates, the mux master process will send a channel close to the 11068 server with a bad channel ID and crash the connection. 11069 11070 This was caused by my stupidly reusing c->remote_id for mux channel 11071 associations when I should have just added another member to struct channel. 11072 11073 ok markus@ 11074 11075 OpenBSD-Commit-ID: c9f474e0124e3fe456c5e43749b97d75e65b82b2 11076 11077commit 53d1d307438517805989c7d5616d752739a97e03 11078Author: djm@openbsd.org <djm@openbsd.org> 11079Date: Thu Jul 18 01:47:27 2024 +0000 11080 11081 upstream: mention mux proxy mode 11082 11083 OpenBSD-Commit-ID: fd77a77779f06d316a314e4540dc57c93fc3369a 11084 11085commit a9b90859d252c2f5a24142f985d38610ac74685f 11086Author: jsg@openbsd.org <jsg@openbsd.org> 11087Date: Sun Jul 14 10:19:23 2024 +0000 11088 11089 upstream: fix double word; ok dtucker@ 11090 11091 OpenBSD-Commit-ID: e6aff005914fa350b896d2be030be3d3b56ec0e8 11092 11093commit b05fda224bbcd2f641254534ed2175c42487f3c8 11094Author: Darren Tucker <dtucker@dtucker.net> 11095Date: Thu Jul 25 17:59:35 2024 +1000 11096 11097 Check for SA_RESTART before using it. 11098 11099 ok djm@ 11100 11101commit c276672fc0e99f0c4389988d54a84c203ce325b6 11102Author: Yuichiro Naito <naito.yuichiro@gmail.com> 11103Date: Wed Sep 1 10:19:32 2021 +0900 11104 11105 Class-imposed login restrictions 11106 11107 If the following functions are available, 11108 add an additional check if users are allowed to login imposed by login class. 11109 11110 * auth_hostok(3) 11111 * auth_timeok(3) 11112 11113 These functions are implemented on FreeBSD. 11114 11115commit 7717b9e9155209916cc6b4b4b54f4e8fa578e889 11116Author: djm@openbsd.org <djm@openbsd.org> 11117Date: Wed Jul 10 21:58:34 2024 +0000 11118 11119 upstream: correct keyword; from Yatao Su via GHPR509 11120 11121 OpenBSD-Commit-ID: 81c778c76dea7ef407603caa157eb0c381c52ad2 11122 11123commit f2b78bb8f149d6b4d1f62c21aa1f06995dccf4ce 11124Author: djm@openbsd.org <djm@openbsd.org> 11125Date: Mon Jul 8 03:04:34 2024 +0000 11126 11127 upstream: don't need return at end of void function 11128 11129 OpenBSD-Commit-ID: 42d322d37f13aa075ae7b1ad9eef591e20b89717 11130 11131commit a395d37a813c0177cb5bfc4bebf5a52badb73cf0 11132Author: djm@openbsd.org <djm@openbsd.org> 11133Date: Thu Jul 4 22:53:59 2024 +0000 11134 11135 upstream: fix grammar: "a pattern lists" -> "one or more pattern 11136 11137 lists" 11138 11139 OpenBSD-Commit-ID: f3c844763398faa9800687e8ff6621225498202a 11140 11141commit 8b664df75966e5aed8dabea00b8838303d3488b8 11142Author: Darren Tucker <dtucker@dtucker.net> 11143Date: Sun Jul 7 18:46:19 2024 +1000 11144 11145 Cast to sockaddr * in systemd interface. 11146 11147 Fixes build with musl libx. bz#3707. 11148