Replying to Avatar brugeman

New iframe-based signing coming to nsec.app and nostr-login!

Many of you have tried nsec.app and had issues. It might be slow and unreliable, because it involves talking over relays and waking up the signer using web push. iOS users had to keep nsec.app tab open to make it work.

Now check out this demo:

https://v.nostr.build/sajUBBgYejAShlcr.mp4

Basically, client app (or a library like nostr-login) can embed signer (nsec.app) as an invisible iframe and talk to it using browser APIs. Talking to your keys no longer involves relays or web push - it's instantaneous! Works perfectly fine on iOS Safari.

We're releasing the updated nostr-login on https://npub.pro, https://nostr.band and on https://primal.nostrapps.org for you to try it. If all goes well and public scrutiny doesn't kill this, we'll publish the new nostr-login on unpkg and every app using it will get a boost with nsec.app.

The NIP proposal is here: https://github.com/nostr-protocol/nips/pull/1557

I encourage web client devs to check it out, maybe this is how we take safe key access to the next level of usability on the web!

Hello and thanks for the awesome app.

I was trying to get this going yesterday on ios. I found some instructions at https://nsec.app/ios.html

but I looked hard and couldnt find where these setting were:

Follow these steps:

Go to iOS Settings → Advanced → Experimental.

Enable Push API.

Open use.nsec.app in a browser.

-----------

couldnt find advanced>experimental under main Settings for iOS, or Brave or Safari. I tried both ipad and iphone running iOS 17.

Reply to this note

Please Login to reply.

Discussion

Hi yes you're right, those instructions are outdated. New iOS graduated Push API from experimental and you no longer need that setting. But you still need to add the nsec.app to homescreen, and even then we're seeing issues with reliability. So I would say for now you'll have to just need use.nsec.app tab open while working with connected apps.