Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I was proposed to save a password in gnome-shell @ 12.04 using Gigolo:

enter image description here

Where exactly are these passwords saved and how are they encrypted?

share|improve this question
add comment

1 Answer 1

up vote 2 down vote accepted

Gigolo doesn't store the password itself, rather it uses gnome-keyring to store them. Following is the quote from Gigolo's Help Document

There is no support for direct storing of passwords at all in Gigolo. Instead by using GVfs we get support for gnome-keyring for free. All you have to do is to install the gnome-keyring package (and maybe restart your session). The next time you connect to a resource which requires a password, Gigolo will ask you for it as usual and then the entered password is stored in the keyring for this connection. Currently, your password is stored forever. This will be configurable in future versions to store it only per session or to not store it at all.

Now coming to GnomeKeyring:

  1. Where does it stores the passwords?

    It stores the password in keyrings folder:

    • In Ubuntu 12.10, it is located at ~/.local/share/keyrings/
    • In Ubuntu 12.04 and earlier, it is located at ~/.gnome2/keyrings/
  2. How are these passwords encrypted?

    Quoting from GnomeKeyring's Security FAQs:

    SHA-256 for hashing, AES-128 for encrypting the secrets.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.