Closed nkfilis closed 2 years ago
you should be able to find agent logs at ~/.local/share/rbw/
- they may have more information?
i'm going to close this out now because i don't really have enough information to look into this any further, but feel free to reopen this with additional information if it continues to happen.
I am running into this issue as well. Unfortunately that directory doesn't appear to exist on my system. Is the path different on macs?
I found the logs in ~/Library/Application Support/rbw
and here is the relevant portion:
pinentry-curses: no LC_CTYPE known - assuming UTF-8
thread 'tokio-runtime-worker' panicked at 'Client::new(): reqwest::Error { kind: Builder, source: UnsupportedCriticalExtension }', /Users/brew/Library/Caches/Homebrew/cargo_cache/registry/src/github.com-1ecc6299db9ec823/reqwest-0.11.9/src/async_impl/client.rs:1263:38
As far as I can tell a library that rbw uses is unhappy with either my cert or something in the cert chain? I don't see why. My cert comes from Let's Encrypt.
huh, fascinating. yeah, it is disliking something about your tls certificate. would it be possible for me to see the certificate you are using?
Sure, it is on https://bitwarden.minego.net/
I should point out that this cert is accepted by rbw on my Linux boxes, but fails on my macOS box. I've done a brew update, and am running the latest OS and all updates from Apple.
Were you able to test with my cert?
This seems to be related to parsing the trusted certificates installed on the system with rustls-native-certs: https://github.com/rustls/rustls-native-certs/issues/15 Some certificate in the local trust chain prevents building up the whole trust store. The linked issue contains a workaround/solution that would need to be implemented here -- if I understand it correctly -- to make this work again.
With any
rbw
command that seems to interact with the backend, I get the above error, for examplerbw login
:Is there a way to get more verbose output? My
rbw config show
:I'm running on 0.5.2