Skip to content

Remote sync doesn't verify downloaded file #10910

@hifi

Description

@hifi

Overview

At least when using the "Test" button the test is successful if the command succeeds and creates either a file or a directory.

Steps to Reproduce

  1. Make download command create a directory to {TEMP_DATABASE}
  2. Test is successful

Expected Behavior

The file must exist and have a KDBX header, no other result should be accepted. Testing against an empty remote will fail but that might be good as long as the error (stdout + stderr) is displayed.

Actual Behavior

An empty directory is accepted as a successful download or any file that isn't necessarily a database.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions