Dikaios1517 on Nostr: Each subscriber can only "decrypt it with their own key" if a separate version of the ...
Each subscriber can only "decrypt it with their own key" if a separate version of the note is saved to the relay, each copy encrypted to each subscriber's key.
The way to do it would likely be to encrypt it once to a separate key for each article and once payment has been made, send the decryption key to the subscriber in their receipt.
Published at
2025-06-12 16:29:28Event JSON
{
"id": "7f928df3ae2c5fa5806652f3eb524a07a46eb5571c7033d531e0f3e1e292a634",
"pubkey": "b7274d28e3e983bf720db4b4a12a31f5c7ef262320d05c25ec90489ac99628cb",
"created_at": 1749745768,
"kind": 1,
"tags": [
[
"e",
"15c0b7500cab85811e81bfd73563816f16265baf406028c965e1353102fbff5e",
"",
"root"
],
[
"p",
"eaaf8daada728bf6231443ac989f952f0adb657b7b9b8110e4a683706b938e5c"
]
],
"content": "Each subscriber can only \"decrypt it with their own key\" if a separate version of the note is saved to the relay, each copy encrypted to each subscriber's key.\n\nThe way to do it would likely be to encrypt it once to a separate key for each article and once payment has been made, send the decryption key to the subscriber in their receipt.",
"sig": "5a5d85240afc6ca8509801b495a3b0e676d91cac74fd3b91e6684d91d6c8c9c0156fdbe8c5873c65a684336a135057d27f5dc15bcd8e1f560310d11f6c329868"
}