Server data encryption

If you (like me), use BNCs to maintain your connection to a server, chances are you need a server password to access it. All data in the database is stored in plain text and this poses a security risk to your BNC if your phone gets stolen.

I didn't feel at all comfortable with this idea, so AndChat allows you to encrypt the server address and password (it doesn't encrypt nicks, etc) so if your phone gets stolen, they can't access your connections (hopefully).

Encrypting

  1. Go to database encryption settings via Menu->Settings->Database Security
  2. Select "Use Encryption" and create a new master password
  3. Click "Encrypt database" option to encrypt the passwords
Optionally, you can make it so you have to enter the password on load, thereby protecting the Server List from prying eyes. Use the prompt option to enable this.

Password requests will kick in in the following situations:

Once you enter the correct password, you will have to use Menu->Exit to clear the correct password status (Using Menu->Exit will also close active connections).



Decrypting

To decrypt the addresses and passwords and restore them to plain text (!), you should do the following:

  1. Go to database encryption settings via Menu->Settings->Database Security
  2. Select "Use Encryption" and enter the master key to confirm the action
  3. The addresses and passwords are now restored to plaintext

Notes

Although I've tried my best to kept the passwords secure, there will still be bugs. If you find one, please let me know asap.