Ohhhhh... ok so from https://use.nsec.app it's first GET STARTED, then on the bottom "advanced" that show Import Key. My 2 cents, I would have import key next to signup and login. I'll try the sync, thanks.
Thanks, I guess you're right
Cool, sync worked! Now I can import there my keys. This could easily become my Bitwarden for cryptographic keys... Going to try it on my webapp now.
Amazing!
oh and eventually I can run my own nsbunker daemon and have my devices sync only from that?
Nsec.app doesn't use nsecbunker (server-side nip46 server). It stores your keys in browser and runs nip46 server in a service worker, it's server only wakes the worker up when needed. You could host your own version of nsec.app. But doing that just to sync your keys through your own server isn't worth it - sync is e2e encrypted with your password, you don't gain much from self hosting.
From a webapp I guess I need to trigger an "intent" or some kind of uri scheme protocol so that login button open nsec.app to sign users in... Don't know exactly which one but I'll figure it out.
If your app already works with key storage extensions (nip-07, window.nostr) then you can use nostr-login library - two lines of code and all your calls to window.nostr are proxied to nip46 remote signing, with a pretty UI showing up for users to login/signup.
Yes I do the window.nostr(event) now. this one? https://www.npmjs.com/package/nostr-login there's a github?