This is a reference implementation of encrypted chats for small trusted groups. It runs SSH server in a container that acts as a mailbox for opaque encrypted blobs (145 lines of code). SSH keys serve as an identity.
Source: [Hacker News](https://github.com/achempion/tlx)