Skip to content

The external file is overwritten without warning #6016

@atiris

Description

@atiris

Overview

Any overwriting of the external file should be with a warning and explanation what will happen if it continues.

Steps to Reproduce

  1. Create two kdbx databases with this structure:

local.kdbx

Root LOCAL
- Pass LOCAL (entry)

share.kdbx

Root SHARE
- Pass SHARE (entry)
  1. Multiple choices:
  • On local.kdbx create group TEST -> KeeShare -> Type: Inactive -> Path: share.kdbx -> Password: set -> OK, Then Edit group TEST -> KeeShare -> Change type to: Export -> OK

  • On local.kdbx create group TEST -> KeeShare -> Type: Export -> Path: full path to file e.g. C:\pass\share.kdbx (do not use the Browse button) -> Password: set -> OK

  1. Result in any case: share.kdbx is overwritten without any warning and now contains nothing.

Expected Behavior

Any change that lead to delete file or passwords from external file should show warning with explanation what happens if the user continues.

Actual Behavior

External file is replaced without any warning.

Context

Debug info:
KeePassXC - Version 2.6.3
Revision: beae186

Qt 5.15.2
Debugging mode is disabled.

Operating system: Windows 10 Version 2009
CPU architecture: x86_64
Kernel: winnt 10.0.19042

Enabled extensions:

  • Auto-Type
  • Browser Integration
  • SSH Agent
  • KeeShare (signed and unsigned sharing)
  • YubiKey

Cryptographic libraries:

  • libgcrypt 1.8.7

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions