Oddbean new post about | logout

Notes by brugeman | export

 > less well on android, still less well for android PWAs

We've done extensive testing of nsec.app in these couple days on Android web and PWAs and it works reliably with nostr-login apps and with Nostrudel. Looks like the only problem is iOS.  
 Ok that's a bug, thanks  
 This is so true! NIP-46 should be the default standard for *all* Nostr apps even ones like npub.p... 
 Npub.pro supports nip46, as well as all npub.pro sites. 
 how do I do nip17/nip44 decrypt with a signing extension? (using ndk and nostr-tools) 
 There's nip44.decrypt method 
 nostr:npub1xdtducdnjerex88gkg2qk2atsdlqsyxqaag4h05jmcpyspqt30wscmntxy sometimes when I type joshb... 
 This is not a normal behavior, please let me know if it happens again. I tried it now and it worked fine, not sure what the issue could be - all variants of www/plain http/https redirect to https://www.joshbrown.photos - there shouldn't be infinite refresh anywhere. 
 Very good overview!

nostr:naddr1qqxnzdenxyenvdesxvmrvwp4qy88wumn8ghj7mn0wvhxcmmv9upzp978pfzrv6n9xhq5tvenl9e74pklmskh4xw6vxxyp3j8qkke3cezqvzqqqr4guxug4c0 
 I'm of the opinion that nsec and seed words should be deprecated, and support for them should be removed 
 No, zap button shows to anons too, is it not? 
 Add 28934 to the list of requested perms in nostrconnect string, please 
 Also 209 and maybe others? 
 Can't post to nostrtalk.org, restricted :( 
 just some bug reporting hehe 
 Some more (bug?) reports in 'clients' room 
 A promising thing seems to be large-blob extension https://github.com/w3c/webauthn/wiki/Explainer:-WebAuthn-Large-Blob-Extension, but I haven't been able to make demos work yet so it's probably too early and not widely supported. 
 > I've opted to go with the vanilla bunker/nostrconnect flow, which allows me to display a simple interface to users.

In flotilla, I see nostrconnect:// QR-code, but not a clickable nostrconnect:// link - on mobile Amber could handle it and I wouldn't need to click on the QR code to copy-paste it to Amber. Does it make sense? 
 One option could be to make click on QR-code open the nostrconnect:// url on mobile in addition to copying it to clipboard.  
 I open flotilla in mobile browser and nip55 isn't useful, I have Amber, I want to use it - why not open it with 1 click? 
 > less well on android, still less well for android PWAs

We've done extensive testing of nsec.app in these couple days on Android web and PWAs and it works reliably with nostr-login apps and with Nostrudel. Looks like the only problem is iOS.  
 Trusted is when you have non-zero trust rank. Usually any interaction from another trusted user is enough. The above quote is no longer accurate, an even then it was about seed nodes that had trust at the start of the calculation. 
 Hi, apologies, Comment wasn't supposed to be a Main CTA - it is already under each post. I removed that option from settings now, please choose something else. Posts per page seems to work on your site, maybe refresh. The pagination is automatic on that theme, posts are loaded on scrolling. 
 This theme doesn't support manual pagination, I think some other themes do, i.e. Liebling. 
 A quick shoutout to nostr:npub1xdtducdnjerex88gkg2qk2atsdlqsyxqaag4h05jmcpyspqt30wscmntxy for wha... 
 Thank you! We aren't stopping 
 Hi, apologies, Comment wasn't supposed to be a Main CTA - it is already under each post. I removed that option from settings now, please choose something else. Posts per page seems to work on your site, maybe refresh. The pagination is automatic on that theme, posts are loaded on scrolling. 
 Any npub that publishes on public nostr relays is counted. If there was a spike in some space that is bridged to nostr then it could be the source of the spike. 
 I literally dreamed about signers all night. I even woke up in the middle of the night and explai... 
 Please explain it to us too! Can't wait for your monster post. 
 Hmm, let me check if there's a way to fix this. I'm required to show them otherwise web push might be disabled by the browser. Looks like there's a way to "replace" existing notification - not sure if it works and if webpush will be fine with it. 
 nip 46 is a never ending fractal nightmare 
 More features to the rescue 
 What is a simpler, and less scary “what is nostr” landing page?

A) nostr.com
B) nostr.org
C)... 
 Great to hear you like it! Please let me know if we can improve anything for you! 
 Small customizations are possible with code injections. Bigger changes would make sense using a custom theme. These are Ghost themes, so if you have one or can buy one we might publish it on nostr and make it available. Don't rush buying though, because it might not be fully functional (we only support a subset of Ghost features), and tools for publishing aren't good yet (I'd have to publish it myself probably), and the theme would be publicly available to anyone. 

No new themes in the pipeline atm, I published all good generic open-source Ghost themes, if you find a promising one - let me know. 
 I'm retiring this npub. Please DM me for the new one. 

Reason: nsec.app and nsec bunker are cust... 
 nsec.app is not a custodial solution 
 Spring Browser no longer on Play Store nostr:nprofile1qqsrx4k7vxeev3unrn5ty9qt9w4cxlsgzrqw752mh6f... 
 It's not being developed and updated, play store disabled it. 
 Actually, Play Store sent us some complain, hope we can fix the issue and they will bring it back. 
 Hi nostr:npub1xdtducdnjerex88gkg2qk2atsdlqsyxqaag4h05jmcpyspqt30wscmntxy — I’m looking at tru... 
 I'm probably just too bad at math. Also I'm not sure how well it would scale to 100M nodes.  
 Usa o Npub.pro 
 No PDF embeds yet, good idea, thanks! 
 @ABH3PO Hi! Would you consider adding nostr-login widget to formstr? I'm trying to use it but don't have an extension 
 nostr-login widget is a drop-in nip07 provider - you can add 1 line of code and users can sign in with extension, nsecbunker, signup locally, etc. might be a great temporary solution until you dive deeper and maybe build something custom https://github.com/nostrband/nostr-login/ 
 Which one? How "didn't"? Could you please tell me more? 
 Check out the new chat app!
nostr:nevent1qqsv25qz88gdhu2c5a9ykhpltychv90726ngnllel2ka96g7xewn76spr9mhxue69uhhyetvv9ujuumwdae8gtnnda3kjctv9upzqla9dawkjc4trc7dgf88trpsq2uxvhmmpkxua607nc5g6a634sv5qvzqqqqqqyck08pk 
 question for #askNostr ... would you be more likely to login via DM login-code sent to your publi... 
 DM login is way easier for people using native apps (Damus/Amethyst), and those are the majority. But with DM-login you don't really have access to keys and can't sign/encrypt anything, so this approach only works for a limited set of apps. 
 One of the superpowers of nostr is interoperability and putting users in control of how they want... 
 Well I thought you'd be setting it naturally for each event kind when you open it for the first time, there should be a 'remember' switch.  
 Why isn't there an app that generates and saves your keypair and also generates bunker URLs for u... 
 You can generate keys in nsec.app, choose "Try it" https://use.nsec.app/home?initial=true  
 ちなみに nsec.app もamber も現在masterにマージ済みの仕様通りには動いてな... 
 Actually both nsec.app and amber work according to master nip46, they just use the same remote-signer-pubkey and user-pubkey - nothing in the spec says this is forbidden, it's a valid behavior. 
 Yes that part was left completely unspecified and I think the first to implement it "somehow" were Amber and Nostrudel, and then I followed with nsec.app and nostr-login. The PR you mentioned should indeed clarify this part. 
 is nsec.app a good choice currently for non custodial key management? 
 If you're on android you could use Amber instead of nsec.app, it supports the same protocol and should work with browser apps.  
 Then nsec.app is probably the only simple usable option. Or a browser extension like Alby. 
 Npub.pro 

A feature request (whenever you get to it .. no hurry ) 

Make homepage active threads... 
 Thanks for the idea! This isn't trivial to do right now, but I like the overall direction, will think about it! 
 Great to hear you're excited! Please let me know if you have any issues or feedback! 
 nostr:npub1xdtducdnjerex88gkg2qk2atsdlqsyxqaag4h05jmcpyspqt30wscmntxy FYI, I couldn't find the Se... 
 Yes it looks like latest iOS doesn't require "Experimental" setting, but you still need to add nsec.app to homescreen for push to work. The problem is that this new iOS seems to not deliver the pushes properly, and I haven't figured out why yet. So basically, right now you'll just have to keep an nsec.app tab open.  
 Yes I think this is iOS issue, when push api was experimental you could at least get it working after enabling in settings and adding to homescreen - push messages were received instantly as expected. Now they're only delivered when you manually open the pwa. I've spent some time looking for an issue on our end and I don't see any. I'm not sure this was a deliberate choice - why graduate this from experimental and then break it? Seems more like a bug, but who knows. 
 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!  
 For the iframe-based thing to work you'd have to sign into nsec.app on your phone in the same browser. 
 No, nothing Safari-specific, keys must be on the same browser on the same device. This doesn't work across devices  
 Could you please try with https://primal.nostrapps.org? Can you use nsec.app with Brave on iOS there? 
 Oh ok thanks for the report! Will look into it 
 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. 
 Imagine you could paste your npub into an app or browser, and it gives back a censorship-resistan... 
 I am long time fascinated by mainline DHT, and it's cool you are experimenting with it. Can we talk about browser js not being able to access DHT directly? User needs to set a custom dns server, which is quite a barrier, and is the middleman that can censor or be censored, is that right?

We could have a custom relay that could query dht for user's outbox relays and fetch requested events from there, acting as dht bridge for web apps. But then it's no different from existing indexer relays that clients hardcode for discovery.

We could also have a custom dns server resolving npubs to their outbox relay. But again users won't change their dns settings. 

I go back and forth on this and still don't see what is fundamentally solved by this use of dht, at least for the web. Am I missing something? 
 I understand dht is only to resolve a pubkey to an endpoint, no questions about this. 
 Thanks for the input. Native apps don't really have to rely on dns like web apps and are already much less restricted and harder to censor at transport level. Those are much better censored at app store level and hence my focus on the web apps. Pkarr being cache seems like a bug, not a feature - if resolving HAS to use cache middleware to be reliable then it's less decentralised, and 10m nodes turn to 1. It looks like unless this becomes a web standard browsers won't benefit fundamentally. I thought about this much less than you did so this isn't a criticism, just thinking out loud. 
 nostr:npub1xdtducdnjerex88gkg2qk2atsdlqsyxqaag4h05jmcpyspqt30wscmntxy I’m trying to add a custo... 
 Hi could you please try again now? Just repeat the same flow, it should go fast, you've already set all the required DNS settings. Thanks! 
 Awesome! 
 Hi #npub.pro  

To test the slow speed issues , I had previously reported , I did set up a subdom... 
 Hi, can you please try again now? It should not show you the old state now. Thanks! 
 I have a CLI (ngit) that is usually used to read but sometimes used to write events.
I'm trying a... 
 Please also check part 2 of the last upgrade, might be easier to read and add some clarifications: https://github.com/nostr-protocol/nips/pull/1553