Support for mounting encrypted devices

Tobias Koenig tokoe at kde.org
Mon Feb 9 14:32:41 GMT 2004


Hi,

at the moment it's not possible to mount an encrypted device (e.g. an
USB stick with encrypted partition on it) with a single click on the
desktop icon like you can do with all the other devices.

The problem is that 'mount' asks the user for a password on the tty.
Normally this issue would easy to be fixed by creating a pipe, pass the
one descriptor to 'mount' via the --pass-fd commandline argument, ask
the user for a password with a password dialog and write the input to
the pipe.
Easy in theory, in practice... well.
The file kio_slave uses a 'system(3)' call to start mount, and this call
blocks the io slave so it can't pass the password.
Is there any specific reason why system(3) is used and not Q/KProcess?

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/20040209/827315d3/attachment.sig>


More information about the kde-core-devel mailing list