Compile rbw on Sailfish OS

I’m trying on my phone, I compiled rbw on my Xperia 10 III. I’m getting an error with pinentry.

[defaultuser@Xperia10III ~]$ rbw login
rbw login: failed to read password from pinentry: pinentry error: unknown command

I don’t have enough knowledge to make it work properly.

just out of curiouslty, could you post the output from

rbw config show

making sure to occlude personal data?

[defaultuser@Xperia10III ~]$ rbw config show
{
  "email": "xxx@xxx.eu",
  "sso_id": null,
  "base_url": "https://vaultwarden.xxx.eu",
  "identity_url": null,
  "ui_url": null,
  "notifications_url": null,
  "lock_timeout": 3600,
  "sync_interval": 3600,
  "pinentry": "pinentry",
  "client_cert_path": null
}

From the rbw-repo under “Configuration” it mentions

pinentry: The pinentry executable to use. Defaults to pinentry.

so I assume you have to install pinentry or something else compatible with it.

On GnuPG - Download it says following about Pinentry:

Pinentry is a collection of passphrase entry dialogs which is required for almost all usages of GnuPG.

1 Like

I am getting the error message below.

rbw login: failed to read password from pinentry: pinentry error: unknown command

However, I do have a popup on Sailfish.

The error is displayed immediately after the rbw login command; it does not wait for me to enter the password in the pop-up window.

Unsurprisingly the command pinentry is not available on SFOS. It can be installed from Openrepos/Storeman, or compiled as well I guess.

1 Like

Any progress? Could you please share your spec file?

I know nothing about rbw, but the config suggests that they deliberately added choices for how to enter passwords. I’m sure a quick read of rbw documentation would reveal requirements & alternatives.