Why Nostr? What is Njump?
2025-06-04 18:01:24
in reply to

hodlbod on Nostr: Here's how I'm doing it: This approach is based on some stuff in NIP 17 for sending ...

Here's how I'm doing it: https://github.com/nostr-protocol/nips/pull/1947

This approach is based on some stuff in NIP 17 for sending encrypted media. Basically, encrypt the file, upload it to blossom, and send the decryption key in a message along with the URL. I think this works great. I don't know why in particular it doesn't use NIP 44 (maybe can elucidate). But aes-gcm is pretty standard web crypto, so not hard to use. For your use case, you might look at defining a new event kind for "encrypted media" in NIP 94.
Author Public Key
npub1jlrs53pkdfjnts29kveljul2sm0actt6n8dxrrzqcersttvcuv3qdjynqn