OpenTine v0.46.1: Project formats
Release notes reproduced from the pinned changelog. Source.
Added
- Project manifests (
opentine.project, SPEC 4.16): owner-signed (Ed25519) and hash-chained throughprev, with a primary and an optional secondary code slot. A public project may not point at a private upstream; a private one names its upstreams only by salted commitments. Clone URLs carry no credentials (no userinfo onhttps://, no password onssh://). Stored under the newproject/manifestref. - Mirror-state host statements (
opentine.mirror-state, SPEC 4.17): signed with the host service key, refused if a project owner signed it, and never reported as a pass ("host statement, not verified by you"). Ten project reason codes are defined. - Git object check (SPEC 4.18) in Python, the TS verifier (browser-safe)
and
tine-verify.pyz, for SHA-1 and SHA-256 object formats. Commit and tag headers are read in order, as git reads them. tine serveproject caps (SPEC 8.18):caps.project:GET project,GET project/history, andPUT project, a signed, chained compare-and-swap that starts at seq 0, writes to the transparency log, and answers a uniform 404 even for writes.caps.social_export: count-only stars and watches.- It stores no code and has no mirror capability. The project routes are
stablein OpenAPI v1 and the TS SDK.
- New CLI commands:
tine project init|link|show|history|verify|pushandtine remote add --project ID.verify --remoterefuses a remote history that forks from the local one. - Schemas:
opentine-project-1,opentine-mirror-state-1andtine-cli-project-1; newdocs/PROJECTS.md. - Conformance: new families
65-project(29 cases) and66-mirror-state(26), answered by Python, the TS verifier and the pyz. - The suite is now 870 conformance vectors; 316 of the 870 refuse input, and the adapter contract still has one entry point: 53 ops.
Security
PUT projectrefuses a first manifest whoseseqis not 0, and a manifest naming another tenant, with 400project.chain-breakand an audit row.PUT projectfollows the uniform-404 rule: a caller who cannot read the tenant gets the same 404 for another tenant and a nonexistent one; a reader who is not a writer gets 403.- A clone URL may not carry a token:
https://URLs take no userinfo at all andssh://URLs take a user but no password (Python, pyz and TS verifier). - The git object check requires
tree(orobjectfor a tag) as the first header line and takes parents only from theparentlines straight after it. tine project verify --remoteexits 4 withproject.chain-breakwhen the remote history forks from the local one.
Compatibility
- No existing byte format changed.
opentine.project,opentine.mirror-stateand the project routes are negotiated bycaps; a 0.34–0.46.0 client is unaffected. - SPEC 0.46.1 adds 4.16, 4.17, 4.18 and 8.18.
Deferred
- SHA-1 collision detection (SHA-1DC) is not implemented.
tine project unlink|set-upstream|link-check|mirror-diffandtine git attribute --projectare not built;tine verifydoes not emit the ten project reason codes yet.- Nothing produces or signs a mirror state;
opentine.mirror-staterefuses an owner-signed statement only when the caller passes the owners, and without a pinned host key reportshost-statement-tofu. verify --remoteflags a fork but not a rollback to an earlier version of the same chain;showandhistory --remotedisplay what the server sends without checking the chain.- Stars and watches have no endpoint that sets them; the forge-claim kind is left for 0.47.