Repository navigation
Backlog
Description
Known limitations left after 0.0.13, from the two independent reviews of that change. None exposes the key to a web page.
Needs a check in a real browser
- Confirm
chrome.storage.local.setAccessLevel({accessLevel:'TRUSTED_CONTEXTS'})takes effect: in a Podkey content-script context,chrome.storage.local.get(null)should be refused. The call's failure is ignored today. - Per-site disable, the legacy-key screen, the export gates, auto-lock and the approval keepalive have unit tests only. The CI smoke test covers the worker starting and
window.nostrbeing injected.
What an unapproved site can still learn
- With sidechain spends on, a locked Podkey refuses a spend at once while an unlocked one opens a window.
- The Solid sign-in prompt opens only when a key is set up and auto-sign is on, and the page can see the window open. The "no" is held in memory, so the prompt can return after the service worker restarts.
Interceptor
- Aborting during the 401 retry returns the original 401, not an
AbortError. - A signed XHR cannot be replayed, so a failed signed GET/HEAD XHR only switches later requests to that host to unsigned; a real outage stops signing there until reload.
- Switching Podkey off for a site applies to every port on that host (match patterns take no port).
Key storage
- A legacy unencrypted key that differs from the vault's key is kept on disk and reported in the status, but the popup offers no way to export or delete it on its own while a vault exists.
- Moving key records from
chrome.storage.localto IndexedDB (origin-isolated) remains open from Key storage: legacy plaintext key is never migrated; vault readable from content scripts #36.
Sidechain spends
- Redirects and DNS names resolving to private addresses are not covered by the mirror URL check, because the vendored explorer uses the global
fetch. Upstream fix: an injectable fetch orredirect: 'error'. Deprecated site-localfec0::/10is not refused. - A legitimate first spend fails while the mirror is a block behind the announced tip.
- Coin selection is unchecked, and a 0.0.9 signer pin is still honoured without re-validation (from Sidechain spend window: sats in a record output are burnt without a warning; opt-in not enforced in the service worker #37).
Tests and release
- The NIP-44 invalid-vector tests pass on any thrown error; assert the reason.
- The smoke job is allowed to fail; make it required once it has been green for a few weeks.
- Branch protection on
mainand a first tagged release are not set up (release.ymlis ready for av*tag).
🤖 Generated by Claude Code
Metadata
Metadata
Assignees
Labels
No labels
Activity