Embargo a security fix

Embargo a security fix

Mark the file embargoed until a unix timestamp. Push now; the key is withheld by the relay until reveal time.

echo "VULN_DETAILS=CVE-2025-XXXX" > security-fix.txt
printf 'security-fix.txt embargoed=1800000000\n' >> .lootattributes

loot new -m "patch for CVE-2025-XXXX"
loot push          # relay holds ciphertext; key withheld until reveal_at

Until the reveal you can’t read it either: the key is withheld from its author too, so loot cat refuses. Your working copy stays, and loot records it unchanged. An edit to it is refused until the reveal; move the file aside to keep working, and put it back after.

Only signed changes travel, so finalize with loot new before you push. The push seals the key, as a timed grant, to each peer you have registered with loot peer add; one you register later gets a grant on your next push. A push with no registered peers says it deposited no timed grants.

At reveal_at the relay starts handing those grants over. Each peer who has registered your key reads the fix after loot pull and loot pull-grants, then loot surface if they pulled first. A grant from a key they have not registered is quarantined until they run loot peer add for that key, or loot grants --trust.