Menu

#13 Secure credentials

TBA 1.2
closed
5
2010-01-04
2009-11-29
wez
No

Hello, I'm running googsystray 0.99.1

Looking at how the credentials are stored in the .rc file, perhaps this could be improved on with encryption, or using something like the Keyring within Gnome.

Great app, good job!

Discussion

  • wez

    wez - 2009-11-29

    For a more multi-platform solution, Google OAuth authenticates your app directly against the user account, which grants you a token that you use, eliminating the need to store the password. Not sure if any of this helps, just thought I'd mention it :)

    more info at http://code.google.com/apis/accounts/docs/OAuthForInstalledApps.html

     
  • Jim Duchek

    Jim Duchek - 2009-11-29

    I've considered it. Windows has no similar (to gnome-keyring) utility, unfortunately, and I haven't figured out how to get at the gnome and kde keyrings from python (although there's surely a way).

    To be honest though, the security is fairly irrelevant -- the file is chmod'd to be read by only your user on both Windows and Linux, and almost everyone is only as secure as their login password or physical access to the machine anyhow (Most browsers, for example, remember (for most of us) how to login to your google account, and most don't use a browser master password.) Any 'encyption' in the rc file would either have to be simply obfuscation (which is 'security theatre' -- it won't help against but the dumbest of attackers), or require an extra password anyhow.

    I will probably be adding an option to simply enter your password on startup instead of saving it in the file, though, for the more paranoid. :)

    OAuth is interesting, I've never really looked into it. I'd have to play with it to see if it works. Calendar and Contacts are the only two Google APIs I use that are actually 'official', and there's certain authorization things I use that are, well, kind of hacks :)

    I'll leave this request open though, as it's certainly something to think about.

     
  • Jim Duchek

    Jim Duchek - 2009-12-13
    • labels: --> Under-the-hood
    • milestone: --> 1013761
    • assigned_to: nobody --> jimduchek
     
  • Jim Duchek

    Jim Duchek - 2010-01-04

    It appears Windows has a function that allows you to encrypt based on the login credentials. It seems fairly secure. I've implemented it in SVN (along with kwallet and gnome-keyring support), closing this, will be in 1.2.

     
  • Jim Duchek

    Jim Duchek - 2010-01-04
    • milestone: 1013761 --> TBA 1.2
    • status: open --> closed
     

Log in to post a comment.