i started a (very niche) private messaging protocol & little CLI app demo. i’m no security expert, so any feedback or questions would be appreciated.

the gist is an ephemeral message exchange without identities. the goal is ultimate deniability.

the interesting (and weird) part is that messages are encrypted but not authenticated. this means an imposter could show up if they know the shared secret. otoh this means you can deny anything you say.

  • Cipherd@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    11 hours ago

    Couldn’t you use HMAC with shared secret key to authenticate messages while keeping plausible deniability? Since the key is only supposed to be known to the 2 parties, the recipient can deduce that a message was actually sent by the sender if he did not create it himself. I think that’s what OTR was using.

    • slugr@leminal.spaceOP
      link
      fedilink
      English
      arrow-up
      3
      ·
      11 hours ago

      ooh, i’ll have to think through it, but it sounds like that’d add message integrity without sacrificing deniability. also wouldn’t be much to add. appreciate the feedback!