[Plasma Vault] [Bug 472633] vault lost all data

2023-09-07 Thread Nate Graham
https://bugs.kde.org/show_bug.cgi?id=472633

Nate Graham  changed:

   What|Removed |Added

 CC||n...@kde.org

--- Comment #5 from Nate Graham  ---
Ivan, is there any way we can bubble up messages like this to the user?

-- 
You are receiving this mail because:
You are watching all bug changes.

[Plasma Vault] [Bug 472633] vault lost all data

2023-07-31 Thread Dionatan Felipe
https://bugs.kde.org/show_bug.cgi?id=472633

--- Comment #4 from Dionatan Felipe  ---
(In reply to Ivan Čukić from comment #3)
> Looks like you put the wrong directory in the cryfs command - it should not
> be the path to the location where vault shows the data when opened, but the
> path to encrypted data. If you didn't change the default path when creating
> the vault, it will be in your home directory under
> ~/.local/share/plasma-vault/
> 
> Apart from getting the path from plasmavaultrc, you can also find all
> directories where cryfs keeps its data by doing (this will search only under
> your user's home directory):
> 
> find ~ -name 'cryfs.config'
> 
> > when I did the apt upgrade, it was open and had some security and
> > firmware updates, could it have some relevance?
> 
> An update should not have an influence over the user data.

Yes, I noticed my mistake there just now.
-
i give: Deriving encryption key (this can take some time)...done
The filesystem id in the config file is different to the last time we loaded a
filesystem from this basedir. This can be genuine if you replaced the
filesystem with a different one. If you didn't do that, it is possible that an
attacker did. Do you want to continue loading the file system?
Your choice [y/n]: 
-
Anyway, I think when I was trying to open it before seeking support, I might
have corrupted or something similar to the file. Luckily, I had a backup in
another encryption, so I guess there won't be any recovery. With everything
considered, I appreciate the support!

-- 
You are receiving this mail because:
You are watching all bug changes.

[Plasma Vault] [Bug 472633] vault lost all data

2023-07-27 Thread Ivan Čukić
https://bugs.kde.org/show_bug.cgi?id=472633

--- Comment #3 from Ivan Čukić  ---
Looks like you put the wrong directory in the cryfs command - it should not be
the path to the location where vault shows the data when opened, but the path
to encrypted data. If you didn't change the default path when creating the
vault, it will be in your home directory under ~/.local/share/plasma-vault/

Apart from getting the path from plasmavaultrc, you can also find all
directories where cryfs keeps its data by doing (this will search only under
your user's home directory):

find ~ -name 'cryfs.config'

> when I did the apt upgrade, it was open and had some security and
> firmware updates, could it have some relevance?

An update should not have an influence over the user data.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Plasma Vault] [Bug 472633] vault lost all data

2023-07-26 Thread Dionatan Felipe
https://bugs.kde.org/show_bug.cgi?id=472633

--- Comment #2 from Dionatan Felipe  ---
(In reply to Ivan Čukić from comment #1)
> Vault doesn't handle the data, the only way for the data to disappear is if
> they were deleted or there was a filesystem corruption.
> 
> I'd try to mount the cryfs manually - see the relevant paths in the
> .config/plasmavaultrc
> 
> The location of the encrypted data is the path in square brackets. For
> example, [/home/user/.vaults/SomeVaultName.enc].
> 
> First, backup that directory somewhere just in case.
> 
> After that, do this:
> 
> mkdir /tmp/SomeVaultName
> cryfs /home/user/.vaults/SomeVaultName.enc /tmp/SomeVaultName
> 
> If you get an error saying something about the filesystem needs to be
> upgraded,
> call
> 
> cryfs --allow-filesystem-upgrade  /home/user/.vaults/SomeVaultName.enc /tmp/
> SomeVaultName
> 
> If that doesn't help (it should mount the data into /tmp/SomeVaultName) post
> me the error message you got.

Hi, 
Thanks for your answer. Worked to open but the folder is empty. I just
remembered when I did the apt upgrade, it was open and had some security and
firmware updates, could it have some relevance? 

Ps. in this step i put Y.
cryfs /home/user/Vaults/folder/ /tmp/folder
CryFS Version 0.10.2

Use default settings?
Your choice [y/n]: y

-- 
You are receiving this mail because:
You are watching all bug changes.

[Plasma Vault] [Bug 472633] vault lost all data

2023-07-26 Thread Ivan Čukić
https://bugs.kde.org/show_bug.cgi?id=472633

--- Comment #1 from Ivan Čukić  ---
Vault doesn't handle the data, the only way for the data to disappear is if
they were deleted or there was a filesystem corruption.

I'd try to mount the cryfs manually - see the relevant paths in the
.config/plasmavaultrc

The location of the encrypted data is the path in square brackets. For example,
[/home/user/.vaults/SomeVaultName.enc].

First, backup that directory somewhere just in case.

After that, do this:

mkdir /tmp/SomeVaultName
cryfs /home/user/.vaults/SomeVaultName.enc /tmp/SomeVaultName

If you get an error saying something about the filesystem needs to be upgraded,
call

cryfs --allow-filesystem-upgrade  /home/user/.vaults/SomeVaultName.enc /tmp/
SomeVaultName

If that doesn't help (it should mount the data into /tmp/SomeVaultName) post
me the error message you got.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Plasma Vault] [Bug 472633] vault lost all data

2023-07-26 Thread Nicolas Fella
https://bugs.kde.org/show_bug.cgi?id=472633

Nicolas Fella  changed:

   What|Removed |Added

Product|kde |Plasma Vault
 CC||nicolas.fe...@gmx.de
   Assignee|unassigned-b...@kde.org |ivan.cu...@kde.org
  Component|general |general
   Severity|critical|normal

-- 
You are receiving this mail because:
You are watching all bug changes.