helpdavfs2 - Support: sr #107111, Integration of davfs with...

 
 

sr #107111: Integration of davfs with gnome-keyring

Submitted by:  None
Submitted on:  Sat 07 Nov 2009 04:24:13 PM UTC  
 
Category: NonePriority: 5 - Normal
Severity: 2 - MinorStatus: Postponed
Privacy: PublicAssigned to: Werner Baumann <wbaumann>
Originator Email: -unavailable-Open/Closed: Open
Operating System: GNU/Linux

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 29 Dec 2010 07:15:06 PM UTC, comment #4:

As far as I can see Gnome keyring sets up a Unix domain socket. The proper way of using Gnome keyring would be to connect to this socket and get the credentials from there (or ask the user and store them in the keyring). And there sure is a clean way to do this from a program written in C.

Extracting credentials from the keyring to store them somewhere else looks to me like a contradiction to the very idea of using a keyring.

If the user wants to run some scripts to start davfs2 there are already ways to pass on credentials from a script (though not recommended by me). See command line option 'username' and https://savannah.nongnu.org/support/?107556
I still see no need to read credentials from environment variables (but if you do you should do it in function parse_secrets not function parse_config).

Cheers
Werner

Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
Wed 29 Dec 2010 12:57:04 PM UTC, comment #3:

Hello Werner, hello Mathieu,

I am using davfs2 with gnome-keyring via gkeyring.
https://launchpad.net/gkeyring
At runtime, the password is extracted from the keyring and an environment variable is set.

Attached is a patch to make davfs use USER and PASSWORD environment variables. Apart from using with gnome-keyring, I found it useful to behave similar to smbmount.

I have set up an Ubuntu PPA including the patch https://launchpad.net/~christian-forster/+archive/chriss-davfs2

Kind regards
Christian

(file #22311)

Christian Forster <chrissfors>
Sat 07 Nov 2009 06:32:23 PM UTC, comment #2:

Sure, same for me.
I keep that in mind and if the need really arise, I may try to give a hand.

Keep on the good job!

Cheers,

Mathieu

Anonymous
Sat 07 Nov 2009 06:03:46 PM UTC, comment #1:

It would be a nice feature.
I also thought of using dbus to pop up windows to inform the user of server problems or ask for authentication.

But I don't know much about gnome-keyring or dbus. With respect to my spare time and the fact that both issues are not high priority to me, I will not do this in the near feature.

Maybe somebody else has the knowledge, time and interest to do it.

Cheers
Werner

Werner Baumann <wbaumann>
Project AdministratorIn charge of this item.
Sat 07 Nov 2009 04:24:13 PM UTC, original submission:

Hi,

first of all thanks for the dafs driver. I think that it is very promising.

I'm under CentOS 5.4, and I was wondering whether it would somehow be possible to store the passwords of the dav server to the gnome-keyring.

Mounting through the nautilus file manager, one is asked for the password, but one doesn't have the possibility to save it to the keyring. (whereas if one tries to connect to the webdav server directly through nautilus with the menu File>Connect to server... it stores the password in the keyring)

Maybe it is rather a question for nautilus?

Cheers,

Mathieu

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by chrissfors (Updated the item)
  • -unavailable- added by wbaumann (Posted a comment)
  • -unavailable- added by None (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 29 Dec 2010 12:57:04 PM UTCchrissforsAttached File-=>Added credentialsEnvVar.patch, #22311
    Sat 07 Nov 2009 06:03:46 PM UTCwbaumannAssigned toNone=>wbaumann
      StatusNone=>Postponed

    Back to the top


    Powered by Savane 3.1-cleanup