SailVault - a KeePass (KDBX 4) password manager, now in the Jolla Store

Hi everyone!

SailVault is in the Jolla Store now! It’s a password manager I wrote for my Jolla Phone, and I’d like to show it to you.

I wanted my passwords on the phone, in a format I control, and in an app that runs in the sandbox. There are other KeePass apps, but i wanted one that is always updated in the jolla store.

SailVault stores everything in a normal KDBX 4 file, so I can open the same file in KeePassXC on my computer. Mine lives on my own Nextcloud. When I change a password on the phone, it’s on the computer a moment later, and it works the other way round too. Even if I changed things on both sides nothing gets lost, it merges them the same way KeePassXC does. If you are coming from Bitwarden or Vaultwarden, you can import your export file.

Some things are missing:

  • No fingerprint unlock. Harbour apps can’t use the reader. And I won’t store anything on the phone that unlocks the database without the master password.
  • No autofill. Sailfish OS has no API for it.
  • No TOTP codes. This one is on purpose! If the codes sit next to the passwords, two factors become one.

For the codes I wrote a second app, SailToken. It’s in the store too. It keeps the codes in a separate file with its own master password. I can write a separate post about it if you are interested.

You always need the full master password, and nothing decrypted is written to disk. The app only has the permissions it really needs: Documents, Downloads, and Internet for the Nextcloud sync. If you don’t set up sync, it doesn’t connect to anything. The threat model and the security reviews are in the repo.

One thing I want to say upfront, because I know it matters to some of you: I develop SailVault together with Claude Code, an AI coding agent. I review every change before it is committed and I am responsible for what ships. The crypto comes from established crates, nothing hand-written, and every file SailVault saves has to open in KeePassXC with nothing lost. The details are in the README.

I tested it on the Jolla Phone with Sailfish OS 5.2. There is also an armv7hl build that I couldn’t test on a device. If you try it on an Xperia, please tell me how it goes!

And a question for you: one of the first store comments was from someone who wanted to open a database from an SD card. That needs the “Removable media” permission, which I left out to keep the permissions minimal. I think it could make sense to add it. What do you think?

Source (MIT): GitHub - tordenskjoldsw/harbour-sailvault · GitHub
SailToken: GitHub - tordenskjoldsw/harbour-sailtoken · GitHub

Feedback and bug reports are very welcome, here or on GitHub.

I was hoping this would be in Rust so I could steal borrow some editing code for KeePassRX. But it’s in C++ D:.

Nice-looking app.

Guess I should start on editing…

Thanks! And good news: you can borrow :stuck_out_tongue:

The whole KDBX part is in Rust. reading, writing, editing and merging all live in the core/ crate, the C++ only does the bridge to QML, the file I/O and the Nextcloud sync. The editing code is in core/src/kdbx/edit.rs:

It’s MIT, so take what helps. The core does no file or network I/O, it only works on bytes, so it should be easy to pull parts out. Happy to answer questions if something is unclear :slight_smile:

I was wondering lately how come there are no password manager apps at all on the Jolla store, at least none that I could find, and today I found your app.

This looks amazing btw from multiple perspectives. Great job, thank you!

I also think that some might prefer to load their kdbx from removable media instead of the internal storage, especially since you create copies in different locations immediately. I don’t see anything wrong with it personally.
The internet permission though is understandable for the sync, but not a fan personally.