[ ocknamo/nosskey-sdk ] feat(sdk): add wrap mode for importing existing nsec via passkey PRF (#92)
* feat(sdk): add wrap mode for importing existing nsec via passkey PRF
Add `importNostrKey()` that encrypts a 32-byte nsec with a PRF-derived KEK
using the NIP-44 v2 self-DM pattern and stores the ciphertext in
NostrKeyInfo.wrapped. signEvent / nip44 / nip04 / exportNostrKey
transparently branch on the wrapped field via #getSecretKey, keeping
the public API identical to PRF direct mode. PRF salt is domain-separated
(`nostr-pwk-wrap` vs `nostr-pwk`) so the two modes derive independent

GitHub
feat(sdk): add wrap mode for importing existing nsec via passkey PRF … · ocknamo/nosskey-sdk@87c9e0c
…(#92)
* feat(sdk): add wrap mode for importing existing nsec via passkey PRF
Add `importNostrKey()` that encrypts a 32-byte nsec with a PRF-de...