Nostr Dev Team on Nostr: For some Nostr applications, it is important to have data that can be verified, but ...
For some Nostr applications, it is important to have data that can be verified, but that you don't want to be published (eg SIGit agreements, medical records, or internal application data). One way to achieve this is by sealing (kind 13) but this has some drawbacks - such as the fact that only the sender and receiver can decrypt / verify the content.
NIP-59 suggests that removing the signature is one way to prevent events from being published. But this also stops it from being verified.
With this in mind, we would like to #asknostr for feedback on the following idea.
Using negative kind numbers for private data
Negative kind numbers MUST NOT be published to relays, and relays MUST NOT accept negative kind numbers
Thoughts?
Published at
2024-07-01 16:19:08Event JSON
{
"id": "006c1a09d3941cf479b0a33ac9a9dc8aef4badfdcfd0007df9b2982b67609795",
"pubkey": "27487c9600b16b24a1bfb0519cfe4a5d1ad84959e3cce5d6d7a99d48660a1f78",
"created_at": 1719850748,
"kind": 1,
"tags": [
[
"t",
"asknostr"
],
[
"nonce",
"1602",
"9"
]
],
"content": "For some Nostr applications, it is important to have data that can be verified, but that you don't want to be published (eg SIGit agreements, medical records, or internal application data). One way to achieve this is by sealing (kind 13) but this has some drawbacks - such as the fact that only the sender and receiver can decrypt / verify the content.\n\nNIP-59 suggests that removing the signature is one way to prevent events from being published. But this also stops it from being verified.\n\nWith this in mind, we would like to #asknostr for feedback on the following idea.\n\nUsing negative kind numbers for private data\n\nNegative kind numbers MUST NOT be published to relays, and relays MUST NOT accept negative kind numbers\n\nThoughts?",
"sig": "464059556b6ece44a473a52de8ae7471489f4062921f852bc6d2149f4dc9e72e15ae061e55291981f46440d0198126e2e61dbbcf5b245b46c40b9ca9e4de87fe"
}