caution verify could waste 10+ minutes (or hang forever) before telling you something was wrong. Now it checks the cheap stuff first and bounds every network call.
- Preflight the app source ref (git ls-remote) before building — missing branch fails in seconds, not minutes
- Preflight enclave + framework archives too (HEAD request) — a 404'd commit fails fast
- Added timeouts to the attestation call and archive downloads — they were unbounded and could hang forever
- Guarded enclave-builder's ls-remote so it can't hang on a credential prompt
- Hardened the commit-SHA matching + added tests
caution verify could waste 10+ minutes (or hang forever) before telling you something was wrong. Now it checks the cheap stuff first and bounds every network call.
- Preflight the app source ref (git ls-remote) before building — missing branch fails in seconds, not minutes
- Preflight enclave + framework archives too (HEAD request) — a 404'd commit fails fast
- Added timeouts to the attestation call and archive downloads — they were unbounded and could hang forever
- Guarded enclave-builder's ls-remote so it can't hang on a credential prompt
- Hardened the commit-SHA matching + added tests