Bug 606313

Summary: Improving Encrypted drives, Bug 3 (mounting encrypted partitions with YaST)
Product: [openSUSE] openSUSE 11.3 Reporter: K Takahashi <iridis.p>
Component: YaST2Assignee: Thomas Fehr <fehr>
Status: VERIFIED NORESPONSE QA Contact: Jiri Srain <jsrain>
Severity: Critical    
Priority: P5 - None CC: forgotten_xs3PtXj4XH
Version: Factory   
Target Milestone: ---   
Hardware: All   
OS: Other   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description K Takahashi 2010-05-17 09:37:10 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.38 Safari/533.4

Hello, this is part of a series of bugs related to encrypted partitions, thanks.

3) If an already encrypted partition is manually selected to mount, using yast disk, and the entered password is different to the one already used in the drive, yast does not reply error and silently continue, but once the partition is mounted, all data previously in disk is lost.

Reproducible: Always

Steps to Reproduce:
1. Setup an unmounted encrypted partition
2. Open YaST and set a mount point
3. When requested for the drive password, type in a wrong password
4. Apply changes. A reboot might be necessary.
5. None, the previous or new passwords would work and all data in the partition will be lost.
Comment 1 Thomas Fehr 2010-05-17 15:59:53 UTC
I tried reproduce this here but was not successful.
As long as there is a mount point selected and format is set to "no" YaST2 
should not allow you to continue without valid crypt password. If you enter
the wrong password there should be a popup telling you the password might be
wrong. When I enter the correct password after entering the wrong password
(and clicking the error popup away) YaST2 corretly proceeds and sets up
the encrypted device without calling luksFormat or mkfs.

Probabyl I did something different than you.
Please provide y2log files so that I can see what exactly happened.
Comment 2 Forgotten User xs3PtXj4XH 2010-07-12 11:24:42 UTC
K Takahashi, could you please provide the requested information?  If there is no response then the bug will be closed.
Comment 3 Forgotten User xs3PtXj4XH 2010-08-07 16:52:16 UTC
OK, we've got a report plus an inability to reproduce and no response to a NEEDINFO for nearly 3 months.  Closing with NORESPONSE.