the original nip04 is a functional but naive instant message protocol:

  1. all metadata is transmitted to relays in the open, which means all relays can see who is talking to who
  2. 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