KeePass2 no PUT at WebDAV-Sync with mono-3.x

Bug #1315962 reported by David Lechner
16
This bug affects 2 people
Affects Status Importance Assigned to Milestone
keepass2 (Ubuntu)
Fix Released
Undecided
Unassigned
Trusty
Fix Released
Undecided
Unassigned

Bug Description

[Impact] database disappears when one saves on webdav folder

[TESTCASE]
setup writeable webdev with a database
open a database via "Open URL"
save database

Original report:
This bug was reported upstream at https://sourceforge.net/p/keepass/discussion/329221/thread/9422258c/

There was a change introduced in Mono 3.x that breaks http writes in keepass2. This causes dataloss for the user because remote files are deleted when trying to save or synchronize a file remotely.

I have submitted this patch upsteam. https://sourceforge.net/p/keepass/patches/89/

Because of the dataloss, I think this is worth of attention for patching the current version of keepass2 in trusty.

Revision history for this message
David Lechner (dlech) wrote :
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "Patch that was submitted upsteam" seems to be a patch. If it isn't, please remove the "patch" flag from the attachment, remove the "patch" tag, and if you are a member of the ~ubuntu-reviewers, unsubscribe the team.

[This is an automated message performed by a Launchpad user owned by ~brian-murray, for any issues please contact him.]

tags: added: patch
Revision history for this message
Julian Taylor (jtaylor) wrote :

thanks I'll try to have a look in the next few days

Revision history for this message
David Lechner (dlech) wrote :

Dominik took my patch and made it much more robust. I have taken his changes and created new patches.

Revision history for this message
David Lechner (dlech) wrote :
Revision history for this message
David Lechner (dlech) wrote :

These patches should apply cleanly using quilt with the respective KeePass versions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in keepass2 (Ubuntu):
status: New → Confirmed
Julian Taylor (jtaylor)
Changed in keepass2 (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Julian Taylor (jtaylor) wrote :

I have uploaded the fix to debian, it should make its way to ubuntu trusty in by tomorrow
I have tested it with local webdav and it seems to work, but if possibly can you try too? when available just download the utopic package from the main page. It should work fine in trusty.
I'll start the SRU shortly after it landed in utopic.
thanks for the patch.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package keepass2 - 2.26+dfsg-2

---------------
keepass2 (2.26+dfsg-2) unstable; urgency=medium

  * fix-webdav-storage-with-mono-2.11.patch:
    fix possible dataloss when storing database via webdav (LP: #1315962)
    thanks to David Lechner for the original patch

 -- Julian Taylor <email address hidden> Tue, 13 May 2014 19:30:54 +0200

Changed in keepass2 (Ubuntu):
status: Triaged → Fix Released
Julian Taylor (jtaylor)
description: updated
Revision history for this message
Julian Taylor (jtaylor) wrote :

I have uploaded a fix to trusty-proposed, please test it when it is accepted

Revision history for this message
Scott Kitterman (kitterman) wrote : Please test proposed package

Hello David, or anyone else affected,

Accepted keepass2 into trusty-proposed. The package will build now and be available at http://launchpad.net/ubuntu/+source/keepass2/2.25+dfsg-1ubuntu0.1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in keepass2 (Ubuntu Trusty):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Julian Taylor (jtaylor) wrote :

the testcase works with the proposed version

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package keepass2 - 2.25+dfsg-1ubuntu0.1

---------------
keepass2 (2.25+dfsg-1ubuntu0.1) trusty-proposed; urgency=medium

  * fix possible dataloss when storing database via webdav (LP: #1315962)
    thanks to David Lechner for the original patch
 -- Julian Taylor <email address hidden> Fri, 23 May 2014 10:00:20 +0200

Changed in keepass2 (Ubuntu Trusty):
status: Fix Committed → Fix Released
Revision history for this message
Colin Watson (cjwatson) wrote : Update Released

The verification of the Stable Release Update for keepass2 has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regresssions.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.