Skip to content
quarry Artifact [3851460da9]
Login

Artifact [3851460da9]

Artifact 3851460da94df63f4562faadd3478d0888c8d7e6ac66f2857c99bb07ebc0b748:

Ticket change [3851460da9] - Ticket [b112b2055d] Private repository cannot be cloned, synced or pushed by anyone, including its owner (G-41) status still Open with 2 other changes by zeitgeist on 2026-09-17 21:30:08.
D 2026-09-17T21:30:08.959
J icomment Measured\son\sprod\sat\sbuild\s5833fef9a792,\sbecause\sI\shad\swrongly\sbelieved\sthis\swas\sfixed.\sIt\sis\snot.\sThe\sfinding\ssplits\scleanly.\n\nTHE\sSERVER\sSIDE\sWORKS.\sAgainst\sa\sfreshly\screated\sprivate\srepository,\sthe\ssync\sendpoint\sanswers:\n\s\sanonymous,\sapplication/x-fossil\s\s->\s404\s(read\sgate\srefuses,\scorrect)\n\s\sHTTP\sBasic\sas\sthe\sowner\s\s\s\s\s\s\s\s\s\s->\s413\s(gate\sADMITS,\sthen\srejects\smy\sjunk\sbody)\n\s\spublic\srepository,\sanonymous\s\s\s\s\s->\s413\nSo\sSyncReadGate\sdoes\slet\san\sidentified\scaller\sread\sa\sprivate\srepository.\sThat\shalf\sis\sreal.\n\nTHE\sCLIENT\sCANNOT\sREACH\sIT.\s`zit\sclone\shttps://[email protected]/r/<private>`\swith\sZIT_PASSWORD\sset\sanswers\s404,\sthe\ssame\sas\sanonymous:\szit\sdoes\snot\ssend\sHTTP\sBasic\son\sa\sclone\sor\spull,\sand\sthe\ssync\sprotocol's\slogin\scard\sis\sa\sPUSH\scredential,\snot\sa\sread\sone.\sSo\sa\sprivate\srepository\sis\sunclonable\sin\spractice\sby\severyone,\swhich\sis\swhat\sthis\sticket\ssays,\seven\sthough\sthe\sgate\swould\sadmit\sthe\sright\sperson\sif\sthe\srequest\scarried\sthem.\n\nThat\smakes\sthis\sprotocol-shaped\srather\sthan\sa\sgate\sbug,\sand\sit\swants\sdeciding\srather\sthan\spatching:\seither\sthe\sread\sgate\salso\saccepts\sthe\slogin\scard\s(a\sread\sthat\sauthenticates\sthe\sway\sa\spush\sdoes),\sor\szit\ssends\sHTTP\sBasic\swhen\sits\sremote\scarries\sa\suser,\sor\sprivate\srepositories\sare\snot\ssyncable\sand\sthis\sbecomes\sa\sdocumentation\schange.\sThe\sfirst\stwo\sare\snot\squarry's\scall\salone.\n\nLeft\sOpen\sdeliberately.\sClosing\sit\son\sthe\sstrength\sof\sthe\sserver-side\smeasurement\swould\shave\sbeen\swrong,\sand\sI\snearly\sdid.
J mimetype text/x-markdown
K b112b2055da8ee0ba7cfa156a2475481c3622702
U zeitgeist
Z 69fb7674fa1c63f4949415a615cbb63c