Update libressl to 4.4.0 and fetch it from CDN #29

Closed
desa wants to merge 1 commit from desa/bugfixes into develop AGit
Member
No description provided.
Author
Member
https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-4.4.0-relnotes.txt https://ftp.openbsd.org/pub/OpenBSD/LibreSSL/libressl-4.3.4-relnotes.txt
Author
Member

Cannot update an existing PR, so closing this. See #32

Cannot update an existing PR, so closing this. See #32
desa closed this pull request 2026-11-09 16:52:05 +00:00
ann referenced this pull request from a commit 2026-11-11 16:25:47 +00:00
pubsub: a contact's mood, activity, tune or location node deleted, purged or emptied while we were signed out is learnt after the next sign-in (interop #29 wave 3, 0107-1 / 0108-1 on ejabberd, run 20261111-055014): the delete went out while tackyd restarted, no event reached it, and the server's last-item push at the initial presence had nothing to send for a node that no longer exists, so `status get` showed ai2b's activity text from that run in the next one, source pep, while ai2b's node answered item-not-found. The modules already took a <delete/>, <purge/> or retraction as "none" (unlike the avatar before 90f106fd); what was missing is the event itself. A module that keeps a node's current item in the store now says so (pubsub keeps NODE: mood, activity, tune, geoloc), and 30 s after a fresh <Ready>, not an adopted stream's (client readyAdopted, the call tier had its pushes), every publisher of a kept row from whom no event of that node came since is asked for the node's newest item; the answer reaches the handler through the ordinary dispatch, contact checks included, as <items/>, <purge/> for an empty node or <delete/> for item-not-found, and any other refusal leaves what is kept. Only the stale ones cost an IQ: a node that still exists had its last item pushed already. The nick is left out (its fetch keeps a nick on an empty answer by design, and it would ask after every contact's). Tests: test_activity gains the deleted-while-away, answer-kinds and adopted-stream cases (the first two fail before), test_mood the deleted-node one; activity, mood, tune, geoloc, status, pubsub*, nick_pep, avatar_xep0084, client*, presence* 367 passed, 0 failed.
ann referenced this pull request from a commit 2026-11-11 16:25:47 +00:00
muc: a contact is no room (interop #29 wave 3, 0158/0463, run 20261111-042752 on Prosody): a `muc join` on a contact's bare JID by mistake (the scenario played a room from ai1b's own account) made ai1b a room for the rest of the session, and its 37 messages were filed under a full-JID chat until a restart. `join` now refuses a roster contact's JID before anything is written, unless a bookmark names it as a room or we are in or joining it already, and a join whose disco#info answers for a user's account (an account or PEP identity and no conference one, XEP-0045 6.4) is given up when the answer lands (NotARoom): the join presence that went out is taken back with an unavailable one, the join fails with "This is a contact, not a group chat", <Left> -failed (or plain, had a fake room taken us in) and <Error> not-acceptable are told, so omemo.tcl's room entry goes too, the kept room features are forgotten, and the JID is no room for the session, its presences and messages the contact's. A conference identity beside a PEP one is still a room. Schema: muc join says so, since 1.2.10. Tests: test_muc gains the roster refusal (its messages in the bare chat), the bookmarked roster JID that is joined, the account answer given up (a later 110 presence and a chat message both the contact's) and the conference-with-PEP room (the refusal and account cases fail before); test_muc*, test_bookmarks*, test_mucsub, test_omemo_muc, test_message_mucsub, test_chatlist* 945 passed, 0 failed; check-api agrees.
ann referenced this pull request from a commit 2026-11-11 16:25:47 +00:00
ann referenced this pull request from a commit 2026-11-11 16:25:47 +00:00
jinglefile: a SOCKS5 stream is ended once the last byte is on the wire, and the socket is handed 4 KiB a write (interop #29 wave 3, 0065-1 on Prosody, run 20261111-041442): Prosody's mod_proxy65 kept the last bytes it read of a relayed stream until a side closed, and the sender closed only after DONE_GRACE_MS without the receiver's word, which could not come before those bytes did, so the send failed `unconfirmed` 30 s in and the receiver ended done after it (the rig's s5b-int-through-mod-proxy65 has been skipped on Prosody since 2026-11-07 for this). The write path is the same as in 1.2.0-rc2 (64 KiB a writable event, the channel's buffer 64 KiB, since 1.1.0-beta1); rc2's pass in the batch of 2026-11-07 was timing. Now SentEverything shuts our end for writing once the channel's buffer has drained (S5bHalfClose, `close $chan write`), the end of the bytestream the relay passes on with what it held, and the receiver, which reads the bytes ahead of the end, takes an end after the last byte as before; the session still waits for the receiver's word. The channel's buffer is 4096 bytes (S5B_WRITE), so each write the relay reads is its own size, 64 KiB still read from the file a writable event. 4 KiB writes alone did not do it (the Prosody rig failed 2 of 3), the half-close alone did (3 of 3), both 7 of 7. Tests: test_jinglefile_s5b gains the write size and the stream's end (fails before); the integration test runs on Prosody again. test_jinglefile*, test_file*, test_ibb*, test_jet* 526 passed, 0 failed; integration test_jinglefile_s5b, test_file, test_jinglefile_p2p on Prosody 13 (s5b three times) and ejabberd 26.09 all passed.
ann referenced this pull request from a commit 2026-11-11 20:35:05 +00:00
sasl: on a stream whose certificate only the user's time-limited exception accepts (rule R3, where only SCRAM-*-PLUS or a bound HT token is used), a SCRAM server-first asking for fewer than 4096 iterations (RFC 7677's floor, a server SHOULD there) ends the authentication with an auth error naming the count, before any proof is sent (interop #29 batch 7c, repro-fuzz-2, the user's go of 2026-11-11): channel binding keeps whoever ends the TLS from relaying the login, but not from choosing i=1 and a salt and keeping the client-final, whose proof over one iteration is about 4096 times cheaper to guess the password from offline than over the floor. A verified or pinned certificate still answers any count from 1 to MAX_ITERATIONS (1 000 000) as before, since its server can have the password by offering PLAIN anyway. The check sits in CheckServerFirst beside the range and XEP-0474/XEP-0515 checks, so RFC 6120 SASL and SASL2 both get it. The schema's certificate-exception notes and docs/features.md's RFC 7677 row say "since 1.2.11"; HANDBOOK.md regenerated. Tests: test_session_sasl exception-scram-few-iterations-gets-no-proof (exception and i=1 or 4095: no response, the reason; 4096 answered; verified and pinned answer i=1), failing before; the fake peer's default count is 1, so exception-peer-scram-plus-signs-in-bound and test_session_fast ht-exception-presents-a-bound-token-never-a-none-one now give their peer -iterations 4096. test_session_* 11 suites 394 total, 384 passed, 0 failed, 10 skipped; check-api clean (72 modules, 648 methods, 209 events, 199 types).
ann referenced this pull request from a commit 2026-11-12 03:00:39 +00:00
bookmarks: a write the server refuses for good is dropped, its row put back and the host told, never sent again later (interop #29 c1753, scenario 0048-2): the cause was iq.tcl's Write, which answers a request the stream refuses to write with a policy-violation error stanza but recognised only an errorcode ending in ARG, while the session names one over the server's XEP-0478 limit {TACKY tacky::core 1 ARG TOO_LARGE}; such a request was raised past the caller's -command, so a bookmarks publish or private XML write over the limit never reached OnPublishResult, its pending note stayed (and on PEP its Busy slot too), the local row stayed, the next whole <storage/> write carried it again, and a later stream on a server that took it (Prosody's PEP in the run) published it by itself. Now Write answers ARG TOO_LARGE as it answers ARG, so every caller's error branch hears the refusal once; bookmarks' Settled says whether it settled the room's write, and a publish refused for good (any error but type wait and undefined-condition, as before) puts back the row the room had before the `item` that asked it (Prior: none for a new room, which is deleted) with <Changed> remove or update beside the -onerror the host already got. Tests: test_iq.tcl iq-request-refused-too-large-is-answered-policy-violation; test_bookmarks_legacy.tcl bookmarks-legacy-write-over-the-limit-is-dropped-not-kept-pending (no raise, -onerror policy-violation, nothing pending, the new room gone, the next session writes nothing) and bookmarks-legacy-update-refused-puts-the-row-back; all three failed before (raised, pending kept).
ann referenced this pull request from a commit 2026-11-12 03:00:39 +00:00
calls: the SAS covers every content's DTLS fingerprint, not the first content's alone (interop #29 c1747): OpenFingerprints and our own description read calls_first_fingerprint, so a fingerprint swapped in the signalling on a second content (video, data) passed under the seven emoji. Now calls_fingerprints collects each side's fingerprints over all contents, the same digits once, the call keeps them as dtls_local_all / dtls_remote_all, and UpdateSecurity takes calls_sas_from (sas.tcl), which deduplicates each side by its normalised digits and hands the rest to calls_sas. Not versioned and nothing advertised, by choice: a side whose contents share one certificate -- libtacky's one peer connection, a browser's, Dino's -- gives exactly the input it gave before, so a peer before 1.2.13 computes the same seven; only a side really using two certificates gets a different input, and there the older peer covered the first alone, the gap this closes, so a mismatch is the warning it should be. A peer fingerprint new to the call after the SAS is fixed (a later description or transport-info, NoteRemoteFingerprints) fails the call closed, as one changed on the first content always did; <Security>'s -dtls_local and -dtls_remote stay the first content's. Tests: test_calls_omemo.tcl calls-sas-covers-every-content (audio+video offer with two certificates, accept with two: the SAS is over all four, not the first two; failed before) and calls-sas-one-certificate-is-the-first-contents (one certificate per side gives the old SAS).

Pull request closed

Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
another-im/libtacky!29
No description provided.