Any SSH key admitted for the host's git user can fetch any ref of any repository; fetch reaches git-shell without a read-authorization check (valleyhook/shell.go). Read grants govern the web and mirrors only. Confirmed by a security review of the change that opens refs/the-valley/flow/data to named writers: conversations published there join that host-wide SSH readership. It matters on a host with more than one operator or with principals that should see only some projects. Related: the aim of one signed-claims authorization model for reads and writes.
No comments.