Parent: #9. Depends on #45 (B-1).
Scope
`packages/core/app/scripts/comp/passkey/passkey-authenticator-bridge.ts`.
Responsibilities:
- Register handlers for the 4 new protocol verbs
- Implement entry create/read/sign with the `NKW.Passkey.*` schema from `docs/phase2-interfaces.md` §2
- Protected fields (`UserHandle`, `PrivateKey`) must be stored as `ProtectedValue`
- On `passkey-sign`: increment SignCount, update LastUsedDate, mark file dirty, persist KDBX before returning signature (counter regression = RP lockout)
- Private key import: PKCS#8 → CryptoKey via `crypto.subtle.importKey`
- Validate every request against the active file (reject if no file open)
Target group selection
Read default from `AppSettings` (new setting: `passkeyDefaultTargetGroupUuid`). If not set, use the root group. Sub-issue B-7 ships the settings UI.
Acceptance
Parent: #9. Depends on #45 (B-1).
Scope
`packages/core/app/scripts/comp/passkey/passkey-authenticator-bridge.ts`.
Responsibilities:
Target group selection
Read default from `AppSettings` (new setting: `passkeyDefaultTargetGroupUuid`). If not set, use the root group. Sub-issue B-7 ships the settings UI.
Acceptance