provenancecheck

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2026 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Provenancecheck verifies the generated provenance records in the nvidia module. Run it after regenerating:

make -C nvidia provenance-check

It checks four properties. The first three keep a record portable, so that a clone reproduces the same bytes on a different host:

  1. no host paths, such as /Users or /Volumes
  2. no build sandbox paths, such as go-build or /var/folders
  3. cwd recorded as "."

The fourth keeps a record useful. Ten packages are generated by gen-nvidia and share one generator field; only argv separates them, as -api cudnn against -api cupti -clang=false. If argv redaction ever collapses two of them, provenance stops saying which recipe produced which package, and nothing else records it. That failure is silent, so it is checked here rather than left to a reader.

A package may hold more than one record, so the fourth property compares packages rather than files. Two records in one package that share an argv are reported too, in different words: that one identifies its recipe and merely repeats the other.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL