storing passwords with kdesud ?

Dawit A. adawit at kde.org
Tue Jun 11 12:56:55 BST 2002


On Tuesday 11 June 2002 04:03, Alexander Neundorf wrote:
> Hi,
>
> I (i.e. my boss) would like to be able to store passwords of smb shares
> over more than one KDE session. kdesud is able to cache passwords during
> one session.
>
> I would like to implement a config option for kdesud, which enables it to
> store authentification info for specified protocols in a file.
> I would use the simple scrambling algorithm used e.g. in kio_smb. If we
> have something better, tell me.
> I would not provide a GUI for this feature, so that it isn't to simple to
> enable it.
>
> What do you think ?
> If you say "no way" I won't do it.

Hi Alex,

Yes, we have something better that has been in the works but not yet 
completed for a while now called Kwallet.  This is something that is going to 
allow you to store password safely using strong encryption for all 
applications and is planned to for 3.1.  George and I are supposed to restart 
work on it this week and hopefully have it completed way before 3.1 so it 
can be throughly tested.

In the meantime there was a little documented feature that allowed you to 
store plain passwords in a read-only file (which I do not recommend ofcourse) 
since 2.x series.  This support was added by me through NetRC class in 
authinfo.cpp whose main goal was to read the .netrc files used to store ftp 
login information.  All you have to do is add a file that is only readable 
and writeable by the owner called kionetrc in your $KDEHOME/config directory.  
The entry would be something like:

preset  <hostname>  login <userid> password <password> type <protocol>

However, there is no gui option for this...

Regards,
Dawit A.




More information about the kde-core-devel mailing list