Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues with pinentry and running rbw from distrobox #106

Open
vinylen opened this issue Feb 24, 2023 · 2 comments
Open

Issues with pinentry and running rbw from distrobox #106

vinylen opened this issue Feb 24, 2023 · 2 comments
Labels
question Further information is requested

Comments

@vinylen
Copy link

vinylen commented Feb 24, 2023

Hi,

I'm using Fedora Sericea 38, which uses Distrobox to export CLI tools since the OS is immutable.

I've created an arch distrobox, install rbw via Yay and exported the rbw binary to my host machine. So rbw is installed in an arch podman container, exported to my host OS to ~/.local/bin.

On my host OS i can access and use rbw just fine, however, i cannot login since i get the following error regarding pinentry:

rbw login: failed to read password from pinentry: failed to parse pinentry output ("S ERROR curses.open_tty_for_read 83918849

This is my config:

{
  "email": "redacted",
  "base_url": "https://bitwarden.example.com",
  "identity_url": null,
  "lock_timeout": 3600,
  "pinentry": "pinentry-curses",
  "client_cert_path": null
}

I've also tried setting "pinentry": "pinentry", but i get the same error.

Please let me know if you need anything else.

Cheers

@vinylen
Copy link
Author

vinylen commented Feb 27, 2023

I can confirm that Distrobox users can get around this by installing rbw via cargo install rbw

@doy
Copy link
Owner

doy commented Jul 18, 2023

this sounds like something in the distrobox container being configured incorrectly (that error is coming from pinentry-curses when it tries to open the terminal to read the user's password), but i don't know anything about distrobox, so i can't really help here. if you figure it out and there's anything that would be helpful for me to change, i'm happy to look into it.

@doy doy added the question Further information is requested label Jul 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants