Skip to content
quarry Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 33b5d1da9b445d80a0a6f4d94e2c0edbfd4d69035ef64ab209a31f16a435049d
Ticket: 74f040e029d4ac44a8389549edb64b23f70c8bf7
Anonymous fossil push accepted on a freshly created public repo (G-32)
User & Date: zeitgeist on 2026-09-17 21:30:00
Changes

  1. icomment:
    Verified in production, from the forge journal rather than from a test: an unauthenticated push attempt on 2026-09-17 at 13:48:43Z was refused and logged as `xfer: dantest-sandbox: push rejected (user "")`, and jva quoted the refusal text back from the client side ('anonymous push is not accepted here: push with --user and a push credential').
    
    Gated() now asks the capability letters and only the letters: an unauthenticated pusher is a signed-out visitor, who holds the `nobody` category alone, and stock fossil ships nobody=gjorz with no i. It also fails closed without a special case, since a database that cannot answer yields empty caps and empty caps hold no i.
    
    Two things worth recording because they were the expensive part. First, the original fix closed this door without checking that anybody else still had one, which locked every writer out of 23 of 24 repositories for eleven hours (786ab6c5). Second, the test that shipped with it asserted only that a stranger is refused; a gate has two directions, and a test that pushes on one of them is not a test of the gate. Both directions are now asserted.
    
  2. mimetype: "text/x-markdown"
  3. resolution changed to: "Fixed"
  4. status changed to: "Closed"