What is Nostr?
Vitor Pamplona
npub1gcx…nj5z
2023-05-20 13:39:14

Vitor Pamplona on Nostr: What if DMs were device-based? We could use a secret from the device to create a new ...

What if DMs were device-based?

We could use a secret from the device to create a new private key to use exclusively DMs. Since the new DM key can stay in the device's secure element, there is no way for any other device to access your DMs, even if you keys leak (they will inevitably do).

Pros:
- avoids leaking DMs when the nostr key leaks.
- DMs that expire when the phone expires

Cons:
- users cannot migrate the DM history to a new phone/client

With private group DMs, we could add all device keys in a single DM message so that current devices of a user can read the DM history.
Author Public Key
npub1gcxzte5zlkncx26j68ez60fzkvtkm9e0vrwdcvsjakxf9mu9qewqlfnj5z