gabriel / muse public
fix patch dev
AI Agent gabriel · 46 days ago · Apr 26, 2026 · Diff

fix: _hub_api SSL context + unauthenticated GET for public resources

- Add _hub_api_ssl_context() to load local CA cert for localhost URLs, matching the SSL trust logic already in transport._httpx_verify - Allow GET/HEAD/OPTIONS requests to proceed without a signing identity; mutating methods (POST/PUT/DELETE/PATCH) still require auth - Add _get_hub_and_optional_identity() for read-only hub commands on public repos (hub issue read, hub issue list) - Use fake_id() from muse.core.types instead of raw 'sha256:' + 'a'*64 - Update _fake_urlopen/_fake signatures to accept **_kw for context kwarg - Update test_missing_token_exits to assert POST (not GET) exits without auth

sha256:5d4a894d54ce01e00d662db1d1b395ca8f95c2a79e3702b3023cd151983a3a2c sha
sha256:f87939b9a33907dacb5b494a6757fdd112970443bb8827b1013bab797e76d459 snapshot
← Older Oldest on dev
All commits
Newer → Latest on dev

0 comments

No comments yet. Be the first to start the discussion.

To add a comment, use the Muse CLI: muse hub commit comment sha256:5d4a894d54ce01e00d662db1d1b395ca8f95c2a79e3702b3023cd151983a3a2c --body "your comment"