Buttercup-desktop: Changing master password corrupts password file

Created on 13 Mar 2018  路  7Comments  路  Source: buttercup/buttercup-desktop

Changing the master password corrupts the password file.
After trying to change the master password for my buttercup file I was not able to open it again.

The following error appeared after filling out the "Change Password" form:
image
Then I was no longer able to use buttercup, I had to kill the process on the CLI.
I started buttercup again but I could no longer use the file, neither with the initial password nor with the new which I tried to set.

Tested under Windows 10 with buttercup version 1.5.2 and Ubuntu 16.04 with buttercup 1.5.1.

I think this can be quite dangerous if someone is trying to change the master password, but then the file gets corrupted!

THX for your help, Georg

Critical Completed Bug

All 7 comments

Hi @gschoenberger - Sorry about the delay.

I've reproduced this as well - Though it occurred for me after locking the file (after changing the password). I'll have a look at it shortly..

Yes, locking or closing -> both leads to the same issue.
THX for taking a look!

Ok, I found the issue. The desktop app is using some new functionality to improve the archive management, which had a bug. The archive source (after having the password changed) was running into a queue deadlock when trying to serialise the source 馃樀.

It's being fixed in core now, with a release coming soon.

This should be released tomorrow (Friday).

THX for the fast fix!

@gschoenberger If you remove the file from Buttercup Desktop and re-add it again, it should start working again. Right @perry-mitchell? (The release to fix this issue is coming in a few minutes)

@sallar @gschoenberger Yes, it should work like that, but can't guarantee. It was a mix up in terms of the written content - the content itself should not get corrupted.

Thanks for reporting @gschoenberger!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

wtsiamruk picture wtsiamruk  路  6Comments

julianpoemp picture julianpoemp  路  3Comments

perry-mitchell picture perry-mitchell  路  4Comments

mokhosh picture mokhosh  路  6Comments

zrzro picture zrzro  路  4Comments