Skip to content

Latest commit

 

History

History
16 lines (13 loc) · 1.47 KB

README.md

File metadata and controls

16 lines (13 loc) · 1.47 KB

Banawá chat - Trust On First Use SSH Chat

Banawa-chat is a MirageOS unikernel that acts as a special SSH server that provides a chat room for connecting clients. Clients connect with a SSH key, and if the username has not been used before the key is then associated with that user. This is a trust of first use (TOFU) scheme for user authentication. The user database and chat log is kept in the memory of the unikernel, and the user interface is rendered on the server. Users don't require any other software than an SSH client in order to use the chat room.

Banawa-chat was written in May 2023 at the 12th MirageOS hack retreat. As the server was written in only a few days it suffers from a number of bugs and warts (though mostly usable). The awa-ssh was forked in order to support the TOFU scheme. During development of this application three bugs were discovered, and two of them fixed. See mirage/awa-ssh#55, mirage/awa-ssh#56 and mirage/awa-ssh#57.

Thanks a lot to @dinosaure who provided code that I could steal for the nice terminal user interface and helped me debug many things. Thanks as well to @wyn who helped me test and debug RSA authentication from newer ssh clients.