Bug 121204 - dm_crypt needs a mount-like interface
Summary: dm_crypt needs a mount-like interface
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: cryptsetup
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Bill Nottingham
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-04-18 23:14 UTC by W. Michael Petullo
Modified: 2014-03-17 02:44 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2004-04-19 04:49:26 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
Bash script that implements mount.crypt. (2.70 KB, text/plain)
2004-04-18 23:18 UTC, W. Michael Petullo
no flags Details

Description W. Michael Petullo 2004-04-18 23:14:08 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux ppc; en-US; rv:1.6)
Gecko/20040312 Epiphany/1.1.12

Description of problem:
The cryptsetup package should provide a mount-like interface to
dm_crypt.  In its current form, cryptsetup requires special code in
projects like pam_mount to handle encrypted filesystems.  If there
existed a mount-like interface to dm_crypt, call it mount.crypt, then
dm_crypt volumes could be supported by existing utilities almost for
free.  This would also be more similar to existing cryptoloop-based
solutions that generally modify util-linux's mount and losetup commands.

Here is an example of mount.crypt's use:

mount.crypt -o loop /home/user/fs.img /home/user/efs 

Version-Release number of selected component (if applicable):
cryptsetup-0.1-0.1

How reproducible:
Always

Steps to Reproduce:
Note that the cryptsetup command does not fit in nicely with mount,
mount.cifs, etc.
    

Additional info:

Comment 1 W. Michael Petullo 2004-04-18 23:18:28 UTC
Created attachment 99521 [details]
Bash script that implements mount.crypt.

This script could be worked into a finished product or reimplemented in another
language.  It is meant to serve as a prototype to illustrate my request. 
Handling  dm_crypt device removal on unmounting a volume is not yet performed.

Comment 2 Bill Nottingham 2004-04-19 04:49:26 UTC
Please report this to the upstream cryptsetup maintainer.

Comment 3 James Ralston 2004-04-20 05:48:31 UTC
Mike, Christophe is already working on this; he plans to integrate
losetup-like functionality directly into cryptsetup so that losetup
doesn't have to be run as a separate step.

I suggest you hop on the dm-crypt mailing list and let him know that
you're really interested in that functionality; it may help him
prioritize the work he has planned for cryptsetup...


Comment 4 W. Michael Petullo 2004-08-11 21:47:21 UTC
See also bug 56698, especially comment 43.


Note You need to log in before you can comment on or make changes to this bug.