• 1.4.31-bowie c2f51f5825

    loweel released this 2026-11-24 11:35:30 +01:00 | 13 commits to master since this release

    Stabbypossum 1.4.31 "BOWIE" takes the Delete a deleted account sends about itself, and says in the log why and where a message was turned away.

    Install

    Run the image from Docker Hub: loweel/stabbypossum.

    This release ships no binaries. The source archive is attached below.

    A deleted account's Delete of itself is taken

    When an account is deleted, its server tells everyone with a Delete of that account, signed with the account's own key. By then the server no longer gives that key out: asked for it, it answers 410 Gone. The signature cannot be checked, so we refused it with 401, and the sender tried again for days, twice each time (once with each signature scheme). In production this was most of the deliveries refused at the inbox.

    Now, when the key's server answers 410 and the message is a Delete of exactly the account that key belongs to, the inbox answers 202 and forgets its stored copy of that account. Anything else signed by such a key is still refused.

    The check is exact, word for word, and proved with SPARK. A first version only looked for the account's address inside the error text, and a key address built to contain another account's address (in its query, or as a longer path) could have made us forget that other account. The review caught it before release.

    The log says why a message was turned away

    Every place where the server refuses or drops a message now writes one INFO line, with the XULF site id of the code that decided:

    • Inbox signatures refused, with the kind: the key's server answered 410, 403, 308..., the signature is stale, a header is missing, and so on, plus the key id.
    • Any inbox delivery answered with something other than 2xx.
    • Rate: a message that waited for room longer than its rule allows is "expired", one stopped by a block is "blocked", with how long it waited.
    • Tarpit: a message that was waiting out its latency when a block came is told apart from one blocked on arrival.
    • Dropped later: each line carries the activity id, so a message accepted at HTTP can be paired with where it was dropped.

    A request without a session cookie is not a message turned away, and stays at DEBUG.

    Tests

    The full smoke and the unit tests pass. The smoke sends a gone account's Delete of itself (202), a Delete of a post signed by that account (401), and the two forgeries against a stored account (401, the account kept).

    Downloads