Skip to content
quarry Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 434e38ee38f07f479c05c6eba677d2593f742191bb98e6cc4baa33f3f4636275
Ticket: b06843af9a5410f6e4f3de63bff343f412e1e713
caps phase 4: import users on host-from-file and mirrors; legacy login
User & Date: tmp-ops on 2026-08-23 00:13:59
Changes

  1. icomment:
    Half of this landed without waiting on zit. b2ef1ce1 + f70144e3: quarry now fetches a remote fossil's user table itself โ€” reqconfig /user in one round trip, verified against a real fossil 2.28 server, with the row format (one config card per row, quoted key/value pairs) pinned by tests that spin fossil up. The REMOTE enforces admin: a developer gets no rows, a bad password fails login, both tested. 'quarry users pull' imports them: unknown logins created with their ยง6.3 credential AND the project code it was derived under (quarry accounts are forge-global, fossil hashes are repo-scoped โ€” a wrinkle the RFC missed), existing accounts keep their own password, categories land as categories, an unmentioned category keeps quarry's default rather than blanking into a lockout.
    
    STILL OPEN here: (1) Authenticate does not yet try the legacy credential, so an imported user cannot actually sign in with their fossil password โ€” LegacyCredential/ClearLegacyCredential exist, the wiring does not. (2) unattended mirror re-pulls need a stored remote admin secret, which is a secret-at-rest decision left deliberately unmade. (3) host-from-file import still wants zit#124.
    
  2. mimetype: "text/x-markdown"