Bug 306820 - Attempt to password-protect basket wipes data
Summary: Attempt to password-protect basket wipes data
Status: REPORTED
Alias: None
Product: basket
Classification: Applications
Component: general (other bugs)
Version First Reported In: 2.0-git
Platform: Debian unstable Linux
: NOR critical
Target Milestone: ---
Assignee: Kelvie Wong
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-15 08:15 UTC by Robert Kratky
Modified: 2021-05-08 16:43 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
"password-protected" basket (17.23 KB, image/png)
2012-09-15 08:19 UTC, Robert Kratky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Kratky 2012-09-15 08:15:48 UTC
When trying to protect a basket with a password, the application just wipes all the notes in that basket.

Checking the data in "~/.kde/share/apps/basket/baskets/basketXX/" reveals that the note files ("noteXX.html") are now empty (zero size). The time stamp corresponds with the time when the "password-protecting" took place.

Reproducible: Always

Steps to Reproduce:
1. create a basket
2. create a note within that basket
3. right-click on the basket name in the list of baskets
4. select "Pasword..."
5. select "Protect basket with a password"
6. a message appears in the basket space: "Password protected basket; Press Unlock to access it."
(Note that no password could be entered throughout the process.)
7. clicking on "Unlock" does nothing
Actual Results:  
All note files are empty.

Expected Results:  
App should ask for a password and then allow the basket to be unlocked. Data should be encrypted or -- at the very least -- not erased.
Comment 1 Robert Kratky 2012-09-15 08:19:30 UTC
Created attachment 73923 [details]
"password-protected" basket

Screenshot of the message that appears in the basket space after the action.
Comment 2 rusty.robot.g 2017-01-23 20:40:47 UTC
If reproducible with 2.11, please specify OS and versions of installed gpg packages
Comment 3 Karmaqtrp 2021-05-08 16:43:02 UTC
Comment on attachment 73923 [details]
"password-protected" basket

url|location bar|field -focus