just published NIP-PNS: Private Note Storage. nostr:npub1gcxzte5zlkncx26j68ez60fzkvtkm9e0vrwdcvsjakxf9mu9qewqlfnj5z nostr:npub12262qa4uhw7u8gdwlgmntqtv7aye8vdcmvszkqwgs0zchel6mz7s6cgrkj nostr:npub1jlrs53pkdfjnts29kveljul2sm0actt6n8dxrrzqcersttvcuv3qdjynqn nostr:npub13v47pg9dxjq96an8jfev9znhm0k7ntwtlh9y335paj9kyjsjpznqzzl3l8

was going to use this for backing up openai-style chat sessions for dave, as well as private application settings (NWC, etc). keys can be per-device, or tied to user nsec (although this is more risky if your key is compromised).

It's like giftwraps without the p tag or seal. It only has the wrap and rumor encrypted to your private PNS identity.

The PNS note has no tags on it. the only metadata is the note timestamp, and random but deterministic key.

Let me know what ya'll think!

https://github.com/nostr-protocol/nips/pull/1893

Reply to this note

Please Login to reply.

Discussion

will review and get back to you. but don’t think many people care anymore, my review access was removed by fiatjaf this month

you can just post a review here

yes that was what I was saying

Oh. I like using this for private application settings.

yeah its great for that

Do I read this correctly? It's NIP44 encryption over NIP78 app data, nothing more or less?

it can be any note, not just nip78.

nip44 by itself doesn't give you public data that is unlinked to you

also the contents are optionally a rumor like giftwraps

better way to describe it is simpler, less DoS-able, and more private nip59 (no p tag) but for your own notes

this should also replace all encrypted versions of NIPs (like lists) that are encrypted to yourself. this is a much better way to do that, assuming you're ok with negetropy-sync-like workflows with private local relays for querying the unwrapped notes locally.

I see now, I missed the derived PNS keypair. So I know what to fetch, but no other user (relay maybe can?) can make a relationship between this encrypted data and myself.

I like that.

Oh, can you add one or two test cases of derived PNS keypairs? I like to make sure to test against those and ensure compatibility.