PhilippC / PhilippC/keepass2android

The file signature invalid

Open
#3,040 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C#
Stars
6.2k
Forks
478
Avg merge
1h 4m
Merged PRs (30d)
2

Description

Checks
  • I have read the FAQ section, searched the open issues, and still think this is a new bug.
Describe the bug you encountered:

I've used Keypass2Android for many years on my Moto Z phone but just changed to a Samsung S22 Ultra. I installed a fresh copy of the app from the Playstore and copied the database from my desktop by USB but when I try to open it I get the file signature invalid error and suggesting the wrong file type or corrupt file but if I mount the phone on my desktop and browse to the file I can open the same file with the desktop app so the file is OK.
I have a possibly related problem trying to open a file on the phone from an sftp server. It finds the file on the server and I fill the password blank but I get an UnknownHostException

Describe what you expected to happen:

Open the database

What version of Keepass2Android are you using?

1.14-r1

Which version of Android are you on?

15

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure in Keepass2Android 1.14-r1 on Android 15 with a database copied by USB from the desktop, then compare it with opening the same file on desktop. Investigate the file signature invalid message and the possibly related SFTP UnknownHostException; done means the database opens successfully on the Samsung S22 Ultra.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
mobile
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.