Blake's avatar
Blake
_@wako.ws
npub1ktw5...mrvj
#Bitcoin #Nostr #Freedom wss://relay.nostrgraph.net
Blake's avatar
wakoinc 2 years ago
Hey all, it’s me Ledger. I’m sure glad _our_ funds are safe. It’s just smart security that we share private keys with corporations we shouldn’t trust. image
Blake's avatar
wakoinc 2 years ago
#[0]​ where’d you go? Just read through your safer Nostr project code.
Blake's avatar
wakoinc 2 years ago
I’ve got a hackish Damus POC for Nostr HTTP Auth using NIP98. Basically for 401 Unauthorised and 402 Payment Required image requests with a WWW-Authenticate: NOSTR-NIP-98 header, we can optionally retry with a signed event base64 encoded in the Authorisation header. This is exciting because we get to use the 401 header, have a nice way to retry requests with Nostr auth, and can optionally accept payment or perhaps offer a subscription to gain access. For the UX, I’d like to have a UI to add a domain to a trusted Nostr HTTP Auth List, which allows ask, or always send auth (for domain). If you’d like to help progress the swift code for Damus, let me know. I’d appreciate the help.. as it’s a little complex managing cache and retries using kingfisher with custom requests. #[2]​ is this something you’re open to accepting into Damus? It should only matter for content that returns 401/2 and has the Nostr auth headers - otherwise it shouldn’t do anything. So it’s an extension in capability.
Blake's avatar
wakoinc 2 years ago
I’m still trying to work out the best UX for this, however I have a hacky POC 402 Payment Required image loader Damus patch. I’m thinking that when an image returns 402 Payment Required, and has a www-authentication header indicating NIP 98 HTTP AUTH, the user can “allow Nostr http auth for cdn.domain.com”, which can either confirm existing access to show image, or offer a LNURL to enable pay for access. A default thumbnail image or blurhash style unauthorised/unpaid could show by default. Or client apps could show some kind of auth/payment required overlay icon. Same concept could apply to 401 Unauthorised content - however it would skip the payment request flow. Other content types could be supported too.. images are just easy to start with. This can enable membership checks or individual paywalled content, primarily for rich media. Thoughts, feedback and ideas welcome. image
Blake's avatar
wakoinc 2 years ago
This is a cool telegram bot being ported to Nostr. “Due to the growing need to be able to operate with Bitcoin without giving up personal data, in 2021 I started a project to allows people to buy and sell Bitcoin through Lightning Network without funds custody and without KYC, this project is a telegram bot called @lnp2pbot.”
Blake's avatar
wakoinc 2 years ago
Twitter 2023. Works best if you squint. image
Blake's avatar
wakoinc 2 years ago
Interesting also to watch early day products.