[PATCH] mounting encrypted devices

Tobias Koenig tokoe at kde.org
Tue Apr 6 16:13:28 BST 2004


On Tue, Apr 06, 2004 at 05:10:24PM +0200, Waldo Bastian wrote:
Hi Waldo,

> We already have a mountwrapper in the form of 
> kdebase/kioslave/devices/mounthelper.
> 
> Why do you need this helper-application in the first place? Can't you use the 
> normal authentication framework for io-slaves? That is already linked up with 
> kwallet. See KIO::SlaveBase::openPassDlg()
Hmm, I first thought about this but throw this idea away because that
would require bigger changes in the file io-slave. To pass the password to
mount, mount must be start asynchronous, otherwise you can't write to
the pipe. So I start the helper app from the slave in a synchronous way
(with execve) and the helper app does the asynchronous communication
with mount.

I just don't want to touch the file io-slave too much to decrease the
possebility of breaking things :}

Ciao,
Tobias
-- 
Separate politics from religion and economy!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20040406/ca063703/attachment.sig>


More information about the kde-core-devel mailing list