Skip to content
quarry Artifact [2442f1fe0b]
Login

Artifact [2442f1fe0b]

Artifact 2442f1fe0b617040715ac1ff555392c7e589c94b630f6021b4a8828f18519c9a:

Ticket change [2442f1fe0b] - Closed ticket [b112b2055d]: Private repository cannot be cloned, synced or pushed by anyone, including its owner (G-41) plus 3 other changes by zeitgeist on 2026-09-18 15:45:47.
D 2026-09-18T15:45:47.339
J icomment Fixed\son\sboth\ssides\sand\smeasured\send\sto\send.\sjva:\sthis\sis\sthe\sone\syou\sfiled\son\n2026-09-16\sand\sreproduced\sagain\son\s5833fef9a792\s--\syour\srepro\sis\swhat\sseparated\nthe\stwo\shalves,\sso\sit\sis\sworth\ssaying\swhich\shalf\swas\swhich.\n\nTHE\sSERVER\swas\salready\scorrect\sand\snothing\sproved\sit.\sA\ssigned\slogin\scard\son\sthe\nFIRST\srequest\sis\sadmitted\sto\sa\sprivate\sread;\sthat\stest\sdid\snot\sexist,\sbecause\sall\nthree\schallenge\stests\sasserted\sa\srefusal.\sA\sgate\sthat\srefused\severybody\swould\nhave\spassed\severy\sone\sof\sthem.\sLanded\sas\scard-admitted.\n\nTHE\sCLIENT\swas\sthe\sactual\sdefect,\sand\sit\swas\supstream.\szit\s0.3.22\sconstructed\sno\nAuthorization\sheader\sanywhere\sand\streated\sany\snon-2xx\sas\sfatal,\sso\sround\sone\swas\nrefused\sand\sround\stwo\snever\shappened\s--\sa\scorrect\scredential\swas\nindistinguishable\sat\sthe\sserver\sfrom\snone.\sFiled\sas\sdanmestas/zit#204,\sclosed\nCOMPLETED,\sshipped\sin\szit\s0.3.23.\n\nOne\scorrection\sfrom\sthat\sissue\sworth\srecording\shere,\sbecause\sthis\sthread\npreviously\sassumed\sotherwise:\sa\scard\son\sround\sone\sis\sNOT\spossible\sfor\sa\sfirst\nclone.\sThe\scard's\sshared\ssecret\sis\sSHA1\sof\sproject\scode,\slogin\sand\spassword,\sand\nthe\sproject\scode\sis\swhat\sthe\sfirst\sreply\steaches.\sThe\sround-one\scard\sthe\sforge\ntest\sadmitted\swas\ssigned\sby\sa\sclient\sthat\salready\sknew\sthe\scode.\sfossil\shas\sno\nround-one\scard\seither\s--\swhich\sis\swhy\sit\shas\s--httpauth.\sSo\sthe\sfix\sis\sthe\sother\none:\swhen\sa\sverb\sholds\sa\splaintext\spassword\sthe\stransport\skeeps\sa\sBasic\ncredential\sready,\ssends\snothing\suntil\sa\s401\snames\sBasic,\sthen\srepeats\sthe\sround\nwith\sAuthorization:\sBasic\sand\scarries\sit\son\severy\slater\sround.\n\nMEASURED\sjust\snow\sagainst\szeitforge.app,\susing\sthe\sforge's\sown\szit\s0.3.23\nagainst\sthe\sprivate\srepository\s`orchard`:\n\n\s\sanonymous:\n\s\s\s\szit\sclone\shttps://zeitforge.app/r/orchard\sanon\n\s\s\s\s->\szit\sclone:\sthe\speer\swants\sa\slogin\s(HTTP\s401):\sgive\s--user\sand\s--password,\n\s\s\s\s\s\s\sor\sset\sZIT_PASSWORD\n\n\s\sauthenticated:\n\s\s\s\sZIT_PASSWORD=...\szit\sclone\shttps://zeitforge.app/r/orchard\spriv\s--user\szeitgeist\n\s\s\s\s->\sclone\sfrom\shttps://zeitforge.app/r/orchard:\stransferred\s20\sartifacts\sin\s2\srounds\n\s\s\s\s\s\s\scloned\s20\sartifacts\sinto\spriv\sin\s2\srounds\n\s\s\s\s\s\s\sproject-code:\s284287e5c13f7b72eb8936d26bd1bfb74afcd998\n\s\s\s\s\s\s\sopened\sa95207c1b0ec\son\strunk\n\nA\sprivate\srepository\sclones\sfor\san\saccount\sthat\smay\sread\sit,\sand\sa\scaller\swith\sno\ncredential\sis\stold\swhat\sto\sdo\sinstead\sof\sgetting\sa\sbare\s404.\sThe\sprobe\sclone\swas\ndeleted.\n\nOne\sthing\sthis\sdoes\snot\scover,\sfrom\sthe\supstream\sdiscussion:\sa\scard's\sshared\nsecret\sonly\sexists\sfor\san\saccount\swith\sWRITE\scapability,\sso\sa\sread-only\ncollaborator\scannot\sauthenticate\swith\sa\scard.\sBasic\scovers\sthem\snow,\swhich\sis\swhy\nthe\sshipped\sfix\sreaches\sfurther\sthan\sthe\sround-one-card\sone\swould\shave.\sIf\sa\nread-only\scollaborator\sstill\scannot\sclone\sa\sprivate\srepository,\sthat\sis\sa\nseparate\sforge-side\spolicy\squestion\s--\sreopen\sor\sfile\sfresh\srather\sthan\sassuming\nit\sis\sthis.\n
J mimetype text/x-markdown
J resolution Fixed
J status Closed
K b112b2055da8ee0ba7cfa156a2475481c3622702
U zeitgeist
Z 76128cd7f7547e09078104554c0d879c