[PATCH] mounting encrypted devices infrastructure

David Faure faure at kde.org
Mon Feb 16 17:41:35 GMT 2004


On Monday 16 February 2004 16:11, Tobias Koenig wrote:
> Hi,
> 
> the attached patches are the first step for mounting encrypted
> partitions with the icons on the desktop.
> It adds an additional checkbox 'Encrypted' to the KDevicePropsPlugin
> and passes this boolean down to the file kioslave.
> 
> The next step would be a wrapper application which is called by the file
> kioslave with all cmdline args for 'mount' and this wrapper app asks the
> user for a password and executes the real 'mount' application as sub
> process.
> 
> Can I commit the patches?

Looks fine to me. But if the support for this requires something platform/kernel/tools-specific
(I guess it does), then it would be good to hide or disable this checkbox when the system 
doesn't support it, to prevent confusion.

Also disable it while the support for it in kio_file isn't completed :)

Hmm, another way to ask for the password would be to have a field for it in
the properties dialog and then store it in kwallet... But this wouldn't help people
who disable kwallet, so I guess you'd still need the dialog popping up when
clicking on the icon, for such stone-age people...  :}

-- 
David Faure, faure at kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).




More information about the kde-core-devel mailing list