Files: 7ff37da828525e6feaaf0963446b10fbe5af99f8 / README.md
696 bytesRaw
ssb-private-groups
receive key
to indicate you support box2, post a message
`
{
type: 'private-msg-key',
key: curve25519.public
}
when decrypting messages from another feed,
you know it came from their most recent
private message key, because they are in a strict order.
when decrypting messages for your feed these must be combined with each private-msg-key you retain. when rotating keys, it is advisable to keep both keys alive for an overlap period, to improve chances that sender has your new key when they write a message to you.
If they write a message to a key you have discarded, you won't know, because you'll be unable to decrypt that message.
License
MIT
Built with git-ssb-web