keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
20.07k stars 1.42k forks source link

Add KeePass header check for testing remote download (#10910) #10915

Open t-h-e opened 2 weeks ago

t-h-e commented 2 weeks ago

Verify downloaded file. Context: https://github.com/keepassxreboot/keepassxc/issues/10910

Screenshots

Testing strategy

Test a command that downloads a random file that is not a KeePass database.

Type of change

hifi commented 2 weeks ago

LGTM, I haven't yet tested this but the code look fine