Skip to content
tdubourg edited this page Apr 22, 2012 · 20 revisions

#Home

##Welcome to the K-9-Passwords-Encryption Mail wiki!

K-9 Mail is an open source email client focused on making it easy to chew through large volumes of email. This repo is a fork on the main one, that can be found there : https://github.com/k9mail/k-9

This repo is a quick-and-dirty patch to K-9 mail to enable password encryption.

What does it mean ? Instead of storing your accounts passwords as plain text (in base64, currently, in K9Mail, but this is not encryption, it is just transformation) in the database.

If your phone goes in the wrong hands, passwords can be viewed by rooting (very easy, 5 minutes) the phone and then accessing the K-9 Mail Database.

Whith this patch, it cannot happen. Password stored are encrypted before being stored in the database.

They are encrypted using the "Master password" you provided and the start of the application.

The Master Password only stay in the memory of the application until the application is completely closed (killed). So you don't have to type each time you want to view your emails.

What it does not do

  • Allowing you to change the Master Password (at least, for now) : Once you've used one, keep using the same. If you want to change, then you will have to re-enter all the stored passwords.
  • Managing bad users : If a user enters a bad Master Password, the application, for now, will just be unable to decrypt the passwords, until it's killed. If you enter a wrong one and you configure a new account, the new account password will be encrypted with the wrong one, and thus, with a different one from the other accounts.
  • Encrypting your e-mails or avoiding people to access to it : IT DOES ONLY ENCRYPT THE PASSWORDS. Nothing else. Passwords are the most important in my thought : especially when using shared account between application like Google Accounts, Live Id Accounts... your email passwords could also be your Adsense one ! Be careful with it !
  • Coffee : This patch does not do coffee. Coffee is bad for health, don't drink any of it. (same for tea, drink only water !)

Clone this wiki locally