Bug 292973

Summary: Password required for creating an unencrypted activity
Product: [Plasma] Active Reporter: Javier Llorente <javier>
Component: GeneralAssignee: active
Status: RESOLVED FIXED    
Severity: normal CC: ivan.cukic, javier
Priority: NOR    
Version: unspecified   
Target Milestone: unscheduled   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description Javier Llorente 2012-01-31 15:59:52 UTC
Version:           unspecified
OS:                Linux

Creating an unencrypted activity prompts for password; you get the same dialog for entering a password when creating encrypted activities.

Repeating this step will trigger the same password dialog but this time the "Verify" field is filled with the password you typed in when creating the previous activity.

Tested on 2012-01-31-15-30-basyskom-plasma-active-devel-meego-usb-live.iso

Reproducible: Always

Steps to Reproduce:
1. Tap on the plus to create an activity
2. Type in a name for the new activity (make sure the encryption switch is off
3. Choose a nice wallpaper
4. Tap on "Save changes"
5. Observe the display

Actual Results:  
You get the password dialog for encrypting the activity. If you repeat the steps mentioned above, you'll get a dialog with the "verify" password field pre-filled with the password you entered for the previous activity.

Expected Results:  
A password dialog shouldn't be shown when creating an unencrypted activity
Comment 1 Ivan Čukić 2012-01-31 17:09:19 UTC
Is the encryption enabled in the latest devel image? I don't have it. (I don't have encfs to begin with)
Comment 2 Javier Llorente 2012-01-31 17:24:05 UTC
Yes, encryption is enabled and working in the latest devel image; 2012-01-31-15-30-basyskom-plasma-active-devel-meego-usb-live.iso
Comment 3 Ivan Čukić 2012-01-31 18:03:00 UTC
Ah, *** I downloaded testing... lets go again
Comment 4 Ivan Čukić 2012-01-31 19:51:14 UTC
Git commit de6d3a5ee22c8d9d24268b2900eb4d21c7cf20b7 by Ivan Čukić.
Committed on 31/01/2012 at 20:50.
Pushed by ivan into branch 'ivan/activity-encryption'.

Check whether activity is encrypted or not before changing that state

M  +4    -0    service/encryption/EncryptionManager.cpp

http://commits.kde.org/kactivities/de6d3a5ee22c8d9d24268b2900eb4d21c7cf20b7