jb55 on Nostr: The site can only decrypt client side and only if the # is included. Otherwise the ...
The site can only decrypt client side and only if the # is included. Otherwise the nostr client can pull the raw data and decrypt locally from the key in the #
The server never has access to the key unless the user clicks the fallback link and the js code sends the key to their servers.
Nostr clients that support these links could just render and inline image and never show the fallback link.
Published at
2023-05-12 14:42:08Event JSON
{
"id": "ac90644b940cbfd739f0e65e9b42ee04f47f46ea0b786cc54d7d99327eb72071",
"pubkey": "32e1827635450ebb3c5a7d12c1f8e7b2b514439ac10a67eef3d9fd9c5c68e245",
"created_at": 1683902528,
"kind": 1,
"tags": [
[
"e",
"b0ee82f5aa954a8ef01545521c95208eee8ca21ec478f1dc42865721496f0eb9",
""
],
[
"e",
"63146c8b1913ac1a2211cad0bd49269ec3638c239fc457a2fcc38fafea29926e"
],
[
"p",
"9989500413fb756d8437912cc32be0730dbe1bfc6b5d2eef759e1456c239f905"
],
[
"p",
"63fe6318dc58583cfe16810f86dd09e18bfd76aabc24a0081ce2856f330504ed"
],
[
"p",
"52b4a076bcbbbdc3a1aefa3735816cf74993b1b8db202b01c883c58be7fad8bd"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
]
],
"content": "The site can only decrypt client side and only if the # is included. Otherwise the nostr client can pull the raw data and decrypt locally from the key in the #\n\nThe server never has access to the key unless the user clicks the fallback link and the js code sends the key to their servers.\n\nNostr clients that support these links could just render and inline image and never show the fallback link.",
"sig": "2752c3db5712a8db54c47fe5a5f1be884c43a794bc28d966962c45e6b15ed026759a94544ee7891a479faf978f21115cddf0e3b80b123105c3b4a123c1b2651f"
}