BitSailor support thread - a native BitWarden client for SailfishOS

Amazing, thank you for your hard work with BitSailor!! Super glad if it can get to Harbour, will help new comers a lot :slight_smile:

I haven’t looked into API too much, but have you checked if bw serve can replace bw login ... and so on? While it will keep your dependency on node.js, it should allow you to use official API

PS: Looking into it a bit more - probably not good enough. Not sure how it would also limit access to other apps on device

I use bw serve currently, but it only works on an already unlocked session.

Edit: Regarding your PS, I created a patch for the official bw server so that nothing can just access a list of your passwords using an unprotected api endpoint.

Can’t you use the crypto from their SDK for that?

I’d rather not rely on something that has “internal” in the name, they could be breaking stuff all the time, they even mention this:

The password manager interface is unstable and will change without warning.

But I found out the crypto is not that hard to handle if one uses their implementation as a reference.

Another update on progress: The whole logging in, unlocking etc. is done and it’s blazingly fast! You can track my current progress in the PR: Feat: Use a custom core by RikudouSage · Pull Request #100 · RikudouSage/harbour-bitsailor · GitHub

Thank you for your hard work!

But how can it be blazingly fast when it’s not written in Rust? /s

My experience is that Node is not at all a good runtime for running CLI tools, so not relying on the Bitwarden CLI (why did they even use Node for this?!) would be a huge boost to performance and responsiveness.

Looking forward to testing it once I get my Sailfish phone (hopefully sometime soon). :slight_smile:

Well, because it’s written in Go! And everyone knows that going somewhere is a much faster activity than just sitting somewhere and getting all rusty!


Anyway, just an update: More than half of BitSailor is rewritten to the new core, the few remaining items:

  • creating items
  • creating sends
  • generating passwords
  • item detail

Would it be possible to integrate this app with the Credentials for Linux project?

It looks mostly as a work in progress thing? I might try tackling this eventually, but I can’t promise anything - the backlog of things to modify in BitSailor is long as is.

Yeah, they are not finished yet, but it would be possible to start exploring the possibilities of an integration.

As far as I’ve gathered it doesn’t really seem like there is any support for passkeys on Sailfish currently (?).

Once credentialsd is ready for public use, we’ll hopefully see native integrations with in browsers, and then it would be nice to have password managers on Sailfish OS integrated with it, so that we could authenticate with passkeys from the password manager.

Maybe I’ll fork BitSailor and have a look at it once I get my phone and can start hacking at it. :stuck_out_tongue:

It’s done!*

* mostly


It’s not released on OpenRepos yet because it’s 1:42 am and I literally just finished it, so I’m gonna take a day or two to properly test it on a real device before uploading it there. If someone wants it sooner, here you go: Release v1.0.0 · RikudouSage/harbour-bitsailor · GitHub

Note that you will be logged out, the app’s data are not in a compatible format with version 1. I decided that spending hours on it if relogin is so much faster is a waste of time.


I expect there to be some bugs, ironically caused by it being so fast - I fixed at least one bug which was there the whole time but didn’t ever occur because the previous version was too slow to actually trigger it.


Here’s the source code:

Enjoy!

Just stunning fast work!:heart:

I didn’t get far yet because of 2FA and the Android app apparently not handing out API tokens.

I did notice the email input is not the kind of email input that changes the keyboard to have the @ symbol immediately available. Just a nitpick but I like those inputs :slight_smile:

2FA support is coming, for now you’ll have to get your api key out of the web vault.

The new version is officially out on OpenRepos! And @mjtorn might be pleased that the support for 2FA has landed as well (though only if you use an authenticator app, other kinds of 2FA are not supported yet).

SuperB work! Thank you so much :heart:

I am pleased, thank you :slight_smile:

Are folders on the roadmap?

Backstory: I used pass for the longest time, but due to reasons, made the switch. The tool didn’t really name my items right, likely because I tended to have the username as the leaf name in a path, and password as content, in the simple format.

So now if I look at Logins, I got close to 400 entries with way too many looking like duplicates, and way too many to be reorganed, though not too many for the Android app’s Folders view.

I can’t even remember how the vibecoded variant did this, except I don’t remember being jarred by the list.

Either way, this one is a keeper, looking forward to what’s coming!

I tried the early github version with my JP26 and it did launch just fine but did seem to crash when I refreshed the vault. Now I updated to the latest version in openrepos and it crashes for me all the time

here is the log openSUSE Paste

if it matters I used the API key way to login