PABLOF7z on Nostr: Perhaps we can add a filter command to the NIP-46 RPC to fetch a bunch of messages ...
Perhaps we can add a filter command to the NIP-46 RPC to fetch a bunch of messages and get them decrypted, so instead of the client fetching the encrypted DMs, sending them to the nsecBunker for decryption, and then back, the client sends the filter it wants and the nsecBunker replies with the messages directly.
Or Perhaps we could have another approach where the nsecBunker is a relay, authorized clients AUTH themselves, publish to that relay and the nsecBunker/relay signs and publishes the event itself to the specified relays (added like a tag or something).
And for decryption the client just gets the messages decrypted straight in the AUTHed wire.
Published at
2023-11-30 21:07:29Event JSON
{
"id": "9aafdd732352d0fe714306017682b08cf1f7dd62c55346b8de3e89bab02ac62d",
"pubkey": "fa984bd7dbb282f07e16e7ae87b26a2a7b9b90b7246a44771f0cf5ae58018f52",
"created_at": 1701378449,
"kind": 1,
"tags": [
[
"e",
"c0ff5a9acaa930a26e86f90899373cd9b992238236570ca0e37846016c0b857d"
],
[
"e",
"ee6d6ebb2f675fb64f3722cd1c0c482c3f1dc3de51072b3046825dbfe538f902"
],
[
"p",
"76c71aae3a491f1d9eec47cba17e229cda4113a0bbb6e6ae1776d7643e29cafa"
],
[
"p",
"5be6446aa8a31c11b3b453bf8dafc9b346ff328d1fa11a0fa02a1e6461f6a9b1"
],
[
"p",
"9c163c7351f8832b08b56cbb2e095960d1c5060dd6b0e461e813f0f07459119e"
],
[
"p",
"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c"
]
],
"content": "Perhaps we can add a filter command to the NIP-46 RPC to fetch a bunch of messages and get them decrypted, so instead of the client fetching the encrypted DMs, sending them to the nsecBunker for decryption, and then back, the client sends the filter it wants and the nsecBunker replies with the messages directly.\n\nOr Perhaps we could have another approach where the nsecBunker is a relay, authorized clients AUTH themselves, publish to that relay and the nsecBunker/relay signs and publishes the event itself to the specified relays (added like a tag or something).\n\nAnd for decryption the client just gets the messages decrypted straight in the AUTHed wire.",
"sig": "9af9e9289053ca3219d38add2381a9c95753dd2980b64858901b4af07db805bbc0e655a8429211aa2bbac9e27b1a10d199098a3bb73c0ba80ca19432d25f2427"
}