Skip to content

v0.1.0

Choose a tag to compare

@github-actions github-actions released this 20 Nov 21:50
· 54 commits to main since this release

git commit gains a verifiable RFC 3161 timestamp from several independent authorities, stored
inside the commit object itself. Type nothing extra: install once, then keep committing.

Grab the binary for your platform from the assets below (see
Install from a release binary),
then in a repository:

$ git time tsa select      # tick the authorities, anchors are pinned
$ git time install         # wires the hooks
$ git commit -m "…"        # the only command you type
$ git time verify          # judges the evidence, gates CI

Notes

  • log, verify and every other command read the policy with one git config call instead of
    eleven, judge a commit with one cat-file instead of two, and check a signature on the object
    git already stores instead of hashing it back in. git time log | head on a 149-commit
    repository went from 0.18 s to 0.07 s.
  • tsa select and tsa preset list show the expiry a published authority is actually serving
    when no root is pinned here, so a rotation is visible before it is accepted. The answer is cached
    for seven days under $XDG_CONFIG_HOME/git-time/probe/, and --refresh (or r) is the one path
    that asks. A plain run stays offline.
  • A served root the local bundle does not hold appends ! — on pin <date> as well as beside
    ?. The marker is read from the cached answer, so a failed refresh keeps it instead of blinking
    it off.
  • The cache only accepts the one entry shape a probe writes; a hand-edited or truncated line is a
    miss and is refetched rather than shown as a date.
  • Listing a served date is judged against one instant per run, so a row cannot straddle an expiry.
  • tsa select and tsa preset list also list a configured time.tsa.<id> authority no preset
    knows, after the built-ins and marked custom where a scope is shown. Such a row starts ticked,
    is kept rather than fetched when chosen, and loses its section when unticked (the bundle stays on
    disk). It publishes nothing, so it is never probed: it reads tofu until its own bundle is
    pinned, EXPIRED once every root there is past, and is pinned with
    git time anchor fetch <url> --id <id> [--insecure-http]. An unknown section with no url is no
    row and survives a save.

The Linux builds are static (static-pie); the macOS builds link the system libraries.

Full Changelog: https://github.com/rmoriz/git-time/commits/v0.1.0