controller: use a single keychain

Fixes crash due to inconsistent keychains between contact-manager,
controller and the face.

Change-Id: I8adcd0767e36d7447468899eabd0debcf4185380
4 files changed
tree: 7f2dd7ee7dde3903c8e0436762dce40ee4f6783e
  1. .github/
  2. .jenkins.d/
  3. .waf-tools/
  4. contrib/
  5. debug-tools/
  6. docs/
  7. images/
  8. linux/
  9. security/
  10. src/
  11. test/
  12. .gitignore
  13. .jenkins
  14. demo.icns
  15. demo.qrc
  16. qt.conf
  17. README.md
  18. TODO
  19. waf
  20. wscript
README.md

ChronoChat

ChronoChat is a multiparty chat application that demostrates our synchronization primitive that we call ChronoSync.

Note that after you click to close ChronoChat, it will keep running on your system tray. To restore it to normal size window, you have to click on the system tray icon (normally on the upper right corner of your screen). Clicking on the dock won't work for now and is still on the to-do list (because I'm using qt for gui, not the native Cocoa framework).

Known Issues

  1. When you switch to a new room, you'll temporarily see yourself in two nodes for a minute or so. It won't affect others, just yourself. Hopefully it's not so disturbing.
  2. Sometimes you may not get the most up-to-date chat history.

Compilation steps

  1. On Ubuntu, configure the NDN PPA repository and install the necessary dependencies

     sudo apt install nfd libndn-cxx-dev libchronosync-dev libboost-all-dev libsqlite3-dev qt5-default
    
  2. Fetch source code

     git clone https://github.com/named-data/ChronoChat
    
  3. Configure and build ChronoChat

     ./waf configure
     ./waf
    

Congratulations! build/ChronoChat is ready to use. Do not forget to start NFD and configure FIB before using ChronoChat. For ease of debugging, you can generate trusted identities in your local TPM using debug-tools/create-cert.