Skip to content

v0.9.2

Latest

Choose a tag to compare

@github-actions github-actions released this 28 Nov 20:17
· 3 commits to main since this release
Immutable release. Only release title and notes can be modified.
9b43a02

Security: the desktop window stays in the app, and git runs nothing a checkout's config names

Fixed

  • Desktop app: the window never leaves the app. It may show only the app's own pages. An outside link (Docs, Source, a rule's page, a link in a record) is now text naming its URL, for you to open in your browser. Before, such a link loaded the remote page in the app window, with no way back. In a browser and in VS Code, outside links still open in a new tab.

  • CLI: a repository's own .git/config can no longer make Gantry run a command. This matters for a checkout received as an archive or copied rather than cloned. Each case below was reproduced against plain git:

    • core.fsmonitor: it is turned off on every git command Gantry runs.
    • core.sshCommand, reached through a partial clone's lazy fetch: every read refuses all transports. This also covers git older than 2.44.
    • filter.<driver>.smudge: --base snapshots now read the committed blobs directly instead of running git archive.
    • filter.<driver>.clean and .process: git status during evidence capture now empties every filter driver first. A driver name that can't be overridden exactly makes Gantry refuse rather than run status. Submodules are skipped.
    • alias.lfs: it is emptied on every git command, so it can't stand in for a missing git-lfs in gantry doctor or evidence pull.
    • Injected config: environment variables that redirect git or inject config are dropped.
  • Two commands still trust the repository, by design:

    • gantry evidence pull is git lfs pull, so the repository chooses its transfer agent, ssh command and credential helper.
    • gantry gates runs the project's own gate commands.

    Run neither on a repository you don't trust. The evidence guide says so.

Closes #11.

Full changes: #12