Bug #9733

seahorse-nautilus cannot overwrite encrypted files when saving: data loss

Added by emmapeel 2015-07-13 08:54:45 . Updated 2016-02-16 19:39:19 .

Status:
Resolved
Priority:
Elevated
Assignee:
emmapeel
Category:
Target version:
Start date:
2015-07-13
Due date:
% Done:

0%

Feature Branch:
Type of work:
Test
Blueprint:

Starter:
Affected tool:
Deliverable for:

Description

I think this is an important issue because it makes the user lose data.

steps to reproduce:

1 - Open Tails
2 - Open Libreoffice, edit, file, save
3 - On File Manager, right-click on file and choose encrypt (and keys to encrypt to)
4 - Choose filename
(above is not really needed, just if you don’t have the file)
5 - Open file again, make changes, save
6 - On File manager, choose encrypt and choose keys
7 - Save on the same file i.e. sekrets.pgp
A message says it will overwrite the contents of the file sekrets.pgp

Description of the error:

When opening the pgp file, the contents are the ones of the first file! The one created at step 2. all changes are lost.

I could not reproduce this issue in Debian. I think it is specific to Tails (or maybe Debian Live, although unlikely)
I could not find any obvious AppArmor errors.


Subtasks


History

#1 Updated by intrigeri 2015-07-17 08:01:34

  • Assignee set to emmapeel
  • QA Check set to Info Needed

emmapeel wrote:
> I could not reproduce this issue in Debian.

What version of Debian? With which version of seahorse-nautilus?

#2 Updated by emmapeel 2015-07-18 22:45:40

  • Assignee changed from emmapeel to intrigeri
  • QA Check changed from Info Needed to Dev Needed

I cannot reproduce this bug in Debian Jessie, 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux

For seahorse there is installed:

~$ dpkg -l |grep seahorse
ii seahorse 3.14.0-2 amd64 GNOME front end for GnuPG
ii seahorse-daemon 3.12.2-1+b1 amd64 Seahorse pass phrase caching agent
ii seahorse-nautilus 3.11.92-1 amd64 Nautilus extension for Seahorse integration

#3 Updated by intrigeri 2015-07-19 02:31:39

  • Assignee changed from intrigeri to emmapeel
  • QA Check changed from Dev Needed to Info Needed

> Assignee changed from emmapeel to intrigeri
> QA Check changed from Info Needed to Dev Needed

Meta: in general, don’t assume that I commit to fix any bug that I help triaging (often by asking more info), so please don’t assign such tickets to me unless I explicitly volunteered. Thanks :)

> I cannot reproduce this bug in Debian Jessie, 3.16.0-4-amd64 #1 SMP Debian 3.16.7-ckt11-1 (2015-05-24) x86_64 GNU/Linux

OK, thanks. Can you reproduce this on a recent Tails/Jessie nightly build? (Let’s try to see if it’s a bug in seahorse-nautilus 3.8, that we ship in Tails/Wheezy, or something specific to Live systems.)

#4 Updated by emmapeel 2015-07-19 03:47:26

  • File <del>missing: signature.asc</del> added

I could reproduce this issue with Tails/Jessie downloaded yesterday.

tails-i386-feature_jessie-1.5-20150718T0408Z-345c673.iso

I assigned it to you because I was answering a question you asked (about
Debian version).

#5 Updated by emmapeel 2015-07-19 03:52:43

  • File deleted (signature.asc)

#6 Updated by emmapeel 2015-07-19 03:52:59

  • Assignee deleted (emmapeel)

#7 Updated by intrigeri 2015-07-19 05:34:54

> I could reproduce this issue with Tails/Jessie downloaded yesterday.

Interesting! Thanks.

> I assigned it to you because I was answering a question you asked (about Debian version).

OK, fair enough this workflow can work :)
But then, don’t set “Dev Needed” in such situations, otherwise it means exactly what I said I don’t want to happen.

#8 Updated by BitingBird 2015-07-29 09:32:38

  • QA Check deleted (Info Needed)

Info has been provided -> removing info needed

#9 Updated by intrigeri 2015-08-03 04:42:26

FTR, I cannot reproduce this on current Debian sid (nautilus 3.14.2-1, seahorse-nautilus 3.11.92-1) either.

#10 Updated by sajolida 2016-02-08 17:43:30

  • Assignee set to emmapeel
  • Type of work changed from Code to Test

I cannot reproduce this on Tails Jessie. Emma Peel, can you confirm and mark as resolve please?

#11 Updated by sajolida 2016-02-08 18:49:40

  • QA Check set to Info Needed

#12 Updated by emmapeel 2016-02-16 19:39:19

  • Status changed from Confirmed to Resolved
  • Target version set to Tails_2.0

Yes, it is solved!