OpenBSD/src GyCKF5ulib/libssl tls13_client.c

   Send illegal parameter alerts for various HelloRetryRequest violations.

   Be more RFC compliant and send illegal parameter alerts when the client
   receives a HelloRetryRequest that requests a group that we did not offer
   or a group that we sent a key share for in the ClientHello. These were
   annotated as missing, but not previously implemented.

   Prompted by a report from the tlspuffin team.

   ok tb@
VersionDeltaFile
1.107+10-6lib/libssl/tls13_client.c
+10-61 files

OpenBSD/src rrFF8chregress/lib/libssl/renegotiation renegotiation_test.c Makefile

   Improve renegotation regress.

   Include coverage of Renegotiation Indication and legacy connection
   handling.
VersionDeltaFile
1.4+106-18regress/lib/libssl/renegotiation/renegotiation_test.c
1.3+3-2regress/lib/libssl/renegotiation/Makefile
+109-202 files

OpenBSD/src d9ZIpEylib/libssl/man SSL_CTX_set_options.3

   Mop up SSL_CTX_set_options(3).

   SSL_OP_DONT_INSERT_EMPTY_FRAGMENTS is now a no-op, tidy up
   SSL_OP_LEGACY_SERVER_CONNECT and reflect the current state of SSL_OP_ALL
   Delete the entire "SECURE RENEGOTIATION" section that contained ancient
   ramblings.

   ok beck@ tb@
VersionDeltaFile
1.18+5-89lib/libssl/man/SSL_CTX_set_options.3
+5-891 files

OpenBSD/src 2yaCHYClib/libssl ssl_lib.c ssl.h

   Remove SSL_OP_LEGACY_SERVER_CONNECT from default options.

   Remove SSL_OP_LEGACY_SERVER_CONNECT from the default SSL options and the
   SSL_OP_ALL define. This means that we will now refuse to connect to a
   TLSv1.2 server if it does not support the Renegotiation Indication (RI)
   extension. This prevents a class of attacks against TLS clients that are
   talking to TLSv1.2-only servers that permit client initiated renegotiation.

   Raised by Lucca Hirschi et al from Inria.

   ok beck@ tb@
VersionDeltaFile
1.335+2-6lib/libssl/ssl_lib.c
1.251+2-3lib/libssl/ssl.h
+4-92 files

OpenBSD/src duRZSlmshare/man/man5 cargo-module.5

   cargo-module.5: document more variables

   From Andrew Kloet andrew kloet.net
VersionDeltaFile
1.11+85-2share/man/man5/cargo-module.5
+85-21 files

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