Why Nostr? What is Njump?
2023-07-20 07:41:38

marc on Nostr: Just thinking aloud about how I'd attack Nostr blogs and clients if I were an ...

Just thinking aloud about how I’d attack Nostr blogs and clients if I were an authoritarian government. I’d appreciate comments from people with technical experience on how states like China and Russia would do it!

Fear

As a dictator, the danger I’m afraid of is a popular platform to

  • spread criticism freely to the masses of normal people (non-IT folk)
  • organise protest, civil resistance, non-compliance
  • interact freely which creates a feeling of community

Crackdown

So how would I stop Nostr blogs and clients?

1️⃣ Make Nostr mobile apps illegal & ban them from app stores 2️⃣ Block URLs of popular blog webapps like Yakihonne or Habla 3️⃣ Block relays 4️⃣ Spam relays with disinfo 5️⃣ Arrest popular opposition figures, confiscate their computers, steal private key if possible to then spread disinfo

Are there ways to make those more resilient? 🤔

Counter 2️⃣ (my only new idea so far)

I’ve heard of the idea of Nostr-based DNS here: a Nostr Name System (NNS). With this in mind, clients like Yakihonne and Primal could implement a cached functionality to resolve their own URL via NNS rather than DNS. If that worked, as long as you have the cache, I think you’d be fine. And you can wipe your cache pretty quickly if you need to hand over your device.

But what if you don’t have the cached functionality because it was wiped or you’re new user? Thinking about this problem I came up with the following: What about a single HTML file with vanilla JS, no dependencies, that does the following:

  • tries to connect to many Nostr relays & gets relay recommendations of even more relays
  • pulls a note from Nostr with updated list of most popular Nostr clients
  • resolves their IPs via NNS
  • displays them in a list with links

The functionality should be kept basic so that the file needs little to no updating. That way the file could be spread by any means, over multiple channels and provide a fairly censorship-resistent entry-point to popular Nostr clients.

Anyway, just a few thoughts. Tell me what you think! ❤️

Author Public Key
npub1ql5rx6pqga5xa9a90edml8hv0w5utxmt5nqz3nr8hruxe9v8hhkqvgjxck