| 1 |
Security Notes |
| 2 |
============== |
| 3 |
|
| 4 |
At the moment only one widget type (Gmail) requires |
| 5 |
authentication information in order to get to the data. |
| 6 |
In the future there could be more, and you should give some thought |
| 7 |
to the issue of protecting your data. The Gmail widget type by default |
| 8 |
stores login information in the ``~/.netrc`` file, and you are advised |
| 9 |
to make sure that file is only readable by the owner. Other than that |
| 10 |
we can not force all users to conform to one standard, |
| 11 |
one way of keeping it secure, like in some keyring. |
| 12 |
|
| 13 |
First let's clear why we simply don't encrypt the login information |
| 14 |
and store it in ciphertext. By exposing the algorithm anyone can |
| 15 |
reverse the encryption steps. Some claim even that's better than |
| 16 |
plaintext but it's just security through obscurity. |
| 17 |
|
| 18 |
Here are some ideas actually worth your time. Users that have KDE |
| 19 |
(or parts of it) installed could store their login information into |
| 20 |
the Kwallet service and request it via DBus from the widget type. |
| 21 |
It can be done with tools like ``dbus-send`` and ``qdbus``. |
| 22 |
The Gnome keyring should support the same, so those with parts of Gnome |
| 23 |
installed could use that keyring. |
| 24 |
|
| 25 |
Users of GnuPG (and its agent) could consider encrypting the netrc file |
| 26 |
with their GPG key. Through the GPG Passphrase Agent they could then |
| 27 |
decrypt the file transparently while their session is active. |