damus
damus copied to clipboard
Improper handling of extra padding in encrypted dm messaging
Extra padding in encrypted dm messages can be used to hide message length in the public cipher text. The go-nostr library, at time of writing, adds extra padding by default which Damus is unable to decrypt. Failing with a "failed to decrypt content" message.
Extra padding should just be ignored.
Would this be possible in Damus?
Adding link to NIP-04 Encrypted Direct Message
https://github.com/nostr-protocol/nips/blob/master/04.md