Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

Security

TheFox edited this page Sep 6, 2014 · 18 revisions

There are some basic rules you need to consider:

  • If you use the email client as a GUI the messages are also stored in plaintext.
  • The encrpytion of your messages is as secure as the installed version of OpenSSL on your local machine. The body of each message is encrypted bidirectional with a 2048-bit long random password. The password is encrypted asymmetrically with the public key for the recipient. To route a message through the network some basic informations must be available in plaintext. These metadata are - for instance - the version number of the message, message ID, source node ID, destination node ID.
  • If someone else get your local encrypted private key (id_rsa.prv in the main folder) all your messages can be decrypted. The password for the private key is stored in settings.yml. PHPCHat will not intentionally send your private key or password to the network. This means if you loose the key or the password you can't read old messages anymore. Your messages are as secure as the local files (settings.yml and id_rsa.prv) are.
  • For more security turn off the history of the console.
    settings.yml file -> console -> history -> enabled => false.
  • When a live chat is established both nodes (you and your chat participant) should verify both (yours and your chat participants) Public Key Fingerprints on a trusted channel to avoid a man-in-the-middle attack.
  • The anonymity is weak.
    • In particular when using the peer-to-peer live chat. For this you need to know the IP address of your chat participant. Or your chat participant needs to know your IP address to create a P2P connection. It's possible to uncover your identity using your IP address.
    • When using the offline messages the sender also takes a direct connection to the recipient if the recipient node is online. This is because of the DHT design.
    • On the first start of PHPChat a random nickname (user_xxxx) will be generated. For more anonymity don't change this nickname to a regularly used nickname.
    • For more anonymity activate bridge client. See Bridge for more information.

Clone this wiki locally