OpenBSD/src x1Yx9L4usr.sbin/relayd ssl.c ca.c

   relayd: drain OpenSSL error queue on TLS failures

   Borrowed from smtpd. Without draining we just log "RSA_meth_dup failed"
   and lose the actual reason.

   Wire ssl_error() into ca_engine_init(), which also kills a dead
   RSA_meth_free() on a NULL pointer there, and into ssl_load_key()s fail
   path.

   Tweaks and OK tb
VersionDeltaFile
1.41+16-1usr.sbin/relayd/ssl.c
1.54+4-2usr.sbin/relayd/ca.c
1.286+2-1usr.sbin/relayd/relayd.h
+22-43 files

OpenBSD/src 34r7bgBusr.sbin/relayd ca.c

   relayd: remove from and toptr to simplify

   feedback and OK claudio
VersionDeltaFile
1.53+8-12usr.sbin/relayd/ca.c
+8-121 files

OpenBSD/src cJgMLlOusr.sbin/relayd relayd.c config.c

   relayd: use ibuf_get_string() and ibuf_get_data() to read imsg payloads

   Drop the local get_string() and read variable-length string and binary
   payloads through the ibuf getters instead of the raw imsg->data pointer.

   ibuf_get_string() no longer trims the input at the first non-printable
   byte like the old get_string() did; the payloads come from the parent
   over privsep imsg.

   idea and ok claudio
VersionDeltaFile
1.201+11-18usr.sbin/relayd/relayd.c
1.53+7-12usr.sbin/relayd/config.c
1.285+2-3usr.sbin/relayd/relayd.h
+20-333 files

OpenBSD/src 8oEyL01usr.sbin/relayd control.c

   fix knfmt
VersionDeltaFile
1.68+2-2usr.sbin/relayd/control.c
+2-21 files

OpenBSD/src 5HQcdhGusr.sbin/relayd proc.c relayd.h

   Check error in proc_forward_imsg
VersionDeltaFile
1.55+3-5usr.sbin/relayd/proc.c
1.284+2-2usr.sbin/relayd/relayd.h
+5-72 files

OpenBSD/src YpPwkICusr.sbin/relayd relayd.c relayd.h

   relayd: read parent_dispatch_pfe() payloads via the imsg getters

   Use imsg_get_data() for the fixed-size messages and imsg_get_ibuf() for
   the variable-length IMSG_CTL_RELOAD path, taking the config name from
   the ibuf via ibuf_data()/ibuf_size().

   Remove IMSG_SIZE_CHECK and IMSG_DATA_SIZE, no consumer left.


   OK claudio
VersionDeltaFile
1.200+31-13usr.sbin/relayd/relayd.c
1.283+1-7usr.sbin/relayd/relayd.h
+32-202 files

OpenBSD/src EFy1aSsusr.sbin/relayd ca.c

   relayd: use imsg_get_ibuf() for variable-length CA key operations

   The IMSG_CA_PRIVENC/PRIVDEC messages carry a ctl_keyop header followed
   by cko_flen (request) or cko_tlen (response) trailing bytes, so the
   exact-size imsg_get_data() cannot be used. Read the header with
   imsg_get_ibuf() + ibuf_get() and take the payload from the same ibuf
   via ibuf_data()/ibuf_size().

   Tweaks (in a different commit) and OK claudio
VersionDeltaFile
1.52+37-18usr.sbin/relayd/ca.c
+37-181 files

OpenBSD/src c1DcgJ2usr.sbin/relayd config.c

   relayd: read imsg payloads via the new imsg/ibuf getters

   Convert the config_get* handlers from IMSG_SIZE_CHECK() + memcpy() to
   the new imsg API. Fixed-size payloads use imsg_get_data(). Functions
   with a fixed header followed by variable-length data use imsg_get_ibuf()
   + ibuf_get() and read the remainder from the same ibuf cursor, since
   imsg_get_data() requires the payload to match the requested size
   exactly.

   Feedback and OK claudio
VersionDeltaFile
1.52+117-73usr.sbin/relayd/config.c
+117-731 files

OpenBSD/src 8WA2KFZusr.bin/tmux layout-custom.c

   Return early if connect construct cell, reported by Jere Viikari.
VersionDeltaFile
1.34+3-1usr.bin/tmux/layout-custom.c
+3-11 files

OpenBSD/src dlbfYuiusr.sbin/relayd control.c pfe.c

   relayd: convert control imsg forwarding to imsg_forward()

   Rework control_imsg_forward() to forward the message unaltered via
   imsg_forward() instead of rebuilding it with imsg_compose_event().

   read the type via imsg_get_type(), dropping the manual header-length
   Switch to use read the payload with imsg_get_data() and checks and the
   memcpy() that wrote the data back into the imsg before forwarding.

   OK claudio
VersionDeltaFile
1.67+47-49usr.sbin/relayd/control.c
1.94+5-5usr.sbin/relayd/pfe.c
1.282+2-2usr.sbin/relayd/relayd.h
+54-563 files

OpenBSD/src kNIAQ4Ausr.sbin/relayd pfe.c relay.c

   relayd: use imsg_get_data() and imsg_get_type()

   Replace IMSG_SIZE_CHECK() + memcpy()/bcopy() with imsg_get_data(),
   which does the length check and copy in one call, and read the message
   type via imsg_get_type() instead of imsg->hdr.type.

   OK claudio
VersionDeltaFile
1.93+18-18usr.sbin/relayd/pfe.c
1.264+13-13usr.sbin/relayd/relay.c
1.84+6-6usr.sbin/relayd/hce.c
1.51+6-6usr.sbin/relayd/ca.c
+43-434 files

OpenBSD/src Cq2wbxvusr.sbin/relayd proc.c control.c

   relayd: convert proc.c to new imsg API

   Replace IMSG_SIZE_CHECK() + memcpy() with imsg_get_data(), which does
   the length check and copy in one call. Use the imsg accessors
   (imsg_get_*) instead of touching imsg.hdr directly and
   imsgbuf_get()/imsgbuf_read() instead of imsg_get().

   Rewrite proc_forward_imsg() to use imsg_forward() per target imsgbuf
   instead of re-composing via proc_compose_imsg(); arm the write event
   with imsg_event_add() after each forward.

   proc_forward_imsg() never forwarded an fd, and imsg_forward() rewinds
   the buffer internally, so multiple forwards per message keep working.

   Drop the now-unused n parameter (all callers passed -1).

   ok claudio@
VersionDeltaFile
1.54+32-19usr.sbin/relayd/proc.c
1.66+5-5usr.sbin/relayd/control.c
1.281+2-2usr.sbin/relayd/relayd.h
+39-263 files

OpenBSD/src GSAjn3Rsys/net if_spppsubr.c

   sppp_pap_input(): do not compare credentials if the lengths of received
   ones is not the same of configured.

   ok renaud bluhm
VersionDeltaFile
1.202+3-3sys/net/if_spppsubr.c
+3-31 files

OpenBSD/src d8vbYA1usr.bin/ssh ed25519.sh ed25519.c

   make crypto_sign_ed25519_keypair_from_seed non-static. The
   new ML-DSA/ed25519 code needs it
VersionDeltaFile
1.6+2-2usr.bin/ssh/ed25519.sh
1.8+2-2usr.bin/ssh/ed25519.c
+4-42 files

OpenBSD/src uHNpk3rregress/usr.bin/ssh/unittests/crypto test_mldsa_eddsa.c test_mlkem.c, regress/usr.bin/ssh/unittests/crypto/testdata nistkats-44.json

   unit and regression tests for composite PQ ML-DSA44/Ed25519
   keys.

   Includes a new unittests/crypto test that tests basic functionality
   of the underlying crypto primitives against public test vectors
VersionDeltaFile
1.1+802-0regress/usr.bin/ssh/unittests/crypto/testdata/nistkats-44.json
1.1+192-0regress/usr.bin/ssh/unittests/crypto/test_mldsa_eddsa.c
1.1+167-0regress/usr.bin/ssh/unittests/crypto/test_mlkem.c
1.1+143-0regress/usr.bin/ssh/unittests/crypto/test_mldsa.c
1.1+114-0regress/usr.bin/ssh/unittests/crypto/tests.c
1.34+110-1regress/usr.bin/ssh/unittests/sshkey/test_sshkey.c
+1,528-134 files not shown
+2,203-3340 files

OpenBSD/src raXaJ7Pusr.bin/ssh libcrux_internal.h ssh-mldsa-eddsa.c

   Add experimental support for a composite post-quantum signature
   scheme that combines ML-DSA 44 and Ed25519 using the construction
   specified in draft-ietf-lamps-pq-composite-sigs. There's also an
   early draft documenting use of the integration of this scheme into
   SSH as draft-miller-sshm-mldsa44-ed25519-composite-sigs

   This scheme is not enabled by default. To you use, you'll need
   to add it to HostKeyAlgorithms, PubkeyAcceptedAlgorithms, etc.
   Keys may be generated using "ssh-keygen -t mldsa44-ed25519".

   The ML-DSA implementation comes from libcrux. Thanks to
   Jonas Schneider-Bensch and Jonathan Protzenko for their work to
   make this available.

   Consensus is that it's time to get this in to allow people to
   experiment with it.

   feedback markus@ tb@ logan@ deraadt@
VersionDeltaFile
1.1+27,332-0usr.bin/ssh/libcrux_internal.h
1.1+501-0usr.bin/ssh/ssh-mldsa-eddsa.c
1.1+426-0usr.bin/ssh/libcrux-mlkem-mldsa.c
1.1+341-0usr.bin/ssh/mlkem_mldsa.sh
1.11+126-1usr.bin/ssh/crypto_api.h
1.3+40-58usr.bin/ssh/kexmlkem768x25519.c
+28,766-5920 files not shown
+28,871-8126 files

OpenBSD/src 8fBZcoVusr.bin/tmux window-copy.c tmux.1

   With mode-keys vi, keep cursor in the same position relative to the text
   when scrolling. GitHub issue 5216 from Arseniy Simonov.
VersionDeltaFile
1.406+13-1usr.bin/tmux/window-copy.c
1.1088+11-1usr.bin/tmux/tmux.1
+24-22 files

OpenBSD/src uxb1UnHusr.bin/tmux input.c format.c

   Add some missing const, from Jere Viikari.
VersionDeltaFile
1.260+9-9usr.bin/tmux/input.c
1.377+3-3usr.bin/tmux/format.c
1.31+3-2usr.bin/tmux/environ.c
1.113+2-2usr.bin/tmux/input-keys.c
+17-164 files

OpenBSD/src PTt0oOqusr.bin/tmux layout.c

   Skip floating cells when moving to previous cell for resize of tiled cells.
VersionDeltaFile
1.66+7-3usr.bin/tmux/layout.c
+7-31 files

OpenBSD/src rqFlKcpusr.bin/tmux key-bindings.c

   Make the resize keys always change right and bottom borders for floating
   panes which is more intuitive.
VersionDeltaFile
1.176+6-6usr.bin/tmux/key-bindings.c
+6-61 files

OpenBSD/src eHGQDbbusr.sbin/rpki-client cert.c

   Provide standards reference for signed object displacement/replay warning

   OK tb@
VersionDeltaFile
1.238+3-3usr.sbin/rpki-client/cert.c
+3-31 files

OpenBSD/src v9loOHyusr.sbin/rpki-client ccr.c

   Don't include ASPAs with too many providers in the CCR output

   Reported by Ties de Kock

   OK tb@
VersionDeltaFile
1.39+4-2usr.sbin/rpki-client/ccr.c
+4-21 files

OpenBSD/src bdGnekTusr.bin/tmux layout.c cmd-split-window.c

   Tidy up error messages from split-window.
VersionDeltaFile
1.65+22-9usr.bin/tmux/layout.c
1.133+2-2usr.bin/tmux/cmd-split-window.c
+24-112 files

OpenBSD/src KqwwJWTusr.bin/tmux cmd-join-pane.c tmux.1

   Add move-pane -z to move a pane to a particular the z-index.
VersionDeltaFile
1.62+44-6usr.bin/tmux/cmd-join-pane.c
1.1087+12-6usr.bin/tmux/tmux.1
+56-122 files

OpenBSD/src XmavJ3Zusr.bin/tmux cmd-join-pane.c tmux.1

   Add Z index positions to move-pane -P.
VersionDeltaFile
1.61+58-6usr.bin/tmux/cmd-join-pane.c
1.1086+26-22usr.bin/tmux/tmux.1
1.175+5-5usr.bin/tmux/key-bindings.c
+89-333 files

OpenBSD/src gCFtDO2usr.bin/tmux cmd-join-pane.c tmux.1

   Add -P to move-pane to move a floating pane to a specific place
   (top-left, bottom-right). Get rid of the not-so-useful default { and }
   swap-pane bindings and use the keys instead for moving to top-left,
   top-right and add M-{ and M-} for bottom-left, bottom-right.
VersionDeltaFile
1.60+93-23usr.bin/tmux/cmd-join-pane.c
1.1085+38-5usr.bin/tmux/tmux.1
1.174+5-3usr.bin/tmux/key-bindings.c
+136-313 files

OpenBSD/src ihGnQevdistrib/special/libstubs Makefile

   Enable SHA1_SMALL for libstubs.

   On amd64 this reduces the sha1.o text size by 5169 bytes.
VersionDeltaFile
1.26+2-2distrib/special/libstubs/Makefile
+2-21 files

OpenBSD/src V8d6IsLlib/libc/hash sha1.c

   Provide a small SHA-1 implementation.

   This will be used to reduce code size on install media.

   ok tb@
VersionDeltaFile
1.30+50-1lib/libc/hash/sha1.c
+50-11 files

OpenBSD/src JLpR2R1usr.bin/tmux cmd-join-pane.c tmux.1

   Add flags to move-pane to move floating panes around (-U, -D, -L, -R
   similar to resize-pane; -X, -Y similar to new-pane).
VersionDeltaFile
1.59+89-3usr.bin/tmux/cmd-join-pane.c
1.1084+27-8usr.bin/tmux/tmux.1
1.57+2-2usr.bin/tmux/cmd-resize-pane.c
+118-133 files

OpenBSD/src H7aXDklregress/sys/netinet/tcpthread dropstale.pl tcpthread.c

   Drop stale TCP connections in TIME_WAIT state after each test.
   Otherwise they accumulate and regress runs out of port numbers.
VersionDeltaFile
1.1+87-0regress/sys/netinet/tcpthread/dropstale.pl
1.6+31-1regress/sys/netinet/tcpthread/tcpthread.c
1.4+10-2regress/sys/netinet/tcpthread/Makefile
+128-33 files