You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
What's needed is to detect which encryption scheme the wallet supports (nip04 or nip44) as specified in nostr-protocol/nips#1531 and then encrypt requests with the corresponding scheme.
Describe alternatives you've considered
n/a
Additional context
There is some work currently being done in NDK regarding migration to NIP-44 for other NIPs (nostr-dev-kit/ndk#279) but not for NWC afaict.
The text was updated successfully, but these errors were encountered:
Yes, or we fork it and do it ourselves since the maintainers don't seem to be very responsive. This ticket is just about keeping track that we need to find a solution.
ekzyis
changed the title
Migrate to NIP-44 encryption for NWC
Support NIP-44 encryption for NWC
Dec 10, 2024
Describe the problem you're trying to solve
NWC wallets will add versioning and switch to NIP-44 encryption at some point, see nostr-protocol/nips#1531.
We are about to switch to NDK (#1590), but it doesn't seem to support NIP-44 for NWC specifically yet. However, the
NDKPrivateSigner
has NIP-44 encryption support.Describe the solution you'd like
What's needed is to detect which encryption scheme the wallet supports (nip04 or nip44) as specified in nostr-protocol/nips#1531 and then encrypt requests with the corresponding scheme.
Describe alternatives you've considered
n/a
Additional context
There is some work currently being done in NDK regarding migration to NIP-44 for other NIPs (nostr-dev-kit/ndk#279) but not for NWC afaict.
The text was updated successfully, but these errors were encountered: