[Bug 122241] Re: LUKS-encrypted CDROM / DVD ROM are detected but mounting fails

2017-10-27 Thread Bug Watch Updater
Launchpad has imported 27 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=194249.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2006-06-06T16:16:27+00:00 Marco wrote:

Description of problem:
cryptsetup fail on CDs/DVDs encrypted with LUKS. This causes the Gnome desktop
not to deal properly with them.

Version-Release number of selected component (if applicable):
cryptsetup-luks-1.0.3-0.rc2

How reproducible:
Always.

Steps to Reproduce:
1. Insert a CD/DVD encrypted with LUKS (with the Gnome desktop).
  
Actual results:
Asks for password, but fails to mount. (NOTE: the cleartext dm device is faulty,
that's why the mount fails.)

Expected results:
After asking for the password to unlock the LUKS volume, the cleartext version
should be mounted under /media/something. Even w/o automagic mounting of the
device, the clear text version of the volume should be available for later 
mounting.

Additional info:
This is a well-known bug, see:
http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/2006-March/000213.html
It should be solved already:
http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/2006-March/000250.html
AFAICS, all it takes is to rebuild from the new tarball (rc3).

As a workaround, encrypted CDs/DVDs can be accessed by mapping the reader device
to a loop device and having cryptsetup work on the latter.

losetup /dev/loop0 /dev/cdrom
cryptsetup luckOpen /dev/loop0 myvolume
mount /dev/mapper/myvolume /media/myvolume

There's no quick and clean way to fix /usr/share/hal/scripts/hal-luks-* to do
the above, AFAIK.

Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome-
mount/+bug/122241/comments/0


On 2006-06-07T09:57:25+00:00 Marco wrote:

Created attachment 130664
detect CDs/DVDs in hal-luks-setup

Well I've tried cryptsetup-1.0.3 (release), but does not seem to work yet. The
only way to successfully Open the LUKS volume is to pass the --readonly to
cryptsetup:

cryptsetup luckOpen --readonly /dev/cdrom myvolume

If you don't specify --readonly, cryptsetup keeps asking you for the password
(even if it reports that the key has been successfully unlocked).

As a consequence g-v-m keeps asking for the password as well.

Attacched is a small patch/hack to fix this behaviour. Anyway for some reason I
still have to find the process stops there. The clear text dm device
(luck_crypto_) is created, but not mounted nor added as a volume.

In summary, it seems that the upstream cryptsetup package still has issues with
 CDs/DVDs.

Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome-
mount/+bug/122241/comments/1


On 2007-07-26T18:51:12+00:00 Till wrote:

(In reply to comment #1)
> Created an attachment (id=130664) [edit]
> detect CDs/DVDs in hal-luks-setup

> Attacched is a small patch/hack to fix this behaviour. Anyway for some reason 
> I
> still have to find the process stops there. The clear text dm device
> (luck_crypto_) is created, but not mounted nor added as a volume.
> 
> In summary, it seems that the upstream cryptsetup package still has issues 
> with
>  CDs/DVDs.

hal-luks-setup is part of the hal package and when the clear text dm device is
created with above patch, imho it is not a bug in cryptsetup, because it did its
work, but maybe in gnome or in hal. I change this bug to hal, because at least
your patch regards hal. Can you test, whether it works with gnome and your patch
in F7, please?


Reply at: https://bugs.launchpad.net/ubuntu/+source/gnome-
mount/+bug/122241/comments/4


On 2007-07-30T10:07:06+00:00 Marco wrote:

Well, it's hard to place the blame here. cryptsetup has issues, it keeps failing
when you try to open a luks volume that is on readonly media (CD/DVD). It should
at least detect the problem, and not keep asking the user for a password. I'd
say that the unlock routine keeps failing, but the program doen't really handle
the failure right. The message is even deceiving:

# cryptsetup luksOpen /dev/scd0 myvolume
Enter LUKS passphrase: 
key slot 0 unlocked.
Enter LUKS passphrase: 
key slot 0 unlocked.
Enter LUKS passphrase: 
key slot 0 unlocked.
Command failed: device-mapper: reload ioctl failed: Invalid argument

Please note that I kept typing the right password (it does work, says key slot0
unlocked, but something fails later and it restarts asking the password).


As a WORKAROUND to this cryptsetup 'bug', I tried and patched the hal script.
With --readonly cryptsetup works for cd/dvd. Whether this patch should be in
it's hard call, depends on how the bug is 

[Bug 122241] Re: LUKS-encrypted CDROM / DVD ROM are detected but mounting fails

2013-06-10 Thread Phillip Susi
This package has been removed from Ubuntu. Closing all related bugs.

** Changed in: gnome-mount (Ubuntu)
   Status: Triaged = Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/122241

Title:
  LUKS-encrypted CDROM / DVD ROM are detected but mounting fails

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gnome-mount/+bug/122241/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 122241] Re: LUKS-encrypted CDROM / DVD ROM are detected but mounting fails

2009-12-19 Thread Bug Watch Updater
** Changed in: gnome-mount (Fedora)
   Status: In Progress = Fix Released

-- 
LUKS-encrypted CDROM / DVD ROM are detected but mounting fails
https://bugs.launchpad.net/bugs/122241
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 122241] Re: LUKS-encrypted CDROM / DVD ROM are detected but mounting fails

2009-03-05 Thread Sebastien Bacher
** Changed in: gnome-mount (Ubuntu)
   Importance: Undecided = Low
   Status: Confirmed = Triaged

-- 
LUKS-encrypted CDROM / DVD ROM are detected but mounting fails
https://bugs.launchpad.net/bugs/122241
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 122241] Re: LUKS-encrypted CDROM / DVD ROM are detected but mounting fails

2008-11-22 Thread Dimas
Given the fact that multiple users confirmed this, even in other
distros, and that all requested information was provided, I'm changing
the status from Incomplete to Confirmed.

** Changed in: gnome-mount (Ubuntu)
   Status: Incomplete = Confirmed

-- 
LUKS-encrypted CDROM / DVD ROM are detected but mounting fails
https://bugs.launchpad.net/bugs/122241
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 122241] Re: LUKS-encrypted CDROM / DVD ROM are detected but mounting fails

2008-09-17 Thread Jorge O. Castro
** Also affects: gnome-mount (Fedora) via
   https://bugzilla.redhat.com/show_bug.cgi?id=194249
   Importance: Unknown
   Status: Unknown

-- 
LUKS-encrypted CDROM / DVD ROM are detected but mounting fails
https://bugs.launchpad.net/bugs/122241
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 122241] Re: LUKS-encrypted CDROM / DVD ROM are detected but mounting fails

2008-09-17 Thread Bug Watch Updater
** Changed in: gnome-mount (Fedora)
   Status: Unknown = In Progress

-- 
LUKS-encrypted CDROM / DVD ROM are detected but mounting fails
https://bugs.launchpad.net/bugs/122241
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 122241] Re: LUKS-encrypted CDROM / DVD ROM are detected but mounting fails

2008-09-02 Thread Ari
Just discovered that the redhat folks also have a bug entry on the very
same topic, and have been trying to patch hal... but apparently without
success so far

https://bugzilla.redhat.com/show_bug.cgi?id=194249

-- 
LUKS-encrypted CDROM / DVD ROM are detected but mounting fails
https://bugs.launchpad.net/bugs/122241
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 122241] Re: LUKS-encrypted CDROM / DVD ROM are detected but mounting fails

2008-05-29 Thread Dimas
I'm now using Ubuntu Desktop 8.04 (Hardy), upgraded from 7.10 (Gutsy).
It's still not working: gnome prompts for the password, and after I
supply it, gives me the error Unable to set up crypto device.

Following the guides I mentioned in my last post resulted in the
attached logs.

** Attachment added: logs.tar.gz
   http://launchpadlibrarian.net/14795019/logs.tar.gz

-- 
LUKS-encrypted CDROM / DVD ROM are detected but mounting fails
https://bugs.launchpad.net/bugs/122241
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 122241] Re: LUKS-encrypted CDROM / DVD ROM are detected but mounting fails

2008-04-20 Thread Alexander Krivács Schrøder
I have used the same method, and I am experiencing the exact same issue
as Dimas. ( https://bugs.launchpad.net/ubuntu/+source/gnome-
mount/+bug/122241/comments/3 )

-- 
LUKS-encrypted CDROM / DVD ROM are detected but mounting fails
https://bugs.launchpad.net/bugs/122241
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 122241] Re: LUKS-encrypted CDROM / DVD ROM are detected but mounting fails

2008-03-21 Thread Dimas
I'm not using the script but I am using same procedure to burn encrypted media 
(CD-R and DVD-R).
The same thing happens: gnome prompts-me for a password; after I provide the 
correct password it gives-me the error dialog: 

Unable to set up crypto device

Error org.freedesktop.Hal.Device.Volume.Crypto.SetupPasswordError

Error setting up /dev/scd0 - bad password?

Clicking close brings the password dialog again.
After closing the dialog I can mount it manually without problems.

I'm using Ubuntu Desktop 7.10 (Gutsy), all patches applied.

-- 
LUKS-encrypted CDROM / DVD ROM are detected but mounting fails
https://bugs.launchpad.net/bugs/122241
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 122241] Re: LUKS-encrypted CDROM / DVD ROM are detected but mounting fails

2008-03-21 Thread Dimas
I followed the guides in https://wiki.ubuntu.com/DebuggingHal and
https://wiki.ubuntu.com/DebuggingRemovableDevices, and I'm posting the
logs.

** Attachment added: logs.zip
   http://launchpadlibrarian.net/12803919/logs.zip

-- 
LUKS-encrypted CDROM / DVD ROM are detected but mounting fails
https://bugs.launchpad.net/bugs/122241
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 122241] Re: LUKS-encrypted CDROM / DVD ROM are detected but mounting fails

2008-02-07 Thread Martin Pitt
Can you please try this with current Hardy? (or gutsy) and check whether
it is still an issue?

** Changed in: gnome-mount (Ubuntu)
   Status: New = Incomplete

-- 
LUKS-encrypted CDROM / DVD ROM are detected but mounting fails
https://bugs.launchpad.net/bugs/122241
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 122241] Re: LUKS-encrypted CDROM / DVD ROM are detected but mounting fails

2007-06-26 Thread Ari
This is in Feisty, with dm-crypt and dm-mod and aes modules loaded.

Attached are the actual scripts I am using.


** Attachment added: The scripts I use to generate and burn the CD and mount 
it / unmount it
   http://launchpadlibrarian.net/8194699/cryptocd-scripts.tar.bz2

-- 
LUKS-encrypted CDROM / DVD ROM are detected but mounting fails
https://bugs.launchpad.net/bugs/122241
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs