Home / Docs / Specification / 30. Packages and dependencies

30.7 The proof cache

Release v0.4.0

For a package of edition 0.4 and later, the key of a proof cache entry (spec/12 §9) is the hex SHA-256 of the domain tag una-proof-cache/2, then, for each of the canonical text of the lock's solver section and the query, its length in decimal, a NUL byte, and the text. It does not cover the packages of the lock, so adding a dependency invalidates no entry, and the tag and the length prefixes keep it apart from the key of editions 0.1 to 0.3. The entry's HMAC of ADR 0064 authenticates it either way. The build report's lock digest is the SHA-256 of ita.lock as written.