the original nip04 is a functional but naive instant message protocol:
- all metadata is transmitted to relays in the open, which means all relays can see who is talking to who
- if one of the keys is compromised, both the past and future can be fully decrypted and there is no means to continue the conversation in a secure manner
nip 104 provides secure DM’s and group messaging using Messaging Layer Security, an internet standard that provides Forward Secrecy and Post-Compromise Security.
resources
- JeffG The Past & Future Of DMs And Private Group Chats On Nostr https://www.youtube.com/watch?v=PWKd9aoZ-Cg