vole
Clone
Read only, no credentials:
https://rodent.software/vole.git
Write over SSH with a registered key:
git clone ssh://git@rodent.software:2222/vole.git
A free and open-source forge that lives in your Git repo.
Mask secret values in the log as it is written
e82bbe7ddc584dc54ee57c7ce3b97f933c9e9886 · Keenan Nemetz · 7d ago · parent 4ac42680
Mask secret values in the log as it is written A step that prints a secret by accident used to put it in the attempt log, and the log is streamed to the instance and kept. The runner now replaces every value it was given with *** before the bytes reach the log file, so the copy the server stores never holds one and a value split across two writes is still caught: the mask holds back the last longest-1 bytes and the runner flushes at the end of each step. ci/redact is the one implementation, so a local `vole workflow run` masks its terminal output the same way. Its own error text goes through the same mask, because "the runtime message does not contain a value" should be true rather than assumed. It is best effort, and the docs say where it stops: a re-encoded value does not match, a value shorter than four bytes is left alone because masking every occurrence of it would rewrite the log, and an artifact or a site file is published exactly as the step wrote it. Slice 3 of #154.
docs/workflows.md +6
| @@ -297,6 +297,12 @@ record: the record names the version of each value the job ran with, so a result | |||
| 297 | 297 | says which one it used. Values reach a step only as environment variables, and one | |
| 298 | 298 | is at most 128 KiB, which is as much as one environment variable can carry. | |
| 299 | 299 | ||
| 300 | A value is also replaced with `***` in the log as it is written, including one a | ||
| 301 | step prints by accident. That is best effort: a re-encoded value is not caught, a | ||
| 302 | value under four bytes is left alone, and an artifact or a site file is published | ||
| 303 | exactly as the step wrote it. See | ||
| 304 | [Workflow reference § secrets](reference/workflow-reference.md#secrets). | ||
| 305 | |||
| 300 | 306 | Anybody who can run a runner for a repository can read the values its jobs declare, | |
| 301 | 307 | because that is the machine they arrive on. Secrets belong to the accounts that | |
| 302 | 308 | approve work and allow CI, and the settings page that lists them never shows one. | |